From: Ralf Baechle <ralf@linux-mips.org>
To: David Daney <ddaney@caviumnetworks.com>
Cc: linux-mips@linux-mips.org
Subject: Re: [PATCH 0/3] MIPS vdso and signal delivery optimization (v2)
Date: Fri, 19 Feb 2010 15:38:44 +0100 [thread overview]
Message-ID: <20100219143844.GA19417@linux-mips.org> (raw)
In-Reply-To: <20100219135727.GA15581@linux-mips.org>
On Fri, Feb 19, 2010 at 02:57:27PM +0100, Ralf Baechle wrote:
> > Before:
> > n64 - Signal handler overhead: 14.517 microseconds
> > n32 - Signal handler overhead: 14.497 microseconds
> > o32 - Signal handler overhead: 16.637 microseconds
> >
> > After:
> >
> > n64 - Signal handler overhead: 7.935 microseconds
> > n32 - Signal handler overhead: 7.334 microseconds
> > o32 - Signal handler overhead: 8.628 microsecond
>
> On a 180MHz 2 CPU single-node IP27:
>
> Before:
> Signal handler installation: 3.524 microseconds
> Signal handler overhead: 37.009 microseconds
> Protection fault: 4.264 microseconds
>
> After:
> Signal handler installation: 3.536 microseconds
> Signal handler overhead: 14.331 microseconds
> Protection fault: 3.600 microseconds
>
> Everything meassured with very ancient O32 lmbench 2-alpha11 binaries.
> IP27 has processors in separate packages so the cache-to-cache overhead
> and thus the speedup is much higher than you have observed.
I dug up an old 2.6.12-rc1 kernel binary and reran lmbench on the same
system:
Signal handler installation: 4.207 microseconds
Signal handler overhead: 29.618 microseconds
Protection fault: 2.105 microseconds
And on 2.4.25:
Signal handler installation: 3.674 microseconds
Signal handler overhead: 8.855 microseconds
Protection fault: 3.159 microseconds
Ralf
prev parent reply other threads:[~2010-02-19 14:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-19 0:13 [PATCH 0/3] MIPS vdso and signal delivery optimization (v2) David Daney
2010-02-19 0:13 ` [PATCH 1/3] MIPS: Add SYSCALL to uasm David Daney
2010-03-16 19:55 ` Ralf Baechle
2010-02-19 0:13 ` [PATCH 2/3] MIPS: Preliminary vdso David Daney
2010-02-23 20:40 ` Manuel Lauss
2010-02-23 21:27 ` David Daney
2010-02-23 21:35 ` Ralf Baechle
2010-03-16 19:55 ` Ralf Baechle
2010-02-19 0:13 ` [PATCH 3/3] MIPS: Move signal trampolines off of the stack David Daney
2010-03-16 19:56 ` Ralf Baechle
2010-02-19 2:02 ` [PATCH 0/3] MIPS vdso and signal delivery optimization (v2) David Daney
2010-02-19 22:08 ` David Daney
2010-02-19 13:57 ` Ralf Baechle
2010-02-19 14:38 ` Ralf Baechle [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=20100219143844.GA19417@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=ddaney@caviumnetworks.com \
--cc=linux-mips@linux-mips.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.