View previous topic :: View next topic |
Author |
Message |
highland n00b
Joined: 05 Nov 2008 Posts: 71
|
Posted: Wed Nov 19, 2008 7:31 am Post subject: processor affinity |
|
|
Hello
I have 4 core processor, and i would like to use processor0 for my system processes.
I configured vmware to use processor1 for vmware_machine1 and processor2 for vmware_processor2.
How can i control which process is run on which processor ?
How can i control in gentoo which processor should we user for all typical system processes ?
Thanx |
|
Back to top |
|
|
druggo Apprentice
Joined: 24 Sep 2003 Posts: 289 Location: Hangzhou, China
|
Posted: Wed Nov 19, 2008 12:32 pm Post subject: |
|
|
as I know, affinity only apply to hw interrupts, eg: sys-apps/irqbalance
Quote: | cat /proc/interrupts |
_________________ HighWayToHell(blog)
http://blog.druggo.org/ |
|
Back to top |
|
|
alex.blackbit Advocate
Joined: 26 Jul 2005 Posts: 2397
|
Posted: Wed Nov 19, 2008 12:37 pm Post subject: Re: processor affinity |
|
|
highland wrote: |
How can i control in gentoo which processor should we user for all typical system processes ? |
can you define what those "typical" system processes are? |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6051 Location: Removed by Neddy
|
|
Back to top |
|
|
highland n00b
Joined: 05 Nov 2008 Posts: 71
|
Posted: Wed Nov 19, 2008 1:17 pm Post subject: |
|
|
But - how do vmware selects which process (virtual machine) works on which processor ?
For me the perfect situation is:
- all system processes use processor 0
- some system processes user other processor (virtual machines) |
|
Back to top |
|
|
alex.blackbit Advocate
Joined: 26 Jul 2005 Posts: 2397
|
|
Back to top |
|
|
highland n00b
Joined: 05 Nov 2008 Posts: 71
|
Posted: Thu Nov 20, 2008 8:11 am Post subject: |
|
|
i've found it - taskset |
|
Back to top |
|
|
|