Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp2774498rwl; Fri, 6 Jan 2023 10:39:17 -0800 (PST) X-Google-Smtp-Source: AMrXdXvawcTy89/jsLvN0PDEBRCF7zLqeARw2xvMIXSbENQAA/FxEl1wEzAoPHqn8TEeBIVChMZ4 X-Received: by 2002:a17:907:a641:b0:7c1:4e8f:df2f with SMTP id vu1-20020a170907a64100b007c14e8fdf2fmr55630372ejc.17.1673030357703; Fri, 06 Jan 2023 10:39:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673030357; cv=none; d=google.com; s=arc-20160816; b=qDi2xeS6fP9BIlwBFhs+ZavnYo2nbTmQmW0sLvwL2CJovervQRjZtt5jZNZcIjvtk0 zcexRCAsClQDphmiejSYq3qvleZvyVQ5w3fPOWQS4LgvAwYWzmpV6+0tunKiI+I3Vr5H 4lz0eP4E/LdvB1Sl3CuEThIqrGtnfm2DpGKcNSJlHdsmtLZLe/UYdjRpCVmecL+VaF0k f8MXmUiRIm0gqn9UEOE98NkiMccod2nzUMijENQfCFEsz8Ki1AJE4zSmyzZiVuX6LGh1 0OtkzNsxPIUDnxR+j2Qdr5l/K1nbNwFHINBd1grGxrW378koYpiRqA0Ztkc4g3+BmKr6 Rz/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=//4YyY+R3Zvxj//qrfQ/8SUpcqPL2BUP4S2f+8LppsI=; b=ubKHIshlhLi9R7Vz45Jdp264oZoaVD4dVrfqQ3a0zr9ckMo5io5VYmmYRDNazHRKfZ VpWZRiyyHazsQx5T6ZSv7jgt9gY+Xb0a5G8XoXSTNC7ZpRr0ksg959LG4wnwyGG/zrjY LBIni8/XJjbdivRr7fH7F6huU96hu+M34d36fKopcySLukQ4Wbp+pp9hkNb+h8GRcoYq SoUNQcS/tXtIuAY8QJiDVEu3pDkDY/Sjur2s2d9rz24mJTzVamCWIrkwdD7gh4+1facC 1CbRUBt+EVKB6ZA96L/FEyaQrP58gJBEXk0etNEdrA/vs6b0l5fPXSKbJhnY3kpsBF7m Q+Qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=GjNGe87i; 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=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m5-20020a056402430500b0046a8fe6d173si2792642edc.456.2023.01.06.10.39.05; Fri, 06 Jan 2023 10:39:17 -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=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=GjNGe87i; 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=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230075AbjAFSIK (ORCPT + 54 others); Fri, 6 Jan 2023 13:08:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229510AbjAFSIH (ORCPT ); Fri, 6 Jan 2023 13:08:07 -0500 Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6B154166F for ; Fri, 6 Jan 2023 10:07:43 -0800 (PST) Received: by mail-pg1-x534.google.com with SMTP id v3so1658861pgh.4 for ; Fri, 06 Jan 2023 10:07:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=//4YyY+R3Zvxj//qrfQ/8SUpcqPL2BUP4S2f+8LppsI=; b=GjNGe87iarMz9xzLWJbvuTpMDWCQA2+W1WVxnP+fJYjnmMv7m/6p9+01ELwcZGYByN sp+8DGsECa67c/twZDqrpNNIeNrZR84IzoPJgyp25dPCHvXXT7VlsAXvjYRBKMK9KT0K U3WxvQeLLXYTtteKi9iuV0Xmx18QLICl7dsCCpXPElWxet+sH1a4y7Y7TWBiTaU4nhZo 80fA6E6O8WzBkJgHlTbZ5T2b4qjLpExO7alWown5M6oReIgqYyQXQq3dayus2N1Ut+S8 V+J0Tf2Bq4Y+HIoRdcE92fZz0DNtzggABrgBoSijo2SFq+rEuHkMXS8gQRQAQeGL/gRn RKmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=//4YyY+R3Zvxj//qrfQ/8SUpcqPL2BUP4S2f+8LppsI=; b=BAs2E0CEg89Bi+LGzUdAmps4I8/S9bc/V0kLXJpZzPlgACOLrrp/tW2rZCuFQOFy7e 3UipyWlR6Bx1N3tGrvcr0oeMdr7G+qxCSCHXBw/swXLslVRlBzguqLVjglMma1BRNnjp 9JeGNAKIQKFW1FC6TIXp57Rfmk2Ev84vNobITZnY/TBSzKChqVa1n9J8weu7YZ64JS7I 4Ue8uamZG9lt0lzfDqrN4DVZThTAgNZZqLm5czrBB1vxN5F77O9FwcuNc9dB/qvsmocD zJOL6qxdQZqOoFI3tFCVmvrVDvLlRoQ0ufcM3n+7evZp0O0+yfXR5hjRba54OuOma3AQ TNWA== X-Gm-Message-State: AFqh2kqnEONdmwLY+EUc2T+fzodUOdQphPPCBd/pYjn9MujU9ZlSAfed mga5vXtGLr+/fnJQaDgyzlbj9w== X-Received: by 2002:aa7:9154:0:b0:57b:30b6:9e85 with SMTP id 20-20020aa79154000000b0057b30b69e85mr54858191pfi.22.1673028463336; Fri, 06 Jan 2023 10:07:43 -0800 (PST) Received: from [10.255.208.163] ([139.177.225.230]) by smtp.gmail.com with ESMTPSA id y12-20020aa78f2c000000b00581dd94be3asm1412263pfr.61.2023.01.06.10.07.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 06 Jan 2023 10:07:42 -0800 (PST) Message-ID: Date: Sat, 7 Jan 2023 02:07:38 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [External] Re: [PATCH v3] blk-throtl: Introduce sync and async queues for blk-throtl To: Tejun Heo , Jan Kara Cc: =?UTF-8?Q?Michal_Koutn=c3=bd?= , josef@toxicpanda.com, axboe@kernel.dk, cgroups@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, yinxin.x@bytedance.com References: <20221226130505.7186-1-hanjinke.666@bytedance.com> <20230105161854.GA1259@blackbody.suse.cz> <20230106153813.4ttyuikzaagkk2sc@quack3> From: hanjinke In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 在 2023/1/7 上午12:58, Tejun Heo 写道: > > Jinke, is the case you described in the original email what you actually saw > in production or a simplified test case for demonstration? If the latter, > can you describe actual problems seen in production? > > Thanks. > Hi In our internal scenario, iocost has been deployed as the main io isolation method and is gradually spreading。 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,some priority inversion issues amoug cgroups or within one cgroup have been observed. So I send this patch to try to fix or mitigate some of these issues. Thanks Jinke