mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andreas Kleen <ak@suse.de>
To: "Bryan O'Sullivan" <bos@pathscale.com>
Cc: Matt Mackall <mpm@selenic.com>, Andrew Morton <akpm@osdl.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [RFC] [PATCH] Add memcpy32 function
Date: Wed, 28 Dec 2005 19:22:30 +0100 (CET)	[thread overview]
Message-ID: <6232114.1135794150848.SLOX.WebMail.wwwrun@imap-dhs.suse.de> (raw)
In-Reply-To: <1135793503.1527.125.camel@serpentine.pathscale.com>

Am Mi 28.12.2005 19:11 schrieb Bryan O'Sullivan <bos@pathscale.com>:

> On Wed, 2005-12-28 at 18:50 +0100, Andreas Kleen wrote:
>
> > Ok thanks. And do you have numbers that show that the assembly
> > function with rep ; movsl actually improves performance over C?
>
> I'll see if I can ferret some numbers out. If not, I'll generate them,
> but it will take me a day or so. I'm pretty sure it makes a difference
> of tens to hundreds of nanoseconds, which in our case is very
> significant (we measure some of our user-level performance in
> increments
> of 10ns, very repeatably).

If you test the C version use

CFLAGS_memcpy32.o := -funroll-loops

BTW on x86-64 with CONFIG_UNORDERED_IO writel can actually expand to a
non temporal write which might break it.

-Andi



      reply	other threads:[~2005-12-28 18:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-23  1:35 Bryan O'Sullivan
2005-12-23  2:49 ` Dave Jones
2005-12-23 17:16   ` Matt Mackall
2005-12-23 17:42     ` Christoph Hellwig
2005-12-23 18:14       ` Matt Mackall
2005-12-23 23:50       ` Bryan O'Sullivan
2005-12-28 11:01 ` Andi Kleen
2005-12-28 15:00   ` Bryan O'Sullivan
2005-12-28 17:50     ` Andreas Kleen
2005-12-28 18:11       ` Bryan O'Sullivan
2005-12-28 18:22         ` Andreas Kleen [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=6232114.1135794150848.SLOX.WebMail.wwwrun@imap-dhs.suse.de \
    --to=ak@suse.de \
    --cc=akpm@osdl.org \
    --cc=bos@pathscale.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mpm@selenic.com \
    /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®