From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6FC94C7EE23 for ; Thu, 11 May 2023 15:34:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238748AbjEKPeJ (ORCPT ); Thu, 11 May 2023 11:34:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238331AbjEKPeG (ORCPT ); Thu, 11 May 2023 11:34:06 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B31D755B9; Thu, 11 May 2023 08:34:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=xhaK2YJhS01Edz36x6rlrMEpbRMzClC0qIef6ZatYys=; b=hUKHDIOfLOGJGTM8PG9Bw/V/Zq fiVPS0DcKvzGZEe90/nK8LG5GKM250qzdASPE0J3N3qRRbIJnAPK1F37gHnlf7hZC8c9RPHXccVNB 8zAHo3aWRcONC27CkFLKcPljIQXE4SDhCqrau/MODBh/dAypgVg1So9NKfl2uxBDXsD9wrkUecD/N ozhvC/yHBvn8uA4oGk4bYJf4yc/hXZXw7lhwREJ1VsBItvPJb3zZickbwFk7FpTmsZEfus8qtWSSj lqlsFZorU/8OJznHZXHGCNUOVaQOqjbubnFy9PzpX9XbgSlYfSRtFBTOEbQGTeUl5GQdg60rB6Miz +bpHk0RQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1px8Iu-009DtS-30; Thu, 11 May 2023 15:34:04 +0000 Date: Thu, 11 May 2023 08:34:04 -0700 From: Christoph Hellwig To: Ed Tsai Cc: axboe@kernel.dk, linux-block@vger.kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, martin.petersen@oracle.com, bvanassche@acm.org, stanley.chu@mediatek.com, peter.wang@mediatek.com, chun-hung.wu@mediatek.com, alice.chao@mediatek.com, powen.kao@mediatek.com, naomi.chu@mediatek.com, wsd_upstream@mediatek.com Subject: Re: [PATCH 2/2] ufs: don't use the fair tag sharings Message-ID: References: <20230509065230.32552-1-ed.tsai@mediatek.com> <20230509065230.32552-3-ed.tsai@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230509065230.32552-3-ed.tsai@mediatek.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 09, 2023 at 02:52:30PM +0800, Ed Tsai wrote: > The tags allocation is limited by the fair sharing algorithm. It hurts > the performance for UFS devices, because the queue depth of general I/O > is reduced by half once the UFS send a control command. But it is there for a reason. You completely fail to explain why you think your change is safe, and also why you did not try to even explain where the overhead is and how else you tried to mitigate it.