Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2966676imu; Mon, 17 Dec 2018 10:46:00 -0800 (PST) X-Google-Smtp-Source: AFSGD/W+p9aQprF+th88ZV4oqx0OQmNUOerUDt0e/yhj9TDpKKrhi9XnEVDg1kS6NywzQQB6dxzz X-Received: by 2002:a63:8d44:: with SMTP id z65mr13137947pgd.57.1545072359978; Mon, 17 Dec 2018 10:45:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545072359; cv=none; d=google.com; s=arc-20160816; b=wX7vlar5whvfbKau1p5CZPgo+g7rJP67n5TtgyB60JlMxtundF1EDD1Fon+aXHwGB2 irm27FIzjr+SgHb0u5dpiF9LOhD7qqUXuN2TfOQv7PlWpy6xTCB5AciMB+HM6Jp1606P i/heYaeF8E+3uGdcnJ155YbYI0FNvJWKpFjpnmxIqovNg5uoyULUT8eBGzMs8/axy578 VYyL9ketc1dJsbWzEuRf0jo6yD0/E0jSVUPNjr2KAlG5sk9LxzWH1Ipfk/iCRkW1OFhN yfBFOyLH9wkXU+7w6uFPudwb2Wt5B317Rqpw/wxJzaj0O8RpTBy+i2JT46OJ/5QKkOTg 0dpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=zgswlOL0Z7zZLXeaLuuRwh49voJotlcz14ISMgP0uR4=; b=lZs7Z2H2ycOUWFc6hilkZYBgLuxQYCFsBZVAm01S1+uMV+OpFlW62oAPWJfJY+M77d dQrzUJcBgwb/8kzxAZ2mSU02Rd1LyDIyblF40yM3MAvqej5ibiPWqBZc3q+9QvqnbA7J SJzal7Ek4bCjsrohH2KqWbxg/VwzIlfY+rH1RXPqWFpLTdzdDI4BZ/fyol3PHtwr4iMU 4EKs/UiQI/HDnSoA1eoxzz4r6sk60+Xzp5OTyF5PKbLE9vFbgD9uYd8+Tm/jvyqPXrtj ELtk17L4Ps6bTAT5JK+9+U4H+IwJztml/Iq8/aP0WzdHCq01mDO641aIdoBlSjzPkh/v SLag== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=M8mTiHAR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z22si12292013pfd.197.2018.12.17.10.45.43; Mon, 17 Dec 2018 10:45:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=M8mTiHAR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387495AbeLQO6U (ORCPT + 99 others); Mon, 17 Dec 2018 09:58:20 -0500 Received: from merlin.infradead.org ([205.233.59.134]:54774 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733112AbeLQO6U (ORCPT ); Mon, 17 Dec 2018 09:58:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.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:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=zgswlOL0Z7zZLXeaLuuRwh49voJotlcz14ISMgP0uR4=; b=M8mTiHARUZd3NYq8v22Dx+iAh cp6yCkrxK0ooOVnNfugF5ib49vuIHzMiMkE3jrJ0oLChFH2Pn7K08WyPBpaHroLO4dQJU2xpKOR4b OtEf4e3xkqBDgRuGLGUsv7mGCBjFn/BEGjMXYVnyL+4eLG3/uHRFSMZK/YtBOmGLD4MN984Yz03Mi IT2KeszNtK8yc7EdHlOtnDw5bip8plUz/462TxIXYdV7JR04Q3D/FfLYh9GkF3+f9235eK/G5v4dT 107jpxyJPz/PsAcMxj1Wt4L0aIqU9wi/3zP9U5LL5J31bwrDn6dZseP42zJz1k4XBIDPVXym0BtNO ykwTLtp4g==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gYuLG-000213-4y; Mon, 17 Dec 2018 14:57:58 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 3716A2027DA91; Mon, 17 Dec 2018 15:57:54 +0100 (CET) Date: Mon, 17 Dec 2018 15:57:54 +0100 From: Peter Zijlstra To: Suren Baghdasaryan Cc: gregkh@linuxfoundation.org, tj@kernel.org, lizefan@huawei.com, hannes@cmpxchg.org, axboe@kernel.dk, dennis@kernel.org, dennisszhou@gmail.com, mingo@redhat.com, akpm@linux-foundation.org, corbet@lwn.net, cgroups@vger.kernel.org, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@android.com Subject: Re: [PATCH 3/6] psi: eliminate lazy clock mode Message-ID: <20181217145754.GB2218@hirez.programming.kicks-ass.net> References: <20181214171508.7791-1-surenb@google.com> <20181214171508.7791-4-surenb@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181214171508.7791-4-surenb@google.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 14, 2018 at 09:15:05AM -0800, Suren Baghdasaryan wrote: > Eliminate the idle mode and keep the worker doing 2s update intervals > at all times. That sounds like a bad deal.. esp. so for battery powered devices like say Andoird. In general the push has been to always idle everything, see NOHZ and NOHZ_FULL and all the work that's being put into getting rid of any and all period work.