Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp333710lqs; Tue, 5 Mar 2024 03:36:09 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU6WfV1eqy8K2oRVh+L7NMMICWxBOFy3RPh5zgTZdlHFSYjtb7aUrK87YjGOLv7guc1JCubl8yPPLbedQVfBwtFOjmBX8tc9p85dr/poA== X-Google-Smtp-Source: AGHT+IF9EEQyKhZBxab4YVfVNfno3NhrcAOwE9tLWqz5SfYlFHYoMwyhNCkqrOyiB01BUQZpr3+R X-Received: by 2002:a05:6a00:4f96:b0:6e5:3b8e:bb6b with SMTP id ld22-20020a056a004f9600b006e53b8ebb6bmr12470513pfb.7.1709638569503; Tue, 05 Mar 2024 03:36:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709638569; cv=pass; d=google.com; s=arc-20160816; b=pb2jbpsy8+jjkd0YUyh/FaIvRWBR/EuavnLMitChB/MnI9UI8ex5RXsiSyaAq81DcK WLbFdqj5cvQCYhhgrrYruBnEKfKUOIt7rFuJRhvcPSsa9Q3kOVZFq545QlAIRncM8jRc 1geo7cwFrRYShM2JuyqZaksbpGlQrPsd7A504OkHjo7at5MvWq6RndCUuuWnT9Aqwa77 ASbUbaZ/SxHIQ3JBBlpv1aYRuRiSqvzAfZqEWj3TVKvPed6ss1hO+FPQkIvPZpJJjC83 uPYDW/DYujwk/pD1N2WCcVpixt9ZLzxqAdqmCxCet5tstU09VbbvWtC8P+2Ie7EYVV3t cjCQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=l8vGCvhuyiJbE3m33cRYpzlck22AGQ9bxYOvOdZqlYY=; fh=ZxZ/gbD46L5+eWoufCRzmsSXjt7BSmhoioFL2g5B4pg=; b=WoCW1dC9u9ZlidkCLlA18eRQqkqphH9bzDu5FepsbO4IVEN/SC+ckhsowXdKCxdEwx TFRodqtCGPaHryaQtf4G21dWSARW9YIEQOErFCWWmUQbLPsji/2h4f2Z8pBrpnn6SaSP BlwLDa7Di/chB+CvaPZNO1gNpYzOHCMemOnb7vto6+Sg5DKUVJbnsaL9TtPjq2iozeN2 E2L2B81/NYXVLQi1ZkqPdZcbv4SVvXynymkPrLjwCuVjhHr225caFZHJ8vWBGILpnLYA Dm0eS+a7VyoubOohYupeT8VuBX9CTjeUgF3ScRPYLdx+oMMNzKKreUXf255c/bqCje3T fS1g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qyMSuYbS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-92292-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92292-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q2-20020a656842000000b005e453195b29si9708135pgt.356.2024.03.05.03.36.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 03:36:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-92292-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qyMSuYbS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-92292-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92292-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E056C284AD8 for ; Tue, 5 Mar 2024 11:35:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4312556B8C; Tue, 5 Mar 2024 11:35:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qyMSuYbS" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 605CD56758; Tue, 5 Mar 2024 11:35:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709638533; cv=none; b=AUG67DE71G+eb2ogH+3QQG3ewpnK1q8Xbm3/g0r44hc+jXW2giudanVXD0Dh66QCS/wxXzY01uehkgrNf+oPp2lWc28btQHrDBJYUKHakmk/SmCha8euBfUDjP8VYC6qopQEv4A6P5zLcsqQUKLjWsyGqV4TL9/nbSPeXs4YAwo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709638533; c=relaxed/simple; bh=1pWSWqjFhvRKTLbt/RaCTa1L9MzH/peD1nMCCxEnHZw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=R2fW3u3qWEOMc06SXYny/Ne2d+xGB+20qiXSz6SIulhGjY+6ezAlKqqjZGSnzhfKVUCh8/FVsWr2733AwgZsPAhRvnLPLfjARr4QwjSJxH4tfSEwAerfmNTiKx7llTOGh6TtlgLVXSSJpWhCyAp6SNHbo3kYatR1469Ci91jWKM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qyMSuYbS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8EA48C433F1; Tue, 5 Mar 2024 11:35:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709638532; bh=1pWSWqjFhvRKTLbt/RaCTa1L9MzH/peD1nMCCxEnHZw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qyMSuYbS9nx58vLVK+66V/99HS0zzw1qb/O4yaIqTItM19PP8lmPwpDpu9Z3KOgan naW2DICnOAOjZ6vy+ZgD/NkiM3+IGrtb+BUjNGsi/hDBKsEe2ZMuuUOAaPdY303M7d H/H+Qsg417fpmjQJeSOuCIP86wWs2iT3nnEmFwro3gfMq9dw94kJ1bppXdhkTM707F JFtL/XlDsmGS4XpQOP562UEuqI6wk+jsXOGNM3CcC1T/k7E7KfhDBSImxEY8r6BUzp IwHprECZJ+Q+e2Xr1nl7FrIeWwAHuEiYcAa0j7iOCEm3WlOAP3jTWtl86Vovmkz4iJ hoIcMyrwC6xag== Date: Tue, 5 Mar 2024 12:35:30 +0100 From: Frederic Weisbecker To: Oliver Sang Cc: Anna-Maria Behnsen , oe-lkp@lists.linux.dev, lkp@intel.com, linux-kernel@vger.kernel.org, x86@kernel.org, Thomas Gleixner , ying.huang@intel.com, feng.tang@intel.com, fengwei.yin@intel.com Subject: Re: [tip:timers/core] [timers] 7ee9887703: netperf.Throughput_Mbps -1.2% regression Message-ID: References: <202403011511.24defbbd-oliver.sang@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Tue, Mar 05, 2024 at 10:17:43AM +0800, Oliver Sang wrote: > 20.97 ? 3% -9.7 11.23 ? 16% -9.6 11.40 ? 4% perf-profile.calltrace.cycles-pp.__napi_poll.net_rx_action.__do_softirq.irq_exit_rcu.sysvec_apic_timer_interrupt And yes, fewer time spent in IRQ-tail softirq processing. > 1.70 ? 13% +5.6 7.28 ? 14% +5.8 7.54 ? 15% perf-profile.calltrace.cycles-pp.__napi_poll.net_rx_action.__do_softirq.run_ksoftirqd.smpboot_thread_fn And more time spent in ksoftirqd softirq processing. This can match the increase in involuntary context switches: IRQ-tail softirq processing takes too much time, possibly due to long lasting remote timer expiring, ksoftirqd is then scheduled, preempting netperf (through might_resched()/cond_resched()) as this is a voluntary preemption kernel). Thanks.