Received: by 10.223.176.46 with SMTP id f43csp3980405wra; Tue, 23 Jan 2018 02:14:42 -0800 (PST) X-Google-Smtp-Source: AH8x227BbpbJRB6Tq2vyQELpqdlvVktZidd/L7AZE7+2HYB3g7hpnu+gFuyZL+a23IChk9PrJqxG X-Received: by 10.99.110.10 with SMTP id j10mr8410701pgc.72.1516702482164; Tue, 23 Jan 2018 02:14:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516702482; cv=none; d=google.com; s=arc-20160816; b=aifjiQRiS2BbbY34jumiE9wql2yqwywQWN7NVneD/zIhgJCD0d5QcJMetoS5YRzVUV AKM6jLLGoyBg036RfxRGsbXgfG7GXsZ8BQZlwniVHLhu3KYeg++ovn/TBHdzAT0zOi7V o7mLMfmlF/ETeyBfqSqMcptqpzXFnEV/TgJt7Hdct9795qBN6XQaS8EtkYKJuj51XwgL rleAzZXsqKb5wS9GNu5SsZ//HwWa/+VAluSS3gXtdlniZQItzJ/6ct+C+Xk3oCGTEUlc Fkx+VL0ourQBFgoYcbkbsVFMupqDC6NRFl5umHAuAQOMEB7/Ca1lTbaSaiUxOO/EaUzy j6Vw== 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 :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=uom2RV1YOGEypitNF0xwbe+tSFgIqoam+jbu6xc80aI=; b=kPFTKX7JNK+LNrDtKwS9fsIXcWAKxrjEivltQbUBd8KotirPht+XtT5J5v9NQ3L2aa mRokBFjup1MnRyXXBp/NKyQx7BB4Dhqv+AsAvnjnRmNT9hAPUHbtduqsPrIS/MOOFvFZ mxWIjeoWqBVUk416nc+tB/Kuq3CCOfpIkWZICtQOiqlcfirOvKGdgyfyuCT2QJ1gXGQR DNLbevVOyejXRzHFcpbeL8Y4jueJnK9UMscgIGthtSe6EaAz4Kp0NUm39XjXIZyrKN4k vhqISRLb5BN2rev6cAeLjq4sRxMAApMqEQRZRK9RBEcNKxqlMLZA8Ni6X0sfrVhpj/TN Efcg== 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 e192si8946497pgc.547.2018.01.23.02.14.27; Tue, 23 Jan 2018 02:14:42 -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 S1751247AbeAWKOE (ORCPT + 99 others); Tue, 23 Jan 2018 05:14:04 -0500 Received: from mx1.redhat.com ([209.132.183.28]:43690 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751154AbeAWKOC (ORCPT ); Tue, 23 Jan 2018 05:14:02 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3F5A6C056786; Tue, 23 Jan 2018 10:14:02 +0000 (UTC) Received: from localhost.localdomain (unknown [10.32.181.99]) by smtp.corp.redhat.com (Postfix) with ESMTP id CECED7555A; Tue, 23 Jan 2018 10:13:52 +0000 (UTC) Message-ID: <1516702432.2554.37.camel@redhat.com> Subject: Re: [RFC PATCH 0/4] softirq: Per vector threading v3 From: Paolo Abeni To: Frederic Weisbecker , LKML Cc: Levin Alexander , Peter Zijlstra , Mauro Carvalho Chehab , Linus Torvalds , Hannes Frederic Sowa , "Paul E . McKenney" , Wanpeng Li , Dmitry Safonov , Thomas Gleixner , Andrew Morton , Radu Rendec , Ingo Molnar , Stanislaw Gruszka , Rik van Riel , Eric Dumazet , David Miller Date: Tue, 23 Jan 2018 11:13:52 +0100 In-Reply-To: <1516376774-24076-1-git-send-email-frederic@kernel.org> References: <1516376774-24076-1-git-send-email-frederic@kernel.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Tue, 23 Jan 2018 10:14:02 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Fri, 2018-01-19 at 16:46 +0100, Frederic Weisbecker wrote: > As per Linus suggestion, this take doesn't limit the number of occurences > per jiffy anymore but instead defers a vector to workqueues as soon as > it gets re-enqueued on IRQ tail. > > No tunable here, so testing should be easier. > > git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git > softirq/thread-v3 > > HEAD: 6835e92cbd70ef4a056987d2e1ed383b294429d4 I tested this series in the UDP flood scenario, binding the user space process receiving the packets on the same CPU processing the related IRQ, and the tput sinks nearly to 0, like before Eric's patch. The perf tool says that almost all the softirq processing is done inside the workqueue, but the user space process is scheduled very rarely, while before this series, in this scenario, ksoftirqd and the user space process got a fair share of the CPU time. Cheers, Paolo