Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp647687pxy; Wed, 21 Apr 2021 11:20:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZ5b5M7B8A6nOWIsuFD9ekqQexa1yEgyTO66b4Hsi9pfIUEyXveS6zWorMg9xhSPcyxvlS X-Received: by 2002:a17:90a:d983:: with SMTP id d3mr12523624pjv.99.1619029247946; Wed, 21 Apr 2021 11:20:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619029247; cv=none; d=google.com; s=arc-20160816; b=WiRJRj15XH0MnSutLpdYdhoplCEDkH/Jts3gQqc2lXXsk3//IdT+evVi4ewO/d6FoM 6/cisUyOV+XRbxR77nVDkiS8QTpIRtWGJCalWEpPnB9+rcgaKAMH9QtnPMYyoqrAhThT gcwDFbwnlZKZSAZYvpIpsGTOsUg+sAF9mKXfi7B12XGAcLfnBn9TExpP2+t1ddeQu4wC tPr+nh60YUrf2IuHN2rzo/o49zWyd440vgrQfNUNs5SitKQRwuyD4giNB4MuLESBlWQC fHnOhAGb6hA5BuqdfoLzCVlFOOsOWtu+uHF1YI/VDiBZas7xvUhnCbe+lySFHAzlqQA8 ifvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:to:subject:dkim-signature; bh=eHGylvMWVSknLesn5TIShxESJ3h/B3URDa1h0briNGk=; b=EYukpFJgjp2yhRGAHIV1QBIOtAt4dkTqhY3kO+KLDQRGf4LSvTgu1+Mnn6xYImiNIL T87iScG6sT8rLFbDJpD9gFsHt7DVJLmaR9BOK0SDoi2CqumzEAdPlKZLk+wOk2hDw5VW EsfXmlA2AklkiSm0BlGkBSpe49UiCpSzvUz57QLgv0izruTjqqBkKXxpx0J129eBTQKf ju3j1sU8jbvLQ0AKm1x0gqDZMrUNej7JiJrpYvBzGds2kUu5QaJxkYk+AAO+jDrbt5Xl NREOqzpQz1PyxT0BNwAFYa5Xq3a6OJlklec3ShwWN2YMXXjb973ahdk6whrbDngBLcuV oz3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QQhol4s5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g14si320062plj.385.2021.04.21.11.20.33; Wed, 21 Apr 2021 11:20:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QQhol4s5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240847AbhDUNdH (ORCPT + 99 others); Wed, 21 Apr 2021 09:33:07 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:22692 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240339AbhDUNdH (ORCPT ); Wed, 21 Apr 2021 09:33:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1619011953; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eHGylvMWVSknLesn5TIShxESJ3h/B3URDa1h0briNGk=; b=QQhol4s5fvVz5w0CNT8nM+8DvGBfpI2rJ73iNobcXsYgIE33XTieakOHPgvpjJIhIWe2C5 RUDons0QWKpLP16G0U25HeAbQSO8mDhTDL3idhtBT/mcqt+dRXJQ/eI0cQ4mze+5riAA99 FWutE13Q5WNRumiqE+lQM4jw3xz7uq8= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-581-97lvuigvP_-ssdBgdw6EGQ-1; Wed, 21 Apr 2021 09:31:45 -0400 X-MC-Unique: 97lvuigvP_-ssdBgdw6EGQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 135081936B6D; Wed, 21 Apr 2021 13:31:44 +0000 (UTC) Received: from [10.10.115.104] (ovpn-115-104.rdu2.redhat.com [10.10.115.104]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4216E10016DB; Wed, 21 Apr 2021 13:31:40 +0000 (UTC) Subject: Re: [IRQ] IRQ affinity not working properly? To: Thomas Gleixner , Chris Friesen , LKML , Jesse Brandeburg References: <87blb3ce29.ffs@nanos.tec.linutronix.de> From: Nitesh Narayan Lal Organization: Red Hat Inc, Message-ID: Date: Wed, 21 Apr 2021 09:31:37 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <87blb3ce29.ffs@nanos.tec.linutronix.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/28/21 2:45 PM, Thomas Gleixner wrote: > On Fri, Jan 29 2021 at 13:17, Chris Friesen wrote: >> I have a CentOS 7 linux system with 48 logical CPUs and a number of >> IR-PCI-MSI-edge iavf-net1-TxRx-3 >> 961: 0 0 0 0 28492 0 >> IR-PCI-MSI-edge iavf-0000:b5:02.7:mbx >> 962: 0 0 0 0 435608 0 >> IR-PCI-MSI-edge iavf-net1-TxRx-0 >> 963: 0 0 0 0 394832 0 >> IR-PCI-MSI-edge iavf-net1-TxRx-1 >> 964: 0 0 0 0 398414 0 >> IR-PCI-MSI-edge iavf-net1-TxRx-2 >> 965: 0 0 0 0 192847 0 >> IR-PCI-MSI-edge iavf-net1-TxRx-3 >> >> There were IRQs coming in on the "iavf-0000:b5:02.7:mbx" interrupt at >> roughly 1 per second without any traffic, while the interrupt rate on >> the "iavf-net1-TxRx-" seemed to be related to traffic. >> >> Is this expected? It seems like the IRQ subsystem is not respecting the >> configured SMP affinity for the interrupt in question. I've also seen >> the same behaviour with igb interrupts. > No it's not expected. Do you see the same behaviour with a recent > mainline kernel, i.e. 5.10 or 5.11? > > Jesse pointed me to this thread and apologies that it took a while for me to respond here. I agree it will be interesting to see with which kernel version Chris is reproducing the issue. Initially, I thought that this issue is the same as the one that we have been discussing in another thread [1]. However, in that case, the smp affinity mask itself is incorrect and doesn't follow the default smp affinity mask (with irqbalance disabled). [1] https://lore.kernel.org/lkml/1a044a14-0884-eedb-5d30-28b4bec24b23@redhat.com/ -- Thanks Nitesh