Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Method to map cpu cores to physical processor


    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.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    And you care because?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    If you just want to know for knowing sake here is a nice doc from redhat.

  4. $spacer_open
  5. #4
    Just Joined! wildpossum's Avatar
    Join Date
    Apr 2008


    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.

  6. #5
    Yup...i got one hint /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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts