public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrea Arcangeli <andrea@suse.de>
To: "J.A. Magallon" <jamagallon@able.es>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4.19pre10aa3
Date: Fri, 21 Jun 2002 06:31:32 +0200	[thread overview]
Message-ID: <20020621043132.GA29970@dualathlon.random> (raw)
In-Reply-To: <20020620224831.GE1742@werewolf.able.es>

On Fri, Jun 21, 2002 at 12:48:31AM +0200, J.A. Magallon wrote:
> 
> On 2002.06.20 Andrea Arcangeli wrote:
> >
> >Also merges some stuff from 19pre10jam2, not all the same, in particular
> >irq-balance is quite different, previous algorithm looked not really
> >good while auditing it, benchmarks will tell, any feedback on this in
> >particular would be welcome. Have a look at xosview to see the
> >difference.
> >
> 
> Still not tested on the dual xeon, but on a BX with doal PII:
> werewolf:~# cat /proc/interrupts
>            CPU0       CPU1       
>   0:      83491      63920    IO-APIC-edge  timer
>   1:       2044       1213    IO-APIC-edge  keyboard
>   2:          0          0          XT-PIC  cascade
>   5:          1          1   IO-APIC-level  bttv
>   8:          0          1    IO-APIC-edge  rtc
>  10:      52335      24289   IO-APIC-level  aic7xxx, EMU10K1
>  11:      69049      50801   IO-APIC-level  eth0, nvidia
>  12:      33155      23661    IO-APIC-edge  PS/2 Mouse
>  14:          2         14    IO-APIC-edge  ide0
>  15:          3         13    IO-APIC-edge  ide1
> NMI:          0          0 
> LOC:     147281     147325 
> ERR:          0
> MIS:         36
> 
> Old patch, on the dual P4Xeon box:
> werewolf:~> ssh annwn cat /proc/interrupts
>            CPU0       CPU1       CPU2       CPU3       
>   0:    3302667    3295991    3299383    3299984    IO-APIC-edge  timer
>   1:       4813       4680       4796       4846    IO-APIC-edge  keyboard
>   2:          0          0          0          0          XT-PIC  cascade
>   8:          1          0          0          0    IO-APIC-edge  rtc
>  12:      64959      64803      65238      63623    IO-APIC-edge  PS/2 Mouse
>  16:      65038      66347      60169      67167   IO-APIC-level  e100
>  17:          0          0          0          0   IO-APIC-level  Intel ICH2
>  18:     529910     524941     535660     535544   IO-APIC-level  aic7xxx, eth2
>  19:      71883      71973      72540      72460   IO-APIC-level  usb-uhci, eth0
>  22:    2497022    2491901    2495182    2495298   IO-APIC-level  nvidia
>  23:          0          0          0          0   IO-APIC-level  usb-uhci
> NMI:          0          0          0          0 
> LOC:   13198438   13198374   13198440   13198453 
> ERR:          0
> MIS:          0
> 
> I think the old one looks much better... ;)

I think you're missing, the more irq you get in the same cpu the better.
You're wasting tons of icache for no good reason. It's an illusion that
seeing the number distributed is a good thing. With the foster the bad
thing is that all irqs are delivered to the same cpu, so the load cannot
scale, but for any benchmark (at least before my patch) you should use
irq binding to avoid wasting icache, now with my logic maybe we can rely
on the random distribution under load, and on the idle cpu distribution
in multiway and in general in workloads with sometime idle cpus.

Andrea

      reply	other threads:[~2002-06-21  4:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-20  5:59 2.4.19pre10aa3 Andrea Arcangeli
2002-06-20  6:04 ` 2.4.19pre10aa3 David S. Miller
2002-06-20  6:30   ` 2.4.19pre10aa3 Andrea Arcangeli
2002-06-20 11:44 ` 2.4.19pre10aa3 Andrey Nekrasov
2002-06-20 13:19   ` 2.4.19pre10aa3 Andrea Arcangeli
2002-06-20 17:03     ` 2.4.19pre10aa3 Andrea Arcangeli
2002-06-20 13:05 ` 2.4.19pre10aa3 J.A. Magallon
2002-06-20 13:32   ` 2.4.19pre10aa3 Andrea Arcangeli
2002-06-20 14:07     ` 2.4.19pre10aa3 Andrea Arcangeli
2002-06-20 14:05 ` 2.4.19pre10aa3 Ingo Molnar
2002-06-20 14:40   ` 2.4.19pre10aa3 Andrea Arcangeli
2002-06-20 14:44     ` 2.4.19pre10aa3 Andrea Arcangeli
2002-06-20 15:40 ` 2.4.19pre10aa3 Heinz Diehl
2002-06-20 22:48 ` 2.4.19pre10aa3 J.A. Magallon
2002-06-21  4:31   ` Andrea Arcangeli [this message]

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=20020621043132.GA29970@dualathlon.random \
    --to=andrea@suse.de \
    --cc=jamagallon@able.es \
    --cc=linux-kernel@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