New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
t/one-core.sh: Adding script to run the one-core io benchmark #1272
Conversation
Thanks, I think that will help people who also try to reproduce the measurements. Some thoughts:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ErwanAliasr1 Could you push this script through Shellcheck and see what you think of its comments?
That was a first run to share the idea. I will improve it
Le ven. 17 sept. 2021 à 11:10, Sitsofe Wheeler ***@***.***> a
écrit :
… ***@***.**** commented on this pull request.
@ErwanAliasr1 <https://github.com/ErwanAliasr1> Could you push this
script through Shellcheck and see what you think of its comments?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1272 (review)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCUIHM6NKOB3QNKICKULQDUCMA2FANCNFSM5EFTIOPA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
|
879d066
to
5f0f5ec
Compare
Just pushed a new version that set the proper cpu scaling & idle governor and set io_poll to 1 |
5f0f5ec
to
c5e79bb
Compare
@ByteHamster Just push a version that prints the nvme config like : Hope you'll like it |
c5e79bb
to
c3e15df
Compare
Associated to fio, the t/io_uring test is used to compute the max IOPS a single core can get. Jens published several times the procedure he uses, but trying to reproduce this setup is error-prone. It's easy to miss a configuration and get a different result. This script is about setting up a common setup to reproduce these runs. From the fio directory, execute like the folliowing : [user@fio] t/one-core.sh /dev/nvme0n1 [other drives] ##################################################: system: CPU: AMD EPYC 7502P 32-Core Processor system: MEMORY: 2933 MT/s system: KERNEL: 5.10.35-1.el8.x86_64 nvme0n1: MODEL=Samsung SSD 970 EVO Plus 2TB FW=2B2QEXM7 serial=S59CNM0R417706B PCI=0000:01:00.0@8.0 GT/s PCIe IRQ=64 NUMA=0 CPUS=0-23 nvme0n1: set none as io scheduler nvme0n1: iostats set to 1. nvme0n1: nomerge set to 0. Warning: For better performance, you should enable nvme poll queues by setting nvme.poll_queues=32 on the kernel commande line ##################################################: io_uring: Running taskset -c 0,12 t/io_uring -b512 -d128 -c32 -s32 -p1 -F1 -B1 -n4 /dev/nvme0n1 [...] IOPS=731008, BWPS=356 MB IOS/call=32/31, inflight=(108 127 126 106) This script will take care of the following items: - nvme poll queues - io scheduler - iostats - io_poll - nomerge - finding the logical cores running on the first physical core - cpu frequency governor on performance - cpu idle governor on menu - calling t/io_uring with the proper parameters in 512 bytes fashion - reporting the nvme & pci configuration Signed-off-by: Erwan Velu <erwanaliasr1@gmail.com>
c3e15df
to
0c6c0eb
Compare
Just added the processor, memory speed & kernel version |
@axboe unless you see other stuff to add here, I think this PR is ready |
Associated to fio, the t/io_uring test is used to compute the max IOPS a
single core can get.
Jens published several times the procedure he uses, but trying to
reproduce this setup is error-prone. It's easy to miss a configuration
and get a different result.
This script is about setting up a common setup to reproduce these runs.
From the fio directory, execute like the folliowing :
This script will take care of the following items:
Signed-off-by: Erwan Velu erwanaliasr1@gmail.com