Whamcloud - gitweb
Don't grow lock extents too much if there are many conflicting lockers. For
authoradilger <adilger>
Sun, 21 Mar 2004 06:23:38 +0000 (06:23 +0000)
committeradilger <adilger>
Sun, 21 Mar 2004 06:23:38 +0000 (06:23 +0000)
commit6dc84f00bbd47bf857a2a456e39eec5f01fb7152
treee23f1f1d024346a6c41e6f9d95e790518e929c62
parent09ac97533f32edd51e879de9b96070a137cf5d26
Don't grow lock extents too much if there are many conflicting lockers.  For
write locks we grow to at most 32MB upwards and never downwards.  For read
locks we also limit downward growth under contention to try and avoid granting
overlapping locks (cancellation of which is very slow for large files).

This actually improves single-file IOR write performance noticably
(100-500MB/s) with no impact to FPP IOR, but we still suffer on the read
side as eventually the read locks overlap and cancellation is very CPU
intensive.  Fixing bug 20 is the solution to that.
b=2919
r=phil
lustre/ChangeLog
lustre/ldlm/ldlm_extent.c