== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 12:17:34 (1786810654) llite.lustre-ffff956c0a7b7000.statahead_max=1024 llite.lustre-ffff956c0a7b7000.statahead_batch_max=32 llite.lustre-ffff956c0a7b7000.statahead_min=64 llite.lustre-ffff956c0a7b7000.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 7.41 seconds: 134.98 ops/second llite.lustre-ffff956c0a7b7000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff956c0a7b7000.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: 1786810674.079285022 secs.nsecs start_time: 1786810669.747522734 secs.nsecs elapsed_time: 4.331762288 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 9 9 15 4: 9 9 25 8: 7 7 32 16: 2 2 35 32: 59 64 100 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s for '' Waiting 25s for '' statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 993 miss_total: 2 snapshot_time: 1786810704.592612859 secs.nsecs start_time: 1786810669.747522734 secs.nsecs elapsed_time: 34.845090125 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 9 9 16 4: 9 9 26 8: 7 7 33 16: 2 2 35 32: 59 64 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 7.16 seconds: 139.74 ops/second llite.lustre-ffff956c0a7b7000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff956c0a7b7000.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: 1786810720.856522694 secs.nsecs start_time: 1786810717.348369410 secs.nsecs elapsed_time: 3.508153284 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 1 1 3 4: 4 5 9 8: 4 5 14 16: 4 5 19 32: 61 80 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: 994 miss_total: 1 snapshot_time: 1786810752.615900081 secs.nsecs start_time: 1786810717.348369410 secs.nsecs elapsed_time: 35.267530671 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 1 1 5 4: 4 5 10 8: 4 5 15 16: 4 5 20 32: 61 79 100 - unlinked 0 (time 1786810762 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1786810772 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff956c0a7b7000.enable_statahead_fname=1 llite.lustre-ffff956c0a7b7000.statahead_min=8 llite.lustre-ffff956c0a7b7000.statahead_batch_max=64 llite.lustre-ffff956c0a7b7000.statahead_max=128