KVM CPU Numbering

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Experts,

 Question:

IN Qemu Monitor if i type "info cpus" the shown cpu list like:

QEMU 0.12.5 monitor - type 'help' for more information
(qemu) info cpus
* CPU #0: pc=0x00000000fffffff0 thread_id=11170
  CPU #1: pc=0x00000000fffffff0 (halted) thread_id=11171
  CPU #2: pc=0x00000000fffffff0 (halted) thread_id=11172
  CPU #3: pc=0x00000000fffffff0 (halted) thread_id=11173
  CPU #4: pc=0x00000000fffffff0 (halted) thread_id=11174
  CPU #5: pc=0x00000000fffffff0 (halted) thread_id=11175
  CPU #6: pc=0x00000000fffffff0 (halted) thread_id=11176
  CPU #7: pc=0x00000000fffffff0 (halted) thread_id=11177

Does these #0, #1, ... map to the numbering in /proc/cpuinfo of the
guest? (processor : xxx)

I am asking this because I'd like to pin the cores on a
hyper-threading host. In the guest I'm using -smp
8,cores=4,threads=2,sockets=1.

Only if I know which thread_id corresponds to which core in the guest,
can I pin the cores correctly.

Thanks a lot!

-Yushu
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux