On 09/12/19 11:26, Daniel Janzon wrote:
Exactly. The md driver executes on a single core, but with a bunch of RAID5s I can distribute the load over many cores. That's also why I cannot join the bunch of RAID5's with a RAID0 (as someone suggested) because then again all data is pulled through a single core.
MD RAID0 is extremely fast, using a single core at the striping level should pose no problem. Did you actually tried this setup?
Anyway, the suggestion from Guoqing Jiang sound promising. Let me quote him:
Perhaps set "/sys/block/mdx/md/group_thread_cnt" could help here, see below commits: commit b721420e8719131896b009b11edbbd27d9b85e98 Author: Shaohua Li <shli@xxxxxxxxxx> Date: Tue Aug 27 17:50:42 2013 +0800 raid5: sysfs entry to control worker thread number commit 851c30c9badfc6b294c98e887624bff53644ad21 Author: Shaohua Li <shli@xxxxxxxxxx> Date: Wed Aug 28 14:30:16 2013 +0800 raid5: offload stripe handle to workqueue
Regards. -- Danti Gionatan Supporto Tecnico Assyoma S.r.l. - www.assyoma.it email: g.danti@xxxxxxxxxx - info@xxxxxxxxxx GPG public key ID: FF5F32A8 _______________________________________________ linux-lvm mailing list linux-lvm@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/