HLDS NS Linux
momcilosystem
Join Date: 2010-03-15 Member: 70965Members
in Tech Support
<div class="IPBDescription">-buildings cause lag-</div>I have a problem with my NS dedicated server. I managed to make it very playable on low bandwidth (200Kbps upload) and with 6 players from internet and 3 from LAN side. It runs very well with low pings, but problem occurs when there's a lot of buildings in someone's sight - then it starts to lag and I don't mean lag like 200-300, I mean lag like 1500-2000 which is just unplayable.
I tried with just two players from internet and me from LAN and it still lagged like hell when they sighted a lot of defence turrets. I have installed monitoring utility for system resources (munin) and I see that CPU don't get higher than 80% ever! And my bandwidth is also not peaking at all (about 70% of bandwidth max) so... where is problem?
This is my server.cfg file:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->hostname "Jovici NS v3.2"
sv_maxupdaterate 15
sv_minupdaterate 4
sv_maxrate 4000
sv_minrate 1500
// [color="#0000FF"]These are more or less default values, anyhow I don't expect them to impact server's performance[/color]
sv_region 3
mp_autoconcede 0
mp_limitteams 0
mp_combattime 20
mp_blockscripts 1
mp_mapvoteratio .6
sv_proxies 1
sv_maxspeed 4000
sv_allowdownload 0
mp_consistency 0
mp_votedowntime 180
mp_votecasttime 2
mp_votepercentneeded .4
mp_minvotesneeded 3
mp_countdowntime .2
mp_latejointime 1.5
mp_logdetail 0
mp_falldamage 1
mp_killdelay 3
mp_flashlight 1
mp_footsteps 1
sv_aim 0
violence_hgibs 0
violence_agibs 0
sv_clienttrace 3.5
mp_tournamentmode 0
mp_friendlyfire 0
sv_cheats 0
mp_drawdamage 1
mp_team1damagepercent 100
mp_team2damagepercent 100
mp_timelimit 60
sv_lan 0
sv_structurelimit 300
pausable 1
mp_serverops ""
mp_uplink 1
mapchangecfgfile server.cfg
rcon_password "password"<!--c2--></div><!--ec2-->
This is command for starting server:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->./hlds_run -binary ./hlds_i686 -pingboost 1 -port 27016 -game ns +map ns_eclipse +ip 192.168.1.100 -nomaster -console -maxplayers 20 +fps_max 500<!--c2--></div><!--ec2-->
You'll notice that I am manualy specifying binary to use because hlds_run loads AMD binary and I have Intel Pentium 4 processor.
If you need any more infro, any at all just give a word, because I want to make this server work.
My system spec are:
CPU: Intel Pentium 4 2.2GHz
RAM: 2x512MB
OS: Fedora 12 32-bit (no gui)
I tried with just two players from internet and me from LAN and it still lagged like hell when they sighted a lot of defence turrets. I have installed monitoring utility for system resources (munin) and I see that CPU don't get higher than 80% ever! And my bandwidth is also not peaking at all (about 70% of bandwidth max) so... where is problem?
This is my server.cfg file:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->hostname "Jovici NS v3.2"
sv_maxupdaterate 15
sv_minupdaterate 4
sv_maxrate 4000
sv_minrate 1500
// [color="#0000FF"]These are more or less default values, anyhow I don't expect them to impact server's performance[/color]
sv_region 3
mp_autoconcede 0
mp_limitteams 0
mp_combattime 20
mp_blockscripts 1
mp_mapvoteratio .6
sv_proxies 1
sv_maxspeed 4000
sv_allowdownload 0
mp_consistency 0
mp_votedowntime 180
mp_votecasttime 2
mp_votepercentneeded .4
mp_minvotesneeded 3
mp_countdowntime .2
mp_latejointime 1.5
mp_logdetail 0
mp_falldamage 1
mp_killdelay 3
mp_flashlight 1
mp_footsteps 1
sv_aim 0
violence_hgibs 0
violence_agibs 0
sv_clienttrace 3.5
mp_tournamentmode 0
mp_friendlyfire 0
sv_cheats 0
mp_drawdamage 1
mp_team1damagepercent 100
mp_team2damagepercent 100
mp_timelimit 60
sv_lan 0
sv_structurelimit 300
pausable 1
mp_serverops ""
mp_uplink 1
mapchangecfgfile server.cfg
rcon_password "password"<!--c2--></div><!--ec2-->
This is command for starting server:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->./hlds_run -binary ./hlds_i686 -pingboost 1 -port 27016 -game ns +map ns_eclipse +ip 192.168.1.100 -nomaster -console -maxplayers 20 +fps_max 500<!--c2--></div><!--ec2-->
You'll notice that I am manualy specifying binary to use because hlds_run loads AMD binary and I have Intel Pentium 4 processor.
If you need any more infro, any at all just give a word, because I want to make this server work.
My system spec are:
CPU: Intel Pentium 4 2.2GHz
RAM: 2x512MB
OS: Fedora 12 32-bit (no gui)