Files
android_kernel_xiaomi_sm8450/Documentation/filesystems
Mark Fasheh b07f8f24df ocfs2: change default reservation window sizes
The default reservation size of 4 (32-bit windows) is a bit too ambitious.
Scale it back to 16 bits (resv_level=2). I have been testing various sizes
on a 4-node cluster which runs a mixed workload that is heavily threaded.
With a 256MB local alloc, I get *roughly* the following levels of average file
fragmentation:

resv_level=0	70%
resv_level=1	21%
resv_level=2	23%
resv_level=3	24%
resv_level=4	60%
resv_level=5	did not test
resv_level=6	60%

resv_level=2 seemed like a good compromise between not letting windows be
too small, but not so big that heavier workloads will immediately suffer
without tuning.

This patch also change the behavior of directory reservations - they now
track file reservations.  The previous compromise of giving directory
windows only 8 bits wound up fragmenting more at some window sizes because
file allocations had smaller unused windows to poach from.

Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
2010-05-05 18:18:07 -07:00
..
2010-01-20 17:17:04 -05:00
2006-11-30 04:58:40 +01:00
2009-08-19 10:40:13 -07:00
2006-10-03 22:54:15 +02:00
2009-06-06 10:28:14 -06:00
2006-10-03 22:47:42 +02:00
2006-12-30 10:56:45 -08:00
2009-05-19 10:23:23 +01:00
2009-05-19 10:23:23 +01:00
2007-07-31 15:39:38 -07:00
2007-05-09 08:58:15 +02:00
2009-11-20 20:13:39 +01:00
2008-09-02 19:21:37 -07:00
2008-07-26 12:00:05 -07:00
2006-11-30 04:58:40 +01:00
2006-12-07 08:39:44 -08:00
2009-05-21 13:14:32 -07:00
2009-01-29 16:34:30 +02:00
2007-02-12 09:48:40 -08:00
2009-12-10 15:02:50 +01:00
2008-11-12 17:17:17 -08:00