Whamcloud - gitweb
LU-13799 clio: Skip prep for transients
authorPatrick Farrell <farr0186@gmail.com>
Fri, 7 May 2021 19:51:32 +0000 (15:51 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 13 Aug 2021 17:10:07 +0000 (17:10 +0000)
commit19a7490feb746f893e6d6c5bc4f644d9018d15e9
tree614dac29b3632fedce781bc7c5436e169829a47c
parent3196505b67137a5ee000690ff1ee921d7159ef06
LU-13799 clio: Skip prep for transients

The work done by cpo_prep() (etc) is unnecessary for
transient pages.  This gives only a minimal performance
boost and is better seen as a step towards removing the
cl_page abstraction for transient pages.

But, it does consistently give around 1% better
performance.

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

Totals:
Write: 169 ms/GiB
Read: 161 ms/GiB

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

With previous patches in series:
write        6028 MiB/s
read         6305 MiB/s

Plus this patch:
write        6071 MiB/s
read         6355 MiB/s

Lustre-change: https://review.whamcloud.com/39448
Lustre-commit: b8553978789ad3dd0776c0543dea4641804d0ac5

Signed-off-by: Patrick Farrell <farr0186@gmail.com>
Change-Id: Ib94f57cde468c9aaea952e1bb89db8fcf4b35e07
Reviewed-on: https://review.whamcloud.com/44447
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/obdclass/cl_page.c