public inbox for linux-smp@vger.kernel.org
 help / color / mirror / Atom feed
From: "Peter H. Koenig" <Peter.Koenig@phys.uni-paderborn.de>
To: linux-smp <linux-smp@vger.kernel.org>
Subject: Re: About IO-APIC - General question
Date: Fri, 03 May 2002 18:27:51 +0200	[thread overview]
Message-ID: <3CD2BA87.D03FB34C@phys.uni-paderborn.de> (raw)
In-Reply-To: 3CBC0F3D.3010806@tzi.org

Hello,

Klaas, I would like to thank you for the data you provided.

From your first paragraph I take that there is the possibility of specifying
which processor(s) handle(s) interrupts manually.

Klaas Zweck wrote:
> i made some test on a linux-smp machine(kernel 2.4.9).
> i had one process just doing some calculation on prim numbers.
> i locked this to cpu 1 and disabled all interrupts on cpu 1.
> ( in fact i routed all to cpu 0 )
> then i started a make -j4 bzImage job in a remote
> shell to produce file i/o and network interrupts.
> i restricted all processes except the one doing the calculation
> from cpu 1 and delivered all interrupts only to cpu 0.

Is it neccessary specifying this for getting interrupt sharing working ?

My interrupts statistics table shows that the interrrupts are handled by
one
CPU solely:

$ cat /proc/interrupts 
           CPU0       CPU1       
  0:      84363          0    IO-APIC-edge  timer
  1:          2          0    IO-APIC-edge  keyboard
  2:          0          0          XT-PIC  cascade
  8:          1          0    IO-APIC-edge  rtc
 11:       1661          0   IO-APIC-level  eth0
 14:       8741          0    IO-APIC-edge  ide0
 15:          2          0    IO-APIC-edge  ide1
NMI:          0          0 
LOC:      84283      84281 
ERR:          0
MIS:          0

This differs somehow from the (old) IO-APIC documentation where in the
case
of SMP-boards the IRQ load is shared between the processors.

This problem occurs on a Supermicro P4DC6 using an unreleased bios
release
(without that so far the APIC has not been recognized at all), the MPS
specification set to version 1.1 in the bios using kernel 2.4.10, 2.4.17
and
2.4.18.

As some of the applications we run are quite Network or IO-intensive, we
would like to take advantage of the IRQ sharing.

Any suggestions ?

Pete



-- 
Dipl.-Chem. Peter H. Koenig                               
FB 6 - Theoretische Physik    Tel.: +49 5251 60 2332   
Universitaet Paderborn        Fax:  +49 5251 60 3435   
Pohlweg 55                                             
33098 Paderborn

  reply	other threads:[~2002-05-03 16:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-16  6:25 About IO-APIC - General question Peter H. Koenig
2002-04-16 11:47 ` Klaas Zweck
2002-05-03 16:27   ` Peter H. Koenig [this message]
2002-05-03 22:13     ` Mark Hounschell
2002-05-18 10:59       ` Peter H. Koenig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CD2BA87.D03FB34C@phys.uni-paderborn.de \
    --to=peter.koenig@phys.uni-paderborn.de \
    --cc=linux-smp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox