|
发表于 2005-2-16 22:45:52
|
显示全部楼层
来自 中国–重庆–重庆–渝北区
booster_autofps 1000
booster_minsleepms 1
booster_force_systicrate 10000
楼主设置很有问题,可以说是因为设置造成卡机,(CPU占用过高)
// booster_autofps x (x = 0 to 1000, 0 = no target FPS)
// Automatically changes value of sys_ticrate to achieve and maintain the desired server FPS (if possible).
// It is not recommended to target FPS greater than 200 or so.
// Note that autofps adjusts sys_ticrate, which makes it incompatible with any booster_lite_mode other意思是booster_lite_mode 要设为3,其它不兼容(默认是3)
// than 3. Setting booster_autofps will force booster_lite_mode to 3.
booster_autofps 200
建议不要使用低于或超过200的值,上面这些话应该都看的懂吧
- ** WARNING ** Features of each approach can be used together, and Booster2 will attempt to catch cvar values that might cause problems. However, keep in mind that using extreme or contradictory values can cause your server to run worse than it would if Booster2 were not loaded at all. Any incompatible settings that Booster2 catches will be reported in the HLDS logs. Remember, the 'faster' you make your server run, the higher your CPU consumption will be. Always check CPU usage to make sure you aren't nearing 100%.
这句话的意思是,FPS越高,则CPU消耗越大,楼主看过CPU占用吗,估计是不会下100%的
// booster_minsleepms x (x = 1 to 10, 10 = no change to multimedia timer)
// This adjusts the multimedia system timer to trick HLDS into sleeping for less time. Note that
// the lower the value set, the higher the CPU consumption will be for HLDS. Values lower than 3
// are not recommended, as they can cause massive CPU consumption and/or system instability.
booster_minsleepms 5
HDSL对客户端的响应周期(决定PING和FPS)是由SLEEP(停止响应时期,这段时间内服务器不会处理任何客户端的数据,相当于服务器关机)时长和WORK时长决定的,HDSL默认的SLEEP时长是10MS,WORK时长是7MS,则FPS=1000/(10+7)≈58,改变SLEEP为5MS,则FPS=1000/(5+7)≈83,所以这个SLEEP值最关键,但是如果小于3MS,则CPU的占用时间会明显变高,当然服务器就会出现卡的现象
// booster_force_systicrate x (x = 0 to 10000, 0 = let Booster2 manage the value itself (no force))
// Booster2 will force this sys_ticrate value. Note that using this option will set booster_autofps to 0
// and booster_lite_mode to 3, as these methods rely on a sys_ticrate value untouched by user settings.
// You should avoid directly setting sys_ticrate in your server.cfg, as manually adjusted values can
// cause problems with various parts of Booster2.
booster_force_systicrate 0
这段话的意思是,如果booster_force_systicrate 设为0,则BOOTER2会按照设定的booster_minsleepms值和booster_autofps 值自动运行,FPS值已经改善。如果想MANUALLY手动设置这个值(实际上就是手动强制设置FPS值),应该将booster_autofps设置为0
楼主一方面设置有矛盾,另一方面,机器也肯定达不到要求,不卡才是怪事 :86: |
|