From: "Paul A. Clarke via Libc-alpha" <libc-alpha@sourceware.org>
To: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Cc: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>,
libc-alpha@sourceware.org,
Wilco Dijkstra <Wilco.Dijkstra@arm.com>
Subject: Re: [PATCH v3 5/7] math: Remove powerpc e_hypot
Date: Tue, 9 Nov 2021 13:28:00 -0600 [thread overview]
Message-ID: <20211109192800.GA4930@li-24c3614c-2adc-11b2-a85c-85f334518bdb.ibm.com> (raw)
In-Reply-To: <20211101202059.1026032-6-adhemerval.zanella@linaro.org>
On Mon, Nov 01, 2021 at 05:20:57PM -0300, Adhemerval Zanella via Libc-alpha wrote:
> The powerpc64 does show a big difference (which is mitigated slightly
> by the last path):
>
> power9 master:
>
> "hypot": {
> "workload-random": {
> "duration": 5.41027e+08,
> "iterations": 3.6e+07,
> "reciprocal-throughput": 14.6467,
> "latency": 15.4103,
> "max-throughput": 6.82746e+07,
> "min-throughput": 6.48916e+07
> }
> }
>
> power9 patched:
>
> "hypot": {
> "workload-random": {
> "duration": 5.37776e+08,
> "iterations": 2.4e+07,
> "reciprocal-throughput": 19.915,
> "latency": 24.8997,
> "max-throughput": 5.02135e+07,
> "min-throughput": 4.01612e+07
> }
> }
>
> power8 master:
>
> "hypot": {
> "workload-random": {
> "duration": 5.27104e+08,
> "iterations": 3.2e+07,
> "reciprocal-throughput": 15.872,
> "latency": 17.072,
> "max-throughput": 6.3004e+07,
> "min-throughput": 5.85755e+07
> }
> }
>
> power8 patched:
>
> "hypot": {
> "workload-random": {
> "duration": 5.21972e+08,
> "iterations": 2.2e+07,
> "reciprocal-throughput": 21.8583,
> "latency": 25.5937,
> "max-throughput": 4.57493e+07,
> "min-throughput": 3.9072e+07
> }
> }
The patches see poorer performance on Power10, also:
Power10 unpatched:
"hypot": {
"workload-random": {
"duration": 5.33875e+08,
"iterations": 4.8e+07,
"reciprocal-throughput": 8.47089,
"latency": 13.7739,
"max-throughput": 1.18051e+08,
"min-throughput": 7.2601e+07
}
}
Power10 patched:
"hypot": {
"workload-random": {
"duration": 5.34469e+08,
"iterations": 3.8e+07,
"reciprocal-throughput": 9.80905,
"latency": 18.3209,
"max-throughput": 1.01947e+08,
"min-throughput": 5.45825e+07
}
}
PC
next prev parent reply other threads:[~2021-11-09 19:28 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-01 20:20 [PATCH v3 0/7] Improve hypot() Adhemerval Zanella via Libc-alpha
2021-11-01 20:20 ` [PATCH v3 1/7] math: Simplify hypotf implementation Adhemerval Zanella via Libc-alpha
2021-11-01 20:20 ` [PATCH v3 2/7] math: Use an improved algorithm for hypot (dbl-64) Adhemerval Zanella via Libc-alpha
2021-11-01 20:20 ` [PATCH v3 3/7] math: Use an improved algorithm for hypotl (ldbl-96) Adhemerval Zanella via Libc-alpha
2021-11-01 20:20 ` [PATCH v3 4/7] math: Use an improved algorithm for hypotl (ldbl-128) Adhemerval Zanella via Libc-alpha
2021-11-01 20:20 ` [PATCH v3 5/7] math: Remove powerpc e_hypot Adhemerval Zanella via Libc-alpha
2021-11-09 19:28 ` Paul A. Clarke via Libc-alpha [this message]
2021-11-10 14:34 ` Wilco Dijkstra via Libc-alpha
2021-11-10 14:43 ` Paul A. Clarke via Libc-alpha
2021-11-10 14:47 ` Adhemerval Zanella via Libc-alpha
2021-11-11 17:05 ` Wilco Dijkstra via Libc-alpha
2021-11-11 17:13 ` Adhemerval Zanella via Libc-alpha
2021-11-11 19:48 ` Wilco Dijkstra via Libc-alpha
2021-11-11 20:54 ` Adhemerval Zanella via Libc-alpha
2021-11-01 20:20 ` [PATCH v3 6/7] i386: Move hypot implementation to C Adhemerval Zanella via Libc-alpha
2021-11-01 20:20 ` [PATCH v3 7/7] math: Remove the error handling wrapper from hypot and hypotf Adhemerval Zanella via Libc-alpha
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
List information: https://www.gnu.org/software/libc/involved.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211109192800.GA4930@li-24c3614c-2adc-11b2-a85c-85f334518bdb.ibm.com \
--to=libc-alpha@sourceware.org \
--cc=Wilco.Dijkstra@arm.com \
--cc=adhemerval.zanella@linaro.org \
--cc=pc@us.ibm.com \
--cc=tuliom@linux.ibm.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).