SRCDS Steam group


Multiple servers, unstable fps [HLDS]
#1
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 2.6.29.2

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




EDIT: Ticrate doesnt matter.


Attached Files
.txt   config-2.6.29.txt (Size: 84.04 KB / Downloads: 17)
Reply
#2
use an other kernel like 2.6.28 or 2.6.29 both are worse for cs/css.
Reply
#3
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).
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#4
thats the same i wrote ^^ use an other kernel > the one of his tutorial is ok.
Reply
#5
Another question; CFQ or Anticipatory?
Reply
#6
i use cfq but the most of tutorials said one of both are a good choice.
Reply
#7
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...
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#8
and what did you recommend? normally i heard theres is no differenz between both for hl engine.
Reply
#9
Seems like my system doesn't support HPET, is tsc good enough?


cat /sys/devices/system/clocksource/clocksource0/available_clocksource
---
tsc pit jiffies
Reply
#10
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
peter
Reply
#11
Well, cant find any option in BIOS :/.


EDIT: Maybe because i have AMD?:p
Reply
#12
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...
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#13
Can i install ACPI? Or do i have to recompile? Disabled it according to http://www.howto-cs16-root.de/gen_kernel.htm .
Reply
#14
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:
http://wiki.debianforum.de/KernelTimer
I think the best choice is hpet because its more accurate.

matte563:
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
Reply
#15
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 ;-)
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)