in reply to Re^2: IPC::Open2 multiple processes are all on the same CPU?
in thread IPC::Open2 multiple processes are all on the same CPU?

Strange. 2.4 kernels usually were notorious for bouncing processes from processor to processor, not keeping them stuck on one. You may want to try to check one of the kernel groups. Make sure to let them know exactly what kernel, and if there are 4 separate processors, or if it is hyperthreading (it is my understanding that multicore processors are treated slightly different, even though they'll show up as multiple logical processors in user space).

If you want to get really hardcore you can set the processor affinity for those processes, letting them know which processor to run on. While that is normally 2.6 functionality, I believe it was backported into some of the Redhat kernels.

I'd like to hear the final outcome of your investigations.
  • Comment on Re^3: IPC::Open2 multiple processes are all on the same CPU?

Replies are listed 'Best First'.
Re^4: IPC::Open2 multiple processes are all on the same CPU?
by nickswanjan (Initiate) on Oct 13, 2006 at 12:40 UTC
    Do you think it might work better on a 2.6 kernel overall, even without the processor affinity? What is the function to set the processor affinity, or can I view what Perl might have set the affinity to?