== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 18:54:26 (1778367266) llite.lustre-ffff8eadc6da4000.statahead_max=1024 llite.lustre-ffff8eadc6da4000.statahead_batch_max=32 llite.lustre-ffff8eadc6da4000.statahead_min=64 llite.lustre-ffff8eadc6da4000.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 1.07 seconds: 933.62 ops/second llite.lustre-ffff8eadc6da4000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8eadc6da4000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8eadc6da4000.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: 1778367272.546426885 secs.nsecs start_time: 1778367270.009183731 secs.nsecs elapsed_time: 2.537243154 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 0 0 2 4: 22 25 27 8: 2 2 30 16: 0 0 30 32: 60 69 100 snapshot_time: 1778367272.546466840 secs.nsecs start_time: 1778367270.009236626 secs.nsecs elapsed_time: 2.537230214 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1778367303.536211258 secs.nsecs start_time: 1778367270.009183731 secs.nsecs elapsed_time: 33.527027527 secs.nsecs subreqs per batch batches % cum % 1: 3 3 3 2: 0 0 3 4: 22 25 28 8: 2 2 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1778367303.536245195 secs.nsecs start_time: 1778367270.009236626 secs.nsecs elapsed_time: 33.527008569 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 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 0.87 seconds: 1152.29 ops/second llite.lustre-ffff8eadc6da4000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8eadc6da4000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8eadc6da4000.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: 1778367308.075535171 secs.nsecs start_time: 1778367305.679517005 secs.nsecs elapsed_time: 2.396018166 secs.nsecs subreqs per batch batches % cum % 1: 32 25 25 2: 8 6 31 4: 9 7 38 8: 15 11 50 16: 8 6 57 32: 54 42 100 snapshot_time: 1778367308.075577277 secs.nsecs start_time: 1778367305.679559060 secs.nsecs elapsed_time: 2.396018217 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 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: 1778367339.057024094 secs.nsecs start_time: 1778367305.679517005 secs.nsecs elapsed_time: 33.377507089 secs.nsecs subreqs per batch batches % cum % 1: 33 25 25 2: 8 6 32 4: 9 7 39 8: 15 11 51 16: 8 6 57 32: 54 42 100 snapshot_time: 1778367339.057058774 secs.nsecs start_time: 1778367305.679559060 secs.nsecs elapsed_time: 33.377499714 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1778367341 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1778367343 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff8eadc6da4000.enable_statahead_fname=1 llite.lustre-ffff8eadc6da4000.statahead_min=8 llite.lustre-ffff8eadc6da4000.statahead_batch_max=64 llite.lustre-ffff8eadc6da4000.statahead_max=128