Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

git slow over https

From: Mika Fischer <hidden>
Date: 2016-06-15 22:52:20

Hi,

I have an apache server that serves git repositories over https. I
have the problem that git is very slow when accessing it, as in 3
seconds for a "git pull" that does nothing.

I tracked the problem down to git sleeping for 50ms using select from
time to time while downloading the response of the server. In my case
this really hurts performance (see attached strace). However, with a
different https server things work quite fine.

If I remove the select in http.c:673 (in run_active_slot), then things
are fast also with my server.

So my questions are:
1) What's the purpose of the select in http.c:673? Can it be removed?
2) If it serves a useful purpose, what can be the reason that it hurts
performance so much in my case?

Best regards,
 Mika Fischer

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help