搜索
查看: 2762|回复: 9

[求助]架设Cs1.6服务器对网络的要求?

[复制链接]
匿名  发表于 2004-12-9 12:10:57 |阅读模式 来自 Invalid
架设环境:
家庭ADSL 8M(电话线),TP-Link路由器
CPU:闪龙2200+
内存:DDR400 256M
操作系统:winxp sp1
服务器版本:Esai 2834

现象:
    服务器中有8个人时,性能稳定,ping正常,集中区域交火激烈时ping略微上跳,当进到第九个人时,ping跳到1000以上. 观察系统状态:CPU占用20%不到,内存占用100M多点

由路由器拨号转为ADSL直接连PC,现象仍然存在,排除路由器问题.

8M带宽不足以架设一个10个人的cs服务器吗? 下行1M,上行100K以上
是操作系统问题? 服务器版本问题? 谁知道问题出在哪里,请指教,谢谢!!
发表于 2004-12-9 12:53:32 | 显示全部楼层 来自 中国–广东–深圳–南山区
上行速度慢了点。

是不是在CS服务器在玩游戏呢?
回复

使用道具 举报

匿名  发表于 2004-12-9 13:05:27 来自 Invalid
不是,就纯粹开一个10人服务器.其他没开任何软件,不必要的服务也关闭了
据说Cs一个人的数据双向传输量是3-5K,这是1.5,不知道1.6是不是增加了很多
发表于 2004-12-9 13:37:34 | 显示全部楼层 来自 中国–广东–广州–越秀区
ADSL电话线有8M的吗?
回复

使用道具 举报

发表于 2004-12-9 13:39:05 | 显示全部楼层 来自 中国–宁夏–吴忠–青铜峡市
Post by wiskey00
ADSL电话线有8M的吗?


94,偶也认为2M到头了... :30:
回复

使用道具 举报

匿名  发表于 2004-12-9 14:11:06 来自 Invalid
是的,苏州电信,从97年申请时是512K,几次提速到现在8M了.一般现在家庭申请宽带都是2M,全速率可以达到8M
匿名  发表于 2004-12-9 15:16:57 来自 Invalid
在server.counter-strike.net上找到了答案. 在这里发出来大家共享一下.

My server is initially a low ping server, but pings skyrocket the more people join?

This can happen for many reasons. But for the most part, I have found, is that many of you server admins just are not honest with yourselves - and let me explain. Some of you are trying to run a server but you just do not have the hardware or Internet connection needed to run one. Sure, it is a lot of fun running servers, but if you don't have the equipment, then it's just not going to work. You can check out Valve's recommended minimum requirements, but to be honest, I think the requirements should be much more strenuous, especially with the mods (because they are more CPU intensive). Many of you others still might have pretty good hardware, and a cable connection, so you pump up your maxplayer limit to 16+. That's just not going to happen, and it's due to the way cable works. It is a WAN (wide-area-network) and your connection is shared. I have found 12 to be the definitive max for a cable server, and that is pushing it. But the bottom line is, be honest with yourself - don't be afraid to admit that you don't have the equipment or that you are trying to push your server too hard. Because you may start off with an empty, low ping server, and a whole bunch of people join (for that low ping issue), and then your server cannot hold them all. Pings rise, their tempers rise cuz they have spent the whole night trying to find and "honest" low ping server, and your server earns a bad rep. Now, another reason has something to do with Gamespy, Pingtool, and other server finders constantly doing UDP port scans, which in effect, kind of floods your server.

在用cable做服务器的时候需要注意:

You can also use both in combination with each other. In playing around with some servers, I found some interesting combinations. I have a Counter-Strike server running with an 18 maxplayer limit. It was fascinating playing with these settings and watching how they dramatically affect player's pings. After a few hours, I found the best combination for this particular server was sv_maxrate 6500 and sv_minrate 2000. With a server with a larger maxplayer limit, you may want to lower your maxrate to keep the bandwidth reasonable for all the players. On the other hand, if you run a smaller more personal server for you and a few friends in the neighborhood, you may want to make sv_maxrate 20000 and sv_minrate 9000. Also, if you run a server on a cable connection, you may have already noticed how much cable connections seem to fluctuate. You may want to set sv_maxrate 8000 and sv_minrate 4000. Whatever the number for the cable server, keep them closer together to lessen the fluctuating rates.

cable server对于服务器来说很容易产生lag,人多的话就必须降低sv_maxrate  sv_minrat
不像局域网中可以设很高,要保持每个人的带宽不超出cable的限制,很多人在客户端rate都设置成25000,这样适合局域网,但不适合互联网,所以如果服务器也设高的话就非常占用网络带宽了
发表于 2004-12-10 08:44:17 | 显示全部楼层 来自 中国–广东–广州–越秀区
Post by diorsky
是的,苏州电信,从97年申请时是512K,几次提速到现在8M了.一般现在家庭申请宽带都是2M,全速率可以达到8M


你认为中国电信有这么好的事会给8M你用吗?
回复

使用道具 举报

匿名  发表于 2004-12-10 09:24:59 来自 Invalid
事实上我正在用8M,苏州电信可以申请全速率,要加钱
匿名  发表于 2004-12-11 10:36:06 来自 Invalid
研究测试了两天,最后发现问题根源,CPU!!
闪龙2200+ 和2500+都出现同样的问题
内存和主板都替换过,没问题
用Athlon2200+做F,2M带宽,10个人比赛正常,但略微上跳。

做服务器还得用P4!
游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

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