Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #63838

Bug#926967: Don't recommend irqbalance (was: Re: Handling irqbalance in virtual environments)

Path csiph.com!weretis.net!feeder7.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Bastian Blank <waldi@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#926967: Don't recommend irqbalance (was: Re: Handling irqbalance in virtual environments)
Date Fri, 12 Apr 2019 23:10:02 +0200
Message-ID <xMbAS-KD-11@gated-at.bofh.it> (permalink)
References <xMaOt-ce-5@gated-at.bofh.it>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Fri Apr 12 21:00:10 2019
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -4.2
Reply-To Bastian Blank <waldi@debian.org>, 926967@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc debian-cloud@lists.debian.org, debian-kernel@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message report 926967
X-Debian-Pr-Package src:linux
X-Debian-Pr-Source linux
X-Spam-Bayes score:0.0000 Tokens: new, 41; hammy, 150; neutral, 60; spammy, 0. spammytokens: hammytokens:0.000-+--H*UA:NeoMutt, 0.000-+--H*u:NeoMutt, 0.000-+--H*UA:1.7.2, 0.000-+--H*u:1.7.2, 0.000-+--H*UA:20170113
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
User-Agent NeoMutt/20170113 (1.7.2)
X-Greylist delayed 108711 seconds by postgrey-1.36 at buxtehude; Fri, 12 Apr 2019 20:56:34 UTC
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1532434
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 39
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 12 Apr 2019 22:56:29 +0200
X-Original-Message-ID <20190412205629.unlrvsht2rpbsdqi@shell.thinkmo.de>
X-Original-References <b4bf0b7cf7156696fa77ce1ec4004bfb97ffce60.camel@decadent.org.uk>
Xref csiph.com linux.debian.bugs.dist:954120 linux.debian.kernel:63838

Cross-posted to 2 groups.

Show key headers only | View raw


Package: src:linux
Version: 4.19.28-2
Severity: important

On Fri, Apr 12, 2019 at 09:10:32PM +0100, Ben Hutchings wrote:
> On Fri, 2019-04-12 at 10:53 +0200, Bastian Blank wrote:
> > It turns out we got again problems with irqbalance.
> > 
> > It was added as recommends of the main image in 3.16, as it was reported
> > that older kernels move all interrupts to CPU 0 without help.[1]
> > 
> > In the meantime the kernel can do balancing on it's own.  In 4.9, I've
> > seen it working with aacraid, each queue gets hard pinned to it's own
> > CPU from 0 to $NRCPUS.  In 4.19 I've seen the same working properly with
> > virtio-net.
> > 
> > With 4.19, even on real hardware, where interrupts have an affinity for
> > all cpus, each interrupt is actually delivered to different cpu.
> > 
> > Random example for this, it even selects only one thread of each core:
> > 
> > >  26:    0    0    0    0   92    0    0    0  IR-PCI-MSI 3670017-edge      eno1-TxRx-0
> > >  27:    0    0    0    0    0  167    0    0  IR-PCI-MSI 3670018-edge      eno1-TxRx-1
> > >  28:    0    0    0    0    0    0  467    0  IR-PCI-MSI 3670019-edge      eno1-TxRx-2
> > >  29:    0    0    0    0    0    0    0  454  IR-PCI-MSI 3670020-edge      eno1-TxRx-3
> > 
> > Now irqbalance comes to re-do the existing pinning, and the result is not
> > longer correct but $RANDOM for the hard queue-to-cpu case of virtio.
> 
> Then let's drop the recommendation.

Okay.

Regards,
Bastian

-- 
I'm a soldier, not a diplomat.  I can only tell the truth.
		-- Kirk, "Errand of Mercy", stardate 3198.9

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Handling irqbalance in virtual environments Bastian Blank <waldi@debian.org> - 2019-04-12 11:10 +0200
  Re: Handling irqbalance in virtual environments Bastian Blank <waldi@debian.org> - 2019-04-12 11:40 +0200
  Re: Handling irqbalance in virtual environments Ben Hutchings <ben@decadent.org.uk> - 2019-04-12 22:20 +0200
    Bug#926967: Don't recommend irqbalance (was: Re: Handling irqbalance in virtual environments) Bastian Blank <waldi@debian.org> - 2019-04-12 23:10 +0200
      Bug#926967: Don't recommend irqbalance (was: Re: Handling irqbalance in virtual environments) Nicholas D Steeves <nsteeves@gmail.com> - 2019-04-15 01:00 +0200
      Bug#926967: Don't recommend irqbalance (was: Re: Handling irqbalance in virtual environments) Bastian Blank <waldi@debian.org> - 2019-04-23 21:50 +0200
      Processed: Re: Bug#926967: Don't recommend irqbalance (was: Re:  Handling irqbalance in virtual environments) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2019-04-23 21:50 +0200

csiph-web