public inbox for linux-arch@vger.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd-ynQEQJNshbs@public.gmane.org>
To: Paul Mackerras <paulus-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
Cc: Christoph Hellwig <hch-jcswGhMUV9g@public.gmane.org>,
	linux-arch-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linuxppc-dev-mnsaURCQ41sdnm+yROfE0A@public.gmane.org,
	mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Subject: Re: [PATCH] Add fast little-endian switch system call
Date: Tue, 29 Apr 2008 20:40:47 +0200	[thread overview]
Message-ID: <20080429184047.47CB7247B4@gemini.denx.de> (raw)
In-Reply-To: Your message of "Tue, 29 Apr 2008 12:46:08 +1000." <18454.35824.527711.355488-UYQwCShxghk5kJ7NmlRacFaTQe2KTcn/@public.gmane.org>

In message <18454.35824.527711.355488-UYQwCShxghk5kJ7NmlRacFaTQe2KTcn/@public.gmane.org> you wrote:
> 
> > Am I missing something here or does this add a branch for every normal
> > syscall?
> 
> It does, but the impact is so small as to be unmeasurable with
> lmbench, even on the null syscall measurement.  The overhead of the
> easily-predicted not-taken branch is completely swamped by the amount
> of time that the sc and rfid instructions take.  I had it under a
> config option at one point but then decided not to bother with that
> when I couldn't measure any difference.

This probably depends a bit on  the  performance  of  the  system  in
question. Did you measure it - for example - on a 50 MHz MPC850 ?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd-ynQEQJNshbs@public.gmane.org
To get something done, a committee should consist  of  no  more  than
three men, two of them absent.

WARNING: multiple messages have this Message-ID (diff)
From: Wolfgang Denk <wd@denx.de>
To: Paul Mackerras <paulus@samba.org>
Cc: Christoph Hellwig <hch@lst.de>,
	linux-arch@vger.kernel.org, linuxppc-dev@ozlabs.org,
	mtk.manpages@gmail.com
Subject: Re: [PATCH] Add fast little-endian switch system call
Date: Tue, 29 Apr 2008 20:40:47 +0200	[thread overview]
Message-ID: <20080429184047.47CB7247B4@gemini.denx.de> (raw)
Message-ID: <20080429184047.jjf_JtgSUXLq9taXeqnoobsB82Ozd16ZJEjAZG3aeeA@z> (raw)
In-Reply-To: Your message of "Tue, 29 Apr 2008 12:46:08 +1000." <18454.35824.527711.355488@cargo.ozlabs.ibm.com>

In message <18454.35824.527711.355488@cargo.ozlabs.ibm.com> you wrote:
> 
> > Am I missing something here or does this add a branch for every normal
> > syscall?
> 
> It does, but the impact is so small as to be unmeasurable with
> lmbench, even on the null syscall measurement.  The overhead of the
> easily-predicted not-taken branch is completely swamped by the amount
> of time that the sc and rfid instructions take.  I had it under a
> config option at one point but then decided not to bother with that
> when I couldn't measure any difference.

This probably depends a bit on  the  performance  of  the  system  in
question. Did you measure it - for example - on a 50 MHz MPC850 ?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
To get something done, a committee should consist  of  no  more  than
three men, two of them absent.

  parent reply	other threads:[~2008-04-29 18:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <18453.18943.906693.409245@cargo.ozlabs.ibm.com>
     [not found] ` <18453.18943.906693.409245-UYQwCShxghk5kJ7NmlRacFaTQe2KTcn/@public.gmane.org>
2008-04-28 14:43   ` [PATCH] Add fast little-endian switch system call Christoph Hellwig
2008-04-28 14:43     ` Christoph Hellwig
     [not found]     ` <20080428144332.GA17109-jcswGhMUV9g@public.gmane.org>
2008-04-28 15:42       ` Michael Kerrisk
2008-04-28 15:42         ` Michael Kerrisk
2008-04-29  2:46       ` Paul Mackerras
2008-04-29  2:46         ` Paul Mackerras
     [not found]         ` <18454.35824.527711.355488-UYQwCShxghk5kJ7NmlRacFaTQe2KTcn/@public.gmane.org>
2008-04-29 18:40           ` Wolfgang Denk [this message]
2008-04-29 18:40             ` Wolfgang Denk
     [not found]             ` <20080429184047.47CB7247B4-C2Gvrrd9BC/j/ljBK/0BTg@public.gmane.org>
2008-04-29 18:46               ` Christoph Hellwig
2008-04-29 18:46                 ` Christoph Hellwig
2008-04-29 21:16               ` Paul Mackerras
2008-04-29 21:16                 ` Paul Mackerras

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=20080429184047.47CB7247B4@gemini.denx.de \
    --to=wd-ynqeqjnshbs@public.gmane.org \
    --cc=hch-jcswGhMUV9g@public.gmane.org \
    --cc=linux-arch-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linuxppc-dev-mnsaURCQ41sdnm+yROfE0A@public.gmane.org \
    --cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=paulus-eUNUBHrolfbYtjvyW6yDsg@public.gmane.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