== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 17:47:16 (1786571236) llite.lustre-ffff8bb3ad3ed800.statahead_max=1024 llite.lustre-ffff8bb3ad3ed800.statahead_batch_max=32 llite.lustre-ffff8bb3ad3ed800.statahead_min=64 llite.lustre-ffff8bb3ad3ed800.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.57 seconds: 636.20 ops/second llite.lustre-ffff8bb3ad3ed800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8bb3ad3ed800.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: 1786571241.815792946 secs.nsecs start_time: 1786571239.942341101 secs.nsecs elapsed_time: 1.873451845 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 3 3 5 4: 19 22 27 8: 1 1 29 16: 1 1 30 32: 60 69 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1786571273.099957181 secs.nsecs start_time: 1786571239.942341101 secs.nsecs elapsed_time: 33.157616080 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 3 3 6 4: 19 21 28 8: 1 1 29 16: 1 1 31 32: 60 68 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 1.66 seconds: 602.53 ops/second llite.lustre-ffff8bb3ad3ed800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8bb3ad3ed800.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: 1786571278.908714020 secs.nsecs start_time: 1786571276.763524302 secs.nsecs elapsed_time: 2.145189718 secs.nsecs subreqs per batch batches %% cum %% 1: 15 15 15 2: 2 2 17 4: 4 4 21 8: 15 15 36 16: 4 4 40 32: 58 59 100 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: 1786571310.176128672 secs.nsecs start_time: 1786571276.763524302 secs.nsecs elapsed_time: 33.412604370 secs.nsecs subreqs per batch batches %% cum %% 1: 16 16 16 2: 2 2 18 4: 4 4 22 8: 15 15 37 16: 4 4 41 32: 58 58 100 - unlinked 0 (time 1786571312 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1786571315 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff8bb3ad3ed800.enable_statahead_fname=1 llite.lustre-ffff8bb3ad3ed800.statahead_min=8 llite.lustre-ffff8bb3ad3ed800.statahead_batch_max=64 llite.lustre-ffff8bb3ad3ed800.statahead_max=128