== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 13:59:56 (1788544796) llite.lustre-ffff9baba607b800.statahead_max=1024 llite.lustre-ffff9baba607b800.statahead_batch_max=32 llite.lustre-ffff9baba607b800.statahead_min=64 llite.lustre-ffff9baba607b800.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.91 seconds: 144.64 ops/second llite.lustre-ffff9baba607b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9baba607b800.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: 1788544812.645817775 secs.nsecs start_time: 1788544809.174986992 secs.nsecs elapsed_time: 3.470830783 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 3 3 4 4: 11 13 18 8: 6 7 25 16: 3 3 28 32: 59 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: 1788544843.588189308 secs.nsecs start_time: 1788544809.174986992 secs.nsecs elapsed_time: 34.413202316 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 3 3 5 4: 11 13 19 8: 6 7 26 16: 3 3 29 32: 59 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 7.11 seconds: 140.56 ops/second llite.lustre-ffff9baba607b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9baba607b800.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: 1788544859.839813764 secs.nsecs start_time: 1788544856.261142167 secs.nsecs elapsed_time: 3.578671597 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 5 5 13 4: 4 4 17 8: 8 8 26 16: 8 8 35 32: 58 64 100 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s for '' Waiting 15s for '' Waiting 5s for '' statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1788544890.666821309 secs.nsecs start_time: 1788544856.261142167 secs.nsecs elapsed_time: 34.405679142 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 5 5 14 4: 4 4 18 8: 8 8 27 16: 8 8 36 32: 58 63 100 - unlinked 0 (time 1788544898 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1788544908 ; total 0 ; last 0) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second llite.lustre-ffff9baba607b800.enable_statahead_fname=1 llite.lustre-ffff9baba607b800.statahead_min=8 llite.lustre-ffff9baba607b800.statahead_batch_max=64 llite.lustre-ffff9baba607b800.statahead_max=128