Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Apr 2015 15:42:53 +1000 (EST)
From:      Bruce Evans <brde@optusnet.com.au>
To:        Eitan Adler <eadler@freebsd.org>
Cc:        Adrian Chadd <adrian@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, Kurt Lidl <lidl@pix.net>, Bruce Evans <brde@optusnet.com.au>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r281103 - head/sys/amd64/amd64
Message-ID:  <20150406152653.K1066@besplex.bde.org>
In-Reply-To: <CAF6rxgkZA=GbyQFhQC63c9z%2By_ki%2Byjt6fZW%2BP9cHve5L=pYoA@mail.gmail.com>
References:  <201504050518.t355IFVJ001786@svn.freebsd.org> <20150405163305.A2515@besplex.bde.org> <CAF6rxgkZA=GbyQFhQC63c9z%2By_ki%2Byjt6fZW%2BP9cHve5L=pYoA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 6 Apr 2015, Eitan Adler wrote:

> + a few people interested in the diff
>
> On 5 April 2015 at 02:55, Bruce Evans <brde@optusnet.com.au> wrote:
>> On Sun, 5 Apr 2015, Eitan Adler wrote:
>
> I did not confirm the performance impact, but the submitter and others
> indicated they saw a difference.
>
> Do you have specific data that shows that there was an improvement?

Only micro-benchmark output that indicates little difference.  This
is probably very MD (depending on write combining hardware), so you
might only see a difference on some systems.

I also have micro-benchmark output for network packets/second that
shows 10% differences for the change of adding 1 byte of padding
in code that is never executed.  This seems to be due to different
cache misses.  To eliminate differences from this (except ones
caused by actually running different code), create a reference
version by padding the functions or data to be changed so that
the change doesn't affect the address of anything except the
internals of the changed parts.

I might try a makeworld run to see if changing the non-temporal
accesses in pagecopy and pagezero to cached.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150406152653.K1066>