== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 14:25:03 (1786818303) llite.lustre-ffff8fe5eca6a800.statahead_max=1024 llite.lustre-ffff8fe5eca6a800.statahead_batch_max=32 llite.lustre-ffff8fe5eca6a800.statahead_min=64 llite.lustre-ffff8fe5eca6a800.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 5.42 seconds: 184.50 ops/second llite.lustre-ffff8fe5eca6a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8fe5eca6a800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8fe5eca6a800.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: 1786818318.830081840 secs.nsecs start_time: 1786818315.085336681 secs.nsecs elapsed_time: 3.744745159 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 4 4 6 4: 5 6 12 8: 9 11 23 16: 3 3 27 32: 59 72 100 snapshot_time: 1786818318.830758387 secs.nsecs start_time: 1786818315.085506305 secs.nsecs elapsed_time: 3.745252082 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: 1786818349.373211829 secs.nsecs start_time: 1786818315.085336681 secs.nsecs elapsed_time: 34.287875148 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 4 4 7 4: 5 6 13 8: 9 10 24 16: 3 3 28 32: 59 71 100 snapshot_time: 1786818349.373298075 secs.nsecs start_time: 1786818315.085506305 secs.nsecs elapsed_time: 34.287791770 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 5.20 seconds: 192.47 ops/second llite.lustre-ffff8fe5eca6a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8fe5eca6a800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8fe5eca6a800.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: 1786818362.201458805 secs.nsecs start_time: 1786818358.974242290 secs.nsecs elapsed_time: 3.227216515 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 7 7 13 4: 5 5 18 8: 8 8 27 16: 7 7 35 32: 58 64 100 snapshot_time: 1786818362.201582119 secs.nsecs start_time: 1786818358.974321855 secs.nsecs elapsed_time: 3.227260264 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: 1786818392.603267641 secs.nsecs start_time: 1786818358.974242290 secs.nsecs elapsed_time: 33.629025351 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 7 7 14 4: 5 5 19 8: 8 8 28 16: 7 7 36 32: 58 63 100 snapshot_time: 1786818392.603330151 secs.nsecs start_time: 1786818358.974321855 secs.nsecs elapsed_time: 33.629008296 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1786818398 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1786818407 ; total 0 ; last 0) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second llite.lustre-ffff8fe5eca6a800.enable_statahead_fname=1 llite.lustre-ffff8fe5eca6a800.statahead_min=8 llite.lustre-ffff8fe5eca6a800.statahead_batch_max=64 llite.lustre-ffff8fe5eca6a800.statahead_max=128