Re: [PATCH 0/3] v2: KVM-userspace: add NUMA support for guests

2008-12-09 Thread Anthony Liguori
Avi Kivity wrote: André Przywara wrote: But I wouldn't load the admin with the burden of pinning, but let this be done by QEMU/KVM. Maybe one could introduce a way to tell QEMU/KVM to not pin the threads. This is where things start to get ugly... Why? qemu-system-x86_64 -numa 2,pin:none and th

Re: [PATCH 0/3] v2: KVM-userspace: add NUMA support for guests

2008-12-09 Thread Avi Kivity
André Przywara wrote: But I wouldn't load the admin with the burden of pinning, but let this be done by QEMU/KVM. Maybe one could introduce a way to tell QEMU/KVM to not pin the threads. This is where things start to get ugly... Why? qemu-system-x86_64 -numa 2,pin:none and then use whatever met

Re: [PATCH 0/3] v2: KVM-userspace: add NUMA support for guests

2008-12-08 Thread Anthony Liguori
André Przywara wrote: I was partly wrong, the code is in BOCHS CVS, but not in qemu. It wasn't in BOCHS 2.3.7 release, which qemu is currently based on. Could you pull the latest BIOS code from BOCHS CVS to qemu? This would give us the firmware interface for free and I could more easily port my p

Re: [PATCH 0/3] v2: KVM-userspace: add NUMA support for guests

2008-12-08 Thread André Przywara
Hi Anthony, ... The third patch is actually BOCHS BIOS, and I am confused here: I see the host side of the firmware config interface in QEMU SVN, but neither in the BOCHS CVS nor in the qemu/pc-bios/bios.diff there is any sign of usage from the BIOS side. Really? I assumed it was there. I'll

Re: [PATCH 0/3] v2: KVM-userspace: add NUMA support for guests

2008-12-05 Thread Anthony Liguori
Andre Przywara wrote: Anthony, This patch series needs to be posted to qemu-devel. I know qemu doesn't do true SMP yet, but it will in the relatively near future. Either way, some of the design points needs review from a larger audience than present on kvm-devel. OK, I already started looki

Re: [PATCH 0/3] v2: KVM-userspace: add NUMA support for guests

2008-12-05 Thread Anthony Liguori
Avi Kivity wrote: Anthony Liguori wrote: In the event that the VM is larger than a single node, if a user is creating it via qemu-system-x86_64, they're going to either not care at all about NUMA, or be familiar enough with the numactl tools that they'll probably just want to use that. Once

Re: [PATCH 0/3] v2: KVM-userspace: add NUMA support for guests

2008-12-05 Thread Avi Kivity
Anthony Liguori wrote: In the event that the VM is larger than a single node, if a user is creating it via qemu-system-x86_64, they're going to either not care at all about NUMA, or be familiar enough with the numactl tools that they'll probably just want to use that. Once you've got your he

Re: [PATCH 0/3] v2: KVM-userspace: add NUMA support for guests

2008-12-05 Thread Andre Przywara
Anthony, This patch series needs to be posted to qemu-devel. I know qemu doesn't do true SMP yet, but it will in the relatively near future. Either way, some of the design points needs review from a larger audience than present on kvm-devel. OK, I already started looking at that. The first p

Re: [PATCH 0/3] v2: KVM-userspace: add NUMA support for guests

2008-12-05 Thread Anthony Liguori
Hi Andre, This patch series needs to be posted to qemu-devel. I know qemu doesn't do true SMP yet, but it will in the relatively near future. Either way, some of the design points needs review from a larger audience than present on kvm-devel. I'm not a big fan of the libnuma dependency. I

[PATCH 0/3] v2: KVM-userspace: add NUMA support for guests

2008-12-05 Thread Andre Przywara
Hi, this patch series introduces multiple NUMA nodes support within KVM guests. This is the second try incorporating several requests from the list: - use the QEMU firmware configuration interface instead of CMOS-RAM - detect presence of libnuma automatically, can be disabled with ./configure -