Re: [Qemu-devel] [PATCH v2] scripts: qmp: Introduce vcpu pinning helper script

2016-11-07 Thread Peter Xu
On Thu, Nov 03, 2016 at 04:01:08PM +0100, Maxime Coquelin wrote: > Hi Peter, > > On 10/04/2016 01:22 PM, Maxime Coquelin wrote: > >This python script calls 'query-cpus' QMP command to retrieve > >vCPUs thread IDs. > >Thread IDs are then used by taskset to pin vCPUs to physical > >CPUs passed in co

Re: [Qemu-devel] [PATCH v2] scripts: qmp: Introduce vcpu pinning helper script

2016-11-03 Thread Maxime Coquelin
Hi Peter, On 10/04/2016 01:22 PM, Maxime Coquelin wrote: This python script calls 'query-cpus' QMP command to retrieve vCPUs thread IDs. Thread IDs are then used by taskset to pin vCPUs to physical CPUs passed in command line. In case more vCPUs are present than the number of CPUs assigned in c

[Qemu-devel] [PATCH v2] scripts: qmp: Introduce vcpu pinning helper script

2016-10-04 Thread Maxime Coquelin
This python script calls 'query-cpus' QMP command to retrieve vCPUs thread IDs. Thread IDs are then used by taskset to pin vCPUs to physical CPUs passed in command line. In case more vCPUs are present than the number of CPUs assigned in command line, multiple vCPUs get pinned to physical CPUs. If