Re: [hlds] TF2 server Affinity issue, Memory leak & Performance stats

2007-09-21 Thread RTL-Servers

[??R] The-/
RTL-Servers wrote:

Hey guys,

Seeing VERY high CPU usage on a 24slot tf2 server running on Linux.

Up until 21 players the FPS is at a stable 990, from 21-24 players it
just seems to drop to 60FPS server side. Memory usage is fine and as
expected.

However, CPU usage is at 70 - 80% on one core of a core2duo 6400. This
is at 66tickrate / 1000fps.

Regards,
Lee Gardiner

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


I was getting horrible tickrates up untill this last update. They're
just taking their time optimizing srcds again.

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


Hello,

Understandable, just thought I'm aware its a beta... so best we report
back :)

Lee

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


Re: [hlds] TF2 server Affinity issue, Memory leak & Performance stats

2007-09-21 Thread [??R] The-/

RTL-Servers wrote:

Hey guys,

Seeing VERY high CPU usage on a 24slot tf2 server running on Linux.

Up until 21 players the FPS is at a stable 990, from 21-24 players it
just seems to drop to 60FPS server side. Memory usage is fine and as
expected.

However, CPU usage is at 70 - 80% on one core of a core2duo 6400. This
is at 66tickrate / 1000fps.

Regards,
Lee Gardiner

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


I was getting horrible tickrates up untill this last update. They're
just taking their time optimizing srcds again.

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


Re: [hlds] TF2 server Affinity issue, Memory leak & Performance stats

2007-09-21 Thread RTL-Servers

Hey guys,

Seeing VERY high CPU usage on a 24slot tf2 server running on Linux.

Up until 21 players the FPS is at a stable 990, from 21-24 players it
just seems to drop to 60FPS server side. Memory usage is fine and as
expected.

However, CPU usage is at 70 - 80% on one core of a core2duo 6400. This
is at 66tickrate / 1000fps.

Regards,
Lee Gardiner

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


Re: [hlds] TF2 server Affinity issue, Memory leak & Performance stats

2007-09-21 Thread Hell Phoenix

Did anyone get imagecfg to work besides Mike?

I tried everything I could think of including full paths and it hasnt
worked.

HP

DLinkOZ wrote:

The only time I've seen that error with imagecfg, I was able to get around
it by using the full path to the executable:

imagecfg -a 0x1 D:\tf2_2fort\orangebox\srcds.exe


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andreas Grimm
Sent: Wednesday, September 19, 2007 7:23 PM
To: hlds@list.valvesoftware.com
Subject: Re: [hlds] TF2 server Affinity issue, Memory leak & Performance
stats

I have tried imagecfg on my win2003 server ...
Here my results:


D:\tf2_2fort\orangebox>imagecfg -u srcds.exe
srcds.exe contains no configuration information
srcds.exe contains a Subsystem Version of 4.0
srcds.exe updated with the following configuration information:
Image can only run in uni-processor mode on multi-processor systems
Image can only run in uni-processor mode on multi-processor systems

D:\tf2_2fort\orangebox>imagecfg -a 0x1 srcds.exe
srcds.exe contains no configuration information
srcds.exe contains a Subsystem Version of 4.0
Image can only run in uni-processor mode on multi-processor systems
srcds.exe updated with the following configuration information:
Process Affinity Mask: 0001
IMAGECFG: Unable to update configuration information in image.
-

Andreas



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Durand
Sent: Thursday, September 20, 2007 1:45 AM
To: hlds@list.valvesoftware.com
Subject: RE: [hlds] TF2 server Affinity issue, Memory leak &
Performance stats

Has anyone else tried to set the affinity with imagecfg.exe?
I can do it with no problems.  -Mike  -Original
Message- From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
"[??R] The-/ You could have a separate install for each
server or you could copy srcds.exe to srcds-cpu1.exe,
srcds-cpu2.exe, etc. and set the affinity for each with
imagecfg.exe. > > > > I'm going to experiment more and see if
adding -threads 1 to the command line of a TF DS causes it to
behave like a CSS DS. In looking at the code there is a
chance that it may and that would be a better solution for
you than having to mess with the affinity. > > > > -Mike > >


-Original Message- > > From:


[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Steven Hartland > > Sent: Wednesday, September 19, 2007 3:23
PM > > To: hlds@list.valvesoftware.com > > Subject: Re:
[hlds] TF2 server Affinity issue, Memory leak & Performance
stats > > > > Unfortunately this wouldn't help at all as all
the servers would then be stuck on a different CPU as there
is only one srcds.exe > > > > I know its a big ask but is
there an ETA on fix for this as its crippling our capacity to
run TF2 servers :( > > > > Regards > > Steve > >
- Original Message ----- > > From: "Mike Durand"
<[EMAIL PROTECTED]> > > To:
 > > Sent: Wednesday, September
19, 2007 9:46 PM > > Subject: RE: [hlds] TF2 server Affinity
issue, Memory leak & Performance stats > > > > > > Hi- > > >


That's weird because I just did a test and imagecfg did


properly force srcds.exe to whatever CPU I chose. Here's my
result: > > > > D:\Dev\mdurand_main>imagecfg -a 0x2
C:\srcds\orangebox\srcds.exe > > C:\srcds\orangebox\srcds.exe
contains no configuration information > >
C:\srcds\orangebox\srcds.exe contains a Subsystem Version of
4.0 > > C:\srcds\orangebox\srcds.exe updated with the
following configuration information: > > Process Affinity
Mask: 0002 > > > > Does anyone else get this failure when
running imagecfg.exe? > > > > Also, if you add the command
line option -threads 1 the dedicated server won't try to take
advantage of the other threads on the > > system so then each
server will stay segregated on whatever core you started them
on. > > > > C:\srcds\orangebox>srcds.exe -game tf -threads 1


-Mike > > > > -Original Message- > > From:


[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
"[??R] The-/ > Sent: Wednesday, September 19, 2007
10:23 AM > > To: hlds@list.valvesoftware.com > > Subject: Re:
[hlds] TF2 server Affinity issue, Memory leak & Performance
stats > > > > DLinkOZ wrote: > > >> Would a program such as
imagecfg not get around the affinity issue?  I've >> > > >>
used I for quite some time to get my other Valve servers
(HL1/2) onto other >> > > >> cores/processors when they
wanted to all stick to the first they found. >> > > > > > > &g

Re: [hlds] TF2 server Affinity issue, Memory leak & Performance stats

2007-09-20 Thread Gary Stanley

At 05:30 PM 9/20/2007, Kevin Ottalini wrote:

That fine graph never made it to the list Steve, but I can confirm the
memory leak.

After almost exactly 48 hours my TF2 server finally crashed (WinServer2003,
3.0GHz P4).



Same issue as source servers leaking memory, I think one of the
recent source updates fixed it, and I don't think that fix for source
made it in to TF2 :)

-- Gary Stanley ([EMAIL PROTECTED] | [EMAIL PROTECTED])

Q: Because it reverses the logical flow of conversation.
A: Why is top-posting (putting a reply at the top of the message) frowned upon?
Let's not play "Jeopardy-style quoting"



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


Re: [hlds] TF2 server Affinity issue, Memory leak & Performance stats

2007-09-20 Thread Kevin Ottalini

That fine graph never made it to the list Steve, but I can confirm the
memory leak.

After almost exactly 48 hours my TF2 server finally crashed (WinServer2003,
3.0GHz P4).


- Original Message -
From: "Steven Hartland"
To: 
Sent: Wednesday, September 19, 2007 8:59 AM
Subject: [hlds] TF2 server Affinity issue, Memory leak & Performance stats



Memory leak
Seems the current server has a bit of a memory leak which can be seen below.

Team Fortress 2 - Performance @ 2.66Ghz Core2

As you can see memory ( the orange line ) is constantly rising as play
continues. This is not the same on a server which doesn't
have players so its either a play based leak or a player join / leave based
leak.




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


RE: [hlds] TF2 server Affinity issue, Memory leak & Performance stats

2007-09-19 Thread taytrrs
On Win 2003 (not xp) you should be able to do it with the start command:

start /affinity 1 /wait srcds.exe -console . . .
start /affinity 2 /wait srcds.exe -console . . .

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andreas Grimm
Sent: Wednesday, September 19, 2007 5:23 PM
To: hlds@list.valvesoftware.com
Subject: Re: [hlds] TF2 server Affinity issue, Memory leak & Performance
stats

I have tried imagecfg on my win2003 server ...
Here my results:


D:\tf2_2fort\orangebox>imagecfg -u srcds.exe
srcds.exe contains no configuration information
srcds.exe contains a Subsystem Version of 4.0
srcds.exe updated with the following configuration information:
Image can only run in uni-processor mode on multi-processor systems
Image can only run in uni-processor mode on multi-processor systems

D:\tf2_2fort\orangebox>imagecfg -a 0x1 srcds.exe
srcds.exe contains no configuration information
srcds.exe contains a Subsystem Version of 4.0
Image can only run in uni-processor mode on multi-processor systems
srcds.exe updated with the following configuration information:
Process Affinity Mask: 0001
IMAGECFG: Unable to update configuration information in image.
-

Andreas

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Mike Durand
> Sent: Thursday, September 20, 2007 1:45 AM
> To: hlds@list.valvesoftware.com
> Subject: RE: [hlds] TF2 server Affinity issue, Memory leak &
> Performance stats
>
> Has anyone else tried to set the affinity with imagecfg.exe?
> I can do it with no problems.  -Mike  -Original
> Message- From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> "[??R] The-/ PM To: hlds@list.valvesoftware.com Subject: Re: [hlds] TF2
> server Affinity issue, Memory leak & Performance stats  Mike
> Durand wrote: > You could have a separate install for each
> server or you could copy srcds.exe to srcds-cpu1.exe,
> srcds-cpu2.exe, etc. and set the affinity for each with
> imagecfg.exe. > > > > I'm going to experiment more and see if
> adding -threads 1 to the command line of a TF DS causes it to
> behave like a CSS DS. In looking at the code there is a
> chance that it may and that would be a better solution for
> you than having to mess with the affinity. > > > > -Mike > >
> > > -Original Message- > > From:
> [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Steven Hartland > > Sent: Wednesday, September 19, 2007 3:23
> PM > > To: hlds@list.valvesoftware.com > > Subject: Re:
> [hlds] TF2 server Affinity issue, Memory leak & Performance
> stats > > > > Unfortunately this wouldn't help at all as all
> the servers would then be stuck on a different CPU as there
> is only one srcds.exe > > > > I know its a big ask but is
> there an ETA on fix for this as its crippling our capacity to
> run TF2 servers :( > > > > Regards > > Steve > >
> - Original Message - > > From: "Mike Durand"
> <[EMAIL PROTECTED]> > > To:
>  > > Sent: Wednesday, September
> 19, 2007 9:46 PM > > Subject: RE: [hlds] TF2 server Affinity
> issue, Memory leak & Performance stats > > > > > > Hi- > > >
> > That's weird because I just did a test and imagecfg did
> properly force srcds.exe to whatever CPU I chose. Here's my
> result: > > > > D:\Dev\mdurand_main>imagecfg -a 0x2
> C:\srcds\orangebox\srcds.exe > > C:\srcds\orangebox\srcds.exe
> contains no configuration information > >
> C:\srcds\orangebox\srcds.exe contains a Subsystem Version of
> 4.0 > > C:\srcds\orangebox\srcds.exe updated with the
> following configuration information: > > Process Affinity
> Mask: 0002 > > > > Does anyone else get this failure when
> running imagecfg.exe? > > > > Also, if you add the command
> line option -threads 1 the dedicated server won't try to take
> advantage of the other threads on the > > system so then each
> server will stay segregated on whatever core you started them
> on. > > > > C:\srcds\orangebox>srcds.exe -game tf -threads 1
> > > > > -Mike > > > > -Original Message- > > From:
> [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> "[??R] The-/ > Sent: Wednesday, September 19, 2007
> 10:23 AM > > To: hlds@list.valvesoftware.com > > Subject: Re:
> [hlds] TF2 server Affinity issue, Memory leak & Performance
> stats > > > > DLinkOZ wrote: > > >> Would a program s

RE: [hlds] TF2 server Affinity issue, Memory leak & Performance stats

2007-09-19 Thread DLinkOZ
The only time I've seen that error with imagecfg, I was able to get around
it by using the full path to the executable:

imagecfg -a 0x1 D:\tf2_2fort\orangebox\srcds.exe


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andreas Grimm
Sent: Wednesday, September 19, 2007 7:23 PM
To: hlds@list.valvesoftware.com
Subject: Re: [hlds] TF2 server Affinity issue, Memory leak & Performance
stats

I have tried imagecfg on my win2003 server ...
Here my results:


D:\tf2_2fort\orangebox>imagecfg -u srcds.exe
srcds.exe contains no configuration information
srcds.exe contains a Subsystem Version of 4.0
srcds.exe updated with the following configuration information:
Image can only run in uni-processor mode on multi-processor systems
Image can only run in uni-processor mode on multi-processor systems

D:\tf2_2fort\orangebox>imagecfg -a 0x1 srcds.exe
srcds.exe contains no configuration information
srcds.exe contains a Subsystem Version of 4.0
Image can only run in uni-processor mode on multi-processor systems
srcds.exe updated with the following configuration information:
Process Affinity Mask: 0001
IMAGECFG: Unable to update configuration information in image.
-

Andreas

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Mike Durand
> Sent: Thursday, September 20, 2007 1:45 AM
> To: hlds@list.valvesoftware.com
> Subject: RE: [hlds] TF2 server Affinity issue, Memory leak &
> Performance stats
>
> Has anyone else tried to set the affinity with imagecfg.exe?
> I can do it with no problems.  -Mike  -Original
> Message- From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> "[??R] The-/ PM To: hlds@list.valvesoftware.com Subject: Re: [hlds] TF2
> server Affinity issue, Memory leak & Performance stats  Mike
> Durand wrote: > You could have a separate install for each
> server or you could copy srcds.exe to srcds-cpu1.exe,
> srcds-cpu2.exe, etc. and set the affinity for each with
> imagecfg.exe. > > > > I'm going to experiment more and see if
> adding -threads 1 to the command line of a TF DS causes it to
> behave like a CSS DS. In looking at the code there is a
> chance that it may and that would be a better solution for
> you than having to mess with the affinity. > > > > -Mike > >
> > > -Original Message- > > From:
> [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Steven Hartland > > Sent: Wednesday, September 19, 2007 3:23
> PM > > To: hlds@list.valvesoftware.com > > Subject: Re:
> [hlds] TF2 server Affinity issue, Memory leak & Performance
> stats > > > > Unfortunately this wouldn't help at all as all
> the servers would then be stuck on a different CPU as there
> is only one srcds.exe > > > > I know its a big ask but is
> there an ETA on fix for this as its crippling our capacity to
> run TF2 servers :( > > > > Regards > > Steve > >
> - Original Message - > > From: "Mike Durand"
> <[EMAIL PROTECTED]> > > To:
>  > > Sent: Wednesday, September
> 19, 2007 9:46 PM > > Subject: RE: [hlds] TF2 server Affinity
> issue, Memory leak & Performance stats > > > > > > Hi- > > >
> > That's weird because I just did a test and imagecfg did
> properly force srcds.exe to whatever CPU I chose. Here's my
> result: > > > > D:\Dev\mdurand_main>imagecfg -a 0x2
> C:\srcds\orangebox\srcds.exe > > C:\srcds\orangebox\srcds.exe
> contains no configuration information > >
> C:\srcds\orangebox\srcds.exe contains a Subsystem Version of
> 4.0 > > C:\srcds\orangebox\srcds.exe updated with the
> following configuration information: > > Process Affinity
> Mask: 0002 > > > > Does anyone else get this failure when
> running imagecfg.exe? > > > > Also, if you add the command
> line option -threads 1 the dedicated server won't try to take
> advantage of the other threads on the > > system so then each
> server will stay segregated on whatever core you started them
> on. > > > > C:\srcds\orangebox>srcds.exe -game tf -threads 1
> > > > > -Mike > > > > -Original Message- > > From:
> [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> "[??R] The-/ > Sent: Wednesday, September 19, 2007
> 10:23 AM > > To: hlds@list.valvesoftware.com > > Subject: Re:
> [hlds] TF2 server Affinity issue, Memory leak & Performance
> stats > > > > DLinkOZ wrote: > > >> Would a prog

Re: [hlds] TF2 server Affinity issue, Memory leak & Performance stats

2007-09-19 Thread Steven Hartland

Separate installs is not an option I'm afraid for a number of reasons:
1. Image size, 10 copies of a 20GB image is just not practical.
2. Hard coded affinity is impossible to work with in shared, multi game setup 
i.e. GSP environment. You could only hope to make
this work by monitoring CPU requirements and moving servers around to fit the 
usage at any particular moment just like the OS
scheduler does when its not hardcoded.

I may be missing something but surely just removing the hardcoded thread 
affinity settings is a relatively simple fix is it not?

I know iD has a similar issue with Quake 4 and after we pointed it out they 
released fix the next day and all was good :)

   Regards
   Steve

- Original Message -
From: "Mike Durand" <[EMAIL PROTECTED]>


You could have a separate install for each server or you could copy srcds.exe 
to srcds-cpu1.exe, srcds-cpu2.exe, etc. and set the
affinity for each with imagecfg.exe.

I'm going to experiment more and see if adding -threads 1 to the command line 
of a TF DS causes it to behave like a CSS DS. In
looking at the code there is a chance that it may and that would be a better 
solution for you than having to mess with the
affinity.



This e.mail is private and confidential between Multiplay (UK) Ltd. and the 
person or entity to whom it is addressed. In the event of misdirection, the 
recipient is prohibited from using, copying, printing or otherwise 
disseminating it or any information contained in it.

In the event of misdirection, illegible or incomplete transmission please 
telephone +44 845 868 1337
or return the E.mail to [EMAIL PROTECTED]


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


Re: [hlds] TF2 server Affinity issue, Memory leak & Performance stats

2007-09-19 Thread Steven Hartland

Please edit your responses so we don't all have to scroll down 10 pages to see 
what you have to say.

- Original Message -
From: ""[ЯтR] The-/
.




Doesnt help if I cant set the affinity using imagecfg



This e.mail is private and confidential between Multiplay (UK) Ltd. and the 
person or entity to whom it is addressed. In the event of misdirection, the 
recipient is prohibited from using, copying, printing or otherwise 
disseminating it or any information contained in it.

In the event of misdirection, illegible or incomplete transmission please 
telephone +44 845 868 1337
or return the E.mail to [EMAIL PROTECTED]


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


Re: [hlds] TF2 server Affinity issue, Memory leak & Performance stats

2007-09-19 Thread Andreas Grimm
Additional:
-
D:\tf2_2fort\orangebox>imagecfg -a 0x2 srcds_cpu2.exe
srcds_cpu2.exe contains no configuration information
srcds_cpu2.exe contains a Subsystem Version of 4.0
srcds_cpu2.exe updated with the following configuration information:
Process Affinity Mask: 0002
IMAGECFG: Unable to update configuration information in image.
-

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Mike Durand
> Sent: Thursday, September 20, 2007 1:45 AM
> To: hlds@list.valvesoftware.com
> Subject: RE: [hlds] TF2 server Affinity issue, Memory leak &
> Performance stats
>
> Has anyone else tried to set the affinity with imagecfg.exe?
> I can do it with no problems.  -Mike  -Original
> Message- From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> "[??R] The-/ PM To: hlds@list.valvesoftware.com Subject: Re: [hlds] TF2
> server Affinity issue, Memory leak & Performance stats  Mike
> Durand wrote: > You could have a separate install for each
> server or you could copy srcds.exe to srcds-cpu1.exe,
> srcds-cpu2.exe, etc. and set the affinity for each with
> imagecfg.exe. > > > > I'm going to experiment more and see if
> adding -threads 1 to the command line of a TF DS causes it to
> behave like a CSS DS. In looking at the code there is a
> chance that it may and that would be a better solution for
> you than having to mess with the affinity. > > > > -Mike > >
> > > -Original Message- > > From:
> [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Steven Hartland > > Sent: Wednesday, September 19, 2007 3:23
> PM > > To: hlds@list.valvesoftware.com > > Subject: Re:
> [hlds] TF2 server Affinity issue, Memory leak & Performance
> stats > > > > Unfortunately this wouldn't help at all as all
> the servers would then be stuck on a different CPU as there
> is only one srcds.exe > > > > I know its a big ask but is
> there an ETA on fix for this as its crippling our capacity to
> run TF2 servers :( > > > > Regards > >     Steve > >
> - Original Message - > > From: "Mike Durand"
> <[EMAIL PROTECTED]> > > To:
>  > > Sent: Wednesday, September
> 19, 2007 9:46 PM > > Subject: RE: [hlds] TF2 server Affinity
> issue, Memory leak & Performance stats > > > > > > Hi- > > >
> > That's weird because I just did a test and imagecfg did
> properly force srcds.exe to whatever CPU I chose. Here's my
> result: > > > > D:\Dev\mdurand_main>imagecfg -a 0x2
> C:\srcds\orangebox\srcds.exe > > C:\srcds\orangebox\srcds.exe
> contains no configuration information > >
> C:\srcds\orangebox\srcds.exe contains a Subsystem Version of
> 4.0 > > C:\srcds\orangebox\srcds.exe updated with the
> following configuration information: > > Process Affinity
> Mask: 0002 > > > > Does anyone else get this failure when
> running imagecfg.exe? > > > > Also, if you add the command
> line option -threads 1 the dedicated server won't try to take
> advantage of the other threads on the > > system so then each
> server will stay segregated on whatever core you started them
> on. > > > > C:\srcds\orangebox>srcds.exe -game tf -threads 1
> > > > > -Mike > > > > -Original Message- > > From:
> [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> "[??R] The-/ > Sent: Wednesday, September 19, 2007
> 10:23 AM > > To: hlds@list.valvesoftware.com > > Subject: Re:
> [hlds] TF2 server Affinity issue, Memory leak & Performance
> stats > > > > DLinkOZ wrote: > > >> Would a program such as
> imagecfg not get around the affinity issue?  I've >> > > >>
> used I for quite some time to get my other Valve servers
> (HL1/2) onto other >> > > >> cores/processors when they
> wanted to all stick to the first they found. >> > > > > > > >
> > >> -Original Message- >> > > >> From:
> [EMAIL PROTECTED] >> > > >>
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Steven Hartland >> > > >> Sent: Wednesday, September 19, 2007
> 11:00 AM >> > > >> To: hlds@list.valvesoftware.com >> > > >>
> Subject: [hlds] TF2 server Affinity issue, Memory leak &
> Performance stats >> > > > > >> This is a multi-part message
> in MIME format. >> > > >> -- >> >

Re: [hlds] TF2 server Affinity issue, Memory leak & Performance stats

2007-09-19 Thread Andreas Grimm
I have tried imagecfg on my win2003 server ...
Here my results:


D:\tf2_2fort\orangebox>imagecfg -u srcds.exe
srcds.exe contains no configuration information
srcds.exe contains a Subsystem Version of 4.0
srcds.exe updated with the following configuration information:
Image can only run in uni-processor mode on multi-processor systems
Image can only run in uni-processor mode on multi-processor systems

D:\tf2_2fort\orangebox>imagecfg -a 0x1 srcds.exe
srcds.exe contains no configuration information
srcds.exe contains a Subsystem Version of 4.0
Image can only run in uni-processor mode on multi-processor systems
srcds.exe updated with the following configuration information:
Process Affinity Mask: 0001
IMAGECFG: Unable to update configuration information in image.
-

Andreas

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Mike Durand
> Sent: Thursday, September 20, 2007 1:45 AM
> To: hlds@list.valvesoftware.com
> Subject: RE: [hlds] TF2 server Affinity issue, Memory leak &
> Performance stats
>
> Has anyone else tried to set the affinity with imagecfg.exe?
> I can do it with no problems.  -Mike  -Original
> Message- From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> "[??R] The-/ PM To: hlds@list.valvesoftware.com Subject: Re: [hlds] TF2
> server Affinity issue, Memory leak & Performance stats  Mike
> Durand wrote: > You could have a separate install for each
> server or you could copy srcds.exe to srcds-cpu1.exe,
> srcds-cpu2.exe, etc. and set the affinity for each with
> imagecfg.exe. > > > > I'm going to experiment more and see if
> adding -threads 1 to the command line of a TF DS causes it to
> behave like a CSS DS. In looking at the code there is a
> chance that it may and that would be a better solution for
> you than having to mess with the affinity. > > > > -Mike > >
> > > -Original Message- > > From:
> [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Steven Hartland > > Sent: Wednesday, September 19, 2007 3:23
> PM > > To: hlds@list.valvesoftware.com > > Subject: Re:
> [hlds] TF2 server Affinity issue, Memory leak & Performance
> stats > > > > Unfortunately this wouldn't help at all as all
> the servers would then be stuck on a different CPU as there
> is only one srcds.exe > > > > I know its a big ask but is
> there an ETA on fix for this as its crippling our capacity to
> run TF2 servers :( > > > >     Regards > > Steve > >
> - Original Message - > > From: "Mike Durand"
> <[EMAIL PROTECTED]> > > To:
>  > > Sent: Wednesday, September
> 19, 2007 9:46 PM > > Subject: RE: [hlds] TF2 server Affinity
> issue, Memory leak & Performance stats > > > > > > Hi- > > >
> > That's weird because I just did a test and imagecfg did
> properly force srcds.exe to whatever CPU I chose. Here's my
> result: > > > > D:\Dev\mdurand_main>imagecfg -a 0x2
> C:\srcds\orangebox\srcds.exe > > C:\srcds\orangebox\srcds.exe
> contains no configuration information > >
> C:\srcds\orangebox\srcds.exe contains a Subsystem Version of
> 4.0 > > C:\srcds\orangebox\srcds.exe updated with the
> following configuration information: > > Process Affinity
> Mask: 0002 > > > > Does anyone else get this failure when
> running imagecfg.exe? > > > > Also, if you add the command
> line option -threads 1 the dedicated server won't try to take
> advantage of the other threads on the > > system so then each
> server will stay segregated on whatever core you started them
> on. > > > > C:\srcds\orangebox>srcds.exe -game tf -threads 1
> > > > > -Mike > > > > -Original Message- > > From:
> [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> "[??R] The-/ > Sent: Wednesday, September 19, 2007
> 10:23 AM > > To: hlds@list.valvesoftware.com > > Subject: Re:
> [hlds] TF2 server Affinity issue, Memory leak & Performance
> stats > > > > DLinkOZ wrote: > > >> Would a program such as
> imagecfg not get around the affinity issue?  I've >> > > >>
> used I for quite some time to get my other Valve servers
> (HL1/2) onto other >> > > >> cores/processors when they
> wanted to all stick to the first they found. >> > > > > > > >
> > >> -Original Message- >> > > >> From:
> [EMAIL PROTECTED] >>

Re: [hlds] TF2 server Affinity issue, Memory leak & Performance stats

2007-09-19 Thread Brandon R. Miller
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
The control panel software I have will reset the affinity 5 seconds after it 
starts, thus allowing Windows to distribute the load between multiple cpu's. 
Before I enabled this feature all processes were stacked on CPU0, now all our 
multicore CPU's are even across all cores.

This is the same exact problem HLDS has, it will only bind to CPU0 unless you 
change affinity after it has started.

Brandon R. Miller
Branzone Incorporated
http://www.branzone.com
  - Original Message -
  From: Mike Durand
  To: hlds@list.valvesoftware.com
  Sent: Wednesday, September 19, 2007 6:45 PM
  Subject: RE: [hlds] TF2 server Affinity issue, Memory leak & Performance stats


  Has anyone else tried to set the affinity with imagecfg.exe? I can do it with 
no problems.

  -Mike

  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of "[??R] 
The-/ You could have a separate install for each server or you could copy 
srcds.exe to srcds-cpu1.exe, srcds-cpu2.exe, etc. and set the affinity for each 
with imagecfg.exe.
  >
  >
  >
  > I'm going to experiment more and see if adding -threads 1 to the command 
line of a TF DS causes it to behave like a CSS DS. In looking at the code there 
is a chance that it may and that would be a better solution for you than having 
to mess with the affinity.
  >
  >
  >
  > -Mike
  >
  >
  >
  > -Original Message-
  >
  > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven 
Hartland
  >
  > Sent: Wednesday, September 19, 2007 3:23 PM
  >
  > To: hlds@list.valvesoftware.com
  >
  > Subject: Re: [hlds] TF2 server Affinity issue, Memory leak & Performance 
stats
  >
  >
  >
  > Unfortunately this wouldn't help at all as all the servers would then be 
stuck on a different CPU as there is only one srcds.exe
  >
  >
  >
  > I know its a big ask but is there an ETA on fix for this as its crippling 
our capacity to run TF2 servers :(
  >
  >
  >
  > Regards
  >
  > Steve
  >
  > - Original Message -
  >
  > From: "Mike Durand" <[EMAIL PROTECTED]>
  >
  > To: 
  >
  > Sent: Wednesday, September 19, 2007 9:46 PM
  >
  > Subject: RE: [hlds] TF2 server Affinity issue, Memory leak & Performance 
stats
  >
  >
  >
  >
  >
  > Hi-
  >
  >
  >
  > That's weird because I just did a test and imagecfg did properly force 
srcds.exe to whatever CPU I chose. Here's my result:
  >
  >
  >
  > D:\Dev\mdurand_main>imagecfg -a 0x2 C:\srcds\orangebox\srcds.exe
  >
  > C:\srcds\orangebox\srcds.exe contains no configuration information
  >
  > C:\srcds\orangebox\srcds.exe contains a Subsystem Version of 4.0
  >
  > C:\srcds\orangebox\srcds.exe updated with the following configuration 
information:
  >
  > Process Affinity Mask: 0002
  >
  >
  >
  > Does anyone else get this failure when running imagecfg.exe?
  >
  >
  >
  > Also, if you add the command line option -threads 1 the dedicated server 
won't try to take advantage of the other threads on the
  >
  > system so then each server will stay segregated on whatever core you 
started them on.
  >
  >
  >
  > C:\srcds\orangebox>srcds.exe -game tf -threads 1
  >
  >
  >
  > -Mike
  >
  >
  >
  > -Original Message-
  >
  > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of "[??R] 
The-/
  > Sent: Wednesday, September 19, 2007 10:23 AM
  >
  > To: hlds@list.valvesoftware.com
  >
  > Subject: Re: [hlds] TF2 server Affinity issue, Memory leak & Performance 
stats
  >
  >
  >
  > DLinkOZ wrote:
  >
  >
  >> Would a program such as imagecfg not get around the affinity issue?  I've
  >>
  >
  >
  >> used I for quite some time to get my other Valve servers (HL1/2) onto other
  >>
  >
  >
  >> cores/processors when they wanted to all stick to the first they found.
  >>
  >
  >
  >
  >
  >
  >
  >
  >
  >> -Original Message-
  >>
  >
  >
  >> From: [EMAIL PROTECTED]
  >>
  >
  >
  >> [mailto:[EMAIL PROTECTED] On Behalf Of Steven Hartland
  >>
  >
  >
  >> Sent: Wednesday, September 19, 2007 11:00 AM
  >>
  >
  >
  >> To: hlds@list.valvesoftware.com
  >>
  >
  >
  >> Subject: [hlds] TF2 server Affinity issue, Memory leak & Performance stats
  >>
  >
  >
  >
  >
  >> This is a multi-part message in MIME format.
  >>
  >
  >
  >> --
  >>
  >
  >

RE: [hlds] TF2 server Affinity issue, Memory leak & Performance stats

2007-09-19 Thread Mike Durand
Has anyone else tried to set the affinity with imagecfg.exe? I can do it with 
no problems.

-Mike

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of "[??R] 
The-/ You could have a separate install for each server or you could copy srcds.exe 
> to srcds-cpu1.exe, srcds-cpu2.exe, etc. and set the affinity for each with 
> imagecfg.exe.
>
>
>
> I'm going to experiment more and see if adding -threads 1 to the command line 
> of a TF DS causes it to behave like a CSS DS. In looking at the code there is 
> a chance that it may and that would be a better solution for you than having 
> to mess with the affinity.
>
>
>
> -Mike
>
>
>
> -Original Message-
>
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Hartland
>
> Sent: Wednesday, September 19, 2007 3:23 PM
>
> To: hlds@list.valvesoftware.com
>
> Subject: Re: [hlds] TF2 server Affinity issue, Memory leak & Performance stats
>
>
>
> Unfortunately this wouldn't help at all as all the servers would then be 
> stuck on a different CPU as there is only one srcds.exe
>
>
>
> I know its a big ask but is there an ETA on fix for this as its crippling our 
> capacity to run TF2 servers :(
>
>
>
> Regards
>
> Steve
>
> - Original Message -----
>
> From: "Mike Durand" <[EMAIL PROTECTED]>
>
> To: 
>
> Sent: Wednesday, September 19, 2007 9:46 PM
>
> Subject: RE: [hlds] TF2 server Affinity issue, Memory leak & Performance stats
>
>
>
>
>
> Hi-
>
>
>
> That's weird because I just did a test and imagecfg did properly force 
> srcds.exe to whatever CPU I chose. Here's my result:
>
>
>
> D:\Dev\mdurand_main>imagecfg -a 0x2 C:\srcds\orangebox\srcds.exe
>
> C:\srcds\orangebox\srcds.exe contains no configuration information
>
> C:\srcds\orangebox\srcds.exe contains a Subsystem Version of 4.0
>
> C:\srcds\orangebox\srcds.exe updated with the following configuration 
> information:
>
> Process Affinity Mask: 0002
>
>
>
> Does anyone else get this failure when running imagecfg.exe?
>
>
>
> Also, if you add the command line option -threads 1 the dedicated server 
> won't try to take advantage of the other threads on the
>
> system so then each server will stay segregated on whatever core you started 
> them on.
>
>
>
> C:\srcds\orangebox>srcds.exe -game tf -threads 1
>
>
>
> -Mike
>
>
>
> -Original Message-
>
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of "[??R] 
> The-/
> Sent: Wednesday, September 19, 2007 10:23 AM
>
> To: hlds@list.valvesoftware.com
>
> Subject: Re: [hlds] TF2 server Affinity issue, Memory leak & Performance stats
>
>
>
> DLinkOZ wrote:
>
>
>> Would a program such as imagecfg not get around the affinity issue?  I've
>>
>
>
>> used I for quite some time to get my other Valve servers (HL1/2) onto other
>>
>
>
>> cores/processors when they wanted to all stick to the first they found.
>>
>
>
>
>
>
>
>
>
>> -Original Message-
>>
>
>
>> From: [EMAIL PROTECTED]
>>
>
>
>> [mailto:[EMAIL PROTECTED] On Behalf Of Steven Hartland
>>
>
>
>> Sent: Wednesday, September 19, 2007 11:00 AM
>>
>
>
>> To: hlds@list.valvesoftware.com
>>
>
>
>> Subject: [hlds] TF2 server Affinity issue, Memory leak & Performance stats
>>
>
>
>
>
>> This is a multi-part message in MIME format.
>>
>
>
>> --
>>
>
>
>> Affinity Issue
>>
>
>
>> First off so people are aware the current server will only work on the first
>>
>
>
>> core of any multi core machines. I'm assuming this is
>>
>
>
>> due to the server threads having affinity set on them but this obviously
>>
>
>
>> causes major issues on multi CPU / Core machines. I've
>>
>
>
>> dropped Valve a mail about this, so I hope they can make a fix available
>>
>
>
>> quickly.
>>
>
>
>
>
>> In the mean time those who are running servers on SMP machines should
>>
>
>
>> significantly reduce the number of servers on their machines
>>
>
>
>> to ensure that the first core is not overloaded and hence seriously
>>
>
>
>> impacting gameplay.
>>
>
>
>
>
>
>
>> Memory leak
>>
>
>
>> Seems the current server has a bit of a memory leak which can be seen below.
>>

Re: [hlds] TF2 server Affinity issue, Memory leak & Performance stats

2007-09-19 Thread [ЯтR] The-/

Mike Durand wrote:

You could have a separate install for each server or you could copy srcds.exe 
to srcds-cpu1.exe, srcds-cpu2.exe, etc. and set the affinity for each with 
imagecfg.exe.



I'm going to experiment more and see if adding -threads 1 to the command line 
of a TF DS causes it to behave like a CSS DS. In looking at the code there is a 
chance that it may and that would be a better solution for you than having to 
mess with the affinity.



-Mike



-Original Message-

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Hartland

Sent: Wednesday, September 19, 2007 3:23 PM

To: hlds@list.valvesoftware.com

Subject: Re: [hlds] TF2 server Affinity issue, Memory leak & Performance stats



Unfortunately this wouldn't help at all as all the servers would then be stuck 
on a different CPU as there is only one srcds.exe



I know its a big ask but is there an ETA on fix for this as its crippling our 
capacity to run TF2 servers :(



Regards

Steve

- Original Message -

From: "Mike Durand" <[EMAIL PROTECTED]>

To: 

Sent: Wednesday, September 19, 2007 9:46 PM

Subject: RE: [hlds] TF2 server Affinity issue, Memory leak & Performance stats





Hi-



That's weird because I just did a test and imagecfg did properly force 
srcds.exe to whatever CPU I chose. Here's my result:



D:\Dev\mdurand_main>imagecfg -a 0x2 C:\srcds\orangebox\srcds.exe

C:\srcds\orangebox\srcds.exe contains no configuration information

C:\srcds\orangebox\srcds.exe contains a Subsystem Version of 4.0

C:\srcds\orangebox\srcds.exe updated with the following configuration 
information:

Process Affinity Mask: 0002



Does anyone else get this failure when running imagecfg.exe?



Also, if you add the command line option -threads 1 the dedicated server won't 
try to take advantage of the other threads on the

system so then each server will stay segregated on whatever core you started 
them on.



C:\srcds\orangebox>srcds.exe -game tf -threads 1



-Mike



-Original Message-

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of "[??R] 
The-/
Would a program such as imagecfg not get around the affinity issue?  I've





used I for quite some time to get my other Valve servers (HL1/2) onto other





cores/processors when they wanted to all stick to the first they found.











-Original Message-





From: [EMAIL PROTECTED]





[mailto:[EMAIL PROTECTED] On Behalf Of Steven Hartland





Sent: Wednesday, September 19, 2007 11:00 AM





To: hlds@list.valvesoftware.com





Subject: [hlds] TF2 server Affinity issue, Memory leak & Performance stats







This is a multi-part message in MIME format.





--





Affinity Issue





First off so people are aware the current server will only work on the first





core of any multi core machines. I'm assuming this is





due to the server threads having affinity set on them but this obviously





causes major issues on multi CPU / Core machines. I've





dropped Valve a mail about this, so I hope they can make a fix available





quickly.







In the mean time those who are running servers on SMP machines should





significantly reduce the number of servers on their machines





to ensure that the first core is not overloaded and hence seriously





impacting gameplay.









Memory leak





Seems the current server has a bit of a memory leak which can be seen below.







Team Fortress 2 - Performance @ 2.66Ghz Core2







As you can see memory ( the orange line ) is constantly rising as play





continues. This is not the same on a server which doesn't





have players so its either a play based leak or a player join / leave based





leak.







CPU Usage





With respect to performance TF2's current CPU usage is on the high side with





a 24 player TF2 using about the same as a 32 player





ET:QW server so it would be nice to see if some optimisation can be done to





bring this down an so keep the cost down.







Network performance





Network performance is good as usual with 105 player slots peaking @ 5Mbps





so each client using ~ 47Kbps.







Team Fortress 2 - Bandwidth peak = 105 Player slots







Regards





Steve















This e.mail is private and confidential between Multiplay (UK) Ltd. and the





person or entity to whom it is addressed. In the event of misdirection, the





recipient is prohibited from using, copying, printing or otherwise





disseminating it or any information contained in it.







In the event of misdirection, illegible or incomplete transmission please





telephone +44 845 868 1337





or return the E.mail to [EMAIL PROTECTED]





--





[ server_12606_day.png of type image/png deleted ]





--





[ tf2_network.png of type image/png deleted ]





--









__

RE: [hlds] TF2 server Affinity issue, Memory leak & Performance stats

2007-09-19 Thread Mike Durand
You could have a separate install for each server or you could copy srcds.exe 
to srcds-cpu1.exe, srcds-cpu2.exe, etc. and set the affinity for each with 
imagecfg.exe.

I'm going to experiment more and see if adding -threads 1 to the command line 
of a TF DS causes it to behave like a CSS DS. In looking at the code there is a 
chance that it may and that would be a better solution for you than having to 
mess with the affinity.

-Mike

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Hartland
Sent: Wednesday, September 19, 2007 3:23 PM
To: hlds@list.valvesoftware.com
Subject: Re: [hlds] TF2 server Affinity issue, Memory leak & Performance stats

Unfortunately this wouldn't help at all as all the servers would then be stuck 
on a different CPU as there is only one srcds.exe

I know its a big ask but is there an ETA on fix for this as its crippling our 
capacity to run TF2 servers :(

Regards
Steve
- Original Message -
From: "Mike Durand" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, September 19, 2007 9:46 PM
Subject: RE: [hlds] TF2 server Affinity issue, Memory leak & Performance stats


Hi-

That's weird because I just did a test and imagecfg did properly force 
srcds.exe to whatever CPU I chose. Here's my result:

D:\Dev\mdurand_main>imagecfg -a 0x2 C:\srcds\orangebox\srcds.exe
C:\srcds\orangebox\srcds.exe contains no configuration information
C:\srcds\orangebox\srcds.exe contains a Subsystem Version of 4.0
C:\srcds\orangebox\srcds.exe updated with the following configuration 
information:
Process Affinity Mask: 0002

Does anyone else get this failure when running imagecfg.exe?

Also, if you add the command line option -threads 1 the dedicated server won't 
try to take advantage of the other threads on the
system so then each server will stay segregated on whatever core you started 
them on.

C:\srcds\orangebox>srcds.exe -game tf -threads 1

-Mike

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of "[??R] 
The-/ Would a program such as imagecfg not get around the affinity issue?  I've
> used I for quite some time to get my other Valve servers (HL1/2) onto other
> cores/processors when they wanted to all stick to the first they found.
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Steven Hartland
> Sent: Wednesday, September 19, 2007 11:00 AM
> To: hlds@list.valvesoftware.com
> Subject: [hlds] TF2 server Affinity issue, Memory leak & Performance stats
>
> This is a multi-part message in MIME format.
> --
> Affinity Issue
> First off so people are aware the current server will only work on the first
> core of any multi core machines. I'm assuming this is
> due to the server threads having affinity set on them but this obviously
> causes major issues on multi CPU / Core machines. I've
> dropped Valve a mail about this, so I hope they can make a fix available
> quickly.
>
> In the mean time those who are running servers on SMP machines should
> significantly reduce the number of servers on their machines
> to ensure that the first core is not overloaded and hence seriously
> impacting gameplay.
>
>
> Memory leak
> Seems the current server has a bit of a memory leak which can be seen below.
>
> Team Fortress 2 - Performance @ 2.66Ghz Core2
>
> As you can see memory ( the orange line ) is constantly rising as play
> continues. This is not the same on a server which doesn't
> have players so its either a play based leak or a player join / leave based
> leak.
>
> CPU Usage
> With respect to performance TF2's current CPU usage is on the high side with
> a 24 player TF2 using about the same as a 32 player
> ET:QW server so it would be nice to see if some optimisation can be done to
> bring this down an so keep the cost down.
>
> Network performance
> Network performance is good as usual with 105 player slots peaking @ 5Mbps
> so each client using ~ 47Kbps.
>
> Team Fortress 2 - Bandwidth peak = 105 Player slots
>
> Regards
> Steve
>
>
> 
> This e.mail is private and confidential between Multiplay (UK) Ltd. and the
> person or entity to whom it is addressed. In the event of misdirection, the
> recipient is prohibited from using, copying, printing or otherwise
> disseminating it or any information contained in it.
>
> In the event of misdirection, illegible or incomplete transmission please
> telephone +44 845 868 1337
> or return the E.mail to [EMAIL PROTECTED]
> --
> [ server_12606_day.png of type image/png deleted ]
> --
> [ tf2_network.png of type image/png deleted ]
> --
>
>
> __

Re: [hlds] TF2 server Affinity issue, Memory leak & Performance stats

2007-09-19 Thread [ЯтR] The-/

Steven Hartland wrote:

Unfortunately this wouldn't help at all as all the servers would then
be stuck on a different CPU as there is only one srcds.exe

I know its a big ask but is there an ETA on fix for this as its
crippling our capacity to run TF2 servers :(

   Regards
   Steve
- Original Message -
From: "Mike Durand" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, September 19, 2007 9:46 PM
Subject: RE: [hlds] TF2 server Affinity issue, Memory leak &
Performance stats


Hi-

That's weird because I just did a test and imagecfg did properly force
srcds.exe to whatever CPU I chose. Here's my result:

D:\Dev\mdurand_main>imagecfg -a 0x2 C:\srcds\orangebox\srcds.exe
C:\srcds\orangebox\srcds.exe contains no configuration information
C:\srcds\orangebox\srcds.exe contains a Subsystem Version of 4.0
C:\srcds\orangebox\srcds.exe updated with the following configuration
information:
   Process Affinity Mask: 0002

Does anyone else get this failure when running imagecfg.exe?

Also, if you add the command line option -threads 1 the dedicated
server won't try to take advantage of the other threads on the
system so then each server will stay segregated on whatever core you
started them on.

C:\srcds\orangebox>srcds.exe -game tf -threads 1

-Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of "[??R]
The-/
Would a program such as imagecfg not get around the affinity issue?
I've
used I for quite some time to get my other Valve servers (HL1/2) onto
other
cores/processors when they wanted to all stick to the first they found.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven Hartland
Sent: Wednesday, September 19, 2007 11:00 AM
To: hlds@list.valvesoftware.com
Subject: [hlds] TF2 server Affinity issue, Memory leak & Performance
stats

This is a multi-part message in MIME format.
--
Affinity Issue
First off so people are aware the current server will only work on
the first
core of any multi core machines. I'm assuming this is
due to the server threads having affinity set on them but this obviously
causes major issues on multi CPU / Core machines. I've
dropped Valve a mail about this, so I hope they can make a fix available
quickly.

In the mean time those who are running servers on SMP machines should
significantly reduce the number of servers on their machines
to ensure that the first core is not overloaded and hence seriously
impacting gameplay.


Memory leak
Seems the current server has a bit of a memory leak which can be seen
below.

Team Fortress 2 - Performance @ 2.66Ghz Core2

As you can see memory ( the orange line ) is constantly rising as play
continues. This is not the same on a server which doesn't
have players so its either a play based leak or a player join / leave
based
leak.

CPU Usage
With respect to performance TF2's current CPU usage is on the high
side with
a 24 player TF2 using about the same as a 32 player
ET:QW server so it would be nice to see if some optimisation can be
done to
bring this down an so keep the cost down.

Network performance
Network performance is good as usual with 105 player slots peaking @
5Mbps
so each client using ~ 47Kbps.

Team Fortress 2 - Bandwidth peak = 105 Player slots

Regards
Steve



This e.mail is private and confidential between Multiplay (UK) Ltd.
and the
person or entity to whom it is addressed. In the event of
misdirection, the
recipient is prohibited from using, copying, printing or otherwise
disseminating it or any information contained in it.

In the event of misdirection, illegible or incomplete transmission
please
telephone +44 845 868 1337
or return the E.mail to [EMAIL PROTECTED]
--
[ server_12606_day.png of type image/png deleted ]
--
[ tf2_network.png of type image/png deleted ]
--


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




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



imagecfg normally works with srcds but not the orangebox srcds, get this
error:

>imagecfg -a 0x2 srcds.exe
srcds.exe contains no configuration information
srcds.exe contains a Subsystem Version of 4.0
srcds.exe updated with the following configuration information:
   Process Affinity Mask: 0002
IMAGECFG: Unable to update configuration information in image.

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

Re: [hlds] TF2 server Affinity issue, Memory leak & Performance stats

2007-09-19 Thread Steven Hartland

Unfortunately this wouldn't help at all as all the servers would then be stuck 
on a different CPU as there is only one srcds.exe

I know its a big ask but is there an ETA on fix for this as its crippling our 
capacity to run TF2 servers :(

   Regards
   Steve
- Original Message -
From: "Mike Durand" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, September 19, 2007 9:46 PM
Subject: RE: [hlds] TF2 server Affinity issue, Memory leak & Performance stats


Hi-

That's weird because I just did a test and imagecfg did properly force 
srcds.exe to whatever CPU I chose. Here's my result:

D:\Dev\mdurand_main>imagecfg -a 0x2 C:\srcds\orangebox\srcds.exe
C:\srcds\orangebox\srcds.exe contains no configuration information
C:\srcds\orangebox\srcds.exe contains a Subsystem Version of 4.0
C:\srcds\orangebox\srcds.exe updated with the following configuration 
information:
   Process Affinity Mask: 0002

Does anyone else get this failure when running imagecfg.exe?

Also, if you add the command line option -threads 1 the dedicated server won't 
try to take advantage of the other threads on the
system so then each server will stay segregated on whatever core you started 
them on.

C:\srcds\orangebox>srcds.exe -game tf -threads 1

-Mike

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of "[??R] 
The-/
Would a program such as imagecfg not get around the affinity issue?  I've
used I for quite some time to get my other Valve servers (HL1/2) onto other
cores/processors when they wanted to all stick to the first they found.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven Hartland
Sent: Wednesday, September 19, 2007 11:00 AM
To: hlds@list.valvesoftware.com
Subject: [hlds] TF2 server Affinity issue, Memory leak & Performance stats

This is a multi-part message in MIME format.
--
Affinity Issue
First off so people are aware the current server will only work on the first
core of any multi core machines. I'm assuming this is
due to the server threads having affinity set on them but this obviously
causes major issues on multi CPU / Core machines. I've
dropped Valve a mail about this, so I hope they can make a fix available
quickly.

In the mean time those who are running servers on SMP machines should
significantly reduce the number of servers on their machines
to ensure that the first core is not overloaded and hence seriously
impacting gameplay.


Memory leak
Seems the current server has a bit of a memory leak which can be seen below.

Team Fortress 2 - Performance @ 2.66Ghz Core2

As you can see memory ( the orange line ) is constantly rising as play
continues. This is not the same on a server which doesn't
have players so its either a play based leak or a player join / leave based
leak.

CPU Usage
With respect to performance TF2's current CPU usage is on the high side with
a 24 player TF2 using about the same as a 32 player
ET:QW server so it would be nice to see if some optimisation can be done to
bring this down an so keep the cost down.

Network performance
Network performance is good as usual with 105 player slots peaking @ 5Mbps
so each client using ~ 47Kbps.

Team Fortress 2 - Bandwidth peak = 105 Player slots

Regards
Steve



This e.mail is private and confidential between Multiplay (UK) Ltd. and the
person or entity to whom it is addressed. In the event of misdirection, the
recipient is prohibited from using, copying, printing or otherwise
disseminating it or any information contained in it.

In the event of misdirection, illegible or incomplete transmission please
telephone +44 845 868 1337
or return the E.mail to [EMAIL PROTECTED]
--
[ server_12606_day.png of type image/png deleted ]
--
[ tf2_network.png of type image/png deleted ]
--


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




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



imagecfg normally works with srcds but not the orangebox srcds, get this
error:

>imagecfg -a 0x2 srcds.exe
srcds.exe contains no configuration information
srcds.exe contains a Subsystem Version of 4.0
srcds.exe updated with the following configuration information:
   Process Affinity Mask: 0002
IMAGECFG: Unable to update configuration information in image.

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

RE: [hlds] TF2 server Affinity issue, Memory leak & Performance stats

2007-09-19 Thread Mike Durand
Hi-

That's weird because I just did a test and imagecfg did properly force 
srcds.exe to whatever CPU I chose. Here's my result:

D:\Dev\mdurand_main>imagecfg -a 0x2 C:\srcds\orangebox\srcds.exe
C:\srcds\orangebox\srcds.exe contains no configuration information
C:\srcds\orangebox\srcds.exe contains a Subsystem Version of 4.0
C:\srcds\orangebox\srcds.exe updated with the following configuration 
information:
Process Affinity Mask: 0002

Does anyone else get this failure when running imagecfg.exe?

Also, if you add the command line option -threads 1 the dedicated server won't 
try to take advantage of the other threads on the system so then each server 
will stay segregated on whatever core you started them on.

C:\srcds\orangebox>srcds.exe -game tf -threads 1

-Mike

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of "[??R] 
The-/ Would a program such as imagecfg not get around the affinity issue?  I've
> used I for quite some time to get my other Valve servers (HL1/2) onto other
> cores/processors when they wanted to all stick to the first they found.
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Steven Hartland
> Sent: Wednesday, September 19, 2007 11:00 AM
> To: hlds@list.valvesoftware.com
> Subject: [hlds] TF2 server Affinity issue, Memory leak & Performance stats
>
> This is a multi-part message in MIME format.
> --
> Affinity Issue
> First off so people are aware the current server will only work on the first
> core of any multi core machines. I'm assuming this is
> due to the server threads having affinity set on them but this obviously
> causes major issues on multi CPU / Core machines. I've
> dropped Valve a mail about this, so I hope they can make a fix available
> quickly.
>
> In the mean time those who are running servers on SMP machines should
> significantly reduce the number of servers on their machines
> to ensure that the first core is not overloaded and hence seriously
> impacting gameplay.
>
>
> Memory leak
> Seems the current server has a bit of a memory leak which can be seen below.
>
> Team Fortress 2 - Performance @ 2.66Ghz Core2
>
> As you can see memory ( the orange line ) is constantly rising as play
> continues. This is not the same on a server which doesn't
> have players so its either a play based leak or a player join / leave based
> leak.
>
> CPU Usage
> With respect to performance TF2's current CPU usage is on the high side with
> a 24 player TF2 using about the same as a 32 player
> ET:QW server so it would be nice to see if some optimisation can be done to
> bring this down an so keep the cost down.
>
> Network performance
> Network performance is good as usual with 105 player slots peaking @ 5Mbps
> so each client using ~ 47Kbps.
>
> Team Fortress 2 - Bandwidth peak = 105 Player slots
>
> Regards
> Steve
>
>
> 
> This e.mail is private and confidential between Multiplay (UK) Ltd. and the
> person or entity to whom it is addressed. In the event of misdirection, the
> recipient is prohibited from using, copying, printing or otherwise
> disseminating it or any information contained in it.
>
> In the event of misdirection, illegible or incomplete transmission please
> telephone +44 845 868 1337
> or return the E.mail to [EMAIL PROTECTED]
> --
> [ server_12606_day.png of type image/png deleted ]
> --
> [ tf2_network.png of type image/png deleted ]
> --
>
>
> ___
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds
>
>
>
>
> ___
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds
>
>
imagecfg normally works with srcds but not the orangebox srcds, get this
error:

 >imagecfg -a 0x2 srcds.exe
srcds.exe contains no configuration information
srcds.exe contains a Subsystem Version of 4.0
srcds.exe updated with the following configuration information:
Process Affinity Mask: 0002
IMAGECFG: Unable to update configuration information in image.

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


Re: [hlds] TF2 server Affinity issue, Memory leak & Performance stats

2007-09-19 Thread [ЯтR] The-/

DLinkOZ wrote:

Would a program such as imagecfg not get around the affinity issue?  I've
used I for quite some time to get my other Valve servers (HL1/2) onto other
cores/processors when they wanted to all stick to the first they found.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven Hartland
Sent: Wednesday, September 19, 2007 11:00 AM
To: hlds@list.valvesoftware.com
Subject: [hlds] TF2 server Affinity issue, Memory leak & Performance stats

This is a multi-part message in MIME format.
--
Affinity Issue
First off so people are aware the current server will only work on the first
core of any multi core machines. I'm assuming this is
due to the server threads having affinity set on them but this obviously
causes major issues on multi CPU / Core machines. I've
dropped Valve a mail about this, so I hope they can make a fix available
quickly.

In the mean time those who are running servers on SMP machines should
significantly reduce the number of servers on their machines
to ensure that the first core is not overloaded and hence seriously
impacting gameplay.


Memory leak
Seems the current server has a bit of a memory leak which can be seen below.

Team Fortress 2 - Performance @ 2.66Ghz Core2

As you can see memory ( the orange line ) is constantly rising as play
continues. This is not the same on a server which doesn't
have players so its either a play based leak or a player join / leave based
leak.

CPU Usage
With respect to performance TF2's current CPU usage is on the high side with
a 24 player TF2 using about the same as a 32 player
ET:QW server so it would be nice to see if some optimisation can be done to
bring this down an so keep the cost down.

Network performance
Network performance is good as usual with 105 player slots peaking @ 5Mbps
so each client using ~ 47Kbps.

Team Fortress 2 - Bandwidth peak = 105 Player slots

Regards
Steve



This e.mail is private and confidential between Multiplay (UK) Ltd. and the
person or entity to whom it is addressed. In the event of misdirection, the
recipient is prohibited from using, copying, printing or otherwise
disseminating it or any information contained in it.

In the event of misdirection, illegible or incomplete transmission please
telephone +44 845 868 1337
or return the E.mail to [EMAIL PROTECTED]
--
[ server_12606_day.png of type image/png deleted ]
--
[ tf2_network.png of type image/png deleted ]
--


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




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



imagecfg normally works with srcds but not the orangebox srcds, get this
error:

>imagecfg -a 0x2 srcds.exe
srcds.exe contains no configuration information
srcds.exe contains a Subsystem Version of 4.0
srcds.exe updated with the following configuration information:
   Process Affinity Mask: 0002
IMAGECFG: Unable to update configuration information in image.

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


Re: [hlds] TF2 server Affinity issue, Memory leak & Performance stats

2007-09-19 Thread Gary Stanley

At 11:59 AM 9/19/2007, Steven Hartland wrote:

This is a multi-part message in MIME format.
--
Affinity Issue
First off so people are aware the current server will only work on
the first core of any multi core machines. I'm assuming this is
due to the server threads having affinity set on them but this
obviously causes major issues on multi CPU / Core machines. I've
dropped Valve a mail about this, so I hope they can make a fix
available quickly.

In the mean time those who are running servers on SMP machines
should significantly reduce the number of servers on their machines
to ensure that the first core is not overloaded and hence seriously
impacting gameplay.



I see this affinity issue as well, and I also see the memory leaks.
It's almost like that old 1.6 bug with everything binding to CPU0.







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


RE: [hlds] TF2 server Affinity issue, Memory leak & Performance stats

2007-09-19 Thread DLinkOZ
Would a program such as imagecfg not get around the affinity issue?  I've
used I for quite some time to get my other Valve servers (HL1/2) onto other
cores/processors when they wanted to all stick to the first they found.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven Hartland
Sent: Wednesday, September 19, 2007 11:00 AM
To: hlds@list.valvesoftware.com
Subject: [hlds] TF2 server Affinity issue, Memory leak & Performance stats

This is a multi-part message in MIME format.
--
Affinity Issue
First off so people are aware the current server will only work on the first
core of any multi core machines. I'm assuming this is
due to the server threads having affinity set on them but this obviously
causes major issues on multi CPU / Core machines. I've
dropped Valve a mail about this, so I hope they can make a fix available
quickly.

In the mean time those who are running servers on SMP machines should
significantly reduce the number of servers on their machines
to ensure that the first core is not overloaded and hence seriously
impacting gameplay.


Memory leak
Seems the current server has a bit of a memory leak which can be seen below.

Team Fortress 2 - Performance @ 2.66Ghz Core2

As you can see memory ( the orange line ) is constantly rising as play
continues. This is not the same on a server which doesn't
have players so its either a play based leak or a player join / leave based
leak.

CPU Usage
With respect to performance TF2's current CPU usage is on the high side with
a 24 player TF2 using about the same as a 32 player
ET:QW server so it would be nice to see if some optimisation can be done to
bring this down an so keep the cost down.

Network performance
Network performance is good as usual with 105 player slots peaking @ 5Mbps
so each client using ~ 47Kbps.

Team Fortress 2 - Bandwidth peak = 105 Player slots

Regards
Steve



This e.mail is private and confidential between Multiplay (UK) Ltd. and the
person or entity to whom it is addressed. In the event of misdirection, the
recipient is prohibited from using, copying, printing or otherwise
disseminating it or any information contained in it.

In the event of misdirection, illegible or incomplete transmission please
telephone +44 845 868 1337
or return the E.mail to [EMAIL PROTECTED]
--
[ server_12606_day.png of type image/png deleted ]
--
[ tf2_network.png of type image/png deleted ]
--


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




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


[hlds] TF2 server Affinity issue, Memory leak & Performance stats

2007-09-19 Thread Steven Hartland
This is a multi-part message in MIME format.
--
Affinity Issue
First off so people are aware the current server will only work on the first 
core of any multi core machines. I'm assuming this is
due to the server threads having affinity set on them but this obviously causes 
major issues on multi CPU / Core machines. I've
dropped Valve a mail about this, so I hope they can make a fix available 
quickly.

In the mean time those who are running servers on SMP machines should 
significantly reduce the number of servers on their machines
to ensure that the first core is not overloaded and hence seriously impacting 
gameplay.


Memory leak
Seems the current server has a bit of a memory leak which can be seen below.

Team Fortress 2 - Performance @ 2.66Ghz Core2

As you can see memory ( the orange line ) is constantly rising as play 
continues. This is not the same on a server which doesn't
have players so its either a play based leak or a player join / leave based 
leak.

CPU Usage
With respect to performance TF2's current CPU usage is on the high side with a 
24 player TF2 using about the same as a 32 player
ET:QW server so it would be nice to see if some optimisation can be done to 
bring this down an so keep the cost down.

Network performance
Network performance is good as usual with 105 player slots peaking @ 5Mbps so 
each client using ~ 47Kbps.

Team Fortress 2 - Bandwidth peak = 105 Player slots

Regards
Steve



This e.mail is private and confidential between Multiplay (UK) Ltd. and the 
person or entity to whom it is addressed. In the event of misdirection, the 
recipient is prohibited from using, copying, printing or otherwise 
disseminating it or any information contained in it.

In the event of misdirection, illegible or incomplete transmission please 
telephone +44 845 868 1337
or return the E.mail to [EMAIL PROTECTED]
--
[ server_12606_day.png of type image/png deleted ]
--
[ tf2_network.png of type image/png deleted ]
--


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