At one time we only had one busy server running on a dual-core machine.  I
could see from the cpu graphs that it would jump core randomly, but around
once every 5 minutes.  We tried forcing it to one core.  This worked, but
around every 5 minutes - ie around when the scheduler had wanted to jump
cores - the entire server lagged for a fraction of a second.  Your milage
may vary.

For quad-core machines that are organised so pairs of cores share the same
L3 cache, it may be worth forcing your servers to run on one pair or
another.  We now have a quad core, but we don't have the necessary
popularity to test this - and we're not entirely sure if the pairs are 0&1,
2&3, or 0&2,1&3

For what it's worth, the utility we used to control processor affinity was
taskset.

Philip Cass

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Pawel
> Sent: 15 September 2008 21:23
> To: Half-Life dedicated Linux server mailing list
> Subject: Re: [hlds_linux] [hlds] Counter-Strike 1.6 Beta updated
> 
> So how can i bind process to CPU of my choice?
> Of course i'm talking about linux, anybody would help?
> Or maybe you can add some command to linux hlds, to specify 
> what core i want to use.
> 
> On Mon, Sep 15, 2008 at 10:08 PM, Alfred Reynolds
> <[EMAIL PROTECTED]>wrote:
> 
> > It means we don't call SetAffinity() so the server will go 
> to the CPU 
> > the OS decides (and wander among CPU's). You may want to test the 
> > performance impact of letting it wander and use your own script to 
> > bind it to the CPU of your choice if that helps.
> >
> > - Alfred
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:hlds- 
> > > [EMAIL PROTECTED] On Behalf Of Steven Hartland
> > > Sent: Monday, September 15, 2008 12:11 PM
> > > To: Half-Life dedicated Win32 server mailing list; 
> > > [email protected]
> > > Subject: Re: [hlds] Counter-Strike 1.6 Beta updated
> > >
> > > Does that mean it wont bind to any cpu specifically, i.e. 
> it can use 
> > > any in the system?
> > > or that it can use any CPU except CPU 0?
> > >
> > >     Regards
> > >     Steve
> > >
> > > ----- Original Message -----
> > > From: "Jason Ruymen" <[EMAIL PROTECTED]>
> > >
> > >
> > > > The Counter-Strike 1.6 Beta has been updated.  Please run
> > > hldsupdatetool
> > > > to receive the updates.  The specific changes are:
> > > >
> > > > - Added "-noaff" option for dedicated servers so it 
> won't bind to
> > CPU
> > > 0
> > > > on windows
> > >
> > > ================================================
> > > 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_linux
> >
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list 
> archives, please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
> 


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

Reply via email to