aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid5.c
diff options
context:
space:
mode:
authorSong Liu <song@kernel.org>2022-09-19 11:42:07 -0700
committerSong Liu <song@kernel.org>2022-09-22 00:05:05 -0700
commit74173ff458de5841d7fa4c6fcc85011daa21adf5 (patch)
treee68cc5787d8330edd314232e3bdb9deac95594f8 /drivers/md/raid5.c
parentmd: Remove extra mddev_get() in md_seq_start() (diff)
parentmd/raid10: convert resync_lock to use seqlock (diff)
downloadlinux-dev-74173ff458de5841d7fa4c6fcc85011daa21adf5.tar.xz
linux-dev-74173ff458de5841d7fa4c6fcc85011daa21adf5.zip
Merge branch 'md-next-raid10-optimize' into md-next
This patchset tries to avoid that two locks are held unconditionally in hot path. Test environment: Architecture: aarch64 Huawei KUNPENG 920 x86 Intel(R) Xeon(R) Platinum 8380 Raid10 initialize: mdadm --create /dev/md0 --level 10 --bitmap none --raid-devices 4 \ /dev/nvme0n1 /dev/nvme1n1 /dev/nvme2n1 /dev/nvme3n1 Test cmd: (task set -c 0-15) fio -name=0 -ioengine=libaio -direct=1 -\ group_reporting=1 -randseed=2022 -rwmixread=70 -refill_buffers \ -filename=/dev/md0 -numjobs=16 -runtime=60s -bs=4k -iodepth=256 \ -rw=randread Test result: aarch64: before this patchset: 3.2 GiB/s bind node before this patchset: 6.9 Gib/s after this patchset: 7.9 Gib/s bind node after this patchset: 8.0 Gib/s x86:(bind node is not tested yet) before this patchset: 7.0 GiB/s after this patchset : 9.3 GiB/s Please noted that in the test machine, memory access latency is very bad across nodes compare to local node in aarch64, which is why bandwidth while bind node is much better.
Diffstat (limited to 'drivers/md/raid5.c')
0 files changed, 0 insertions, 0 deletions