Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp173194rwi; Wed, 2 Nov 2022 10:33:03 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5GVyyLZzOMxhoolqwRjDY4hirA2Y9eYt+puTgrKm5h8l5dHIeMh5hdQLrT+JIwA2NfcC5h X-Received: by 2002:a17:902:b215:b0:187:204d:15ca with SMTP id t21-20020a170902b21500b00187204d15camr16912952plr.86.1667410383483; Wed, 02 Nov 2022 10:33:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667410383; cv=none; d=google.com; s=arc-20160816; b=yilgEE3Xhxft9HihfM1vSC2R0k97txjrfHoK6cw0oCtpROdU2joFRIGKBPqRoik3am Ied2VeHvTGOsa8ffeAZZStzmLKfZNeY2D+X16x/pZcME+WdfnkXr98uiIWkWpc7wuKlo xY5U3rp6Kcv41Ojc9tzmY6ZW2naij0jaofAe7i1p+FvocO9Kkn6hK3CxDOZZjH9SofbU rUfpNH/SdZ24uO7W/HqNDUdKtrEMtxwmm/qtgpIggAUYJMEqQ+Tyay6yqFyT+M+VaNB0 tLhjLlu3rssul9QmWCuzmZ3NZteSv5pjRlIvokfMHiWWIOPpjU3RTi70F8wIaZcXHVet qSlw== 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=CN7rpKi1JV2qkEsMCHV68X0g7v+Lhbb9nJKm2oiwPZU=; b=K4ufsZKu/rS+QUb7hKsbTqGWrdPHES8tlkq9av1DYCxoCJ03sfYfx/1ZKLdSDZyIyg 5c0g7ovA6Vo8YQ7lyWZhsBjI+xubtSqFIRCF9UhaVS2Jcw0kvu8DAgDH/yHDtAjRwo6Z ib0RLxzPP0MhydgaLWVsgH/YKXnqZZLrIT5Fv2L8qvATRabJnstYVGAvZubZg4IjmuD6 intD3DUUJOGDTnDhXmUPul3vsCwghA117D8LFkz3GrVhmMeKCBGJuuevMYkHE0t5HdGe Uj+WGFTTke03mPJcjX4wvv812ArvLllppUs/dgMJsLro35ujCXaNkRCpp7APZnSVzvek iBVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=mAQp1ZgQ; 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 b7-20020a170902a9c700b00186be05c702si15382077plr.530.2022.11.02.10.32.47; Wed, 02 Nov 2022 10:33:03 -0700 (PDT) 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=mAQp1ZgQ; 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 S231250AbiKBRLH (ORCPT + 99 others); Wed, 2 Nov 2022 13:11:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231143AbiKBRKx (ORCPT ); Wed, 2 Nov 2022 13:10:53 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 281F41CB1C for ; Wed, 2 Nov 2022 10:10:52 -0700 (PDT) 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 D2F7921D91; Wed, 2 Nov 2022 17:10:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1667409050; 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=CN7rpKi1JV2qkEsMCHV68X0g7v+Lhbb9nJKm2oiwPZU=; b=mAQp1ZgQJP0vX2tskn5KkVkJOI670pTg2w8TneMpJRXk8RExrcPyoSo+KGEFf1FcdmETE/ iVExAu+9vD44Rfo6/z2wnOzsXrUFPjqpjPG4u+jqHvz2okPQfidpFwDNBFz10cukhrlzQR CMGQZp4gum5CS/Cm3JqrEcLCwGdTouw= 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 83D7113AE0; Wed, 2 Nov 2022 17:10:50 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id +vY3H5qkYmN1OAAAMHmgww (envelope-from ); Wed, 02 Nov 2022 17:10:50 +0000 Date: Wed, 2 Nov 2022 18:10:49 +0100 From: Michal =?iso-8859-1?Q?Koutn=FD?= To: Tejun Heo Cc: Josh Don , Peter Zijlstra , Ingo Molnar , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , linux-kernel@vger.kernel.org, Joel Fernandes , Christian Brauner , Zefan Li Subject: Re: [PATCH v2] sched: async unthrottling for cfs bandwidth Message-ID: <20221102171049.GC10591@blackbody.suse.cz> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="QRj9sO5tAVLaXnSD" 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 --QRj9sO5tAVLaXnSD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 01, 2022 at 12:38:23PM -1000, Tejun Heo wrote: > (cc'ing Michal, Christian and Li for context) Thanks. > > We're in the process of transitioning to using bw instead for this > > instead in order to maintain parallelism. Fixing bw is definitely > > going to be useful, but I'm afraid we'll still likely have some issues > > from low throughput for non-bw reasons (some of which we can't > > directly control, since arbitrary jobs can spin up and configure their > > hierarchy/threads in antagonistic ways, in effect pushing out the > > latency of some of their threads). >=20 > Yeah, thanks for the explanation. Making the lock more granular is tedious > but definitely doable. I don't think I can work on it in the near future = but > will keep it on mind. If anyone's interested in attacking it, please be my > guest. =46rom my experience, throttling while holding kernel locks (not just cgroup_mutex) causes more trouble than plain cgroup_mutex scalability currently. But I acknowledge the latter issue too. Michal --QRj9sO5tAVLaXnSD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQTrXXag4J0QvXXBmkMkDQmsBEOquQUCY2KklwAKCRAkDQmsBEOq uZ9JAP4z/W1MGdhX6ZkuGKjgkWAmGksEpsGwm6hcT3ngQNH4PgEAm4jQZq/iaK4d P42yKxWJy4D0SNDA9w+Dx+N0GFXf6ww= =aZnM -----END PGP SIGNATURE----- --QRj9sO5tAVLaXnSD--