Re: [PATCH 1/1] blk-mq: map all HWQ also in hyperthreaded system
From: Johannes Thumshirn <hidden>
Date: 2017-06-28 13:07:08
Also in:
linux-nvme
From: Johannes Thumshirn <hidden>
Date: 2017-06-28 13:07:08
Also in:
linux-nvme
On Wed, Jun 28, 2017 at 03:44:40PM +0300, Max Gurtovoy wrote:
This patch performs sequential mapping between CPUs and queues. In case the system has more CPUs than HWQs then there are still CPUs to map to HWQs. In hyperthreaded system, map the unmapped CPUs and their siblings to the same HWQ. This actually fixes a bug that found unmapped HWQs in a system with 2 sockets, 18 cores per socket, 2 threads per core (total 72 CPUs) running NVMEoF (opens upto maximum of 64 HWQs).
From a first look at it, it looks good.
Reviewed-by: Johannes Thumshirn <redacted> -- Johannes Thumshirn Storage jthumshirn@suse.de +49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N�rnberg GF: Felix Imend�rffer, Jane Smithard, Graham Norton HRB 21284 (AG N�rnberg) Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850