This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] benchtests/Makefile: Run the string benchmarks four times by default.
- From: Siddhesh Poyarekar <siddhesh at redhat dot com>
- To: Will Newton <will dot newton at linaro dot org>
- Cc: libc-alpha <libc-alpha at sourceware dot org>, Patch Tracking <patches at linaro dot org>
- Date: Thu, 5 Sep 2013 16:35:31 +0530
- Subject: Re: [PATCH] benchtests/Makefile: Run the string benchmarks four times by default.
- Authentication-results: sourceware.org; auth=none
- References: <52274838 dot 7010902 at linaro dot org> <20130905103119 dot GJ4306 at spoyarek dot pnq dot redhat dot com> <CANu=DmiRDXr6rn17w3UoyYGVzdETQqojV1r6V7Uu3jFMUzE90Q at mail dot gmail dot com>
On Thu, Sep 05, 2013 at 11:36:00AM +0100, Will Newton wrote:
> > I wonder if this would make a lot of difference. On an otherwise idle
> > system (which is essentially a pre-condition for benchmark runs), I
> > would expect more or less similar page placement (i.e. reachable via
> > comparable indices) for consecutive executions of a program. You
> > would probably need to have something spawned in parallel to actually
> > make a difference.
>
> There is no guarantee the OS will give you a different set of physical
> pages but it does seem to have the desired effect in practice.
OK, multiple runs are harmless, so I don't mind this change if it
smooths out any inconsistencies in practice. The patch also looks OK
to me but I'd like a consolidated ouput instead of the four output
files, maybe as a separate change. I'd like to see if anyone else has
objections to this, so please wait for another ack before you commit
it.
Siddhesh