From: Helge Deller <deller@gmx.de>
To: John David Anglin <dave.anglin@bell.net>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>,
linux-parisc@vger.kernel.org
Subject: Re: [PATCH] parisc: Re: [PATCH] parisc: adjust L1_CACHE_BYTES to 128 bytes on PA8800 and PA8900 CPUs
Date: Mon, 28 Sep 2015 17:57:32 +0200 [thread overview]
Message-ID: <5609636C.7010604@gmx.de> (raw)
In-Reply-To: <65929045-FF25-4BFB-BA89-F07A47328F1F@bell.net>
Hi Dave,
On 27.09.2015 18:27, John David Anglin wrote:
> On 2015-09-22, at 12:20 PM, Helge Deller wrote:
>> The baseline for all results is the timing with a vanilla kernel 4.2:
>> real 0m13.596s
>> user 0m18.152s
>> sys 0m35.752s
>>
>>
>> The next results are with the atomic_hash (a) patch applied:
>> For ATOMIC_HASH_SIZE = 4.
>> real 0m21.892s
>> user 0m27.492s
>> sys 0m59.704s
>>
>> For ATOMIC_HASH_SIZE = 64.
>> real 0m20.604s
>> user 0m24.832s
>> sys 0m56.552s
>>
> Attached is a revised patch "a" to try to improve performance of atomic_t variables. If you get a chance, could
> you see how it performs.
here are the numbers for your revised "a" patch (on top of vanilla kernel 4.2):
real 0m20.040s
user 0m22.876s
sys 0m56.724s
(Variations can be around +- 0.5 seconds)
If you want to test yourself:
The testcase executable is on sibaris: /home/var_lib_sbuild_build/libatomic/libatomic-ops-7.4.2/test_atomic
Helge
next prev parent reply other threads:[~2015-09-28 15:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-02 16:20 [PATCH] parisc: adjust L1_CACHE_BYTES to 128 bytes on PA8800 and PA8900 CPUs Helge Deller
2015-09-03 13:30 ` James Bottomley
2015-09-03 13:57 ` James Bottomley
2015-09-05 21:30 ` Helge Deller
2015-09-22 16:20 ` Helge Deller
2015-09-23 0:12 ` John David Anglin
2015-09-23 19:30 ` Helge Deller
2015-09-23 21:00 ` John David Anglin
2015-09-24 14:20 ` James Bottomley
2015-09-24 16:39 ` John David Anglin
2015-09-24 16:57 ` James Bottomley
2015-09-25 12:20 ` John David Anglin
2015-09-25 15:56 ` John David Anglin
2015-09-27 16:27 ` [PATCH] parisc: " John David Anglin
2015-09-28 15:57 ` Helge Deller [this message]
2015-09-28 20:00 ` John David Anglin
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=5609636C.7010604@gmx.de \
--to=deller@gmx.de \
--cc=James.Bottomley@HansenPartnership.com \
--cc=dave.anglin@bell.net \
--cc=linux-parisc@vger.kernel.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 NNTP newsgroup(s).