Whamcloud - gitweb
LU-13799 lov: Improve DIO submit 46/39446/15
authorPatrick Farrell <farr0186@gmail.com>
Fri, 7 May 2021 19:42:20 +0000 (15:42 -0400)
committerPatrick Farrell <pfarrell@whamcloud.com>
Sat, 3 Jul 2021 19:01:15 +0000 (15:01 -0400)
commit918c83170a89c2e49c51175acd534247fb1aac70
treec7c9f84be8e5100059818576504753eb84387f00
parent66203ff0142a3e212f12c98526e13df9c42c38ee
LU-13799 lov: Improve DIO submit

Skip some unnecessary looping in page submission for the
DIO case.

This gives about a 2% improvement for AIO/DIO page
submission.

This patch reduces i/o time in ms/GiB by:
Write: 2 ms/GiB
Read: 2 ms/GiB

Totals:
Write: 172 ms/GiB
Read: 165 ms/GiB

mpirun -np 1  $IOR -w -r -t 64M -b 64G -o ./iorfile --posix.odirect

With previous patches in series:
write        7726 MiB/s
read         5899 MiB/s

Plus this patch:
write        5954 MiB/s
read         6217 MiB/s

Signed-off-by: Patrick Farrell <farr0186@gmail.com>
Change-Id: Iedad978438ee3f1f3290d990311532626cba9e2d
lustre/lov/lov_io.c