Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964977AbcJ1P6g (ORCPT ); Fri, 28 Oct 2016 11:58:36 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:59086 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751856AbcJ1P6d (ORCPT ); Fri, 28 Oct 2016 11:58:33 -0400 X-AuditID: cbfee61a-f79926d000005981-f4-581375a6ea99 From: Bartlomiej Zolnierkiewicz To: Jens Axboe Cc: Linus Walleij , Ulf Hansson , Paolo Valente , Christoph Hellwig , Arnd Bergmann , Bart Van Assche , Jan Kara , Tejun Heo , linux-block@vger.kernel.org, Linux-Kernal , Mark Brown , Hannes Reinecke , Grant Likely , James Bottomley Subject: Re: [PATCH 00/14] introduce the BFQ-v0 I/O scheduler as an extra scheduler Date: Fri, 28 Oct 2016 17:58:28 +0200 Message-id: <5195251.eZ8ecTlAWj@amdc3058> User-Agent: KMail/4.13.3 (Linux/3.13.0-96-generic; KDE/4.13.3; x86_64; ; ) In-reply-to: <3d0b38bb-537d-94ff-574f-587bad949fdd@kernel.dk> References: <1477474082-2846-1-git-send-email-paolo.valente@linaro.org> <3d0b38bb-537d-94ff-574f-587bad949fdd@kernel.dk> MIME-version: 1.0 Content-transfer-encoding: 7Bit Content-type: text/plain; charset=us-ascii X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrKIsWRmVeSWpSXmKPExsVy+t9jQd1lpcIRBjPO8Vj8nXSM3WL13X42 i4M/2xgtpj58wmbx6sxGNos9iyYxWZyesIjJYvb0ZiaLjf0cFlP+LGey2HtL2+LyrjlAVX/2 Mln8Wn6U0eL42nAHfo/fvyYxekybdIrNY/MKLY/LZ0s9Nq3qZPO4c20Pm8e0NeeZPH6+1PE4 s+AIu8fm09UenzfJBXBHudlkpCampBYppOYl56dk5qXbKoWGuOlaKCnkJeam2ipF6PqGBCkp lCXmlAJ5RgZowME5wD1YSd8uwS3j1OPlzAX7eCrObtvL1sA4mauLkZNDQsBEYt/n3YwQtpjE hXvr2boYuTiEBGYxSsx9fgPK+cooceDVVhaQKjYBK4mJ7avAOkQEFCR6fq8EK2IWWMQicfvD LeYuRg4OYYFQiUdbNEFqWARUJT7/OsIOYvMKaEo8uPqEDcQWFfCS2LKvnQnE5hSwlfjQ85sJ Ytk5RolTvd+ZIBoEJX5Mvge2mFlAXmLf/qmsELaWxPqdx5kmMALdiVA2C0nZLCRlCxiZVzFK pBYkFxQnpeca5qWW6xUn5haX5qXrJefnbmIER/kzqR2MB3e5H2IU4GBU4uF9ECkcIcSaWFZc mXuIUYKDWUmE918+UIg3JbGyKrUoP76oNCe1+BCjKdCHE5mlRJPzgQkoryTe0MTcxNzYwMLc 0tLESEmct3H2s3AhgfTEktTs1NSC1CKYPiYOTqkGRl4v0c2dG8OkXh3Z+C/S/ZSKqNcxo+OZ 0f8eMLjsy/olXPTa8vlDrbcqry6Usen8V3M3NX51q/3nsYAA77ef771xz76tcGqt4YF9LV5+ 8ofyt0ZGi5gGm/P4ai37cKzS8HrSIjtN7q6Eguv8W6Snfoo5YTFd4fk30fKdtw8d/rT33s+V PNELzJVYijMSDbWYi4oTAft5DA0IAwAA X-MTR: 20000000000000000@CPGS Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1558 Lines: 40 Hi, On Friday, October 28, 2016 09:30:07 AM Jens Axboe wrote: > On 10/28/2016 03:32 AM, Linus Walleij wrote: > > The patch to enable MQ looks like this: > > https://git.kernel.org/cgit/linux/kernel/git/linusw/linux-stericsson.git/commit/?h=mmc-mq&id=8f79b527e2e854071d8da019451da68d4753f71d > > BTW, another viable "hack" for the depth issue would be to expose more > than one hardware queue. It's meant to map to a distinct submission > region in the hardware, but there's nothing stopping the driver from > using it differently. Might not be cleaner than just increasing the > queue depth on a single queue, though. Yes, I'm already considering this for rewritten version of my patch set as it may also help with performance when compared to non blk-mq case. Significant amount of time is spent on DMA map/unmap operations on ARM MMC hosts and I would like to do these DMA (un)mapping-s in parallel for two (or more) requests to check whether it helps the performance (hopefully the cache controller doesn't serialize these operations). BTW I'm following the discussion and still would like to help with getting blk-mq work for MMC. I'm just quite busy with other things at the moment. > That still won't solve the issue of lying about it and causing IO > scheduler confusion, of course. > > Also, 4.8 and newer have support for BLK_MQ_F_BLOCKING, if you need to > block in ->queue_rq(). That could eliminate the need to offload to a > kthread manually. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics