Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9358909rwl; Wed, 11 Jan 2023 04:54:51 -0800 (PST) X-Google-Smtp-Source: AMrXdXsDVYnh1N1Vk0F6BTyHslze5xj+ulnXrUBnah1wFGGNq2AnH/Rbwz9c7hQToR8uM4HDyfc8 X-Received: by 2002:a05:6a20:1455:b0:ad:58d4:2a71 with SMTP id a21-20020a056a20145500b000ad58d42a71mr96965038pzi.4.1673441690961; Wed, 11 Jan 2023 04:54:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673441690; cv=none; d=google.com; s=arc-20160816; b=E8ZZ0a21nycWzbr38g4ktIkhGB24YcTDw8lCFDS419q/mxMv2cBQcvYDjpWXGL9sf0 PsdKkn/rjHjU2beK17kHetU8mbJYVH4WujJG0CzIWRzW4pp4hl4T3mL91ZObCfJ+6w5M 6FXgikKlAJYoXH/vqv5huYVQ3deNye/9UyaNBkBcx7R2boLDOiFcGSiGdEdMAFk6ROYV qWvWfrHTeANmEpdocmLsOtBysoewVYOEyLHQdW8tRe45oKTsqXPM9Y8pM3yFQRSS36eX 9CHyVXv2vM4n6JzYslUJmEvNWir/AxsIwDxC2cB1uuRqgo00k2vzCogXJs67ZjlqT08K 4TPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=KUl6YA1IKQUKcScNMyJ415yLqRxEtI8kTOV2MucdUwI=; b=aFq5JlmoVqM1kFW9519AlxtCOJOvVHKUCSHJnQCkbIFy77hCF/Y2tji80iAZ77kMro ckvedb3zz5cvI1T+riFZgDXDeV80tEpf1TxYOkVc0h13LDQt+cwBB5Fub9wG8sN3GtOq EubLG4KzfnMO6ctEp+FSX9R8lwHrfARAlo3kb24PIkMOSRYY4Z8sig0MMaEZhYvqWGT3 CljwQa31OYAyqVqe/mFjRrFUf/Kh7h+ngWnLOUhC2daWCo6f0h3cs9jUvKrSz1Hu7c+Y 5lAvFOlRwT8XHyNxVLiRUTtxOWudcmaQm2nBUepDV3q2++d9d4sGT9WvVKBsn7dOaBlX fE/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=j8rDezHZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b37-20020a631b25000000b004965dbd5c9esi14416478pgb.822.2023.01.11.04.54.43; Wed, 11 Jan 2023 04:54:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=j8rDezHZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232134AbjAKMfq (ORCPT + 55 others); Wed, 11 Jan 2023 07:35:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235719AbjAKMfk (ORCPT ); Wed, 11 Jan 2023 07:35:40 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A41415FE9; Wed, 11 Jan 2023 04:35:36 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 32A1F17847; Wed, 11 Jan 2023 12:35:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1673440534; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=KUl6YA1IKQUKcScNMyJ415yLqRxEtI8kTOV2MucdUwI=; b=j8rDezHZBy0CHoXmut/N/eeDkVcSrSq7aWYb5DR4MRZOYPn0lF3k4OfsNWh/JMkukmXI5a jnVqayNAkJa2dXnAOZ2jAW7c3IzpBFryMclHuyPIidoCAeQy0Uz42dbyRCZp1Waf/ELEBW WMG/RLx2vU0i9sSpqAnw6cTTTox7xYM= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id F2AD413591; Wed, 11 Jan 2023 12:35:33 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id VTo9OhWtvmPaTQAAMHmgww (envelope-from ); Wed, 11 Jan 2023 12:35:33 +0000 Date: Wed, 11 Jan 2023 13:35:32 +0100 From: Michal =?iso-8859-1?Q?Koutn=FD?= To: hanjinke , Tejun Heo Cc: Jan Kara , josef@toxicpanda.com, axboe@kernel.dk, cgroups@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, yinxin.x@bytedance.com Subject: Re: [External] Re: [PATCH v3] blk-throtl: Introduce sync and async queues for blk-throtl Message-ID: <20230111123532.GB3673@blackbody.suse.cz> References: <20221226130505.7186-1-hanjinke.666@bytedance.com> <20230105161854.GA1259@blackbody.suse.cz> <20230106153813.4ttyuikzaagkk2sc@quack3> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="L6iaP+gRLNZHKoI4" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --L6iaP+gRLNZHKoI4 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello. Thanks all for sharing ideas and more details (in time-previous messages). On Sat, Jan 07, 2023 at 02:07:38AM +0800, hanjinke wrote: > But for some specific scenarios with old kernel versions, blk-throtl > is alose needed. The scenario described in my email is in the early stage= of > research and extensive testing for it. During this period=EF=BC=8Csome pr= iority > inversion issues amoug cgroups or within one cgroup have been observed. S= o I > send this patch to try to fix or mitigate some of these issues. Jinke, do you combine blk-throtl with memory limits? (As that could in theo= ry indirectly reduce async requests as dirtier would be slowed down.) Thanks, Michal --L6iaP+gRLNZHKoI4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQTrXXag4J0QvXXBmkMkDQmsBEOquQUCY76tEgAKCRAkDQmsBEOq uTntAQCFo6a3wu0l6VAEdVs14UXuwMrppoC19q2D3MXh03vohQEAjdb/QSHK87YF XpY7Qj73w0N3r7QhlT9J4wOlGj1WVQ4= =m0hK -----END PGP SIGNATURE----- --L6iaP+gRLNZHKoI4--