玩樂天堂 pockyland

 找回密碼
 註冊
搜索
熱搜: lego MOC 聚會 比賽
查看: 2292|回復: 0
打印 上一主題 下一主題

pingboost 啟動參數(for linux)

[複製鏈接]
跳轉到指定樓層
1篇
發表於 2009-6-22 02:08:25 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
ex:
./srcds_run -console -game cstrike -ip 202.172.112.196 -port 27015 -maxplayers 24 -tickrate 100 -pingboost 3 -fps_max 500 +map
de_dust -debug

pingboost 為硬體加速參數,有1,2,3 三種設定


All the pingboost modes attempt to reduce the latency caused by theserver. The default implementation adds around 20msec to each playersping (under linux).

Mode "1" reduces this by using a different wait method (a select() call). This method reduces the latency to 10msec.

Mode "2" uses a similar but slightly different method (and alarm()type call). Again, the result it 10msec worth of latency being added.NOTE that this method has the potential to hang a server in certain(terminal) situations. If anyone has used this mode recently (not thefirst test we did!) and it hangs please speak up

Mode "3" minimises the latency to the minimum possible level byprocessing a frame EVERY time a packet arrives. This causes the lowestpossible latency, but can also cause extreme CPU usages (it does acomplete frame for every packet, with each player sending lots ofpackets per second and 30 players this adds up to insane amounts offrames). Use this mode at your own risk, it will consume all availableCPU, don't complain that cstrike uses too much CPU if you use this modeIn a future release this mode will be tweaked to let the admin balancelatencies agains CPU usage (by processing a frame every N packets).
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

快速回復 返回頂部 返回列表