Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 Subversion  튜닝에 대한 자료가 없어서 찾아본 자료를 정리해 본다.

 

Table of Contents

 

공통

Enabling KeepAlive on Apache

...

httpd 설정 변경

subversion 1.8 부터 사용하는 http library 가 neon 에서 serf 로 변경이 되었다. serf 는 multiplex 와 asynchronous connection 을 사용하므로 httpd의 다음 설정을 변경해 주어야 성능 향상의 효과를 느낄 수 있다.

CentOS 의 apache 설정은 KeepAlive 는 기본적으로 꺼져 있다. 이것을 On 으로 설정하고 최대 KeepAlive Requests 가 100 인데 이 값도 큰 값으로 설정하자.

그리고 프로젝트의 용량이 크거나 네트웍 사정이 좋지 않을 경우 TimeOut 과 KeepAliveTimeout  의 값을 충분히 크게 늘려야 한다.

Code Block
languagebash
# Timeout: The number of seconds before receives and sends time out.
## Timeout 60
Timeout 600
 
# KeepAlive: Whether or not to allow persistent connections (more than one request per connection). Set to "Off" to deactivate.
## KeepAlive Off
KeepAlive On

# MaxKeepAliveRequests: The maximum number of requests to allow during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
## MaxKeepAliveRequests 100
MaxKeepAliveRequests 10000
 
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
# KeepAliveTimeout 15
KeepAliveTimeout 600


공통

 

Disable SVNPathAuthz

Path-based ACL 을 사용하므로 off 로 할수는 없을것 같음

...

Code Block
languagebash
<IfModule dav_svn_module>
 # Enable a 1 Gb Subversion data cache for both fulltext and deltas.
        SVNInMemoryCacheSize 1048576
        SVNCacheTextDeltas On
        SVNCacheFullTexts On
        SVNCompressionLevel 5
</IfModule>

 

httpd 설정 변경

subversion 1.8 부터 사용하는 http library 가 neon 에서 serf 로 변경이 되었다. serf 는 multiplex 와 asynchronous connection 을 사용하므로 httpd의 다음 설정을 변경해 주어야 성능 향상의 효과를 느낄 수 있다.

CentOS 의 KeepAlive 는 기본적으로 꺼져 있다. 이것을 On 으로 설정하고 최대 KeepAlive Requests 가 100 인데 이 값도 큰 값으로 설정하자.

그리고 프로젝트의 용량이 크거나 네트웍 사정이 좋지 않을 경우 TimeOut 과 KeepAliveTimeout  의 값을 충분히 크게 늘려야 한다.

Code Block
languagebash
# Timeout: The number of seconds before receives and sends time out.
## Timeout 60
Timeout 600
 
# KeepAlive: Whether or not to allow persistent connections (more than one request per connection). Set to "Off" to deactivate.
## KeepAlive Off
KeepAlive On

# MaxKeepAliveRequests: The maximum number of requests to allow during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
## MaxKeepAliveRequests 100
MaxKeepAliveRequests 10000
 
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
# KeepAliveTimeout 15
KeepAliveTimeout 600

 

See Also

...