== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 05:27:35 (1786699655) llite.lustre-ffff8ea8099b8800.statahead_max=1024 llite.lustre-ffff8ea8099b8800.statahead_batch_max=32 llite.lustre-ffff8ea8099b8800.statahead_min=64 llite.lustre-ffff8ea8099b8800.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.77 seconds: 113.97 ops/second llite.lustre-ffff8ea8099b8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ea8099b8800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ea8099b8800.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: 1786699677.421587966 secs.nsecs start_time: 1786699672.941149130 secs.nsecs elapsed_time: 4.480438836 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 2 2 7 4: 10 12 19 8: 5 6 25 16: 1 1 26 32: 61 73 100 snapshot_time: 1786699677.421662852 secs.nsecs start_time: 1786699672.941248640 secs.nsecs elapsed_time: 4.480414212 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1786699707.797381434 secs.nsecs start_time: 1786699672.941149130 secs.nsecs elapsed_time: 34.856232304 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 2 2 8 4: 10 11 20 8: 5 5 26 16: 1 1 27 32: 61 72 100 snapshot_time: 1786699707.797471352 secs.nsecs start_time: 1786699672.941248640 secs.nsecs elapsed_time: 34.856222712 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.38 seconds: 185.72 ops/second llite.lustre-ffff8ea8099b8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ea8099b8800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ea8099b8800.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: 1786699721.837146737 secs.nsecs start_time: 1786699717.877211973 secs.nsecs elapsed_time: 3.959934764 secs.nsecs subreqs per batch batches %% cum %% 1: 20 20 20 2: 2 2 22 4: 4 4 27 8: 5 5 32 16: 6 6 38 32: 59 61 100 snapshot_time: 1786699721.837215119 secs.nsecs start_time: 1786699717.877295771 secs.nsecs elapsed_time: 3.959919348 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: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1786699752.677746629 secs.nsecs start_time: 1786699717.877211973 secs.nsecs elapsed_time: 34.800534656 secs.nsecs subreqs per batch batches %% cum %% 1: 21 21 21 2: 2 2 23 4: 4 4 27 8: 5 5 32 16: 6 6 39 32: 59 60 100 snapshot_time: 1786699752.677813830 secs.nsecs start_time: 1786699717.877295771 secs.nsecs elapsed_time: 34.800518059 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1786699762 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1786699773 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff8ea8099b8800.enable_statahead_fname=1 llite.lustre-ffff8ea8099b8800.statahead_min=8 llite.lustre-ffff8ea8099b8800.statahead_batch_max=64 llite.lustre-ffff8ea8099b8800.statahead_max=128