Forums | MacLife

You are not logged in.

#1 2005-09-11 12:09 pm

shaggy
Member
Registered: 2005-05-19
Posts: 7

Reducing Server Lagg?

Hi, im running the latest version of Etpub on my server, but when the server starts to get full, 22+ its get realy jerky and laggy and ppl ping varies from 60-300
the remote pc is:
2.4ghz intel Celeron
504mb ram
100mbit line

What can i do to decrease lagg, are there some cvar values i can force to every player, some etpub settings make it laggy? should i add more ram?

Please help im going madd:(

Offline

 

#2 2005-09-11 12:25 pm

Mainwar
Yankee
From: Chipping Sodbury, UK.
Registered: 2003-09-23
Posts: 679
Website

Re: Reducing Server Lagg?

I don't know what sort of upstream speed you'd have on a 100mbit line, but it sounds pretty decent. One obvious thing you can set is the max ping, because one player with a high ping can cause problems for everybody else.

I limit my server to 150 - 200 max ping (bear in mind that the check is carried out at connection time, and for some reason your ping seems a bit higher at the point of connection, so I reckon that translates as about 100 max ping in game).

The other one is max rate - the default cfg is set to something like 15,000 (may be 20k), which you can lower to squeeze a bit more out of the connection. I've run home servers on as low as 6000 max rate, but 8-10,000 is probably more like it.

Altivec can probably give you some more complex solutions - I know he's done a few tweaks to improve performance on the MA server.


When in doubt, ask yourself, WWJD - What Would Jehannum Do?

Offline

 

#3 2005-09-15 6:43 pm

Altivec
I like fishy crackers
Moderator
From: Rat's Mouth, FL
Registered: 2002-01-27
Posts: 2357
Website

Re: Reducing Server Lagg?

Mainwar has some good tips from the networking side.  First thing you need to do is determine if you are CPU, RAM, or bandwidth-bound when you are having the lag problems.  If you are running Windows you can use performance counters to capture what is going on with the server when it is laggy:

Start -> Run -> perfmon

Some of the counters you will want to monitor:

Processor:
% Idle Time
% Processor Time

Memory:

Available MBytes
Page Faults/Sec

Network Interface:
Bytes Sent/sec
Bytes Received/sec
Current Bandwitdh

If you have ruled out processor/ram as being the problem, then you can look into tweaking your bandwidth settings in the config files.  If processor/ram usage is the problem you will need to scale back the max # of players and/or run smaller maps.

Other tweaks:

If you have multiple drives in your server, move your pagefile, game install, and windows install to separate drives.  Even better, use a RAID stripe.  This will help with map load times mostly, but can help with paging performance if you don't have enough RAM.
Keep up to date on your OS patches.
Disable unnecessary services (simple tcp/ip, indexing service, remote registry, etc)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson