[bf1942] support dual processor

Travis_Adams Travis_Adams at hotmail.com
Fri Jan 10 01:37:03 EST 2003


Ok sorry let me clear this up 
For Red hat 8.0 how do you set the affinity on this process? :)

-----Original Message-----
From: Zachary Williams [mailto:admin at ztnet.com] 
Sent: Friday, January 10, 2003 12:26 AM
To: bf1942 at icculus.org
Subject: Re: [bf1942] support dual processor

Try the JAM2 kernel patches.  They really help with affinity, as the
stock
kernels seem to let processes jump a lot.  The advantages to affinity,
is
that you don't have to keep moving L2 cache around.  When a process has
to
go out to memory, as oppose to L2, it's a HUGE performance hit.  You can
imagine, L2 cache on an athlon runs at CPU speed, while memory is at
best
266mhz (in an Athlon MP scenario anyways).  Even if you could use
DDR400,
that's still quite a bit slower.  Of course, things like maps and such
don't
fit into L2, but, the core game process pieces that are accessed most
frequently probably are.

Zach

----- Original Message -----
From: "Taner Halicioglu" <bf1942 at taner.net>
To: <bf1942 at icculus.org>
Sent: Friday, January 10, 2003 1:16 AM
Subject: Re: [bf1942] support dual processor


> On Thu, Jan 09, 2003 at 11:33:35PM -0600, Travis_Adams
<Travis_Adams at hotmail.com> wrote:
>
> > Hey do you guys know a way to tell the process to use a certain
> > processor? Like 42server1 uses processor #1
> > And csserver uses processor #2
>
> If you OS has good SMP, the affinity should be pretty good... but some
OSes
> will allow you to force processor affinity.
>
> I know there are patches/modules out for linux to let you do this
(basically
> handles into sched.c)
>
> I can't imagine you'll gain much more performance by forcing the
process
to
> bind to a given CPU - SMP in the kernel is pretty good at figuring out
what's
> going on, for the most part ;)
>
> -Taner
>
>



More information about the Bf1942 mailing list