Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4412364pxb; Tue, 5 Oct 2021 02:34:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwigTe1HA627iGRKdyh36X01PORYmaJ3SbGZCybfMkxn7RoxXIvkFUR9oI3mW91SIgjUyUC X-Received: by 2002:a17:902:9a97:b0:13e:2da4:8132 with SMTP id w23-20020a1709029a9700b0013e2da48132mr4387284plp.34.1633426468433; Tue, 05 Oct 2021 02:34:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633426468; cv=none; d=google.com; s=arc-20160816; b=IY4wb1rV0suRRZE0mKz3XC8kWmrvEv6vukyuvsy7XXw2r5cKwfd9EbUBzP4VeUe5QE Iy7/curDBYGumUgMFLKyreJNBuNiO5NUeOUSH0jOGzYKIoiqEOhPTWNTYXEHrQ0th+61 aWUu0sH8wAqIc4IypJrd6d1LTiGRlaHDJsRulWFIYg/my9LYLy0/knV3g85gy38dpWsc 5HMrmFdTalSdUUM8aThGrV2sB0v/CJ8O9nAJTnlW4YABwMaUhB6vHuP6+7UCqdDX9/un C17pe1c5bVTmsQk754jt5G8pAy2JK1EXYgbGpgse6F2SZIg0oKVD89XoDVXtPLDtPZLy N8cA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=GQy6jrQzp7SQEfSgsx40GCt9tDyuUPnWczLZw1jnZNM=; b=jDbkxc/Cj+JwswRtOT+T/W8H1lEvJcSPsxoqSKr8GpgjSlunPZy5oVYPRelgISybY+ LTncNM+nGuTtUe0gwf/4RZaVKJnaZMursI0F4EIHIBZMmdwp+qw7gq2i8+hjKMNN74+N kmccFaCFVsE+coUPwJ35AOkvl4+5ejq4FZO3zsI7TK2E0mbLxqHzcUFpCU+Kvo+gOdAD 1Wg+UbhIWlsizk6d0VvgCUphqza0R2KOMmzcvCXKrAG1Epv2ySYuvilYRCaRkKiSYfc7 mFywSohwjr9Crxy7mJyYT/nTf1CSGoO3Pl/MIIRa9gXtDdjCxeizfDjSAGxTDBSKJ89O aPhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=HSxIC9Gg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c17si20655532pfb.223.2021.10.05.02.34.15; Tue, 05 Oct 2021 02:34:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=HSxIC9Gg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233400AbhJEJfV (ORCPT + 99 others); Tue, 5 Oct 2021 05:35:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233365AbhJEJfU (ORCPT ); Tue, 5 Oct 2021 05:35:20 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 128E5C061745 for ; Tue, 5 Oct 2021 02:33:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=GQy6jrQzp7SQEfSgsx40GCt9tDyuUPnWczLZw1jnZNM=; b=HSxIC9GgQfg66qlEOswlFup3Q3 DGqP9JGzvBA8Znx5BmbfKC24ItVpjHNw/TB/52bkvorLcGM+6B7OwFZMn3H55dPUw58PrqajVmFNr tLKnrB9GmGKX+ztz6EejW7DE/F7QulOymymh7Vh4vXVdabCkcpC1KF89CuhS0UVHMHCpmdV5y0Mgw Y7KLONVLtgbiWB2I6UYiC6gl8oUJNKbXppQCV8zZHE3jPKqszDqP59CvbIWZq5i/w37Zjdi7fq4Z7 upf56TJED4wC7B0aDyFMtVkBj8EkfkAtB9VCcTespXwrQNWquws9+YdXmtqFqER/i6tEtOdyPRm2k X8LOiApw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXgns-000BNi-O4; Tue, 05 Oct 2021 09:32:24 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 5F4F4300233; Tue, 5 Oct 2021 11:32:04 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 21FD7202A012E; Tue, 5 Oct 2021 11:32:04 +0200 (CEST) Date: Tue, 5 Oct 2021 11:32:04 +0200 From: Peter Zijlstra To: Mel Gorman Cc: Mike Galbraith , Ingo Molnar , Vincent Guittot , Valentin Schneider , Aubrey Li , Barry Song , Srikar Dronamraju , LKML Subject: Re: [PATCH 2/2] sched/fair: Scale wakeup granularity relative to nr_running Message-ID: References: <20210920142614.4891-1-mgorman@techsingularity.net> <20210920142614.4891-3-mgorman@techsingularity.net> <22e7133d674b82853a5ee64d3f5fc6b35a8e18d6.camel@gmx.de> <20210921103621.GM3959@techsingularity.net> <20210922132002.GX3959@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210922132002.GX3959@techsingularity.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 22, 2021 at 02:20:02PM +0100, Mel Gorman wrote: > > Note that the TuneD throughput-performance profile allows up to 15ms > for sysctl_sched_latency (ignoring scaling) but there is no explanation > why such a long period was necessary or why sched_latency_ns is also > not adjusted. The intent may have been to disable wakeup preemption > or it might be an oversight. An internet search for instances where > sysctl_sched_wakeup_granularity parameter are tuned to high values offer > either no explanation or a broken one. FWIW, if one wants to disable wakeup preemption, we've got SCHED_BATCH for that.