|
先说说我的环境:
服务器配置:
ASUS A8V 主板
AMD64 3000+ CPU
256X2 RAM
板载1000M网卡(实际使用100M)
7200RPM 40G
系统Red Hat Enterprise Linux AS 4 Update 1 (AMD64/Intel EM64T)
客户机配置:
ASUS K8N
AMD64 2800+
512 RAM
SATA 80G
丽台6600GT
CS服务器端为最新的3144版本.但amd64显示的是2827,由于engine_amd64.so没有破解的补丁,目前测试为加载podbot_mm_amd64插件的机器人测试!status显示如下:
17:33:55 status
17:33:55 hostname: 娌璺椋瓒缃缁浼插CS1.6娣锋″?1#
version : 47/1.1.2.5/Stdio 2827 insecure
tcp/ip : 127.0.0.1:27017
map : de_inferno at: 0 x, 0 y, 0 z
players : 32 active (32 max)
server.cfg配置:
// disable autoaim
sv_aim 0
// disable clients' ability to pause the server
pausable 0
// maximum client movement speed
sv_maxspeed 320
// 20 minute timelimit
mp_timelimit 45
mp_autokick 1
mp_autoteambalance 1
mp_buytime .25
mp_consistency 1
mp_chattime 10
mp_c4timer 35
mp_fadetoblack 0
mp_flashlight 1
mp_footsteps 1
mp_forcecamera 2
mp_forcechasecam 2
mp_friendlyfire 0
mp_freezetime 6
mp_fraglimit 0
mp_hostagepenalty 0
mp_limitteams 2
mp_kickpercent 0.70
mp_maxrounds 0
mp_playerid 0
mp_roundtime 2.5
mp_startmoney 800
mp_tkpunish 0
mp_winlimit 0
sv_cheats 0
sv_airaccelerate 10
sv_airmove 1
sv_allowdownload 1
sv_clienttrace 1
sv_bounce 1
sv_clipmode 0
sv_allowupload 0
sv_gravity 800
sv_stepsize 18
sv_alltalk 0
sv_region 4
sv_maxrate 25000
sv_minrate 2500
sv_maxupdaterate 101
decalfrequency 30
sys_ticrate 1000
edgefriction 2
host_framerate 0
sv_contact "diypig@hotmail.com <STATS URL><http://cs.chaoyue.biz/>"
sv_rcon_maxfailures 10
sv_rcon_minfailuretime 30
sv_rcon_banpenalty 0
// load ban files
exec addons/amxmodx/configs/amxx.cfg
exec listip.cfg
exec banned.cfg
连接客户端config设置的相关参数为rate 25000;cl_cmdrate 101;cl_updaterate 101;cl_rate 9999
服务器的主要配置上面的sv_minrate 2500;sv_maxrate 25000;sv_maxupdaterate 101;sys_ticrate 1000
测试地图:de_dust2;de_inferno;de_aztec此时客户端进入CS服务器后在各个地图的表现不一样.de_dust2地图choke明显低些.开始买枪出发时90左右,这个时候是最高的剩活的24人时30左右,20人以下为10以下吧.(几乎为0).de_inferno开始买枪出发时跟de_dust2差不多,略高些.中间也有50左右.只有在1X人时才出现0情况.de_aztec是choke最高的.
服务器的fps一般也在200左右.CPU最高也就80%吧.我的stats如下:
7:47:23 CPU In Out Uptime Users FPS Players
79.33 0.00 0.00 85 100 259.13 0
17:47:26 stats
17:47:26 CPU In Out Uptime Users FPS Players
79.00 0.00 0.00 85 100 253.16 0
17:47:28 stats
17:47:28 CPU In Out Uptime Users FPS Players
77.75 0.00 0.00 85 100 249.44 0
17:47:31 stats
17:47:31 CPU In Out Uptime Users FPS Players
77.00 0.00 0.00 85 100 243.37 0
17:47:33 stats
17:47:33 CPU In Out Uptime Users FPS Players
78.75 0.00 0.00 85 100 253.23 0
17:47:38 stats
17:47:38 CPU In Out Uptime Users FPS Players
78.33 0.00 0.00 85 100 181.36 0
17:47:39 stats
17:47:39 CPU In Out Uptime Users FPS Players
79.25 0.00 0.00 85 100 216.92 0
17:47:40 stats
17:47:40 CPU In Out Uptime Users FPS Players
79.60 0.00 0.00 85 100 229.99 0
17:47:41 stats
17:47:41 CPU In Out Uptime Users FPS Players
80.50 0.00 0.00 85 100 205.30 0
17:47:42 stats
17:47:42 CPU In Out Uptime Users FPS Players
80.50 0.00 0.00 85 100 227.17 0
17:47:42 stats
17:47:42 CPU In Out Uptime Users FPS Players
81.00 0.00 0.00 85 100 225.12 0
17:47:43 stats
17:47:43 CPU In Out Uptime Users FPS Players
81.00 0.00 0.00 85 100 142.92 0
17:47:43 stats
17:47:43 CPU In Out Uptime Users FPS Players
81.00 0.00 0.00 85 100 147.56 0
17:47:44 stats
17:47:44 CPU In Out Uptime Users FPS Players
81.00 0.00 0.00 85 100 214.82 0
17:47:44 stats
17:47:44 CPU In Out Uptime Users FPS Players
81.00 0.00 0.00 85 100 190.91 0
仔细看了正确CS1.6客户端网络参数与chock正确的解释一文,调节各个参数,效果不是很理想.只有服务器调成sv_maxupdaterate 30时比较有效果(但这个参数很影响游戏,因为这个设置太低弹道会飘),这个是跟带宽有关的参数,我想我在LAN测试.连接都是100M的网络速度,32人也不至于用完CS服务器的带宽.而且加的是BOT测试,实际连接带宽就我一个人而已...我想这个choke是不是应该跟CPU是关系最大的?因为前面的地图测试表明越吃CPU的地图choke越高.但我想不明白我的CPU最高也就使用80%这样,怎么choke竟然高到90呢.choke高了开枪会感觉很卡的..
哪位有对choke调试有经验的说说看解决方法?CPU问题?内存问题?网络问题?客户端配置低问题? |
|