SRCDS Steam group


HP DL140 Dual-core Intel® Xeon® 3Ghz
#1
Rolleyes 
Yo Smile

I was wondering if someone could help me with my problem.
Our clan has 6 public servers (HLDS) running great on linux and windows.
I have installed and tweaked them so i know a litle bit about servers  now Rolleyes but srcds is new to me .

So the the clan wanted a source server , Now for my problem

New server:
HP DL140
Windows 2003 os
Dual-core Intel® Xeon® Processor 5160 (3 GHz, 80 Watt, 1333-MHz FSB);
4gb ram
80gb harddisk

Installed SRCDS with the steam tool and its up to date.
sv_maxupdaterate 100
systicrate 100
CPU   In    Out   Uptime  Users   FPS    Players
8.56 17131.85 52787.07     229     1  508.17       6
Server fps is running at 500fps
If there are 30 players or more on the server its says in console that cpu is at 90% , fps dropping bad and its lagging like hell but the pings are still good and the server says 25% cpu load.

I did run a 64 player server arma assault and a 32 player hlds on it with no lag or problems on this machine even if both servers where full.
But srcds alone cant handle more then 30 players on it.

Is there a way to fix it ?
Or is srcds just a bad server prog , i tried priority , ticrate , rates , boost but nothing was making it better.

Greetz
Reply
#2
The SRCDS shouldn't be run on 100 tick if the player count is more than 18, above 18 it should be 66 tick up to 32, more than 32 should be 33 tick.

Make sure the affinity is set to 1 core, SRCDS is not multi threaded.
Disable Hyperthreading technology, it's known to give loads of problems on higher end servers.

Also systickrate doesn't work on SRCDS (don't know if you used that command, it's never been available in the SRCDS).

May I ask you to check what kind of lag is occurring, tickrate drop, loss, choke...
It helps fixing it.
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#3
Well this is in my batch file maybe i am using old hlds console commands ?

@echo off
echo +++++++++++++++++++++++++++++Server Created++++++++++++++++++++++ -/++:`-:/++++
echo ++++++++++++++++++++Date:6/06/2007 Time:17:26:20.1930000++++++++++++++++++++++
:RESTART
"C:\CsSource\srcds.exe" -console -game cstrike +map de_dust2 +fps_max 600 +mp_timelimit 180 +maxplayers 60 +ip 83.149.117.64 +hostport 27017 -tickrate 66
FOR /F "TOKENS=1* DELIMS= " %%A IN ('DATE/T') DO SET DATE=%%B
FOR /F "TOKENS=*" %%A IN ('TIME/T') DO SET TIME=%%A
ECHO Server Restarted at %TIME% on %DATE%
GOTO RESTART

The lag is like everybody is moving and stopping every 1sec
The problem is that the srcds console says cpu load 98%
With hlds or other server progs i had never problems

Protocol version 7
         Exe version 1.0.0.34 (cstrike)
         Exe build: 12:32:29 Jun 13 2007 (3140)

I just checked with 15 players on source server:
CPU   In    Out   Uptime  Users   FPS    Players
41.75 37622.57 130708.18     261     1  511.39      15

Almost 50% cpu load in console with 15 people
Thats wtf ?

Is there a command for assigning srcds.exe to one core , or do i have to use FireDaemon for it

EDIT:
ok i found this http://www.robpol86.com/Pages/imagecfg.php
looks like its better running on 1 core , steam needs to update this srcds to multiecore , every server is multiecore.
i hope the problem is fixed but i will know that tomorow because the srcds server is empty for now :-)
Reply
#4
Commands are correct although some are "old" they still work. I'm talking about these commands:
+maxplayers can now be used as -maxplayers (which is faster and immediate)
+hostport can now be used as -port (same effect as above)
+ip can also be used as -ip (again same as above)

Indeed CPU is way too high, my PIV 2,8 won't even go that high with 25 players.

Yes you have to set affinity, I've been trying to make my SRCDS Guardian work with automatic affinity setting but no luck with bat files yet.

I included my "cluster" of bat files so you can see what I was trying to do and maybe finish it if you can use it. I hereby grant the community and/or its downloaders every right to edit and or alter the script to your needs. (legal stuff, lol gotta love it)


.zip   MultiCoreGuardian.zip (Size: 88.65 KB / Downloads: 19)
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#5
Ok this is for me the easy way to run it on one core

Download this old windows NT tool

Put the imagecfg.exe in :
C:\Windows\system32
C:\Windows\system32\dllcache

Type this to the command prompt window or run dialog and change the path to srcds:
imagecfg -u c:\path\to\srcds.exe

Then just start srcds like you did before and it runs on one core Big Grin , check it.
( i use server checker )

If using automatic affinity setting included on a batch file ,
your bat file would be big and full of code so imagecfg.exe is nicer i think

If its not working look in the readme for more commands like this:

imagecfg -a 0x1 c:\path\to\file.exe
imagecfg -u c:\path\to\file.exe
imagecfg -a 0x1 c:\path\to\file.exe

0x1 = CPU0 (first logical/physical CPU)
0x2 = CPU1 (second CPU)
0x3 = CPU2 (third CPU
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)