== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 11:05:18 (1787843118) llite.lustre-ffff8c68065a7000.statahead_max=1024 llite.lustre-ffff8c68065a7000.statahead_batch_max=32 llite.lustre-ffff8c68065a7000.statahead_min=64 llite.lustre-ffff8c68065a7000.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 6.74 seconds: 148.34 ops/second llite.lustre-ffff8c68065a7000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c68065a7000.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: 1787843134.371463642 secs.nsecs start_time: 1787843130.737659295 secs.nsecs elapsed_time: 3.633804347 secs.nsecs subreqs per batch batches %% cum %% 1: 7 8 8 2: 2 2 10 4: 13 14 25 8: 3 3 28 16: 3 3 32 32: 59 67 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: 1787843164.661968530 secs.nsecs start_time: 1787843130.737659295 secs.nsecs elapsed_time: 33.924309235 secs.nsecs subreqs per batch batches %% cum %% 1: 8 9 9 2: 2 2 11 4: 13 14 26 8: 3 3 29 16: 3 3 32 32: 59 67 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 6.13 seconds: 163.21 ops/second llite.lustre-ffff8c68065a7000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c68065a7000.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: 1787843178.668693177 secs.nsecs start_time: 1787843175.387574541 secs.nsecs elapsed_time: 3.281118636 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 3 3 3 4: 6 7 11 8: 6 7 18 16: 6 7 26 32: 59 73 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: 1787843210.134165637 secs.nsecs start_time: 1787843175.387574541 secs.nsecs elapsed_time: 34.746591096 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 3 3 4 4: 6 7 12 8: 6 7 19 16: 6 7 27 32: 59 72 100 - unlinked 0 (time 1787843217 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1787843227 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff8c68065a7000.enable_statahead_fname=1 llite.lustre-ffff8c68065a7000.statahead_min=8 llite.lustre-ffff8c68065a7000.statahead_batch_max=64 llite.lustre-ffff8c68065a7000.statahead_max=128