Results 1 to 5 of 5
Hi,
Is there any way through which we can map the cpu core to the physical processors?
Say, i need to do something like cpu core number 10 belongs to ...
- 04-07-2010 #1Just Joined!
- Join Date
- Sep 2008
- Posts
- 3
Method to map cpu cores to physical processor
Hi,
Is there any way through which we can map the cpu core to the physical processors?
Say, i need to do something like cpu core number 10 belongs to physical processor number 4.
Is there any way to do the same?
My machine configuration is SLES 10 SP2 for x86_64 and IA64 architecture.
I beleive there will be different way to find out the same on above mentioned architecture.
Waiting for quick response.
Thanks.
- 04-07-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,975
And you care because?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 04-08-2010 #3Just Joined!
- Join Date
- Jun 2007
- Posts
- 12
If you just want to know for knowing sake here is a nice doc from redhat. kbase.redhat.com/faq/docs/DOC-7715
- 04-08-2010 #4
At this stage - the Linux Kernel is not capable of assigning a CPU to a process by the user, as the Scheduler handles this directly.
However, if you where to use KVM, Xen etc. there are methodologies by which certain CPU/cores may/can be attached to certain processes. Apart from this, I am unaware of any direct method of doing so.
On the Distributor level, non cover your requirements I sure.
Hope this assists.
Cheers!
- 04-08-2010 #5Just Joined!
- Join Date
- Sep 2008
- Posts
- 3
Yup...i got one hint that...in /proc/cpuinfo "physical id" denotes the physical cpu mapped to the logical processor.
Am i right this way to get the physical cpu number?
If yes, what can i do for the ia64 architecture?


Reply With Quote