== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 13:22:33 (1787851353) llite.lustre-ffff9486526a9000.statahead_max=1024 llite.lustre-ffff9486526a9000.statahead_batch_max=32 llite.lustre-ffff9486526a9000.statahead_min=64 llite.lustre-ffff9486526a9000.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.22 seconds: 160.84 ops/second llite.lustre-ffff9486526a9000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9486526a9000.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: 1787851369.794819500 secs.nsecs start_time: 1787851365.260998880 secs.nsecs elapsed_time: 4.533820620 secs.nsecs subreqs per batch batches %% cum %% 1: 7 8 8 2: 5 6 14 4: 6 7 21 8: 2 2 24 16: 2 2 26 32: 60 73 100 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s for '' Waiting 25s for '' Waiting 5s for '' statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1787851400.776183189 secs.nsecs start_time: 1787851365.260998880 secs.nsecs elapsed_time: 35.515184309 secs.nsecs subreqs per batch batches %% cum %% 1: 8 9 9 2: 5 6 15 4: 6 7 22 8: 2 2 25 16: 2 2 27 32: 60 72 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 8.95 seconds: 111.76 ops/second llite.lustre-ffff9486526a9000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9486526a9000.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: 1787851419.260868602 secs.nsecs start_time: 1787851415.957216830 secs.nsecs elapsed_time: 3.303651772 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 3 3 8 4: 6 7 15 8: 7 8 24 16: 3 3 27 32: 60 72 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: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1787851449.693934212 secs.nsecs start_time: 1787851415.957216830 secs.nsecs elapsed_time: 33.736717382 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 3 3 9 4: 6 7 16 8: 7 8 25 16: 3 3 28 32: 60 71 100 - unlinked 0 (time 1787851458 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1787851467 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff9486526a9000.enable_statahead_fname=1 llite.lustre-ffff9486526a9000.statahead_min=8 llite.lustre-ffff9486526a9000.statahead_batch_max=64 llite.lustre-ffff9486526a9000.statahead_max=128