锐速参数优化备忘

  • 内容
  • 评论
  • 相关

一般的话是安装锐速后,以默认参数也能跑出相当不错的速度。但是有些机器有点小别扭,需要手动调整一些serverspeeder文件夹下config文件中的参数以获得最佳加速体验。

Linode是需要特别照顾的,不过半年前的截图已经丢失了,这里就先备忘一个樱花的config文件。系统是樱花的标准OS(centos6.5)

#!/bin/echo Warning: this is a library file, can not be execute directly:
############################################################
# #
# ServerSpeeder Configuration File #
# #
############################################################

# Format: config="value"
# Note that spaces are not allowed before and after the equal sign

#------------------------------------------------------#
# below config items take effect after reload #
#------------------------------------------------------#
accif="eth0"
acc="1"
advacc="1"
advinacc="1"
wankbps="1000000"
waninkbps="1000000"
csvmode="0"
highcsv="0"
subnetAcc="0"
maxmode="1"
maxTxMinSsThresh="1048575"
maxTxEffectiveMS="0"
maxAccFlowTxKbps="0"
pcapEnable="0"
bypassOverFlows="1"
initialCwndWan="44"
l2wQLimit="256 2048"
w2lQLimit="256 2048"
shrinkPacket="0"
retranWaitListMS="32"
halfCwndMinSRtt="500"
halfCwndLossRateShift="3"
shaperEnable="1"
tcpOnly="1"
smBurstMS="16"
smBurstMin="16000"
smBurstTolerance="32768"
flowShortTimeout="30000"
rsc="1"
gso="0"
ultraBoostWin="0"
minSsThresh="8 24"
dbcRttThreshMS=""
smMinKbps=""
lanSegment=""
txCongestObey="1"
taskSchedDelay="1000 1000"
configTimeout="30"
tcpFlags="0x0"
udptun=""
synRetranMS="0"
shrinkOSWmem="0"
mpoolMaxCache="7368000"

#------------------------------------------------------#
# below config items take effect after restart #
#------------------------------------------------------#
engineNum="0"
accppp="0"
shortRttMS="0"
packetWrapper="256"
pmtu=""
detectInterrupt="0"
# byte cache
byteCacheEnable="0"
dataCompEnable="0"
httpCompEnable="1"
byteCacheMemory="250" #MB
byteCacheDisk="0" #MB
diskDev="/var/AppEx_Cache"
#ipHooks="0"
#ipRxHookPri=""
#ipTxHookPri=""
dropCache="0"

# 0:not change
# 1: on
# 2: off
txcsum="0"
rxcsum="0"

#------------------------------------------------------#
# do not change the following configs #
#------------------------------------------------------#
usermode=0
licenseGen=0
checkLicense=0
accpath="/proc/net/appex"
apxexe="/serverspeeder/bin/acce-3.10.61.0-[CentOS_6.6_2.6.32-504.3.3.el6.x86_64]"
apxlic="/serverspeeder/etc/apx-20341231.lic"

serial="60B2E3C3C5646CBF"
email="xx@serverspeeder.com"
installerID="=QzM"

小樱的论坛里有帖子http://bbs.itzmx.com/forum.php?mod=viewthread&tid=5675,解释每个参数意味着什么与最基础的优化建议。有时候最合适本地的参数调整只能靠自己摸索啦。

评论

0条评论

发表评论

电子邮件地址不会被公开。 必填项已用*标注