Re: SMP: bind process to cpu

2001-02-17 Thread Andrew Morton
Thomas Widmann wrote: > ... > * Andrew Morton wrote: > > > http://www.uow.edu.au/~andrewm/linux/#cpus_allowed > > > > You just write a bitmask into it. > > Thanks for this information. I patched my the kernel with it. > After rebooting with the new kernel i can see the bitmask > for every

Re: SMP: bind process to cpu

2001-02-17 Thread Tim Hockin
> Is it possible to bind a process to a specific > cpu on this SMP machine (process affinity) ? > > I there something like pset ? http://isunix.it.ilstu.edu/~thockin/pset - pset for linux-2.2 (not ported to 2.4 yet) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in th

Re: SMP: bind process to cpu

2001-02-17 Thread Francis Galiegue
On Sat, 17 Feb 2001, Thomas Widmann wrote: > > #cat /proc/1310/cpus_allowed > > > Now, if i want to run this process on only one cpu, i which way > do i have to set the bitmask ? > Let's say, i want to run it on cpu0. how look's the bitmask ? > Wild guess: as this is a bitmask, you m

Re: SMP: bind process to cpu

2001-02-17 Thread Thomas Widmann
Hi, * Andrew Morton wrote: > > Hi, > > > > I run an 3*XEON 550MHz Primergy with 2GB of RAM. > > On this machine, i have compiled kernel 2.4.0SMP. > > > > Is it possible to bind a process to a specific > > cpu on this SMP machine (process affinity) ? > > > > I there something like pset ? > >

Re: SMP: bind process to cpu

2001-02-17 Thread Christoph Hellwig
[Nick, I've added you to the Cc list so you can look at it for future versions of your patch] On Sat, Feb 17, 2001 at 03:13:45PM +0100, Manfred Spraul wrote: > You must also update wake_process_synchroneous(), otherwise you can get > lost wakeups with pipes. > > Something like

Re: SMP: bind process to cpu

2001-02-17 Thread Andrew Morton
Thomas Widmann wrote: > > Hi, > > I run an 3*XEON 550MHz Primergy with 2GB of RAM. > On this machine, i have compiled kernel 2.4.0SMP. > > Is it possible to bind a process to a specific > cpu on this SMP machine (process affinity) ? > > I there something like pset ? A patch which creates /pro

Re: SMP: bind process to cpu

2001-02-17 Thread Manfred Spraul
Christoph Hellwig wrote: > > In article <[EMAIL PROTECTED]> you wrote: > > Hi, > > > > I run an 3*XEON 550MHz Primergy with 2GB of RAM. > > On this machine, i have compiled kernel 2.4.0SMP. > > > > Is it possible to bind a process to a specific > > cpu on this SMP machine (process affinity) ? >

Re: SMP: bind process to cpu

2001-02-17 Thread Christoph Hellwig
In article <[EMAIL PROTECTED]> you wrote: > Hi, > > I run an 3*XEON 550MHz Primergy with 2GB of RAM. > On this machine, i have compiled kernel 2.4.0SMP. > > Is it possible to bind a process to a specific > cpu on this SMP machine (process affinity) ? Linux 2.4 is mostlu ready for process affinity

SMP: bind process to cpu

2001-02-17 Thread Thomas Widmann
Hi, I run an 3*XEON 550MHz Primergy with 2GB of RAM. On this machine, i have compiled kernel 2.4.0SMP. Is it possible to bind a process to a specific cpu on this SMP machine (process affinity) ? I there something like pset ? Thanks in advance Regards Widmann Thomas Siemens AG - Munich - To un