Skip to content

Reduce number of syscalls in PostUploadPack and PackObjectsHook

Jacob Vosmaer requested to merge jv-reduce-writes into master

This MR adds a number of small improvements to reduce the number of system calls used for transmitting PostUploadPack and PackObjectsHook data. This was inspired by gitlab-com/gl-infra/scalability#1024 (closed)

  1. Buffer response writes in PostUploadPack
  2. Use buffering to minimize the number of reads and writes (which happen in lockstep) in PackObjectsHook

Merge request reports