== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 08:07:11 (1786536431) llite.lustre-ffff9a1bb0c1f800.statahead_max=1024 llite.lustre-ffff9a1bb0c1f800.statahead_batch_max=32 llite.lustre-ffff9a1bb0c1f800.statahead_min=64 llite.lustre-ffff9a1bb0c1f800.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 2.05 seconds: 488.84 ops/second llite.lustre-ffff9a1bb0c1f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a1bb0c1f800.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: 1786536437.978386801 secs.nsecs start_time: 1786536435.813199353 secs.nsecs elapsed_time: 2.165187448 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 5 5 7 4: 9 10 17 8: 8 9 27 16: 1 1 28 32: 60 71 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1786536468.492781690 secs.nsecs start_time: 1786536435.813199353 secs.nsecs elapsed_time: 32.679582337 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 5 5 8 4: 9 10 18 8: 8 9 28 16: 1 1 29 32: 60 70 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.93 seconds: 517.43 ops/second llite.lustre-ffff9a1bb0c1f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a1bb0c1f800.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: 1786536474.611378543 secs.nsecs start_time: 1786536472.379267532 secs.nsecs elapsed_time: 2.232111011 secs.nsecs subreqs per batch batches %% cum %% 1: 12 13 13 2: 2 2 15 4: 1 1 17 8: 6 6 23 16: 9 10 34 32: 58 65 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: 995 miss_total: 0 snapshot_time: 1786536505.088758443 secs.nsecs start_time: 1786536472.379267532 secs.nsecs elapsed_time: 32.709490911 secs.nsecs subreqs per batch batches %% cum %% 1: 13 14 14 2: 2 2 16 4: 1 1 17 8: 6 6 24 16: 9 10 34 32: 58 65 100 - unlinked 0 (time 1786536508 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1786536511 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second llite.lustre-ffff9a1bb0c1f800.enable_statahead_fname=1 llite.lustre-ffff9a1bb0c1f800.statahead_min=8 llite.lustre-ffff9a1bb0c1f800.statahead_batch_max=64 llite.lustre-ffff9a1bb0c1f800.statahead_max=128