SRCDS Steam group


FPS = 600 when connected to the internet, FPS = 10 when I'm not...
#5
I do have a "clean" install of Counter Strike Source. I'll copy the server.cfg across and see what happens.

When I go top in linux it reports pretty much what you see above (70+%) used by srcds_amd.

I was kind of hoping that I'd find a process eating up the CPU external to SRCDS that I could point the finger at. I'll try the clean counter strike and get back to you.

Many thanks for your help!
Strangely it does exactly the same! The launch command line is exactly as above and I will attach the server.cfg to this post.

With the internet connected...
Code:
CPU   In    Out   Uptime  Users   FPS    Players
31.50  0.00  0.00       6     0  424.63       6
CPU   In    Out   Uptime  Users   FPS    Players
33.67  0.00  0.00       6     0  422.12       6
CPU   In    Out   Uptime  Users   FPS    Players
33.60  0.00  0.00       6     0  424.27       6
CPU   In    Out   Uptime  Users   FPS    Players
34.00  0.00  0.00       6     0  397.30       6
CPU   In    Out   Uptime  Users   FPS    Players
30.00  0.00  0.00       7     0  423.73       6
CPU   In    Out   Uptime  Users   FPS    Players
30.00  0.00  0.00       7     0  421.23       6
CPU   In    Out   Uptime  Users   FPS    Players
26.50  0.00  0.00       7     0  418.06       6

With it disconnected...
Code:
CPU   In    Out   Uptime  Users   FPS    Players
70.00  0.00  0.00       2     0   10.00       7
CPU   In    Out   Uptime  Users   FPS    Players
75.25  0.00  0.00       2     0   10.00       7
CPU   In    Out   Uptime  Users   FPS    Players
75.20  0.00  0.00       2     0   10.00       7
CPU   In    Out   Uptime  Users   FPS    Players
75.20  0.00  0.00       2     0   10.00       7
CPU   In    Out   Uptime  Users   FPS    Players
79.00  0.00  0.00       2     0   10.00       7
CPU   In    Out   Uptime  Users   FPS    Players
79.00  0.00  0.00       2     0   10.00       7
CPU   In    Out   Uptime  Users   FPS    Players
77.50  0.00  0.00       2     0   10.00       7

Just to prove the CPU usage, here's what top had to say...
Code:
top - 09:25:53 up 3 min,  1 user,  load average: 1.12, 0.49, 0.19
Tasks: 102 total,   3 running,  99 sleeping,   0 stopped,   0 zombie
Cpu(s): 70.2%us,  2.0%sy,  0.0%ni, 26.5%id,  0.0%wa,  0.0%hi,  1.3%si,  0.0%st
Mem:    509468k total,   336788k used,   172680k free,    11932k buffers
Swap:  1485972k total,        0k used,  1485972k free,   195684k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
3451 terry     20   0  137m  66m  12m R 73.4 13.3   0:43.98 srcds_amd
2217 mysql     20   0  125m  17m 4948 S  0.3  3.5   0:00.79 mysqld
2914 root      20   0  5176 1796 1592 S  0.3  0.4   0:00.03 hald-addon-stor
3454 terry     20   0  2444 1156  912 R  0.3  0.2   0:00.04 top
    1 root      20   0  3084 1884  564 S  0.0  0.4   0:01.43 init
    2 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kthreadd
    3 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 migration/0
    4 root      15  -5     0    0    0 S  0.0  0.0   0:00.16 ksoftirqd/0
    5 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/0
    6 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 events/0
    7 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 khelper
    8 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 kstop/0
    9 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kintegrityd/0
   10 root      15  -5     0    0    0 S  0.0  0.0   0:00.02 kblockd/0
   11 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kacpid
   12 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kacpi_notify
   13 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 cqueue

server.cfg is as below...
Code:
// server name
hostname "LAN Gun Game Dedicated Server"

// rcon passsword
rcon_password "*****"

// server cvars
mp_friendlyfire 0
mp_footsteps 1
mp_autoteambalance 1
mp_autokick 0
mp_flashlight 1
mp_tkpunish 0
mp_forcecamera 0
sv_alltalk 0
sv_pausable 0
sv_cheats 0
sv_consistency 1
sv_allowupload 1
sv_allowdownload 1
sv_maxspeed 320
mp_limitteams 2
mp_hostagepenalty 5
sv_voiceenable 0
mp_allowspectators 1
mp_timelimit 25
mp_chattime 10
sv_timeout 65

// round specific cvars
mp_freezetime 6
mp_roundtime 5
mp_startmoney 800
mp_c4timer 45
mp_fraglimit 0
mp_maxrounds 0
mp_winlimit 0
mp_playerid 0
mp_spawnprotectiontime 5

// bandwidth rates/settings
sv_maxrate 20000
decalfrequency 60
sv_maxupdaterate 100
sv_minupdaterate 60

// server logging
log off
sv_logbans 0
sv_logecho 1
sv_logfile 1
sv_log_onefile 0

// bots
bot_add
bot_quota 7
bot_quota_mode fill
bot_difficulty 0
bot_chatter radio
bot_auto_follow 0
bot_auto_vacate 1
bot_join_after_player 0
bot_defer_to_human 0
bot_prefix "[BOT] - "
bot_allow_rogues 1
bot_walk 0
bot_join_team any
bot_eco_limit 2000
bot_allow_grenades 1
bot_all_weapons
bot_allow_grenades 1
bot_allow_pistols 1
bot_allow_sub_machine_guns 1
bot_allow_shotguns 1
bot_allow_rifles 1
bot_allow_snipers 1
bot_allow_machine_guns 1

// operation
sv_lan 1
sv_region 3

// execute ban files
exec banned_user.cfg
exec banned_ip.cfg

//Exec Mani
exec mani_admin_plugin.cfg

//Load gungame!
es_load gungame4

Many thanks for your help!!
Reply


Messages In This Thread
RE: FPS = 600 when connected to the internet, FPS = 10 when I'm not... - monobrow - 09-23-2009, 06:04 PM

Forum Jump:


Users browsing this thread: