[hlds_linux] Re: 1. What is your cpu load? (Procyon)

2008-01-18 Thread Matt Ogborne
--
[ Picked text/plain from multipart/alternative ]

 Hi, just a suggestion, try using taskset to force the process(es) to a
 single core, see here http://linux.die.net/man/1/taskset as I've noticed
 sometimes it will try and run both threads on the same core and lagout 
 drop fps, however once set to thier own core [taskset -pc CORE# PID] (and
 assuming they don't crash and thier PID changes), two TF2 servers can live
 quite happily as ours do on a dual core system.


Matt

Message: 1
 Date: Thu, 17 Jan 2008 16:20:58 +0100
 From: Procyon [EMAIL PROTECTED]
 To: hlds_linux@list.valvesoftware.com
 Subject: [hlds_linux] What is your cpu load?
 Reply-To: hlds_linux@list.valvesoftware.com

 We have systems equipped with a AMD Athlon(tm) 64 X2 Dual Core Processor
 4400+. Each system is running two 24 slot tf2 servers, that is one tf2
 server per cpu core. The average cpu load per core is about 67-73% but
 in worst case we can se them go as high
 as 80-90%. While this is high load it is not noticeable laggy in-game,
 however the server is really struggling maintaining the 300 maxfps. It
 frequently drops to about 50 which makes me think, do we have a problem
 - perhaps with bad server or kernel settings?

 Before we investigate this further I'd like to get a feel of what the
 normal load should be and what kind of hardware is required for a 24
 slot tf2 server so please post your hardware details and cpu load so we
 can compare.

 $ uname -a
 Linux tf2-1 2.6.22-gentoo-r8 #2 SMP PREEMPT Sun Oct 7 21:56:30 CEST 2007
 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ AuthenticAMD GNU/Linux
 1000hz timer frequency kernel

 metamod
 sourcemod
 hlstatsx plugin
 sourcebans plugin

--

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


[hlds_linux] Re: hlds_linux digest, Vol 1 #5881 - 13 msgs

2007-11-11 Thread Matt Ogborne
--
[ Picked text/plain from multipart/alternative ]
 1. sv_pure 1  pure_server_whitelist.txt - if you use one, read this. (ics)

Howdy ICS,

First off totally sweet skins btw!

Absolutely no issues at all with sv_pure 1 with these three extra lines:

maps\...allow_from_disk // Maps
materials\decals\custom\...allow_from_disk // Custom decals for extras
in game (such as ads)
sound\misc\...allow_from_disk // For SaySounds

That said while running in sv_pure 1 mode, most players with custom client
side skins have issues that they're either kicked or they plain don't work.
Simple answer given to such users, don't use them!

I added maps\...allow_from_disk on purpose as I have edited
the entities within the base CS:Source maps, although I keep the CRC the
same I added this just in case.

If I was going to add the server side skins again, then I would explicitly
add the skins sub folders, rather than just 'materials' [for example], as I
don't particularly want players running around with red/blue hacked player
skins.

Matt
--

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


[hlds_linux] Re: hlds_linux digest, Vol 1 #5876 - 7 msgs

2007-11-07 Thread Matt Ogborne
--
[ Picked text/plain from multipart/alternative ]
[2. CS:Source Linux PID's Changing (Matt Ogborne)]

Howdy,

The screen session is called 'CS_SOURCE_PUBLIC', the exact line used to
start the screen session is:
screen -dmS CS_SOURCE_PUBLIC ./srcds_run -game cstrike  -autoupdate +map
de_dust2 +maxplayers 56 -port 27018 -tickrate 33 +fps_max 150

The screen PID stays constant.

When running 'ps -ef' on the command line it returns, this for the screen
session:
user   4223 1  0 Nov01 ?00:00:12 SCREEN -dmS CS_SOURCE_PUBLIC
./srcds_run -game cstrike -autoupdate [truncated]

And this for the actual PID, which is the game server (this is the one that
is changing! At this time its currently PID 18097):
user  18097  4224 25 Nov06 pts/105:22:08 ./srcds_amd -game cstrike
-autoupdate  [truncated]

I created a file called 'cron' and entered this into it:
ps -ef | grep screen | grep CS_SOURCE_PUBLIC | grep -v grep | awk '( print
$2 )'  counterstrike.pid

However when the file is ran, this comes back in the console:
XXX.XXX.XXX.XXX [user: ~/cron ]$ ./cron
awk: line 1: syntax error at or near print
XXX.XXX.XXX.XXX [user:  ~/cron ]$

Its created the file called 'counterstrike.pid' although its empty and
hasn't found the PID.

What I did notice is that the PPID colum after running 'ps -ef' was the
screen PID, so if we looked for the PPID for 4224 (The master PID of the
screen) and then took the  PID, that shoudl work??

Matt



On 07/11/2007, [EMAIL PROTECTED] 
[EMAIL PROTECTED] wrote:

 Send hlds_linux mailing list submissions to
 hlds_linux@list.valvesoftware.com

 To subscribe or unsubscribe via the World Wide Web, visit
 http://list.valvesoftware.com/mailman/listinfo/hlds_linux
 or, via email, send a message with subject or body 'help' to
 [EMAIL PROTECTED]

 You can reach the person managing the list at
 [EMAIL PROTECTED]

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of hlds_linux digest...


 Today's Topics:

1. Re: Running TF2 server on P3 hardware in Linux (bad bone weight)
 please confirm (Kennycom)
2. CS:Source Linux PID's Changing (Matt Ogborne)
3. Re: CS:Source Linux PID's Changing (Dan E)
4. Re: CS:Source Linux PID's Changing (LouLou Bizou)
5. Re: Running TF2 server on P3 hardware in Linux (bad
bone weight) please confirm (Oliver Salzburg)
6. RE: CS:Source Linux PID's Changing (Miano, Steven M.)

 --__--__--

 Message: 1
 From: Kennycom [EMAIL PROTECTED]
 To: hlds_linux@list.valvesoftware.com
 Subject: Re: [hlds_linux] Running TF2 server on P3 hardware in Linux (bad
 bone weight) please confirm
 Date: Tue, 6 Nov 2007 12:31:39 -0800
 Reply-To: hlds_linux@list.valvesoftware.com


 As to what exactly the problem is I don't recall a definitive answer.. but
 yes for the time being your P3 and some (allot) of the AMD cpu's are out
 of
 luck. I ended up building a new system with an Xeon E5335 (was running a
 LAN
 server with an athlon XP2800) and life is good again.


 --kennycom






 - Original Message -
 From: Some Llama [EMAIL PROTECTED]
 To: hlds_linux@list.valvesoftware.com
 Sent: Tuesday, November 06, 2007 11:35 AM
 Subject: [hlds_linux] Running TF2 server on P3 hardware in Linux (bad bone
 weight) please confirm


 --
 [ Picked text/plain from multipart/alternative ]
 Hey All,

 So I have a P3 linux server I run CS:S on and thought i'd dedicate it to
 TF2, read through some of the old postings to his mailing list and it
 looks
 like the P3 doesn't support some processor function the newer TF2 engine
 needs in order to run on Linux?

 Is that correct? Can someone please confirm?

 I'm getting the bad bone weights messages along with the errors at the end
 of the debug.log but looking through the postings it looks like the
 conversation died off after talk of support for FCMOV?


 Thanks for your time.
 llama
 --

 ___
 To unsubscribe, edit your list preferences, or view the list archives,
 please visit:
 http://list.valvesoftware.com/mailman/listinfo/hlds_linux




 --__--__--

 Message: 2
 Date: Wed, 7 Nov 2007 03:19:25 +
 From: Matt Ogborne [EMAIL PROTECTED]
 To: hlds_linux@list.valvesoftware.com
 Subject: [hlds_linux] CS:Source Linux PID's Changing
 Reply-To: hlds_linux@list.valvesoftware.com

 --
 [ Picked text/plain from multipart/alternative ]
 Howdy,

 Long time reader, first post, so pls be gentle :-)

 Until recently the PID (process ID) for a CS:S server running used to stay
 the same, thus using taskset in Linux, we were able to set the process to
 run on a specific CPU core.

 However recently (about ~3-4weeks ago) the PID randomly changes, as in
 when
 the game server is started its say PID 4223, go back to it a day later and
 its then 5823, go back a day later again and its a different PID.

 This is kinda of annoying now, as with quad core CPU's coming down in
 price,
 the ability to fix a process (a game server

[hlds_linux] CS:Source Linux PID's Changing

2007-11-06 Thread Matt Ogborne
--
[ Picked text/plain from multipart/alternative ]
Howdy,

Long time reader, first post, so pls be gentle :-)

Until recently the PID (process ID) for a CS:S server running used to stay
the same, thus using taskset in Linux, we were able to set the process to
run on a specific CPU core.

However recently (about ~3-4weeks ago) the PID randomly changes, as in when
the game server is started its say PID 4223, go back to it a day later and
its then 5823, go back a day later again and its a different PID.

This is kinda of annoying now, as with quad core CPU's coming down in price,
the ability to fix a process (a game server or servers) to specific cores is
very handy indeed.

Any ideas on how to stop it jumping PID's??

BTW: Linux Ver: Ubuntu 6.06 and its run in a screen session.

Kind regards,

Matt AKA Team MX | MoggieX
--

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux