From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 27C1BC282DD for ; Fri, 10 Jan 2020 14:13:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EE60820721 for ; Fri, 10 Jan 2020 14:13:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727991AbgAJOM6 (ORCPT ); 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: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@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