Whamcloud - gitweb
LU-17422 clio: use page pools for UDIO/hybrid 70/53670/17
authorPatrick Farrell <paf0187@gmail.com>
Wed, 27 Mar 2024 21:45:02 +0000 (17:45 -0400)
committerOleg Drokin <green@whamcloud.com>
Tue, 23 Apr 2024 19:51:05 +0000 (19:51 +0000)
commit985f49cf2e634a682d90c1a0548e7bbbbcb6a62d
tree0bba3753731cef3543e3553de20daace2d8deb8f
parente804112e34175d391c34e49f9bcac3c2930a2241
LU-17422 clio: use page pools for UDIO/hybrid

This moves unaligned/hybrid IO to using page pools.  This
reduces the time spent in memory allocation while doing IO
to near zero, at least in simple tests.

This should close most of the performance gap between
udio/hybrid and regular DIO for reads, taking them from
~13 GiB/s to close to 20 GiB/s.  This should also scale as
DIO performance improves.

The improvement for writes is much more limited, because
UDIO writes do not have parallel data copy yet.  This will
improve UDIO write performance by perhaps 10-20%, so from
~2.5 GiB/s to ~3.0 GiB/s, very roughly.

Signed-off-by: Patrick Farrell <patrick.farrell@oracle.com>
Change-Id: I0cb8b5881bf2885a926383291f67fa252b56574f
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53670
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
lustre/obdclass/cl_io.c