Re: [PATCH 5/6] blk-mq: Use all available hardware queues

2014-12-09 Thread Jens Axboe
On 12/09/2014 08:59 AM, Bart Van Assche wrote: Suppose that a system has two CPU sockets, three cores per socket, that it does not support hyperthreading and that four hardware queues are provided by a block driver. With the current algorithm this will lead to the following assignment of CPU core

[PATCH 5/6] blk-mq: Use all available hardware queues

2014-12-09 Thread Bart Van Assche
Suppose that a system has two CPU sockets, three cores per socket, that it does not support hyperthreading and that four hardware queues are provided by a block driver. With the current algorithm this will lead to the following assignment of CPU cores to hardware queues: HWQ 0: 0 1 HWQ 1: 2 3