From: Gabriel Paubert <paubert@iram.es>
To: Paul Mackerras <paulus@samba.org>
Cc: Fred Gray <fegray@socrates.berkeley.edu>,
linuxppc-dev@lists.linuxppc.org
Subject: Re: ppc_irq_dispatch_handler dominating profile?
Date: Mon, 28 Apr 2003 10:53:42 +0200 [thread overview]
Message-ID: <20030428085342.GA7396@iram.es> (raw)
In-Reply-To: <16044.23965.747962.112267@nanango.paulus.ozlabs.org>
On Mon, Apr 28, 2003 at 08:45:49AM +1000, Paul Mackerras wrote:
>
> Fred Gray writes:
>
> > In both cases, ppc_irq_dispatch_handler is the "winner." I'm not very familiar
> > with the kernel profiler, especially on the PowerPC, so I don't know whether
> > or not this is likely to be an artifact of piled-up timer interrupts.
> > Otherwise, it suggests that something dramatically inefficient is
> > happening in the interrupt handling chain, since it spends twice as much
> > time here as it does touching all of the outgoing data for the copy and
> > checksum.
>
> ppc_irq_dispatch_handler is the first place where interrupts get
> turned on in the interrupt handling path, so all the time spent saving
> registers and finding out which interrupt occurred gets attributed to
> it.
>
> How many interrupts per second are you handling? A 200MHz 604e isn't
> a fast processor by today's standards. Also, how fast is your memory
> system? I would be a little surprised if the memory controller could
> deliver any more than about 100MB/s.
Hmmm, I get more than 100MB/s on my MVME2600 with a 200MHz 603e,
although not the half GB/s Motorola claims it is capable of. But a 604
should be a bit faster. The chipset is old (1997) but it was rather
fast when it came out, especially because the memory interface is 128
bits wide. This said, putting a gbit Ethernet (PMC module I suppose)
on it is stretching it a bit.
Is the 100Mb/s of the builtin interface too slow for you?
Gabriel.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2003-04-28 8:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-27 19:42 ppc_irq_dispatch_handler dominating profile? Fred Gray
2003-04-27 22:45 ` Paul Mackerras
2003-04-28 7:33 ` Fred Gray
2003-04-28 8:53 ` Gabriel Paubert [this message]
2003-04-28 12:42 ` Fred Gray
2003-04-29 12:08 ` Gabriel Paubert
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=20030428085342.GA7396@iram.es \
--to=paubert@iram.es \
--cc=fegray@socrates.berkeley.edu \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=paulus@samba.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;
as well as URLs for NNTP newsgroup(s).