搜索
查看: 4117|回复: 20

关于带宽与LAG的问题

[复制链接]
发表于 2005-1-4 22:15:45 | 显示全部楼层 |阅读模式 来自 中国–福建–龙岩
哈哈,没想到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.
匿名  发表于 2005-1-5 09:16:02 来自 Invalid
我试验一下子
我的服务器 960kb 和黑龙江的公网 交换文件
发表于 2005-1-5 10:22:11 | 显示全部楼层 来自 中国–广东–广州–番禺区
这个公式对所有网络连接方式都一样吗?

那个公式是否对所有的网络连接方式都一样吗?按以前的经验是 1Mbps/(5K字节每客户端*8)=25人,最好的就是建20-24人的服务器!这个是否已经过期?

这个公式是否对所有的网络连接方式都有效?按以前的经验是 1Mbps上传/(5K字节每客户*8)=25人,当然最稳定的是建20-24人的服务器!这是否已经过期? :43:
回复

使用道具 举报

发表于 2005-1-5 14:31:08 | 显示全部楼层 来自 中国–广东–广州–番禺区
为什么我发的贴不能显示出来的??? :67:
回复

使用道具 举报

 楼主| 发表于 2005-1-5 16:51:26 | 显示全部楼层 来自 中国–福建–龙岩
Post by leekk
为什么我发的贴不能显示出来的??? :67:

什么意思?发什么帖? :10:
回复

使用道具 举报

发表于 2005-1-6 00:11:43 | 显示全部楼层 来自 中国–广西–玉林
呵呵`有帮助` :76:
回复

使用道具 举报

匿名  发表于 2005-1-6 09:30:56 来自 Invalid
骗人的垃圾贴
发表于 2005-1-6 09:51:35 | 显示全部楼层 来自 中国–天津–天津–河西区
Post by lhbwhy
骗人的垃圾贴


朋友喝多了吧?走错地方了?
回复

使用道具 举报

 楼主| 发表于 2005-1-6 09:52:17 | 显示全部楼层 来自 中国–福建–龙岩
Post by lhbwhy
骗人的垃圾贴

这位仁兄不是自认自己en水平高么?你怎不去steam官方论坛去发表你的高见呢? :30:
回复

使用道具 举报

发表于 2005-1-6 09:54:05 | 显示全部楼层 来自 中国–北京–北京
谢谢闪闪兄

让我知道sv_maxrate的设置原则了。
回复

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

快速回复 返回顶部 返回列表