Whamcloud - gitweb
LU-13799 clio: Skip prep for transients 48/39448/16
authorPatrick Farrell <farr0186@gmail.com>
Fri, 7 May 2021 19:51:32 +0000 (15:51 -0400)
committerPatrick Farrell <pfarrell@whamcloud.com>
Sat, 3 Jul 2021 19:01:15 +0000 (15:01 -0400)
commitdd699f481ad03ce21225bd7a936c88417a786bc3
tree2ea9e70ad0c1a90f5638fc77fcae496986369a8b
parentee2ccf4b508601456289a6458efb00d6cc2150e6
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

Signed-off-by: Patrick Farrell <farr0186@gmail.com>
Change-Id: Ib94f57cde468c9aaea952e1bb89db8fcf4b35e07
lustre/obdclass/cl_page.c