Return-Path: Subject: Re: [PATCH 0/5] blk-mq/scsi-mq: support global tags & introduce force_blk_mq To: Kashyap Desai , Ming Lei Cc: Jens Axboe , linux-block@vger.kernel.org, Christoph Hellwig , Mike Snitzer , linux-scsi@vger.kernel.org, Arun Easi , Omar Sandoval , "Martin K . Petersen" , James Bottomley , Christoph Hellwig , Don Brace , Peter Rivera , Paolo Bonzini , Laurence Oberman References: <20180203042112.15239-1-ming.lei@redhat.com> <07c1f41e-de7c-5e3d-1a2d-0cd7af7b46df@suse.de> <528c93de0aac9010e274847ab1ae0328@mail.gmail.com> <20180205101734.GA32558@ming.t460p> <4c8162129f2a09dca2d1e7eefd61e272@mail.gmail.com> <20180206080452.GA14651@ming.t460p> <20180206123148.GA29378@ming.t460p> <8cf1036167ec5fb58c1d2f70bbb0b678@mail.gmail.com> From: Hannes Reinecke Message-ID: <4c934478-a9c1-2f66-83f2-982b85c4e6cc@suse.de> Date: Wed, 7 Feb 2018 07:50:21 +0100 MIME-Version: 1.0 In-Reply-To: <8cf1036167ec5fb58c1d2f70bbb0b678@mail.gmail.com> Content-Type: text/plain; charset=utf-8 List-ID: Hi all, [ .. ] >> >> Could you share us your patch for enabling global_tags/MQ on > megaraid_sas >> so that I can reproduce your test? >> >>> See below perf top data. "bt_iter" is consuming 4 times more CPU. >> >> Could you share us what the IOPS/CPU utilization effect is after > applying the >> patch V2? And your test script? > Regarding CPU utilization, I need to test one more time. Currently system > is in used. > > I run below fio test on total 24 SSDs expander attached. > > numactl -N 1 fio jbod.fio --rw=randread --iodepth=64 --bs=4k > --ioengine=libaio --rw=randread > > Performance dropped from 1.6 M IOPs to 770K IOPs. > This is basically what we've seen with earlier iterations. >> >> In theory, it shouldn't, because the HBA only supports HBA wide tags, >> that means the allocation has to share a HBA wide sbitmap no matte>> if global tags is used or not. >> >> Anyway, I will take a look at the performance test and data. >> >> >> Thanks, >> Ming > > > Megaraid_sas version of shared tag set. > Whee; thanks for that. I've just finished a patchset moving megarai_sas_fusion to embedded commands (and cutting down the size of 'struct megasas_cmd_fusion' by half :-), so that will come in just handy. Will give it a spin. Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@suse.de +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)