Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp755898ybl; Fri, 10 Jan 2020 06:14:38 -0800 (PST) X-Google-Smtp-Source: APXvYqzCqyMwJY67Ur/HtWow8K11Vo6Qu80iLxyYjtoIgK7jUkLP8JV4SrMil7PDN3+Y+Wwbc/9N X-Received: by 2002:a54:4085:: with SMTP id i5mr2411586oii.17.1578665678363; Fri, 10 Jan 2020 06:14:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578665678; cv=none; d=google.com; s=arc-20160816; b=kddyTe7cFaatLUiFE76MCSlMDdPPiScUC7SG0HopM35f8wPBBlUrTWF5ZFFlrMR1Fe aBlddXuXpqIx+r51nAKjssj9zdnoqrM8lXvbyIWqODip4t43ppB0ntqQi82pok2mwPtz ReRNMMs1KisiOfIRKB4lD38tjUlZBDAekFr1/zm2Bri3ql2Cxyau1HrH2CJpBrlP9ofe VxuvrJ6w1DppClCQ1izUfLnN/gb5xVUGy7kVStcoCPE8HLL4PdjCGYos9e6tZrthHgiT P2ipp6yCAZeuRgCx3js8Dqp0rLLf4on4HgPChyRRHzqt7RvyazzvDayZpJXMcxs5GV/P LZsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:in-reply-to :subject:cc:to:from; bh=x6DkQu/s+ceNrzPcqQE6tKDh8crJqaGqtNJYAUbtn64=; b=T8ZYVfb0gn02bYTyf10qxecPqqLIcphLvMOEWAlJRFuKW1P536J/xTnvDXkSyYUNqk fkf/oZqARHbj46uxNzH7QDxMvtoCCcTYMOU2/WoMMADsmmRsrCoqa64OmWnwpG+XbFga 27HdUXfg2xP4TzhGk7/uKU762ms/RbbMr4DEn0TlU8ieYJYhQ2KahKzzJ2+x0wxFGNcI m8sNRSxIkh2rJeIuEtDwEfr+3kyTAS09+fdnimvO277D4epeGVUZYpqnxAr7hxmKdUI1 A2ziglBRy9rT251XkKpYR+DSt4gagd83BCM1ceHXdyIpCQo9RxXK/5pIWHsSv8Rxly/A 0h/g== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j24si1425367otk.76.2020.01.10.06.14.27; Fri, 10 Jan 2020 06:14:38 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728119AbgAJOM6 (ORCPT + 99 others); Fri, 10 Jan 2020 09:12:58 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:58092 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727181AbgAJOM5 (ORCPT ); Fri, 10 Jan 2020 09:12:57 -0500 Received: from [5.158.153.52] (helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1ipv1w-0005OX-Jp; Fri, 10 Jan 2020 15:12:52 +0100 Received: by nanos.tec.linutronix.de (Postfix, from userid 1000) id 2EF6C105BE5; Fri, 10 Jan 2020 15:12:52 +0100 (CET) From: Thomas Gleixner To: Wanpeng Li Cc: LKML , Ingo Molnar , Peter Zijlstra , Ingo Molnar , kvm , Frederic Weisbecker Subject: Re: [PATCH v2] sched/nohz: Optimize get_nohz_timer_target() In-Reply-To: Date: Fri, 10 Jan 2020 15:12:52 +0100 Message-ID: <87a76v8knv.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Wanpeng, Wanpeng Li writes: > Hi Thomas, > On Wed, 23 Oct 2019 at 16:29, Thomas Gleixner wrote: >> >> On Wed, 23 Oct 2019, Wanpeng Li wrote: >> > I didn't see your refactor to get_nohz_timer_target() which you >> > mentioned in IRC after four months, I can observe cyclictest drop from >> > 4~5us to 8us in kvm guest(we offload the lapic timer emulation to >> > housekeeping cpu to avoid timer fire external interrupt on the pCPU >> > which vCPU resident incur a vCPU vmexit) w/o this patch in the case of >> > there is no busy housekeeping cpu. The score can be recovered after I >> > give stress to create a busy housekeeping cpu. >> > >> > Could you consider applying this patch for temporary since I'm not >> > sure when the refactor can be ready. >> >> Yeah. It's delayed (again).... Will pick that up. > > I didn't find WIP tag for this work after ~half year since v4 was > posted https://lkml.org/lkml/2019/6/28/231 Could you apply this patch > for temporary because the completion time of refactor is not > deterministic. Could you please repost it? Thanks, tglx