Here's some of my experiences with CS and lag management sv_unlag 0 // turns off VAVLe's netcode.. This could help, but might also throw off aiming a little bit. sv_maxupdaterate 90 // Number of packets to send in 1 second (default is 30) hpk_maxsize 0 // place where decals are stored... just one more thing to lag a server sv_allowupload 0 // Disallowing uploads of decals sv_allowdownload 0 // no dling of maps sv_porxies 0 // make sure no HLTV's appear from no where ...go in server.cfg
-heapsize 256000 // put in command line to specify the ammount of ram to dedicate.. more the merry -noipx // put in command line to disable IPX protocol for windows servers
Now I don't know if there is a timeout bug on map changes sometimes, but if you have ever expericened up to a 2 minute waiting period for a map change, then do one of the following. click a lot press the use key or jump Any of these will trigger the server to bypass an "intermission" built into HLDS.
Well so far so good! I've read this topic from top to bottom and I was able to host in my 256 dsl connection a 8 player game.
The pc is a P3 550mhz 256RAM SCSI HD
The OS is Linux Slackware 8.1 kernel 2.4.18
NS 1.03
The interesting issue in my experiences was that, with Admin Mod installed, I could not host more than 4 players at the same time. Without Admin Mod the game was smooth with 8 players.
I run a NS server on a Dual 550 Custom Slackware machine with 128mb ram..
It tends to eat 1 of the cpu's alot.. up to 80% but doesnt really hit the other at all, and it does tend to eat some memory, but seems to do well with the server maxed out with 16 players.
<!--QuoteBegin--alyandon+Nov 9 2002, 01:43 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (alyandon @ Nov 9 2002, 01:43 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Now if I could just convince ATTBI to consistently provide me the full 384kbit/s upstream I pay for so my connection doesn't surge to 3000 ms latency when I'm only pushing 15-20K/s upstream from my server. <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' valign='absmiddle' alt='sad.gif'><!--endemo--><!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--> I'm guessing you aren't running Windows XP/2K, however, just in case you are, there is a tweak that improved performance on my server set up for other Half-Life mods (I haven't tried NS yet). You can find it here:
The tweak I am referring to is the "TCPWindowSize" tweak. You have to use it together with the Tcp1323Opts tweak in order for it to work its magic. I tried other tweaks but they actually hurt my server performance or caused crashes.
<!--QuoteBegin--misterv+Nov 30 2002, 08:59 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (misterv @ Nov 30 2002, 08:59 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--><!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused.gif' border='0' valign='absmiddle' alt='confused.gif'><!--endemo--> The interesting issue in my experiences was that, with Admin Mod installed, I could not host more than 4 players at the same time. Without Admin Mod the game was smooth with 8 players. <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
I noticed the same thing. Adminmod was seriously lagging the machine. Of course that was on v1.02. I just switched to clanmod. Doesn't work perfectly with NS but doesn't eat as much memory as adminmod, either. Of course my PIII-450 can only handle 9 players before it seriously starts barfing so I'm limited to 4 on 4 with 1 admin slot.
not related to CPU usage (well not really) put whoevers got 512+ of PC2100/2700 (the reason i specify the specs is because you gotta tweak with it alot to get optimal performance) should try increasing your stack and zone sizes, try "zone 16000" to "zone 64000" -- whichevers better for you, this specifies the amount of ram dedicated to the server (excluding the stack, processing heap), 16000 = 16mb, 64000 = 64mb, don't go other that as the HLDS engine wasn't designed for it and you risk dodgy server performance.
the default btw is 4000, and if you have 128mb of ANY ram (ddr included) "zone 8000" will r0x0r your b0x0rs!
the heap command specifies the amount of (for lack of a better word) "processing" ram, i've only used this twice as i've found the zone command to be sufficient, on 512mb of PC2100 i used "heap 16000" (i think <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' valign='absmiddle' alt='tounge.gif'><!--endemo--> ) ---- look into it fellas, if it helps, then for once i can feel partially helpful, it should increase performance quite abit, although you'll have to toy around quite alot depending on your CPU + Ram. these "tests" were carried out on win32 servers (i dont know how they'd react on a linux platform) and both with AMD processors, an AMD Thunderbird 800mhz, and an Athlon XP (Palomino) 1800+ @ 1.56ghz (NOT 1.67, tweaked for a different reason)
anywhoo, ENJOY!
P.S if any of you are setting up on a dual athlon MP system, i've got some REALLY great things to make your server outperform anything you've ever seen <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' valign='absmiddle' alt='wink.gif'><!--endemo-->
if you go and grab stripper2 for metamod and remove alot of the "unneeded" entities you can run hera and bast again... hera.. has an easteregg inside on the right side of the spectators tunnel.. a spinning star table that is lit up really cool.. but it's entitys therefore a lag sinner...
<!--QuoteBegin--Drek+Dec 20 2002, 10:55 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Drek @ Dec 20 2002, 10:55 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--><!--QuoteBegin--alyandon+Nov 9 2002, 01:43 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (alyandon @ Nov 9 2002, 01:43 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Now if I could just convince ATTBI to consistently provide me the full 384kbit/s upstream I pay for so my connection doesn't surge to 3000 ms latency when I'm only pushing 15-20K/s upstream from my server. <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' valign='absmiddle' alt='sad.gif'><!--endemo--><!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--> I'm guessing you aren't running Windows XP/2K, however, just in case you are, there is a tweak that improved performance on my server set up for other Half-Life mods (I haven't tried NS yet). You can find it here:
The tweak I am referring to is the "TCPWindowSize" tweak. You have to use it together with the Tcp1323Opts tweak in order for it to work its magic. I tried other tweaks but they actually hurt my server performance or caused crashes.<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--> actaully....if he is using a hardware router...that is the problem. My router can't handle 14 players.....causes 1600ms pings across the board..but not for my lan players. He's using NAT translations and the router doesn't have the speed to translate that many packets.
Massive lag spikes - 700 -> 2000 happened on my server constantly. Server just hit the maxplayer limit then, few minutes later. BANG!
ns_tanith @ 99.9 fps at the server but pings went crazy. MetaMod + ClanMod + Exploit Fix.
I suspect that either MetaMod or ClanMod started to make Lag, anyone else have similar expiriences?. I have hosted 12/12 players on DOD for example so i know i should be able to host same amount on NS too. Anyway, i think i'm going to remove all of those addons... too bad <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' valign='absmiddle' alt='sad.gif'><!--endemo-->.
sv_maxrate 3000 and ppl still get 27ms pings. mp_networkmeterrate 7500. Stable and still great pings. and no more spikes either <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' valign='absmiddle' alt='wink.gif'><!--endemo-->
"blah blah blah i have 10mb connection" well, you probably have a cisco or verio router to back that up <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' valign='absmiddle' alt='wink.gif'><!--endemo-->
cable/dsl servers don't get these cool tools. so for cable/dsl server with lagspike problems, do that, and it will remove your lag spikes
put it in your server.cfg (or listenserver.cfg) and not your autoexec.cfg file because it will default back to 8000 on the map change.
Thanks, Evil. I hope this helps on my server <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
<!--QuoteBegin--cracker jackmac+Dec 30 2002, 11:10 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (cracker jackmac @ Dec 30 2002, 11:10 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->sv_maxrate 3000 and ppl still get 27ms pings. mp_networkmeterrate 7500. Stable and still great pings. and more more spikes either <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' valign='absmiddle' alt='wink.gif'><!--endemo--><!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--> Aah! dude you saved my server <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo-->. I can host 12 again, i used those settings you mentioned on my Quote. Thank you.
Sometimes hlds.exe makes an error..or thats what Window says, DR Watson has said this:
applications.log: The application,hlds.exe, generated an application error The error occurred on 01/04/2003 @ 02:11:48.402 The exception generated was c0000005 at address 16C4FC6A (AvHPlayer::PlayerTouch)
Last line on Logs was something about mines. <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' valign='absmiddle' alt='sad.gif'><!--endemo--> . I know it can happen with webs too. Tested, i spammed alot of webs & 1 offense tower..and changed team, seconds later.crash <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' valign='absmiddle' alt='sad.gif'><!--endemo-->). That seems to be the only crash i get.. Ah, i know i'm not the only one but if that above errorlog can give hints were to find this *bug* probably than great <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->.
<!--QuoteBegin--cracker jackmac+Dec 31 2002, 05:10 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (cracker jackmac @ Dec 31 2002, 05:10 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->sv_maxrate 3000 and ppl still get 27ms pings. mp_networkmeterrate 7500. Stable and still great pings. and more more spikes either <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' valign='absmiddle' alt='wink.gif'><!--endemo--><!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--> Thanks, I hope that works. I gave up admining HLDM 'cos of lag spikes. Now maybe I can host NS from time to time. Just one question - what is mp_networkmeterrate ? I can see it's listed in server cfg and it has two default values, 100000 and 1500. Now I was thinking 100000 might be lan (100mbits) and 1500 might be leased line - I'm not sure but isn't the US T1 line about 1.5mbits.? If this is true then should us cable/adsl admins use 256 ?
<!--QuoteBegin--eaglec+Jan 4 2003, 07:20 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (eaglec @ Jan 4 2003, 07:20 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--><!--QuoteBegin--cracker jackmac+Dec 31 2002, 05:10 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (cracker jackmac @ Dec 31 2002, 05:10 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->sv_maxrate 3000 and ppl still get 27ms pings. mp_networkmeterrate 7500. Stable and still great pings. and more more spikes either <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' valign='absmiddle' alt='wink.gif'><!--endemo--><!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--> Thanks, I hope that works. I gave up admining HLDM 'cos of lag spikes. Now maybe I can host NS from time to time. Just one question - what is mp_networkmeterrate ? I can see it's listed in server cfg and it has two default values, 100000 and 1500. Now I was thinking 100000 might be lan (100mbits) and 1500 might be leased line - I'm not sure but isn't the US T1 line about 1.5mbits.? If this is true then should us cable/adsl admins use 256 ?
just wondering...<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--> using 7500 only made my pings jump 3-6ms while using 1500 or 100000 made them jump 10-50ms. you can tweak it, but this is what worked for my server.
Well the proof is in the eating as they say. My servers been running all afternoon with those settings and had several full games (only 10 peeps but I'd rather have 10 than 16 lagged) had a 1.5hour bout on Hera, processor went up to 87% but pings all stayed under 300. The broadband users were pinging around 90. Not fabulous but good enough. Many thanks.
<!--QuoteBegin--[Ht]Nickoli+Jan 6 2003, 02:01 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> ([Ht]Nickoli @ Jan 6 2003, 02:01 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->I always leave my sv_maxrate at 9999.<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--> ok, thats great Mr. I have bandwidth to pee away.
but note at the top of the post it says "note: this is for cable servers only"
because we don't have tons of bandwidth. alot of ppl don't believe me when i say i run a cable server.
<b>Note: ADSL 512/512 server</b> sv_maxrate 8000 = lag/pl sv_maxrate 7500 = lag sv_maxrate 6000 = too much latency/not steady sv_maxrate 5000 = same as above. sv_maxrate 4999-4000 = skipped <b>sv_maxrate 3000 = Perfect</b>. pings are steady and around 50-100.
I use sv_unlag 1 ; i dont know how much does that change, or does it even change that much.. lowering pings i mean.
Could you confirm that , 50KiloBytes/s ? or 400 kilobits/s 3,300 bytes per second ? if Bytes (3300x14)/1024 = 39,600Bytes/s or 45.1kilobytes/s ?
So your cable provider has stumped up 400kbps upload? Lucky you, I only have 256 upload. The Theory should still hold though, let us know how you get on.
BTW, what contention has you ISP given you, and how will you compensate for this?
my ISP doesn't have restrictions on running game servers. Just commercial Websites, DNS, FTPs, etc.
i get nothing for running this really. although i probably should.
edit: My bad, i'm a stupid american i guess. I didn't know about they UK plans they have. My ISP has me capped at 376Kbps/3Mbps. So i am completely maxing my bandwidth out.
anyway, 3300 sv_maxrate is gonig great w/o any lag spikes at all.
<!--QuoteBegin--cracker jackmac+Jan 7 2003, 02:17 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (cracker jackmac @ Jan 7 2003, 02:17 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->my ISP doesn't have restrictions on running game servers. Just commercial Websites, DNS, FTPs, etc.
i get nothing for running this really. although i probably should.
edit: My bad, i'm a stupid american i guess. I didn't know about they UK plans they have. My ISP has me capped at 376Kbps/3Mbps. So i am completely maxing my bandwidth out.
anyway, 3300 sv_maxrate is gonig great w/o any lag spikes at all.<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--> Hey you <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->, if you dont mind me asking. How much downstream is your server using when its full maybe a guess even?. I'm just thinking if i could maybe squeeze in 14 players.. hmm, the downstream is an issue for me since i only got so little.. <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' valign='absmiddle' alt='sad.gif'><!--endemo-->
14 times 3 (sv_maxrate 3000) would mean 42 Kb/s of upstream. By the way, does anyone know a way to count downstream usage on server? Hmm..man.. well..! gotta try it, and face the lag (i hope not).
i always theought that you would need 4mbit down/5mbit up to run a decent server on <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo-->
<!--QuoteBegin--|-ECA.ShocK-TroopeR+Jan 8 2003, 02:14 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (|-ECA.ShocK-TroopeR @ Jan 8 2003, 02:14 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->i always theought that you would need 4mbit down/5mbit up to run a decent server on <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo-->
seems as though im wrong<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--> I run 2 - 18 person servers on a single 1.1mb SDSL line and another 30 person server on another 1.1mb SDSL line.
I haven't gotten any complaints about lag (unless Im logged in thru TSClient). I don't play all that often as I've been rather busy lately so I cant attest that there is no lag.
The 30 person server runs around 75-108k while the 2-18 person servers average around 105k when full:
<a href='http://www.h2ocs.com/mrtg/' target='_blank'>MRTG Bandwidth stats</a> If you look at the link, H2O-7 is the 30 person server (also running the website on the same line). H2O-4 and 5 are the 2 - 18 person servers...
So in theory, I could run a 16 player server if I set sv_maxrate to 2000!
...or perhaps I am just taking the pi... er, Michael?
I seem to remember the required bps goes up as the number of players increase, and possibly also dependent on the map? Any one got any figures on this.
It sound very unlikely to work but worth an experiment. I think I'm going to try this out over the next 24 hours - if anyone wishes to help me test this please connect to eaglec.homedns.org:27015 or look for "Eaglec (T) - NS v1.03" in gamespy or whatever you use to find your games... then you can send me an e-mail or use say or team_say using the word "Admin -" before so I can pull it out the logs telling me how bad it was (or hopefully that it wasn't).
BTW, admin mod had (still has I imagine) a pluggin that changes your sv_maxrate depending on how many players are connected.
even with 3000 the choke is kinda bad (net_graph 3) i am using 100% of my upstream. My downstream is 3Mbps cap, but i dunno what i use of it completely.
Comments
sv_unlag 0 // turns off VAVLe's netcode.. This could help, but might also throw off aiming a little bit.
sv_maxupdaterate 90 // Number of packets to send in 1 second (default is 30)
hpk_maxsize 0 // place where decals are stored... just one more thing to lag a server
sv_allowupload 0 // Disallowing uploads of decals
sv_allowdownload 0 // no dling of maps
sv_porxies 0 // make sure no HLTV's appear from no where
...go in server.cfg
-heapsize 256000 // put in command line to specify the ammount of ram to dedicate.. more the merry
-noipx // put in command line to disable IPX protocol for windows servers
Now I don't know if there is a timeout bug on map changes sometimes, but if you have ever expericened up to a 2 minute waiting period for a map change, then do one of the following.
click a lot
press the use key
or jump
Any of these will trigger the server to bypass an "intermission" built into HLDS.
Hope I could help,
Ritchey~
<a href='http://csnation.counter-strike.net' target='_blank'>http://csnation.counter-strike.net</a>
<a href='http://server.counter-strike.net' target='_blank'>http://server.counter-strike.net</a>
<a href='http://forums.counter-strike.net' target='_blank'>http://forums.counter-strike.net</a>
Well so far so good! I've read this topic from top to bottom and I was able to host in my 256 dsl connection a 8 player game.
The pc is a P3 550mhz 256RAM SCSI HD
The OS is Linux Slackware 8.1 kernel 2.4.18
NS 1.03
The interesting issue in my experiences was that, with Admin Mod installed, I could not host more than 4 players at the same time. Without Admin Mod the game was smooth with 8 players.
Hope this helps someone.
<!--emo&::asrifle::--><img src='http://www.unknownworlds.com/forums/html/emoticons/asrifle.gif' border='0' valign='absmiddle' alt='asrifle.gif'><!--endemo-->
It tends to eat 1 of the cpu's alot.. up to 80% but doesnt really hit the other at all, and it does tend to eat some memory, but seems to do well with the server maxed out with 16 players.
I'm guessing you aren't running Windows XP/2K, however, just in case you are, there is a tweak that improved performance on my server set up for other Half-Life mods (I haven't tried NS yet). You can find it here:
<a href='http://www.speedguide.net/Cable_modems/cable_reg_win2k.shtml' target='_blank'>http://www.speedguide.net/Cable_modems/cab...reg_win2k.shtml</a>
The tweak I am referring to is the "TCPWindowSize" tweak. You have to use it together with the Tcp1323Opts tweak in order for it to work its magic. I tried other tweaks but they actually hurt my server performance or caused crashes.
The interesting issue in my experiences was that, with Admin Mod installed, I could not host more than 4 players at the same time. Without Admin Mod the game was smooth with 8 players.
<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
I noticed the same thing. Adminmod was seriously lagging the machine. Of course that was on v1.02. I just switched to clanmod. Doesn't work perfectly with NS but doesn't eat as much memory as adminmod, either. Of course my PIII-450 can only handle 9 players before it seriously starts barfing so I'm limited to 4 on 4 with 1 admin slot.
Command line (a batch file):
start /normal hlds -game ns -noipx -nojoy +map ns_bast +maxplayers 12
Default server.cfg just a small modification, commented out the mp_networkmeterrate.
Installed:
Adminmod + small exploit fix, metamod.
Adminmod plugins:
HLDM map vote.
System:
Samsung 512Mb RDRAM
EP-4TA3 mobo
Pentium 4 2,4Ghz
512/512 adsl connection.
Dunno why but cpu usage never touches the 15%. OS: Windows 2000 pro (tweaked).
put whoevers got 512+ of PC2100/2700 (the reason i specify the specs is because you gotta tweak with it alot to get optimal performance)
should try increasing your stack and zone sizes, try "zone 16000" to "zone 64000" -- whichevers better for you, this specifies the amount of ram dedicated to the server (excluding the stack, processing heap), 16000 = 16mb, 64000 = 64mb, don't go other that as the HLDS engine wasn't designed for it and you risk dodgy server performance.
the default btw is 4000, and if you have 128mb of ANY ram (ddr included) "zone 8000" will r0x0r your b0x0rs!
the heap command specifies the amount of (for lack of a better word) "processing" ram, i've only used this twice as i've found the zone command to be sufficient, on 512mb of PC2100 i used "heap 16000" (i think <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' valign='absmiddle' alt='tounge.gif'><!--endemo--> ) ---- look into it fellas, if it helps, then for once i can feel partially helpful, it should increase performance quite abit, although you'll have to toy around quite alot depending on your CPU + Ram.
these "tests" were carried out on win32 servers (i dont know how they'd react on a linux platform) and both with AMD processors, an AMD Thunderbird 800mhz, and an Athlon XP (Palomino) 1800+ @ 1.56ghz (NOT 1.67, tweaked for a different reason)
anywhoo, ENJOY!
P.S if any of you are setting up on a dual athlon MP system, i've got some REALLY great things to make your server outperform anything you've ever seen <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' valign='absmiddle' alt='wink.gif'><!--endemo-->
if you go and grab stripper2 for metamod and remove alot of the "unneeded" entities you can run hera and bast again... hera.. has an easteregg inside on the right side of the spectators tunnel.. a spinning star table that is lit up really cool.. but it's entitys therefore a lag sinner...
with stripper you can yank chosen entitys...
<a href='http://www.planethalflife.com/botman/stripper2.shtml' target='_blank'>http://www.planethalflife.com/botman/stripper2.shtml</a>
anybody know when it will come back up?
I'm guessing you aren't running Windows XP/2K, however, just in case you are, there is a tweak that improved performance on my server set up for other Half-Life mods (I haven't tried NS yet). You can find it here:
<a href='http://www.speedguide.net/Cable_modems/cable_reg_win2k.shtml' target='_blank'>http://www.speedguide.net/Cable_modems/cab...reg_win2k.shtml</a>
The tweak I am referring to is the "TCPWindowSize" tweak. You have to use it together with the Tcp1323Opts tweak in order for it to work its magic. I tried other tweaks but they actually hurt my server performance or caused crashes.<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
actaully....if he is using a hardware router...that is the problem. My router can't handle 14 players.....causes 1600ms pings across the board..but not for my lan players. He's using NAT translations and the router doesn't have the speed to translate that many packets.
Massive lag spikes - 700 -> 2000 happened on my server constantly.
Server just hit the maxplayer limit then, few minutes later. BANG!
ns_tanith @ 99.9 fps at the server but pings went crazy.
MetaMod + ClanMod + Exploit Fix.
I suspect that either MetaMod or ClanMod started to make Lag, anyone else have similar expiriences?. I have hosted 12/12 players on DOD for example so i know i should be able to host same amount on NS too. Anyway, i think i'm going to remove all of those addons... too bad <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' valign='absmiddle' alt='sad.gif'><!--endemo-->.
sv_maxrate 3000 and ppl still get 27ms pings. mp_networkmeterrate 7500. Stable and still great pings. and no more spikes either <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' valign='absmiddle' alt='wink.gif'><!--endemo-->
"blah blah blah i have 10mb connection" well, you probably have a cisco or verio router to back that up <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' valign='absmiddle' alt='wink.gif'><!--endemo-->
cable/dsl servers don't get these cool tools. so for cable/dsl server with lagspike problems, do that, and it will remove your lag spikes
put it in your server.cfg (or listenserver.cfg) and not your autoexec.cfg file because it will default back to 8000 on the map change.
Aah! dude you saved my server <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo-->. I can host 12 again, i used those settings you mentioned on my Quote. Thank you.
Sometimes hlds.exe makes an error..or thats what Window says, DR Watson has said this:
applications.log:
The application,hlds.exe, generated an application error The error occurred on 01/04/2003 @ 02:11:48.402 The exception generated was c0000005 at address 16C4FC6A (AvHPlayer::PlayerTouch)
Last line on Logs was something about mines. <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' valign='absmiddle' alt='sad.gif'><!--endemo--> . I know it can happen with webs too. Tested, i spammed alot of webs & 1 offense tower..and changed team, seconds later.crash <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' valign='absmiddle' alt='sad.gif'><!--endemo-->). That seems to be the only crash i get.. Ah, i know i'm not the only one but if that above errorlog can give hints were to find this *bug* probably than great <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->.
Thanks, I hope that works. I gave up admining HLDM 'cos of lag spikes. Now maybe I can host NS from time to time. Just one question - what is mp_networkmeterrate ? I can see it's listed in server cfg and it has two default values, 100000 and 1500. Now I was thinking 100000 might be lan (100mbits) and 1500 might be leased line - I'm not sure but isn't the US T1 line about 1.5mbits.? If this is true then should us cable/adsl admins use 256 ?
just wondering...
Thanks, I hope that works. I gave up admining HLDM 'cos of lag spikes. Now maybe I can host NS from time to time. Just one question - what is mp_networkmeterrate ? I can see it's listed in server cfg and it has two default values, 100000 and 1500. Now I was thinking 100000 might be lan (100mbits) and 1500 might be leased line - I'm not sure but isn't the US T1 line about 1.5mbits.? If this is true then should us cable/adsl admins use 256 ?
just wondering...<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
using 7500 only made my pings jump 3-6ms while using 1500 or 100000 made them jump 10-50ms. you can tweak it, but this is what worked for my server.
i played around with sv_maxrate somemore
5000 - spikes with onos and lots of turrest
4500 - seems pretty stable
3000 - too much choke, was like having massive PL
ok, thats great Mr. I have bandwidth to pee away.
but note at the top of the post it says "note: this is for cable servers only"
because we don't have tons of bandwidth. alot of ppl don't believe me when i say i run a cable server.
i have made some observations too, and tests...
<b>Note: ADSL 512/512 server</b>
sv_maxrate 8000 = lag/pl
sv_maxrate 7500 = lag
sv_maxrate 6000 = too much latency/not steady
sv_maxrate 5000 = same as above.
sv_maxrate 4999-4000 = skipped
<b>sv_maxrate 3000 = Perfect</b>. pings are steady and around 50-100.
I use sv_unlag 1 ; i dont know how much does that change, or does it even change that much.. lowering pings i mean.
divided by
14 players
=
sv_maxrate 3300
i'm testing it right now, i'll let you know.
3,300 bytes per second ?
if Bytes (3300x14)/1024 = 39,600Bytes/s or 45.1kilobytes/s ?
So your cable provider has stumped up 400kbps upload? Lucky you, I only have 256 upload. The Theory should still hold though, let us know how you get on.
BTW, what contention has you ISP given you, and how will you compensate for this?
i get nothing for running this really. although i probably should.
edit: My bad, i'm a stupid american i guess. I didn't know about they UK plans they have.
My ISP has me capped at 376Kbps/3Mbps. So i am completely maxing my bandwidth out.
anyway, 3300 sv_maxrate is gonig great w/o any lag spikes at all.
i get nothing for running this really. although i probably should.
edit: My bad, i'm a stupid american i guess. I didn't know about they UK plans they have.
My ISP has me capped at 376Kbps/3Mbps. So i am completely maxing my bandwidth out.
anyway, 3300 sv_maxrate is gonig great w/o any lag spikes at all.<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
Hey you <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->, if you dont mind me asking. How much downstream is your server using when its full maybe a guess even?. I'm just thinking if i could maybe squeeze in 14 players.. hmm, the downstream is an issue for me since i only got so little.. <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' valign='absmiddle' alt='sad.gif'><!--endemo-->
14 times 3 (sv_maxrate 3000) would mean 42 Kb/s of upstream.
By the way, does anyone know a way to count downstream usage on server?
Hmm..man.. well..! gotta try it, and face the lag (i hope not).
seems as though im wrong
seems as though im wrong<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
I run 2 - 18 person servers on a single 1.1mb SDSL line and another 30 person server on another 1.1mb SDSL line.
I haven't gotten any complaints about lag (unless Im logged in thru TSClient). I don't play all that often as I've been rather busy lately so I cant attest that there is no lag.
The 30 person server runs around 75-108k while the 2-18 person servers average around 105k when full:
<a href='http://www.h2ocs.com/mrtg/' target='_blank'>MRTG Bandwidth stats</a>
If you look at the link, H2O-7 is the 30 person server (also running the website on the same line). H2O-4 and 5 are the 2 - 18 person servers...
...or perhaps I am just taking the pi... er, Michael?
I seem to remember the required bps goes up as the number of players increase, and possibly also dependent on the map? Any one got any figures on this.
It sound very unlikely to work but worth an experiment. I think I'm going to try this out over the next 24 hours - if anyone wishes to help me test this please connect to eaglec.homedns.org:27015
or look for "Eaglec (T) - NS v1.03" in gamespy or whatever you use to find your games... then you can send me an e-mail or use say or team_say using the word "Admin -" before so I can pull it out the logs telling me how bad it was (or hopefully that it wasn't).
BTW, admin mod had (still has I imagine) a pluggin that changes your sv_maxrate depending on how many players are connected.
/EDIT/ got hostname slightly wrong!
even with 3000 the choke is kinda bad (net_graph 3) i am using 100% of my upstream. My downstream is 3Mbps cap, but i dunno what i use of it completely.