Posts: 92
Threads: 3
Joined: Jun 2008
Reputation:
0
06-10-2008, 09:05 PM
(This post was last modified: 06-11-2008, 12:11 AM by janne.)
Hi all!
I have a problem with long delays(~10-20 sec) when changing maps on my css-server where nothing seems to happen.
I can see the cpu core hits 100% for the srcds process.
Usually, but not allways, the second time the map is loaded it goes alot faster, but problably because it's cached somewhere in memory.
I have tried to make a ram-disk for the maps, but I still get the delays when changing maps.
I have 3 cs:source servers on this machine and all have the same problem.
(only plugin i have is zblock 4.1)
I had similar problem on my previous server, but the delay was a bit shorter.
So, Is this normal or can something be done??
My spec:
Debian 4.0r3 with a customized vanilla kernel 2.6.22.1-rt9
(I've tried all kinds of kernel versions, but I find this to be the best when it comes to a have stable 1000fps css-server)
Intel Core 2 Quad Q6600 2.4GHz
Asus P5E-VM HDMI iG35 SATA Audio VGA GB-LAN mATX
Corsair TWIN2X2048-6400C5DHX 2x1024MB DDR2 PC2-6400 800MHz
2x (Software RAID1) Seagate Barracuda 7200.10 250GB SATA-II
"the box said 'requires windows xp or better'. so i installed linux"
Linux Ubuntu 9.04 Server 2.6.30-vanilla #1 SMP PREEMPT x86_64
Posts: 92
Threads: 3
Joined: Jun 2008
Reputation:
0
06-10-2008, 10:41 PM
(This post was last modified: 06-10-2008, 11:24 PM by janne.)
I did a small test from your tutorial using tmpfs, but it didn't improve anything. However, I only put the dir ./maps/ on the ram-disk.
Not even the slightest improvement tbh.
I like the idea about it though, especially now when ram is pretty cheap.
btw. I'm a Swede
"the box said 'requires windows xp or better'. so i installed linux"
Linux Ubuntu 9.04 Server 2.6.30-vanilla #1 SMP PREEMPT x86_64
Posts: 92
Threads: 3
Joined: Jun 2008
Reputation:
0
06-11-2008, 04:21 AM
(This post was last modified: 06-11-2008, 04:42 AM by janne.)
Now, I have tested a bit on my other server...
Core2Duo E8400 3ghz, 4gig ram PC6400 running Kubuntu 8.04 kernel 2.6.24-17-rt...
and it have the exact same "problem" with long delays on first map change.
Also here the CPU goes to 100%.
It seems that the cpu-usage is the real problem, and not the read speed from the hard drives.
I think that is why creating a ram drive doesn't help us much.
My setup with my 3 css-servers use the same common files on the server anyway, using symbolic links.
So when Linux once have cached maps into memory for one server, the other servers can use that cached map file too.
"the box said 'requires windows xp or better'. so i installed linux"
Linux Ubuntu 9.04 Server 2.6.30-vanilla #1 SMP PREEMPT x86_64
Posts: 105
Threads: 14
Joined: Jan 2005
Reputation:
0
Taskset on most systems causes major FPS issues.
Run your server preferably around nice -10
You may want to examine your setup a little more to see if there is a glaring issue.
Based on your setup you should not be having issues depending on the load and resources available. But then again it's hard to say without knowing a little more.
Game Server Administration Services
Linux & Windows performance specialist.
*****www.viGeek.net
Posts: 92
Threads: 3
Joined: Jun 2008
Reputation:
0
06-11-2008, 03:40 PM
(This post was last modified: 06-11-2008, 04:51 PM by janne.)
Takset dont help at all. Its just a waist of resources. Linux is doing an excellent work switching cores without noticeable affect. Especially if I, for example, should have more than one game server per core.
Nice however is good, and I am using it.
But I do not have any performance issues.
The only problem is load speeds on first time map changes.
Definition of long is about ~10-20sec
I tried "cat ./maps/* >/dev/null" when i tested the ram disk theory, but it didn't help at all.
"the box said 'requires windows xp or better'. so i installed linux"
Linux Ubuntu 9.04 Server 2.6.30-vanilla #1 SMP PREEMPT x86_64
Posts: 92
Threads: 3
Joined: Jun 2008
Reputation:
0
06-11-2008, 06:18 PM
(This post was last modified: 06-11-2008, 06:21 PM by janne.)
css Wrote:janne Wrote:Definition of long is about ~10-20sec
Seems normal. Are you trying for world record? 
When the map once is cached it only takes 2-3 seconds to change the map while cpu remain at normal usage...
...so 20 seconds seems like ages, and 100% cpu usage anoying.
Thats what I'm trying to fix.
And Yes; I am trying to have the best css server in the world.
"the box said 'requires windows xp or better'. so i installed linux"
Linux Ubuntu 9.04 Server 2.6.30-vanilla #1 SMP PREEMPT x86_64