Multi Core CPU Affinity

So I built a new PC with a great multi core CPU, CPU model doesn’t matter for the question. How do I find the core affinity for a multi core CPU?

If you must know, 2700X.

I plan to isolate (and likely pin the critical VMs) most of the cores for KVM VMs.

1 Like

@wendell :slight_smile:



Thank you much for teaching me how to fish! :slight_smile:

1 Like

Matching USB devices to USB Controllers run this in a terminal window,

for usb_ctrl in (find /sys/bus/usb/devices/usb* -maxdepth 0 -type l); do pci_path="(dirname “(realpath "{usb_ctrl}”)")"; echo “Bus (cat "{usb_ctrl}/busnum”) --> $(basename pci_path) (IOMMU group (basename $(realpath pci_path/iommu_group)))"; lsusb -s "(cat “${usb_ctrl}/busnum”):"; echo; done

Source from here.

1 Like