From: "Wu, Fei" <fei2.wu@intel.com>
To: <linux-riscv@lists.infradead.org>, <linux-kernel@vger.kernel.org>,
<guoren@kernel.org>, <fei2.wu@intel.com>
Subject: riscv syscall performance regression
Date: Fri, 23 Feb 2024 13:28:57 +0800 [thread overview]
Message-ID: <738d3b74-1e10-4eb5-8c0d-1db33feb740a@intel.com> (raw)
Hi All,
I am doing some performance regression testing on a sophgo machine, the
unixbench syscall benchmark drops 14% from 6.1 to 6.6. This change
should be due to commit f0bddf50 riscv: entry: Convert to generic entry.
I know it's a tradeoff, just checking if it's been discussed already and
any improvement can be done.
The unixbench benchmark I used is:
$ ./syscall 10 getpid
The dynamic instruction count per syscall is increased from ~200 to
~250, this should be the key factor so I switch to test it on system
QEMU to avoid porting different versions on sophgo, and use plugin
libinsn.so to count the instructions. There are a few background noises
during test but the impact should be limited. This is dyninst count per
syscall I got:
* commit d0db02c6 (right before the change): ~200
* commit f0bddf50 (the change): ~250
* commit ffd2cb6b (latest upstream): ~250
Any comment?
Thanks,
Fei.
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next reply other threads:[~2024-02-23 5:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-23 5:28 Wu, Fei [this message]
2024-02-27 1:15 ` riscv syscall performance regression Guo Ren
2024-08-13 12:51 ` Alexandre Ghiti
2024-08-13 19:15 ` Charlie Jenkins
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=738d3b74-1e10-4eb5-8c0d-1db33feb740a@intel.com \
--to=fei2.wu@intel.com \
--cc=guoren@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.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