Received: by 10.223.148.5 with SMTP id 5csp7475665wrq; Thu, 18 Jan 2018 06:03:26 -0800 (PST) X-Google-Smtp-Source: ACJfBotw/CT2hcZCaQy9CLluJuuhduE0Xxdu1UaFDok8Qsauw372iG2b9ZsU9vK9SqjTpfJDxMWG X-Received: by 10.202.169.87 with SMTP id s84mr3227648oie.22.1516284206467; Thu, 18 Jan 2018 06:03:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516284206; cv=none; d=google.com; s=arc-20160816; b=GWJqc9opH+vmQm4V9NVuqQ0qm+6YA0yfeOjY+uS0dbs5YGJyCu67/KTb2qN68FcZPO dC1VgBo1GNThTYaw8kGzrYdHbQweXRkFbU8Ppssv2ELNHJ69aUaz1f6N+PKu8PdffioG 7waVyHbIsiL0qCAdSX/2+WmvOixvXltH4bYwmRN9gtE5tNO+MnSgWkK7djsRyoPBn3MK 9OXVgFRa+bvTzFuoAOF9SPaf84Uobpp8krxAf15Y0FY18EjiOQTVqtnNykBdewUfY0cI eGsyKwtCcxNUzg/ZQlyKdli6quQ+FG587ORsfRsue9IvN1E8SgJ3HzETipxmqFJA0KTQ wkZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=iWzKNHUpI+F1KUJ8yDnd71m7QxyZkvVvgO5XqJqncRQ=; b=i365RlFM9+QJ+81gK4GHCdHzucqZZXlnqdjZzsdsyCFN25jvHz+w9bgg5C8x6ZFcm0 6ECIHT/7WVqWAaSr0zv+b2ugaRq+yM+FGxzex+/KYnXWHJKlgo6a8aOaBIV/h/qcz5BJ IAcrm56S05N4LJIiYZP68ZVmrDxUPCm7qPSmKRHIyKhx2knkuoIWiN0DWDgg5d2Tpv96 Qf34wC8M909M/sa6GagbG+rCWdFzyV/qjpEKHVv0s5KjqCXeNKUUOjk6TatfjcRv/8XO 7C4hir3ewebUcWIaCwCn8cTAjE6PXhXjmG0Y7famPZ4ZcZIvOZpb8jUvb3I2CbbeFOS+ Zeaw== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u23si5947572pgv.642.2018.01.18.06.03.11; Thu, 18 Jan 2018 06:03:26 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756468AbeAROCd (ORCPT + 99 others); Thu, 18 Jan 2018 09:02:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48274 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756359AbeAROCb (ORCPT ); Thu, 18 Jan 2018 09:02:31 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 92AC25017D; Thu, 18 Jan 2018 14:02:31 +0000 (UTC) Received: from localhost (ovpn-116-192.phx2.redhat.com [10.3.116.192]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3F85D85783; Thu, 18 Jan 2018 14:02:14 +0000 (UTC) Date: Thu, 18 Jan 2018 09:02:13 -0500 From: Luiz Capitulino To: Frederic Weisbecker Cc: Ingo Molnar , LKML , Peter Zijlstra , Chris Metcalf , Thomas Gleixner , Christoph Lameter , "Paul E . McKenney" , Wanpeng Li , Mike Galbraith , Rik van Riel Subject: Re: [GIT PULL] isolation: 1Hz residual tick offloading v3 Message-ID: <20180118090213.6a1ec99e@redhat.com> In-Reply-To: <20180118030441.GB20310@lerouge> References: <1515039937-367-1-git-send-email-frederic@kernel.org> <20180112141813.32dcc84d@redhat.com> <20180116154055.GA27042@lerouge> <20180116115211.7fd55c9a@redhat.com> <20180116225126.GA32665@lerouge> <20180117123801.11f41f99@redhat.com> <20180118030441.GB20310@lerouge> Organization: Red Hat MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Thu, 18 Jan 2018 14:02:31 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 18 Jan 2018 04:04:43 +0100 Frederic Weisbecker wrote: > On Wed, Jan 17, 2018 at 12:38:01PM -0500, Luiz Capitulino wrote: > > On Tue, 16 Jan 2018 23:51:29 +0100 > > Frederic Weisbecker wrote: > > > > > On Tue, Jan 16, 2018 at 11:52:11AM -0500, Luiz Capitulino wrote: > > > > On Tue, 16 Jan 2018 16:41:00 +0100 > > > > Frederic Weisbecker wrote: > > > > > So isolcpus= is now the place where we control the isolation features > > > > > and nohz is one of them. > > > > > > > > That's the part I'm not very sure about. We've been advising users to > > > > move away from isolcpus= when possible, but this very wanted nohz_offload > > > > feature will force everyone back to using isolcpus= again. > > > > > > Note "isolcpus=nohz" only implies nohz. You need to add "domain" to get > > > the behaviour that you've been advising users against. We are simply > > > reusing a kernel parameter that was abandoned to now control the isolation > > > features that were disorganized and opaque behind nohz. > > > > > > > > > > > I have the impression this series is trying to solve two problems: > > > > > > > > 1. How (and where) we control the various isolation features in the > > > > kernel > > > > > > No, that has already been done in the previous merge window. We have a > > > dedicated isolation subsystem now (kernel/sched/isolation.c) and > > > an interface to control all these isolation features that were abusively implied > > > by nohz. The initial plan was to introduce "cpu_isolation=" but it looked too much like > > > "isolcpus=". Then in fact, why not using "isolcpus=" and give it a second life. > > > And there we are. > > > > OK, I get it now. But then series has to un-deprecate isolcpus= otherwise > > it doesn't make sense to use it. > > Good point. Also I think you convinced me toward just applying that tick offload > on the existing nohz kernel parameter right away, that is, to both existing "nohz_full=" > and "isolcpus=nohz". > > After all that tick offload is an implementation detail. > > Like you said if people complain about a regression, we can still fix it > with a new option. But eventually I doubt this will be needed. > > I'll respin with that. Exciting times! Btw, I do have this problem where I have a hog app on an isolated core with isolcpus=nohz_offload,domain,... and I see top -d1 going from 100% to 0% and then back from 0% to 100% every few seconds or so. I'll debug it when you post the next version.