== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 13:24:01 (1786987441) llite.lustre-ffff8baa7b854000.statahead_max=1024 llite.lustre-ffff8baa7b854000.statahead_batch_max=32 llite.lustre-ffff8baa7b854000.statahead_min=64 llite.lustre-ffff8baa7b854000.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 8.75 seconds: 114.30 ops/second llite.lustre-ffff8baa7b854000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8baa7b854000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8baa7b854000.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: 1786987464.911890709 secs.nsecs start_time: 1786987458.444729680 secs.nsecs elapsed_time: 6.467161029 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 8 9 13 4: 9 10 24 8: 5 5 29 16: 2 2 32 32: 59 67 100 snapshot_time: 1786987464.911958276 secs.nsecs start_time: 1786987458.457264743 secs.nsecs elapsed_time: 6.454693533 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: 1786987496.380870527 secs.nsecs start_time: 1786987458.444729680 secs.nsecs elapsed_time: 37.936140847 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 8 9 14 4: 9 10 25 8: 5 5 30 16: 2 2 32 32: 59 67 100 snapshot_time: 1786987496.381180833 secs.nsecs start_time: 1786987458.457264743 secs.nsecs elapsed_time: 37.923916090 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 6.30 seconds: 158.79 ops/second llite.lustre-ffff8baa7b854000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8baa7b854000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8baa7b854000.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: 1786987512.232677604 secs.nsecs start_time: 1786987508.390291141 secs.nsecs elapsed_time: 3.842386463 secs.nsecs subreqs per batch batches %% cum %% 1: 18 17 17 2: 8 7 25 4: 6 5 31 8: 6 5 36 16: 6 5 42 32: 59 57 100 snapshot_time: 1786987512.232731292 secs.nsecs start_time: 1786987508.390421152 secs.nsecs elapsed_time: 3.842310140 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 '' statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1786987542.998327654 secs.nsecs start_time: 1786987508.390291141 secs.nsecs elapsed_time: 34.608036513 secs.nsecs subreqs per batch batches %% cum %% 1: 19 18 18 2: 8 7 25 4: 6 5 31 8: 6 5 37 16: 6 5 43 32: 59 56 100 snapshot_time: 1786987542.998406475 secs.nsecs start_time: 1786987508.390421152 secs.nsecs elapsed_time: 34.607985323 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1786987552 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1786987563 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff8baa7b854000.enable_statahead_fname=1 llite.lustre-ffff8baa7b854000.statahead_min=8 llite.lustre-ffff8baa7b854000.statahead_batch_max=64 llite.lustre-ffff8baa7b854000.statahead_max=128