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: [email protected]
  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-/<iller"
  Sent: Wednesday, September 19, 2007 4:02 PM
  To: [email protected]
  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: [email protected]
  >
  > 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: <[email protected]>
  >
  > 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: 00000002
  >
  >
  >
  > 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-/<iller"
  >
  > Sent: Wednesday, September 19, 2007 10:23 AM
  >
  > To: [email protected]
  >
  > 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: [email protected]
  >>
  >
  >
  >> 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: 00000002
  >
  > 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
  >
  >
  >
  >
  >
  > ================================================
  >
  > 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
  >
  > _______________________________________________
  > To unsubscribe, edit your list preferences, or view the list archives, 
please visit:
  > http://list.valvesoftware.com/mailman/listinfo/hlds
  >
  >
  Doesnt help if I cant set the affinity using imagecfg

  _______________________________________________
  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
--


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

Reply via email to