linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* xor_gen() md-raid6 performance improvement
@ 2026-11-06 18:37 Anton Gavriliuk
  2026-11-06 21:17 ` Dragan Milivojević
  2026-11-10 13:37 ` Miroslav Cimerman
  0 siblings, 2 replies; 6+ messages in thread
From: Anton Gavriliuk @ 2026-11-06 18:37 UTC (permalink / raw)
  To: linux-raid

Hello

I would like to share xor_gen performance improvement for md-raid6 write.
Box - AMD Zen5 9455, 6 x PCIe 5.0 NVMe SSD CM7-V in raid6 (4+2),
Fedora Server 45.


[root@memverge3 ~]# uname -r
7.2.15-300.fc45.x86_64
[root@memverge3 ~]# dmesg | grep -i xor
[    0.471277] xor: automatically using best checksumming function   avx
[root@memverge3 ~]# fio --name=test --rw=write --bs=2048k
--filename=/dev/md111 --direct=1 --numjobs=1 --iodepth=64 --exitall
--group_reporting --ioengine=io_uring --runtime=600 --time_based=1
test: (g=0): rw=write, bs=(R) 2048KiB-2048KiB, (W) 2048KiB-2048KiB,
(T) 2048KiB-2048KiB, ioengine=io_uring, iodepth=64
fio-3.43-31-gbfffd
Starting 1 process
Jobs: 1 (f=1): [W(1)][100.0%][w=4712MiB/s][w=2356 IOPS][eta 00m:00s]
test: (groupid=0, jobs=1): err= 0: pid=2351: Fri Nov  6 15:49:05 2026
  write: IOPS=2323, BW=4647MiB/s (4873MB/s)(2723GiB/600026msec)
    slat (usec): min=5, max=3469, avg=26.01, stdev=17.20
    clat (usec): min=2953, max=69868, avg=27516.08, stdev=3473.78
     lat (usec): min=2963, max=69930, avg=27542.09, stdev=3474.01


[root@memverge3 ~]# uname -r
7.4.0-rc1
[root@memverge3 ~]# dmesg | grep -i xor
[    0.553181] xor: automatically using best checksumming function   avx512
[root@memverge3 ~]# fio --name=test --rw=write --bs=2048k
--filename=/dev/md111 --direct=1 --numjobs=1 --iodepth=64 --exitall
--group_reporting --ioengine=io_uring --runtime=600 --time_based=1
test: (g=0): rw=write, bs=(R) 2048KiB-2048KiB, (W) 2048KiB-2048KiB,
(T) 2048KiB-2048KiB, ioengine=io_uring, iodepth=64
fio-3.43-31-gbfffd
Starting 1 process
Jobs: 1 (f=1): [W(1)][100.0%][w=7438MiB/s][w=3719 IOPS][eta 00m:00s]
test: (groupid=0, jobs=1): err= 0: pid=4837: Fri Nov  6 17:02:31 2026
  write: IOPS=3791, BW=7582MiB/s (7951MB/s)(4443GiB/600013msec)
    slat (usec): min=8, max=3073, avg=35.39, stdev=14.87
    clat (usec): min=2334, max=44420, avg=16845.30, stdev=3951.02
     lat (usec): min=2375, max=44455, avg=16880.69, stdev=3955.63


Nice results, but further improvements required to fully unlock PCI
5.0 drives potential.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-11-10 18:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-06 18:37 xor_gen() md-raid6 performance improvement Anton Gavriliuk
2026-11-06 21:17 ` Dragan Milivojević
2026-11-10 13:37 ` Miroslav Cimerman
2026-11-10 17:07   ` Anton Gavriliuk
2026-11-10 17:12   ` Anton Gavriliuk
2026-11-10 18:57     ` Miroslav Cimerman

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).