== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 08:23:40 (1741695820) llite.lustre-ffff8800b6067800.statahead_max=1024 llite.lustre-ffff8800b6067800.statahead_batch_max=32 llite.lustre-ffff8800b6067800.statahead_min=64 llite.lustre-ffff8800b6067800.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.70 seconds: 588.18 ops/second llite.lustre-ffff8800b6067800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800b6067800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8800b6067800.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: 1741695824.379901851 secs.nsecs start_time: 1741695823.664275000 secs.nsecs elapsed_time: 0.715626851 secs.nsecs subreqs per batch batches % cum % 1: 3 3 3 2: 4 4 8 4: 16 18 26 8: 3 3 29 16: 1 1 31 32: 60 68 100 snapshot_time: 1741695824.379964613 secs.nsecs start_time: 1741695823.664319648 secs.nsecs elapsed_time: 0.715644965 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: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1741695855.490714701 secs.nsecs start_time: 1741695823.664275000 secs.nsecs elapsed_time: 31.826439701 secs.nsecs subreqs per batch batches % cum % 1: 4 4 4 2: 4 4 9 4: 16 18 27 8: 3 3 30 16: 1 1 31 32: 60 68 100 snapshot_time: 1741695855.490844102 secs.nsecs start_time: 1741695823.664319648 secs.nsecs elapsed_time: 31.826524454 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 2.01 seconds: 496.41 ops/second llite.lustre-ffff8800b6067800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800b6067800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8800b6067800.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: 1741695859.661811265 secs.nsecs start_time: 1741695859.099172138 secs.nsecs elapsed_time: 0.562639127 secs.nsecs subreqs per batch batches % cum % 1: 11 12 12 2: 0 0 12 4: 1 1 13 8: 19 20 34 16: 3 3 37 32: 57 62 100 snapshot_time: 1741695859.661951860 secs.nsecs start_time: 1741695859.099268318 secs.nsecs elapsed_time: 0.562683542 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: 1741695889.877422316 secs.nsecs start_time: 1741695859.099172138 secs.nsecs elapsed_time: 30.778250178 secs.nsecs subreqs per batch batches % cum % 1: 12 13 13 2: 0 0 13 4: 1 1 14 8: 19 20 34 16: 3 3 38 32: 57 61 100 snapshot_time: 1741695889.877532722 secs.nsecs start_time: 1741695859.099268318 secs.nsecs elapsed_time: 30.778264404 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1741695892 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1741695895 ; total 0 ; last 0) total: 1000 unlinks in 4 seconds: 250.000000 unlinks/second llite.lustre-ffff8800b6067800.enable_statahead_fname=1 llite.lustre-ffff8800b6067800.statahead_min=8 llite.lustre-ffff8800b6067800.statahead_batch_max=64 llite.lustre-ffff8800b6067800.statahead_max=128