|
哈哈,没想到steam的官方已经给出说明了。
My server LAAAAAAGS!
Lag can have many causes:
Hardware: the more players, the more resources it will take from your hardware, especially your cpu and memory. We have an AMD 1700mhz with 1 gig of mem. And our hardware can hold 24 players and probably more. You can save some resources by turning off processes/programs that you don't use.
Connection: uploadspeed is very important, with a cable connection it is very difficult to have a 24 players server, but with some tweaking it seems possible to have a 10 players server, with a 100mbit connection you dont have to worry about that.
Software Settings: for CounterStrike most of the settings you can change in the server.cfg. If you used my server.cfg you can see these settings in the title “SET RATES” and “DOWNLOAD”. I found this formula in Drek's thread:
bandwidth X 128 / server size = sv_maxrate
Example: If you have an upload of 768 Kbps and you want a 24 player server, then the formula goes like this: 768 x 128 / 24 = sv_maxrate 4096
这句比较有意思,我翻译给大家。如果你的服务器上传只有768Kbps,开24人的服务器,那么你的sv_maxrate必须设置为 768 x 128 / 24 = 4096
希望对大家有用。 :43:
You can find more info in Drek's thread: Running a Lag Free Server
Drek's thread will get you in a direction, but I think it comes down to trial and error. If you experience lag then play with the settings. |
|