== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 13:31:24 (1787851884) llite.lustre-ffff92e8f0418000.statahead_max=1024 llite.lustre-ffff92e8f0418000.statahead_batch_max=32 llite.lustre-ffff92e8f0418000.statahead_min=64 llite.lustre-ffff92e8f0418000.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 6.73 seconds: 148.65 ops/second llite.lustre-ffff92e8f0418000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff92e8f0418000.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: 1787851901.097739787 secs.nsecs start_time: 1787851897.126367097 secs.nsecs elapsed_time: 3.971372690 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 4 4 9 4: 8 9 18 8: 5 5 24 16: 5 5 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: 1787851931.394960528 secs.nsecs start_time: 1787851897.126367097 secs.nsecs elapsed_time: 34.268593431 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 4 4 10 4: 8 9 19 8: 5 5 25 16: 5 5 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 6.64 seconds: 150.61 ops/second llite.lustre-ffff92e8f0418000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff92e8f0418000.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: 1787851947.381452056 secs.nsecs start_time: 1787851943.816576557 secs.nsecs elapsed_time: 3.564875499 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 5 5 9 4: 6 7 16 8: 6 7 23 16: 7 8 31 32: 58 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: 994 miss_total: 1 snapshot_time: 1787851978.958187650 secs.nsecs start_time: 1787851943.816576557 secs.nsecs elapsed_time: 35.141611093 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 5 5 10 4: 6 6 17 8: 6 6 24 16: 7 8 32 32: 58 67 100 - unlinked 0 (time 1787851988 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1787851999 ; total 0 ; last 0) total: 1000 unlinks in 13 seconds: 76.923080 unlinks/second llite.lustre-ffff92e8f0418000.enable_statahead_fname=1 llite.lustre-ffff92e8f0418000.statahead_min=8 llite.lustre-ffff92e8f0418000.statahead_batch_max=64 llite.lustre-ffff92e8f0418000.statahead_max=128