You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2012/05/01 17:29:48 UTC

[jira] [Created] (INFRA-4736) slow authentication to git-wip-us.apache.org

Brandon Williams created INFRA-4736:
---------------------------------------

             Summary: slow authentication to git-wip-us.apache.org
                 Key: INFRA-4736
                 URL: https://issues.apache.org/jira/browse/INFRA-4736
             Project: Infrastructure
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Git
            Reporter: Brandon Williams
            Priority: Minor


Pulling from git-wip-us.apache.org is very speedy -- if you aren't authenticating.  However, as a committer you're always authenticating, and this is painfully slow.

Without authentication:
{noformat}
time git pull
Already up-to-date.

real    0m0.430s
{noformat}

With authentication:
{noformat}
time git pull
Already up-to-date.

real    0m17.767s
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (INFRA-4736) slow authentication to git-wip-us.apache.org

Posted by "Joe Schaefer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-4736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Schaefer closed INFRA-4736.
-------------------------------

    Resolution: Won't Fix

This is a client-side bug in git. I've dtraced the performance
of my git client with both https and http running, and there
is a 50ms select call that's times out in each read loop on
the socket.  The problem is that there are something like
350 select calls (which means read-loops due to smaller reads)
in the https case, but only 10 in the http case.  This is a known
issue (google git https slow) and may be fixed in the latest version of git.
                
> slow authentication to git-wip-us.apache.org
> --------------------------------------------
>
>                 Key: INFRA-4736
>                 URL: https://issues.apache.org/jira/browse/INFRA-4736
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Git
>            Reporter: Brandon Williams
>            Priority: Minor
>
> Pulling from git-wip-us.apache.org is very speedy -- if you aren't authenticating.  However, as a committer you're always authenticating, and this is painfully slow.
> Without authentication:
> time git pull
> Already up-to-date.
> real    0m0.430s
> With authentication:
> time git pull
> Already up-to-date.
> real    0m17.767s

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-4736) slow authentication to git-wip-us.apache.org

Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-4736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13276428#comment-13276428 ] 

Brandon Williams commented on INFRA-4736:
-----------------------------------------

Unfortunately, no:

 time git pull
Current branch trunk is up to date.

real    0m17.796s
user    0m0.212s
sys     0m0.084s

I repeated it again to make sure it was cached with no change.
                
> slow authentication to git-wip-us.apache.org
> --------------------------------------------
>
>                 Key: INFRA-4736
>                 URL: https://issues.apache.org/jira/browse/INFRA-4736
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Git
>            Reporter: Brandon Williams
>            Priority: Minor
>
> Pulling from git-wip-us.apache.org is very speedy -- if you aren't authenticating.  However, as a committer you're always authenticating, and this is painfully slow.
> Without authentication:
> time git pull
> Already up-to-date.
> real    0m0.430s
> With authentication:
> time git pull
> Already up-to-date.
> real    0m17.767s

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-4736) slow authentication to git-wip-us.apache.org

Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-4736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13276502#comment-13276502 ] 

Brandon Williams commented on INFRA-4736:
-----------------------------------------

This is a damn shame, but your analysis looks correct.  Thanks for the effort in any case, Joe!
                
> slow authentication to git-wip-us.apache.org
> --------------------------------------------
>
>                 Key: INFRA-4736
>                 URL: https://issues.apache.org/jira/browse/INFRA-4736
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Git
>            Reporter: Brandon Williams
>            Priority: Minor
>
> Pulling from git-wip-us.apache.org is very speedy -- if you aren't authenticating.  However, as a committer you're always authenticating, and this is painfully slow.
> Without authentication:
> time git pull
> Already up-to-date.
> real    0m0.430s
> With authentication:
> time git pull
> Already up-to-date.
> real    0m17.767s

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (INFRA-4736) slow authentication to git-wip-us.apache.org

Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-4736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams updated INFRA-4736:
------------------------------------

    Description: 
Pulling from git-wip-us.apache.org is very speedy -- if you aren't authenticating.  However, as a committer you're always authenticating, and this is painfully slow.

Without authentication:

time git pull
Already up-to-date.

real    0m0.430s

With authentication:

time git pull
Already up-to-date.

real    0m17.767s


  was:
Pulling from git-wip-us.apache.org is very speedy -- if you aren't authenticating.  However, as a committer you're always authenticating, and this is painfully slow.

Without authentication:
{noformat}
time git pull
Already up-to-date.

real    0m0.430s
{noformat}

With authentication:
{noformat}
time git pull
Already up-to-date.

real    0m17.767s
{noformat}

    
> slow authentication to git-wip-us.apache.org
> --------------------------------------------
>
>                 Key: INFRA-4736
>                 URL: https://issues.apache.org/jira/browse/INFRA-4736
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Git
>            Reporter: Brandon Williams
>            Priority: Minor
>
> Pulling from git-wip-us.apache.org is very speedy -- if you aren't authenticating.  However, as a committer you're always authenticating, and this is painfully slow.
> Without authentication:
> time git pull
> Already up-to-date.
> real    0m0.430s
> With authentication:
> time git pull
> Already up-to-date.
> real    0m17.767s

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-4736) slow authentication to git-wip-us.apache.org

Posted by "Joe Schaefer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-4736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13276427#comment-13276427 ] 

Joe Schaefer commented on INFRA-4736:
-------------------------------------

I believe this was caused by SSLSessionCache not being properly configured in the server.
It's since been fixed - notice any differences?
                
> slow authentication to git-wip-us.apache.org
> --------------------------------------------
>
>                 Key: INFRA-4736
>                 URL: https://issues.apache.org/jira/browse/INFRA-4736
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Git
>            Reporter: Brandon Williams
>            Priority: Minor
>
> Pulling from git-wip-us.apache.org is very speedy -- if you aren't authenticating.  However, as a committer you're always authenticating, and this is painfully slow.
> Without authentication:
> time git pull
> Already up-to-date.
> real    0m0.430s
> With authentication:
> time git pull
> Already up-to-date.
> real    0m17.767s

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-4736) slow authentication to git-wip-us.apache.org

Posted by "Joe Schaefer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-4736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13276440#comment-13276440 ] 

Joe Schaefer commented on INFRA-4736:
-------------------------------------

Ok. In any case this is an SSL perf issue not an auth issue- your
password isn't checked unless you are pushing something.

I will have another look at the SSL config on the server to
see if I can change something on our end to improve the situation.
                
> slow authentication to git-wip-us.apache.org
> --------------------------------------------
>
>                 Key: INFRA-4736
>                 URL: https://issues.apache.org/jira/browse/INFRA-4736
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Git
>            Reporter: Brandon Williams
>            Priority: Minor
>
> Pulling from git-wip-us.apache.org is very speedy -- if you aren't authenticating.  However, as a committer you're always authenticating, and this is painfully slow.
> Without authentication:
> time git pull
> Already up-to-date.
> real    0m0.430s
> With authentication:
> time git pull
> Already up-to-date.
> real    0m17.767s

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira