2003-02-23 14:23:11

by Stephan von Krawczynski

[permalink] [raw]
Subject: Re: 2.4.21-pre4: PDC ide driver problems with shared interrupts

On Thu, 06 Feb 2003 15:51:47 +0100
Hans Lambrechts <[email protected]> wrote:

> Stephan von Krawczynski wrote:
>
> <---snip--->
>
> >
> > CPU0 CPU1
> > 0: 71158 0 IO-APIC-edge timer
> > 1: 941 0 IO-APIC-edge keyboard
> > 2: 0 0 XT-PIC cascade
> > 12: 33166 0 IO-APIC-edge PS/2 Mouse
> > 15: 4 0 IO-APIC-edge ide1
> > 17: 1732 0 IO-APIC-level ide2, ide3
> > 18: 3423 0 IO-APIC-level eth0, eth1
> > 21: 8177 0 IO-APIC-level eth2
> > 22: 112943 0 IO-APIC-level aic7xxx
> > 23: 16 0 IO-APIC-level aic7xxx
> > 25: 74 0 IO-APIC-level HiSax
> > 26: 0 0 IO-APIC-level EMU10K1
> > NMI: 0 0
> > LOC: 71085 71059
> > ERR: 0
> > MIS: 0
> >
> > ??
> > (kernel 2.4.21-pre4)
>
> Stephan,
> this patch should fix the interrupt problem.
>
> Marcelo, please apply.
>
> Greetings,
> Hans Lambrechts
>
>
> --- linux/include/asm-i386/smpboot.h 2003-01-20 16:45:13.000000000 +0100
> +++ linux/include/asm-i386/smpboot.h.orig 2003-01-20
> 16:44:05.000000000 +0100
> @@ -116,6 +116,6 @@
> return cpu_online_map;
> }
> #else
> -#define target_cpus() (0xFFFFFFFF)
> +#define target_cpus() (0x01)
> #endif
> #endif

I am sorry, but this patch is:
a) already included in 2.4.21-pre4 (which I run)
b) does therefore obviously not help

Any other suggestions?


--
Regards,
Stephan


2003-02-23 15:17:11

by Arjan van de Ven

[permalink] [raw]
Subject: Re: 2.4.21-pre4: PDC ide driver problems with shared interrupts

On Sun, 2003-02-23 at 15:33, Stephan von Krawczynski wrote:
> On Thu, 06 Feb 2003 15:51:47 +0100
> Hans Lambrechts <[email protected]> wrote:
>
> > Stephan von Krawczynski wrote:
> >
> > <---snip--->
> >
> > >
> > > CPU0 CPU1
> > > 0: 71158 0 IO-APIC-edge timer
> > > 1: 941 0 IO-APIC-edge keyboard
> > > 2: 0 0 XT-PIC cascade
> > > 12: 33166 0 IO-APIC-edge PS/2 Mouse
> > > 15: 4 0 IO-APIC-edge ide1

<snip>

> I am sorry, but this patch is:
> a) already included in 2.4.21-pre4 (which I run)
> b) does therefore obviously not help
>
> Any other suggestions?

could you give the irqbalance daemon from

http://people.redhat.com/arjanv/irqbalance/irqbalance-0.06.tar.gz

a try ?

Greetings,
Arjan van de Ven


Attachments:
signature.asc (189.00 B)
This is a digitally signed message part

2003-02-23 17:19:18

by Stephan von Krawczynski

[permalink] [raw]
Subject: Re: 2.4.21-pre4: PDC ide driver problems with shared interrupts

On 23 Feb 2003 16:04:31 +0100
Arjan van de Ven <[email protected]> wrote:

> On Sun, 2003-02-23 at 15:33, Stephan von Krawczynski wrote:
> > On Thu, 06 Feb 2003 15:51:47 +0100
> > Hans Lambrechts <[email protected]> wrote:
> >
> > > Stephan von Krawczynski wrote:
> > >
> > > <---snip--->
> > >
> > > >
> > > > CPU0 CPU1
> > > > 0: 71158 0 IO-APIC-edge timer
> > > > 1: 941 0 IO-APIC-edge keyboard
> > > > 2: 0 0 XT-PIC cascade
> > > > 12: 33166 0 IO-APIC-edge PS/2 Mouse
> > > > 15: 4 0 IO-APIC-edge ide1
>
> <snip>
>
> > I am sorry, but this patch is:
> > a) already included in 2.4.21-pre4 (which I run)
> > b) does therefore obviously not help
> >
> > Any other suggestions?
>
> could you give the irqbalance daemon from
>
> http://people.redhat.com/arjanv/irqbalance/irqbalance-0.06.tar.gz
>
> a try ?

Hella Arjan,

I tried it and it looks as if it performs as expected:

CPU0 CPU1
0: 1288917 35375 IO-APIC-edge timer
1: 8917 244 IO-APIC-edge keyboard
2: 0 0 XT-PIC cascade
12: 350644 552 IO-APIC-edge PS/2 Mouse
15: 6 0 IO-APIC-edge ide1
17: 426082 7881 IO-APIC-level ide2, ide3
18: 329936 919 IO-APIC-level eth0, eth1
20: 43 0 IO-APIC-level aic7xxx
21: 10439503 0 IO-APIC-level eth2
22: 1596851 122119 IO-APIC-level aic7xxx
23: 16 0 IO-APIC-level aic7xxx
25: 1304 36 IO-APIC-level HiSax
26: 0 0 IO-APIC-level EMU10K1
NMI: 0 0
LOC: 1324228 1324203
ERR: 0
MIS: 0

Within a few minutes I see the above. The only thing left: I am not able to
produce interrupts from eth2 (tg3) on CPU1. I have not looked at the daemons
policies so far, so maybe this is normal...
It looks interesting. Did you decribe it somewhere?
--
Regards,
Stephan