🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.linux.sieci
Article #244458

IRQ affinity

#244458
From: pawel.rohde
Date: Tue, 25 Feb 2020 07:53
32 lines
2568 bytes
Mam dwa routerki oparte o supermicro - identyczne.

Na jednym jest stary debian 6.0 na drugim nowy 10.

Na starym /proc/interrupts:

  27:  541639089  585403534  560324750  525012511   PCI-MSI-edge      eth0-rx-0
  28: 4188834976 4157940419 4217905506 4216671856   PCI-MSI-edge      eth0-tx-0
  29:   67662282   67711426   67728734   67696709   PCI-MSI-edge      eth0
  30: 3382951241 3427022745 3315468676 3268596874   PCI-MSI-edge      eth1-rx-0
  31: 1006754811  949746084 1026828946 1110256699   PCI-MSI-edge      eth1-tx-0
  32:  207489178  207500768  207386329  207363676   PCI-MSI-edge      eth1

na nowym:

 27:  107405195          0    6220041  100161479   PCI-MSI 1048576-edge      eth0-rx-0
 28:  292950093  211762028          0          0   PCI-MSI 1048577-edge      eth0-tx-0
 29:          0       2003          0          0   PCI-MSI 1048578-edge      eth0
 30:   84963416          0  113490109          0   PCI-MSI 1572864-edge      eth1-rx-0
 31:          0          0    2352928    3872645   PCI-MSI 1572865-edge      eth1-tx-0
 32:       5758          0       1437         26   PCI-MSI 1572866-edge      eth1


no i nie pracują wszystkie kory/wątki a na starym debianie jak widać pięknie się to rozkłada.

maska IRQ affinity:

root@bgp-ior:~# cat /proc/irq/27/smp_affinity 
f

czyli że wszystkie, ale ruch się nie rozkłada.
co zrobić by jednak firewall (głównie to obciąża) działał jednak (kernel) na wszystkich "procesorach"?
Technical Details
Message-ID: <7b7b5e80-d6a6-4b61-9d10-a2c54a9190cd@googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!3.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Received: by 2002:ad4:55e8:: with SMTP id bu8mr49633912qvb.61.1582617223899;        Mon, 24 Feb 2020 23:53:43 -0800 (PST)
X-Received: by 2002:a5b:8cd:: with SMTP id w13mr15521670ybq.475.1582617223631; Mon, 24 Feb 2020 23:53:43 -0800 (PST)
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!3.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: pl.comp.os.linux.sieci
Date: Mon, 24 Feb 2020 23:53:43 -0800 (PST)
Complaints-To: groups-abuse@google.com
Injection-Info: google-groups.googlegroups.com; posting-host=77.252.130.150; posting-account=lvFXOQoAAAB31dyIM-K0QPycu4kha5rA
NNTP-Posting-Host: 77.252.130.150
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7b7b5e80-d6a6-4b61-9d10-a2c54a9190cd@googlegroups.com>
Subject: IRQ affinity
From: pawel.rohde@gmail.com
Injection-Date: Tue, 25 Feb 2020 07:53:43 +0000
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit