Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to avoid interrupt sharing ?

Reply
Thread Tools Display Modes

How to avoid interrupt sharing ?

 
 
=?iso-8859-1?Q?Jean-Fran=E7ois_Stenuit?=
Guest
Posts: n/a

 
      01-20-2006, 01:27 PM

Hello group,

I have a linux used as a router, with 6 ethernet interfaces (two built-in
and four on a PCI card).

When booting Kernel 2.6.14, I see that the two built-in ethernet
interfaces share a single IRQ with one of the PCI ethernet. I.e :
router:~# cat /proc/interrupts
CPU0 CPU1
....
16: 826072312 1 IO-APIC-level eth0, eth1, eth2
17: 95530 1 IO-APIC-level eth4
18: 276321831 1 IO-APIC-level eth3
19: 294 1 IO-APIC-level eth5
....

The machine is an HP DL140 with the two build-in ethernet being Broadcom
ones (driver is tg3) and the four PCI Intel ones (driver is e1000).

Any idea of how to avoid this interrupt sharing ?

I looked the various BIOS options, but there doesn't seem to be anything
of use there.

--
Jean-Francois "Jef" Stenuit, Technology consultant
Welnet - a service of Legend Software SPRL
 
Reply With Quote
 
 
 
 
jsuthan
Guest
Posts: n/a

 
      01-21-2006, 01:37 AM
Jean-François Stenuit wrote:
>
> Hello group,
>
> I have a linux used as a router, with 6 ethernet interfaces (two
> built-in and four on a PCI card).
>
> When booting Kernel 2.6.14, I see that the two built-in ethernet
> interfaces share a single IRQ with one of the PCI ethernet. I.e :
> router:~# cat /proc/interrupts
> CPU0 CPU1
> ...
> 16: 826072312 1 IO-APIC-level eth0, eth1, eth2
> 17: 95530 1 IO-APIC-level eth4
> 18: 276321831 1 IO-APIC-level eth3
> 19: 294 1 IO-APIC-level eth5
> ...
>
> The machine is an HP DL140 with the two build-in ethernet being Broadcom
> ones (driver is tg3) and the four PCI Intel ones (driver is e1000).
>
> Any idea of how to avoid this interrupt sharing ?
>
> I looked the various BIOS options, but there doesn't seem to be anything
> of use there.
>
> --
> Jean-Francois "Jef" Stenuit, Technology consultant
> Welnet - a service of Legend Software SPRL


Hi,

Is your acpi turn on? I have the same problem before and now too!! I
fixed by turn on new interrupt method introduce on new motherboards.

--
jsuthan
Zues linux team
http://www.mypulau.com
 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      01-21-2006, 08:33 AM
In comp.os.linux.networking Jean-Fran?ois Stenuit <(E-Mail Removed)>:

> Hello group,


> I have a linux used as a router, with 6 ethernet interfaces (two built-in
> and four on a PCI card).


> When booting Kernel 2.6.14, I see that the two built-in ethernet
> interfaces share a single IRQ with one of the PCI ethernet. I.e :
> router:~# cat /proc/interrupts
> CPU0 CPU1
> ...
> 16: 826072312 1 IO-APIC-level eth0, eth1, eth2
> 17: 95530 1 IO-APIC-level eth4
> 18: 276321831 1 IO-APIC-level eth3
> 19: 294 1 IO-APIC-level eth5
> ...


> The machine is an HP DL140 with the two build-in ethernet being Broadcom
> ones (driver is tg3) and the four PCI Intel ones (driver is e1000).


> Any idea of how to avoid this interrupt sharing ?


What's the exact problem with interrupt sharing?

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 254: Interference from lunar radiation
 
Reply With Quote
 
=?iso-8859-1?Q?Jean-Fran=E7ois_Stenuit?=
Guest
Posts: n/a

 
      01-24-2006, 10:55 AM
On Sat, 21 Jan 2006, Michael Heiming wrote:

>
>> Any idea of how to avoid this interrupt sharing ?

>
> What's the exact problem with interrupt sharing?


On multi-processor systems, whith high interrupt rates (i.e. loaded
network interfaces), you can dedicate one processor per interrupt and
therefore improve troughput.

Almost useless on uniprocessors with network load < 100 kpps

--
Jean-Francois "Jef" Stenuit, Technology consultant
Welnet - a service of Legend Software SPRL
 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      01-24-2006, 06:35 PM
In comp.os.linux.networking Jean-Fran?ois Stenuit <(E-Mail Removed)>:
> On Sat, 21 Jan 2006, Michael Heiming wrote:


>>
>>> Any idea of how to avoid this interrupt sharing ?

>>
>> What's the exact problem with interrupt sharing?


> On multi-processor systems, whith high interrupt rates (i.e. loaded
> network interfaces), you can dedicate one processor per interrupt and
> therefore improve troughput.


Ever tested this? From my experience Linux can easily saturate
100 Mbit/fd links no matter if interrupts are shared or not,
using GB lan the problem is usually the storage needed to keep up
with the data.

[..]

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 30: positron router malfunction
 
Reply With Quote
 
David Schwartz
Guest
Posts: n/a

 
      01-24-2006, 07:00 PM

"Michael Heiming" <michael+(E-Mail Removed)> wrote in message
news:r4cia3-(E-Mail Removed)...

> Ever tested this? From my experience Linux can easily saturate
> 100 Mbit/fd links no matter if interrupts are shared or not,
> using GB lan the problem is usually the storage needed to keep up
> with the data.


There are plenty of high-speed networking applications where storage
isn't an issue. Firewalls, for example.

DS


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
crazy ethernet interrupt Gunter Lindemann Linux Networking 7 04-04-2007 06:23 PM
avoid BT like the plague kevin bailey Broadband 32 03-09-2006 06:42 AM
tg3 and Interrupt storms giacomino@gmail.com Linux Networking 0 02-04-2006 04:19 PM
Interrupt blocking calls to recvfrom() Stefanus Johny Linux Networking 1 10-09-2003 04:00 PM
kernel panic/eth0: too much work in interrupt Simon Wu Linux Networking 1 09-02-2003 04:42 PM



1 2 3 4 5 6 7 8 9 10 11