mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Terje Eggestad <terje.eggestad@scali.com>
To: zxj@water.pku.edu.cn
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: how to balance interrupts between 2 CPUs?
Date: 10 Apr 2002 16:14:52 +0200	[thread overview]
Message-ID: <1018448092.1479.39.camel@pc-16.office.scali.no> (raw)
In-Reply-To: <b5926afe75.afe75b5926@water.pku.edu.cn>

That is wierd you should have 4 CPU's. However I remember that Alan made
a patch for hyperthreading I *belive* is not in any 2.4.7 kernel.

I've a dual P4 Xeon 1.8Ghz with Intel chipset and 2.4.18smp, and I've:

te gcle1 ~ 4> cat /proc/interrupts
           CPU0       CPU1       CPU2       CPU3       
  0:     117524     117823     117105     117564    IO-APIC-edge  timer
  1:        108        105        109        109    IO-APIC-edge
keyboard
  2:          0          0          0          0          XT-PIC 
cascade
  4:         96        119         92        116    IO-APIC-edge  serial
  8:          1          0          0          0    IO-APIC-edge  rtc
  9:          0          0          0          0    IO-APIC-edge  acpi
 15:          2          1          1          0    IO-APIC-edge  ide1
 16:          0          0          0          0   IO-APIC-level
usb-uhci
 17:       1554       1572       1499       1622   IO-APIC-level  eth0
 18:          0          0          0          0   IO-APIC-level 
usb-uhci
 19:          0          0          0          0   IO-APIC-level 
usb-uhci
 28:       4937       4915       4881       5053   IO-APIC-level 
aic7xxx
 29:          4          4          4          4   IO-APIC-level 
aic7xxx
NMI:          0          0          0          0 te gcle1 ~ 4> cat
/proc/interrupts
           CPU0       CPU1       CPU2       CPU3       
  0:     117524     117823     117105     117564    IO-APIC-edge  timer
  1:        108        105        109        109    IO-APIC-edge 
keyboard
  2:          0          0          0          0          XT-PIC 
cascade
  4:         96        119         92        116    IO-APIC-edge  serial
  8:          1          0          0          0    IO-APIC-edge  rtc
  9:          0          0          0          0    IO-APIC-edge  acpi
 15:          2          1          1          0    IO-APIC-edge  ide1
 16:          0          0          0          0   IO-APIC-level 
usb-uhci
 17:       1554       1572       1499       1622   IO-APIC-level  eth0
 18:          0          0          0          0   IO-APIC-level 
usb-uhci
 19:          0          0          0          0   IO-APIC-level 
usb-uhci
 28:       4937       4915       4881       5053   IO-APIC-level 
aic7xxx
 29:          4          4          4          4   IO-APIC-level 
aic7xxx
NMI:          0          0          0          0 
LOC:     469377     469403     469435     469433 
PMC:          0          0          0          0 
ERR:          0
MIS:          0
te gcle1 ~ 5> 

LOC:     469377     469403     469435     469433 
PMC:          0          0          0          0 
ERR:          0
MIS:          0
te gcle1 ~ 5> 


On Wed, 2002-04-10 at 14:23, zxj@water.pku.edu.cn wrote:
> Hello
> 
>     I am using two Intel Giga NICs in a DELL PowerEdge 4600
>     with 2 Intel XEON 1.8GHz CPUs.
>     The matherboard is ServerWorks GC-HE.
>     The OS is RedHat 7.2, and the release of kernel is "2.4.7-10smp".
> 
>     The CPU0 has very heavy interrupt traffic,
>     you can see the following information:
> >>>>>
> [root@giga root]# cat /proc/interrupts
>            CPU0       CPU1       
>   0:     395117          0    IO-APIC-edge  timer
>   1:        653          0    IO-APIC-edge  keyboard
>   2:          0          0          XT-PIC  cascade
>   8:          1          0    IO-APIC-edge  rtc
>  12:         23          0    IO-APIC-edge  PS/2 Mouse
>  14:          2          0    IO-APIC-edge  ide0
>  18:         30          0   IO-APIC-level  aic7xxx
>  19:      86013          0   IO-APIC-level  eth0
>  20:      10394          0   IO-APIC-level  aic7xxx
>  21:         30          0   IO-APIC-level  aic7xxx
>  27:    5480873          0   IO-APIC-level  e1000
>  39:  164889152          0   IO-APIC-level  e1000
> NMI:          0          0 
> LOC:     395013     395012 
> ERR:          0
> MIS:          0
> >>>>>
> 
>     The kernel's SMP option is enable, but the CPU1 is always idle.
>     How to balance the interrpupts between two CPUs?
>     If you are convenient, please give me some advice quickly.
> 
>     Thank you!
> 
> Best regard
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
-- 
_________________________________________________________________________

Terje Eggestad                  mailto:terje.eggestad@scali.no
Scali Scalable Linux Systems    http://www.scali.com

Olaf Helsets Vei 6              tel:    +47 22 62 89 61 (OFFICE)
P.O.Box 150, Oppsal                     +47 975 31 574  (MOBILE)
N-0619 Oslo                     fax:    +47 22 62 89 51
NORWAY            
_________________________________________________________________________


  parent reply	other threads:[~2002-04-10 14:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <b5926afe75.afe75b5926@water.pku.edu.cn>
2002-04-10 12:54 ` Philippe Amelant
2002-04-10 13:21 ` lm0re
2002-04-10 14:06 ` Tim Kay
2002-04-10 14:14 ` Terje Eggestad [this message]
2002-04-10 14:31 ` Martin J. Bligh

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=1018448092.1479.39.camel@pc-16.office.scali.no \
    --to=terje.eggestad@scali.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zxj@water.pku.edu.cn \
    /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

all inboxes | Powered by JetHome®