From: "Emilio G. Cota" <cota@braap.org>
To: "Alex Bennée" <alex.bennee@linaro.org>
Cc: Howard Spoelstra <hsp.cat7@gmail.com>,
qemu-devel qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH v3 00/22] re-factor softfloat and add fp16 functions
Date: Sun, 28 Jan 2018 15:41:51 -0500 [thread overview]
Message-ID: <20180128204151.GA3787@flamenco> (raw)
In-Reply-To: <87a7x26qlv.fsf@linaro.org>
On Thu, Jan 25, 2018 at 12:59:56 +0000, Alex Bennée wrote:
> Howard Spoelstra <hsp.cat7@gmail.com> writes:
(snip)
> > Recent tcg optimisations had improved processor and floating point
> > performance considerably, but that gain seems to be more than lost for
> > the floating point performance.
> >
> > Any idea what is causing this?
>
> Well we expected a little degradation but it's a bit more than I
> expected.
It's pretty bad (almost a 2X mean slowdown) for the three FP workloads
in dbt-bench:
[FWIW before is 52483b067cce, after is 00fc0c00ca9fa26]
NBench score; higher is better
Host: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
6 +-+-----------+-------------+--------------+-------------+-----------+-+
| ***** |
| * * softfloat-before |
5 +-+.....................*...*.........******...softfloat-after.......+-+
| * * * * ****** |
| * * * * * * |
4 +-+.....................*...*.........*....*........*....*...........+-+
| * * * * * * |
3 +-+......******.........*...*.........*....*........*....*...........+-+
| * * * *##### * *#### * * |
| * * * * # * * # * *##### |
2 +-+......*....*.........*...*....#....*....*...#....*....*....#......+-+
| * * * * # * * # * * # |
| * *##### * * # * * # * * # |
1 +-+......*....*....#....*...*....#....*....*...#....*....*....#......+-+
| * * # * * # * * # * * # |
| * * # * * # * * # * * # |
0 +-+------******#####----*****#####----******####----******#####------+-+
FOURIER NEURAL NET LU DECOMPOSITION gmean
You can obtain the above on your machine (assuming /tmp/softfloat-$branch
corresponds to the before/after x86_64-linux-user binaries) with:
$ time for branch in before after; do cd $DBT_BENCH/nbench && \
taskset -c 0 /tmp/softfloat-$branch \
$DBT_BENCH/nbench/nbench -V -C$DBT_BENCH/nbench/FP.DAT \
| tee $DBT_BENCH/softfloat-$branch.nbench || break && cd -; \
done
And then plot the results with:
$ ./breakdown.pl --suite=fp --barchart softfloat-before.nbench softfloat-after.nbench \
| $BARCHART/barchart.pl --extra-gnuplot='set term dumb 80' \
--extra-gnuplot='set title "NBench score; higher is better\nHost: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz"' \
--extra-gnuplot="set yrange [0:]" --extra="=norotate" | gnuplot
You'll need both dbt-bench and barchart:
https://github.com/cota/dbt-bench (clone with --recursive and build nbench first.
You can also use CROSS_COMPILE there to benchmark other linux-user targets)
https://github.com/cota/barchart
Hope that helps,
Emilio
next prev parent reply other threads:[~2018-01-28 20:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-24 21:49 [Qemu-devel] [PATCH v3 00/22] re-factor softfloat and add fp16 functions Howard Spoelstra
2018-01-25 0:09 ` Richard Henderson
2018-01-25 0:15 ` Howard Spoelstra
2018-01-25 12:59 ` Alex Bennée
2018-01-28 20:41 ` Emilio G. Cota [this message]
2018-01-29 19:14 ` Richard Henderson
-- strict thread matches above, loose matches on Subject: below --
2018-01-24 13:12 Alex Bennée
2018-01-24 13:42 ` no-reply
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=20180128204151.GA3787@flamenco \
--to=cota@braap.org \
--cc=alex.bennee@linaro.org \
--cc=hsp.cat7@gmail.com \
--cc=qemu-devel@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.