Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6442493ybi; Wed, 29 May 2019 07:55:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqz344v1U+t0fpBeIcgzLFN+kKW1tvn1RdNTUEDHAMc7moakAVj0ZXhLjG1yyzW1TjC1wgsD X-Received: by 2002:a65:5302:: with SMTP id m2mr126016919pgq.369.1559141722908; Wed, 29 May 2019 07:55:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559141722; cv=none; d=google.com; s=arc-20160816; b=c9tFbCzK3rjyKyiJFV7Vy/NpHkGKrCcinHze9fPhy8TJkm5laDEZyABnVkpvk2Nlw0 swl+aGs4aCf/2f1IZqDwyX/xeuz4cz50/8DMNcPbxNN08QXoG77H3OT0XbY0Y7rAE1Zj CXXAi+sIC2kytGIWXgeERCHE0diEve986sU78otPZarEDPUApOivzm9JZaK0m0XmOuKJ 6cph5Ojl2PKAg0o19FbsyTYe9sS5VBWhi7sZYYLnfSeaG2AL3Bg/jcrA4LF+f5Trpje2 J4E1i1Jv71sPd7Ye2koTeuIBe/7bW+SokrVS1h0MZV1xXiLY8gr/3HzGTAn1mFS2GaJy DmfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=H4i+4NlujR9eJ8TH8vZ1HTPKYs/X0jtLkrVPzKEXCvU=; b=S/Lk3c+Y549zUZUQeGpro4vhNXtOeAHkmcaVPO1Rhm6v4aFa7WG7opM7z8TgJMJXFU 9NokCmfUMyCp8Ck83VCcONV7nO34rxhIyhRSbJ6U0vnutE26nmTLBCw2mfdQJZ5EIVtI mO45OyKIQh9zf2hs4YKOYAut7AYONkNeOituDUSCfdNwq2nk3fisaz2duEbCnDu4avK1 PvkWaunGHmxcCnNHq57WarCZlqy9cBt3E2HrNIF4nOCnBkfeR0HXzgNlyZ3PurGaOAIk 3yI53MLxZx28CnuCoDrUOHK9gK60edR4k6iakGNxC8oE3VPSaPw0mT2BSj63LQLNmGYQ p4pw== 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 z11si7491117pjn.72.2019.05.29.07.55.06; Wed, 29 May 2019 07:55:22 -0700 (PDT) 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 S1726699AbfE2Owr (ORCPT + 99 others); Wed, 29 May 2019 10:52:47 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:54874 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726012AbfE2Owr (ORCPT ); Wed, 29 May 2019 10:52:47 -0400 Received: from p200300d06f28ff00b92b307fdbdaf2b9.dip0.t-ipconnect.de ([2003:d0:6f28:ff00:b92b:307f:dbda:f2b9] helo=somnus.fritz.box) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1hVzwZ-0005zw-9x; Wed, 29 May 2019 16:52:43 +0200 Date: Wed, 29 May 2019 16:52:37 +0200 (CEST) From: Anna-Maria Gleixner To: Marcelo Tosatti cc: linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org, Thomas Gleixner , Daniel Bristot de Oliveira , Luiz Capitulino , Haris Okanovic Subject: Re: [patch 0/3] do not raise timer softirq unconditionally (spinlockless version) In-Reply-To: <20190415201213.600254019@amt.cnet> Message-ID: References: <20190415201213.600254019@amt.cnet> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, I had a look at the queue and have several questions about your implementation. First of all, I had some troubles to understand your commit messages. So I first had to read the code and then tried to understand the commit messages. It is easier, if it works the other way round. On Mon, 15 Apr 2019, Marcelo Tosatti wrote: > For isolated CPUs, we'd like to skip awakening ktimersoftd > (the switch to and then back from ktimersoftd takes 10us in > virtualized environments, in addition to other OS overhead, > which exceeds telco requirements for packet forwarding for > 5G) from the sched tick. You would like to prevent raising the timer softirq in general from the sched tick for isolated CPUs? Or you would like to prevent raising the timer softirq if no pending timer is available? Nevertheless, this change is not PREEMPT_RT specific. It is a NOHZ dependand change. So it would be nice, if the queue is against mainline. But please correct me, if I'm wrong. [...] > This patchset reduces cyclictest latency from 25us to 14us > on my testbox. > A lot of information is missing: How does your environment looks like for this test, what is your workload,...? Did you also run other tests? Thanks, Anna-Maria