== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 01:50:26 (1783144226) llite.lustre-ffff8f2285833000.statahead_max=1024 llite.lustre-ffff8f2285833000.statahead_batch_max=32 llite.lustre-ffff8f2285833000.statahead_min=64 llite.lustre-ffff8f2285833000.enable_statahead_fname=1 Command: - createmany -m /mnt/lustre/d123i.sanity/f123i.sanity.%06d 1000 - ls /mnt/lustre/d123i.sanity/* > /dev/null total: 1000 create in 3.16 seconds: 316.42 ops/second llite.lustre-ffff8f2285833000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8f2285833000.batch_stats=0 statahead_stats (Pre): statahead total: 0 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 0 hit_total: 0 miss_total: 0 statahead_stats (Post): statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 0 miss_total: 0 snapshot_time: 1783144234.674275367 secs.nsecs start_time: 1783144232.692578920 secs.nsecs elapsed_time: 1.981696447 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 0 0 1 4: 17 20 21 8: 6 7 28 16: 2 2 30 32: 59 69 100 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s for '' Waiting 25s for '' Waiting 15s for '' statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1783144265.024664123 secs.nsecs start_time: 1783144232.692578920 secs.nsecs elapsed_time: 32.332085203 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 0 0 2 4: 17 19 22 8: 6 6 29 16: 2 2 31 32: 59 68 100 Command: - createmany -m /mnt/lustre/d123i.sanity/f123i.sanity 1000 - aheadmany -c stat -N -s 0 -e 1000 -b f123i.sanity -d /mnt/lustre/d123i.sanity total: 1000 create in 2.17 seconds: 460.63 ops/second llite.lustre-ffff8f2285833000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8f2285833000.batch_stats=0 statahead_stats (Pre): statahead total: 0 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 0 hit_total: 0 miss_total: 0 statahead_stats (Post): statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 0 miss_total: 0 snapshot_time: 1783144271.043123581 secs.nsecs start_time: 1783144269.092757001 secs.nsecs elapsed_time: 1.950366580 secs.nsecs subreqs per batch batches %% cum %% 1: 12 13 13 2: 1 1 14 4: 0 0 14 8: 13 14 29 16: 2 2 31 32: 60 68 100 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s for '' Waiting 25s for '' Waiting 15s for '' Waiting 5s for '' statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1783144302.340100165 secs.nsecs start_time: 1783144269.092757001 secs.nsecs elapsed_time: 33.247343164 secs.nsecs subreqs per batch batches %% cum %% 1: 13 14 14 2: 1 1 15 4: 0 0 15 8: 13 14 30 16: 2 2 32 32: 60 67 100 - unlinked 0 (time 1783144304 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1783144307 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff8f2285833000.enable_statahead_fname=1 llite.lustre-ffff8f2285833000.statahead_min=8 llite.lustre-ffff8f2285833000.statahead_batch_max=64 llite.lustre-ffff8f2285833000.statahead_max=128