| Issue 230: | pkt-line stuff isn't buffered in sshd | |
| Back to list |
Sign in to add a comment
|
Reported by Shawn Pearce <sop@google.com> on Fri Jun 19 17:40:40 PDT 2009 Source: JIRA GERRIT-231 JGit's UploadPack and ReceivePack code does small writes when sending stuff by pkt-line. Basically we do two writes, one for the header length, and one for the payload. These turn into two buffers in MINA SSHD, tripping two interrupts against the IO processor thread, which it then spools out in two write syscalls. This means we are doing 2 write syscalls for every advertised ref in the initial connection advertisement. Its really not efficient use of the server processor. We're better off buffering everything through that phase and then flushing it all at the end mark.
Sep 24, 2009
#1
code-rev...@gtempaccount.com
Sep 24, 2009
Update by Shawn Pearce <sop@google.com> on Fri Jun 19 19:36:10 PDT 2009
Status:
CannotReproduce
|
||||||||
| ► Sign in to add a comment | |||||||||