SRCDS Steam group

Multiple servers, unstable fps [HLDS]
When i start the second HLDS the FPS goes unstable. Why? The servers are empty.

Well the hardware sux but still, the servers are empty.

processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 8
model name : AMD Athlon™
stepping : 1
cpu MHz : 2004.628
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips : 4009.25
clflush size : 32
power management: ts

512MB ram
OS: Debian 4.0, Kernel

HLDS startup:
./hlds_run -game cstrike +maxplayers 12 +map de_dust2 +ip +port 27015/27016 -insecure -pingboost 2 &

EDIT: Ticrate doesnt matter.

Attached Files
.txt   config-2.6.29.txt (Size: 84.04 KB / Downloads: 17)
use an other kernel like 2.6.28 or 2.6.29 both are worse for cs/css.
you can try using my kernel howto (see signature), it might get a little better. but keep in mind that you don't have a recent cpu and only a single cpu core. also amd cpus are not very good for game servers (usually). (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
thats the same i wrote ^^ use an other kernel > the one of his tutorial is ok.
Another question; CFQ or Anticipatory?
i use cfq but the most of tutorials said one of both are a good choice.
that's only important for disk IO, and disk IO is evil in any case for game servers (seek times are usually in the order of 10ms, that's way to long to keep like 1000 fps). so basically we trust that srcsd/hlds doesn't need to do disk IO in the running game. else we have lags in any case, you could only try to minimize the lag... (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
and what did you recommend? normally i heard theres is no differenz between both for hl engine.
Seems like my system doesn't support HPET, is tsc good enough?

cat /sys/devices/system/clocksource/clocksource0/available_clocksource
tsc pit jiffies
tsc is very fast, but not as accurate as hpet. Both ones are completly changed.

tsc > very fast because its implemented in most of the newest Intel CPUs, but not 100% accurate. You dont need to switch it on, its normally the standard timer.

hpet > its slower because its implemented in most of the newest Intel Chipsets (and other) but very accurate. You have to turn it on in the bios. Normally you have to force it > clocksource=hpet (kernel parameters)

If you want very good results you can use both it doesnt matter.
Some voices told me hpet is better, but i have a lot of systems now running with both > i found out no clearly different

best reguards
Well, cant find any option in BIOS :/.

EDIT: Maybe because i have AMD?:p
activate acpi and its timer (in BIOS and kernel) and use acpi_pm. tsc is not really good for game servers... and btw: hpet is on modern systems (especially on recent kernels) not really slower than other clock sources. that was only valid when hpet was very new... (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Can i install ACPI? Or do i have to recompile? Disabled it according to .
BehaartesEtwas: i think thats untrue. I got with my newest system (AMD Shangai Dual Quad Core) only 960-970 FPS. This AMD dont have hpet, only acpi_pm, tsc and jiffies. I tested "acpi_pm" hopefully it would give some more stable/higher FPS. result was > 500 FPS :-)
Ok i tried only one test, with no more tests, perhaps you have an other idea.
But the most of tutorials and your own ones recommend hpet, there is no word about acpi_pm.
Here you can read something about the timer:
I think the best choice is hpet because its more accurate.

The older AMD64 versions have Hpet. The very old ones do not have it and the newer one, too.
In the newest Intel CPUs is this option standard.

best reguards
Peter: You shouldn't conclude from your system to all ;-)

enabling acpi is generally a good idea, as it will disable some "system management" interrupts (don't remember the right term) which could disturb the server, as acpi offers an alternative (more modern) way of handling those events.

the link you give doesn't tell me anything new. it basically says, TSC is not good, but HPET is the best. acpi_pm in somewhere in between and thus the best option if HPET is not available. that was my statement ;-) (Linux Kernel HOWTO!)
Do not ask technical questions via PM!

Forum Jump:

Users browsing this thread: 1 Guest(s)