From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on archive.lwn.net X-Spam-Level: X-Spam-Status: No, score=-13.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_NONE, USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by archive.lwn.net (Postfix) with ESMTP id 520A07D2F0 for ; Tue, 23 Jul 2019 16:45:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388056AbfGWQpK (ORCPT ); Tue, 23 Jul 2019 12:45:10 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:39571 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732693AbfGWQpJ (ORCPT ); Tue, 23 Jul 2019 12:45:09 -0400 Received: by mail-ot1-f67.google.com with SMTP id r21so38677604otq.6 for ; Tue, 23 Jul 2019 09:45:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=indeed.com; s=google; h=from:to:subject:date:message-id:in-reply-to:references; bh=ADevYrTtujyVPlK2tuwzFrUbRUoPbF6rtrn0E36CPHM=; b=Jh6y+i7ilzxWsEyzWSh5ajwKZ3FeaRcz5c8xrmJ1BaE6ye4FKc3bYOK0/IPng058dI vaXiuqO3ZWMsCAKZ07n/iVLG3THw1XMi89oOPXPxBeLWjs+0Ny3RFcpdve25jPP0+Gdb hvd/8UiFnj7jNfmaaswaFUfXxGn4mHrGa6QpY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=ADevYrTtujyVPlK2tuwzFrUbRUoPbF6rtrn0E36CPHM=; b=eWoZQvYvJzotdPFzUd4J2ywo3VJuwchTepudaTGGtAoEMEvm+xwWy5libXvcL9BX00 3tm+/w59gIQAyQov7h0i0X5l+N536t6dZlewvy7Qv4gDIWDgktwiAGw2J64zspoN4Yf9 1wkcrq6LIJP24ubZ/YNg0qOswnd0zVr7zuQrsQgDAf6+YTDmdh/dJjS92Nob4qcSqWst T2VHjLBXrTTkudSzFoS1lPEOz6HJzMqphOdvukUuKL0hRNGdPKZYzat7MWs+koMtAO7F 6AFKYHMsUh+l/gK3FqUnpo3iqiATPk25hL5BAJ/6Hysc/BWP1+ztxCfMCGdEhc6j2tqS Vdmw== X-Gm-Message-State: APjAAAXAf45t7eAr5AcVWQNXmjaz3U4/NrZu1gRriWb+dOU5slgPjLdf K3f2m/jSaHGzzpQHjcCQqlkYRA== X-Google-Smtp-Source: APXvYqzL573W3YN7hPujIgZU9FHf6KOYF+tUoiFz+r5UIB2LRrk29uxvKLYvtzCvG0M+hnD6Ll/pMw== X-Received: by 2002:a05:6830:154e:: with SMTP id l14mr21648154otp.365.1563900308442; Tue, 23 Jul 2019 09:45:08 -0700 (PDT) Received: from cando.ausoff.indeed.net ([97.105.47.162]) by smtp.gmail.com with ESMTPSA id f125sm14937391oia.44.2019.07.23.09.45.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Jul 2019 09:45:07 -0700 (PDT) From: Dave Chiluk To: Ben Segall , Phil Auld , Peter Oskolkov , Peter Zijlstra , Ingo Molnar , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, Brendan Gregg , Kyle Anderson , Gabriel Munos , John Hammond , Cong Wang , Jonathan Corbet , linux-doc@vger.kernel.org Subject: [PATCH v6 0/1] sched/fair: Fix low cpu usage with high throttling by removing expiration of cpu-local slices Date: Tue, 23 Jul 2019 11:44:25 -0500 Message-Id: <1563900266-19734-1-git-send-email-chiluk+linux@indeed.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1558121424-2914-1-git-send-email-chiluk+linux@indeed.com> References: <1558121424-2914-1-git-send-email-chiluk+linux@indeed.com> Sender: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org Changelog v6 - Added back missing call to lsub_positive(&cfs_b->runtime, runtime); - Added Reviewed-by: Ben Segall - Fix some grammar in the Documentation, and change some wording. - Updated documentation due to the .rst change Changelog v5 - Based on this comment from Ben Segall's comment on v4 > If the cost of taking this global lock across all cpus without a > ratelimit was somehow not a problem, I'd much prefer to just set > min_cfs_rq_runtime = 0. (Assuming it is, I definitely prefer the "lie > and sorta have 2x period 2x runtime" solution of removing expiration) I'm resubmitting my v3 patchset, with the requested changes. - Updated Commit log given review comments - Update sched-bwc.txt give my new understanding of the slack timer. Changelog v4 - Rewrote patchset around the concept of returning all of runtime_remaining when cfs_b nears the end of available quota. Changelog v3 - Reworked documentation to better describe behavior of slice expiration per feedback from Peter Oskolkov Changelog v2 - Fixed some checkpatch errors in the commit message.