Re: [PATCH] kvmtool: Add parameter to specifiy number of threads in thread_pool

2015-06-29 Thread Andreas Herrmann
On Mon, Jun 29, 2015 at 10:45:03AM +0100, Will Deacon wrote: On Mon, Jun 29, 2015 at 08:45:44AM +0100, Andreas Herrmann wrote: With current code the number of threads added to the thread_pool equals number of online CPUs. Thus on an OcteonIII cn78xx system we usually have 48 threads per

Re: [PATCH] kvmtool: Add parameter to specifiy number of threads in thread_pool

2015-06-29 Thread Will Deacon
On Mon, Jun 29, 2015 at 08:45:44AM +0100, Andreas Herrmann wrote: With current code the number of threads added to the thread_pool equals number of online CPUs. Thus on an OcteonIII cn78xx system we usually have 48 threads per guest just for the thread_pool. IMHO this is overkill for guests

[PATCH] kvmtool: Add parameter to specifiy number of threads in thread_pool

2015-06-29 Thread Andreas Herrmann
With current code the number of threads added to the thread_pool equals number of online CPUs. Thus on an OcteonIII cn78xx system we usually have 48 threads per guest just for the thread_pool. IMHO this is overkill for guests that just have a few vCPUs and/or if a guest is pinned to a subset of

[PATCH] kvmtool: Add parameter to specifiy number of threads in thread_pool

2015-01-06 Thread Andreas Herrmann
With current code the number of threads added to the thread_pool equals number of online CPUs. IMHO on systems with many CPUs this is overkill for guests that just have a few vCPUs and/or if a guest is pinned to a subset of host CPUs. E.g. of a system with 48 cores # numactl -C 4,5,7,8 ./lkvm