public inbox for libc-ports@sourceware.org
 help / color / mirror / Atom feed
From: "Ondřej Bílka" <neleai@seznam.cz>
To: Will Newton <will.newton@linaro.org>
Cc: Siddhesh Poyarekar <siddhesh@redhat.com>,
	Carlos O'Donell <carlos@redhat.com>,
	"libc-ports@sourceware.org" <libc-ports@sourceware.org>,
	libc-alpha <libc-alpha@sourceware.org>
Subject: Re: benchmark improvements (Was: Re: [PATCH] sysdeps/arm/armv7/multiarch/memcpy_impl.S: Improve performance.)
Date: Tue, 03 Sep 2013 17:48:00 -0000	[thread overview]
Message-ID: <20130903174840.GB2028@domone.kolej.mff.cuni.cz> (raw)
In-Reply-To: <CANu=DmgDYv0JFxqCYUkL2iz_GTSm0LKJvmtGD_i04wB=qDvu7A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1487 bytes --]

On Tue, Sep 03, 2013 at 02:46:13PM +0100, Will Newton wrote:
> On 2 September 2013 15:20, Siddhesh Poyarekar <siddhesh@redhat.com> wrote:
> >> The glibc benchmarks also have some other weaknesses that should
> >> really be addressed, hopefully I'll have some time to write patches
> >> for some of this work.
> >
> > I know Ondrej had proposed a few improvements as well.  I'd like to
> > see those reposted so that we can look at it and if possible, have
> > them merged in.
> 
> I already have a patch to do multiple runs of benchmarks  - some
> things like physical page allocation that can impact a benchmark can
> only be controlled for this way. As I mentioned above I'd also like to
> get graphing capability in there too. Beyond that it would be nice to
> have a look at the various sizes and alignments used and make sure
> there is a reasonably complete set, and to make sure the tests are run
> for a useful number of iterations (not too large or too small).
> 
For alignments do you want existing implementation to take

a) 0.031s b) 0.080s c) 0.036s

If you want to get your implementation accepted pick a), if you do not
like ACME implementation pick b), otherwise pick c). 

I got those numbers by 'benchmarking' memchr with alignment 15 and size
15 on ivy bridge. (benchmark attached.) 

Current memchr implementation has separate branches for loads that cross
cache line and those that don't. For a) addresses are of form 64*x+15,
for b) 64*x+63, and for c) 16*x+15.




[-- Attachment #2: memchr.tar.bz2 --]
[-- Type: application/octet-stream, Size: 6001 bytes --]

  reply	other threads:[~2013-09-03 17:48 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-12  7:55 [PATCH] sysdeps/arm/armv7/multiarch/memcpy_impl.S: Improve performance Will Newton
2013-08-27  7:46 ` Will Newton
2013-08-30 17:14   ` Carlos O'Donell
2013-08-30 18:48     ` Will Newton
2013-08-30 19:26       ` Carlos O'Donell
2013-09-02 14:18         ` Will Newton
2013-09-03 16:14           ` Carlos O'Donell
     [not found]         ` <CANu=DmhA9QvSe6RS72Db2P=yyjC72fsE8d4QZKHEcNiwqxNMvw@mail.gmail.com>
2013-09-02 14:18           ` benchmark improvements (Was: Re: [PATCH] sysdeps/arm/armv7/multiarch/memcpy_impl.S: Improve performance.) Siddhesh Poyarekar
2013-09-03 13:46             ` Will Newton
2013-09-03 17:48               ` Ondřej Bílka [this message]
2013-09-02 19:57           ` [PATCH] sysdeps/arm/armv7/multiarch/memcpy_impl.S: Improve performance Ondřej Bílka
2013-09-03 16:18           ` Carlos O'Donell
2013-09-03 17:37             ` Ondřej Bílka
2013-09-03 17:52               ` Carlos O'Donell
2013-09-03 18:57                 ` Ondřej Bílka
2013-09-03 19:15                   ` Carlos O'Donell
2013-09-04  7:27                     ` Siddhesh Poyarekar
2013-09-04 11:03                       ` Ondřej Bílka
2013-09-04 11:43                         ` Siddhesh Poyarekar
2013-09-04 17:37                         ` Ryan S. Arnold
2013-09-05  8:04                           ` Ondřej Bílka
2013-09-04 15:30                       ` Carlos O'Donell
2013-09-04 17:35                       ` Ryan S. Arnold
2013-09-05 11:07                         ` Ondřej Bílka
2013-09-05 11:54                         ` Joseph S. Myers
2013-09-03 19:34               ` Ryan S. Arnold
2013-09-07 11:55                 ` Ondřej Bílka
2013-09-03 19:31             ` Ryan S. Arnold
2013-09-03 19:54               ` Carlos O'Donell
2013-09-03 20:56                 ` Ryan S. Arnold
2013-09-03 23:29                   ` Ondřej Bílka
2013-09-03 23:31                   ` Carlos O'Donell
2013-09-03 22:27               ` Ondřej Bílka
2013-08-29 23:58 ` Joseph S. Myers
2013-08-30 14:56   ` Will Newton
2013-08-30 15:18     ` Joseph S. Myers
2013-08-30 18:46       ` Will Newton

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=20130903174840.GB2028@domone.kolej.mff.cuni.cz \
    --to=neleai@seznam.cz \
    --cc=carlos@redhat.com \
    --cc=libc-alpha@sourceware.org \
    --cc=libc-ports@sourceware.org \
    --cc=siddhesh@redhat.com \
    --cc=will.newton@linaro.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 read-only IMAP folder(s) and NNTP newsgroup(s).