== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 17:58:35 (1712267915) llite.lustre-ffff8800b63da800.statahead_max=1024 llite.lustre-ffff8800b63da800.statahead_batch_max=32 llite.lustre-ffff8800b63da800.statahead_min=64 llite.lustre-ffff8800b63da800.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.04 ops/second llite.lustre-ffff8800b63da800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800b63da800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8800b63da800.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: 1712267920.201019110 secs.nsecs start_time: 1712267919.353223531 secs.nsecs elapsed_time: 0.847795579 secs.nsecs subreqs per batch batches % cum % 1: 3 4 4 2: 1 1 5 4: 7 10 15 8: 0 0 15 16: 0 0 15 32: 59 84 100 snapshot_time: 1712267920.201212060 secs.nsecs start_time: 1712267919.353376331 secs.nsecs elapsed_time: 0.847835729 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: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1712267950.614078318 secs.nsecs start_time: 1712267919.353223531 secs.nsecs elapsed_time: 31.260854787 secs.nsecs subreqs per batch batches % cum % 1: 4 5 5 2: 2 2 8 4: 7 9 17 8: 0 0 17 16: 0 0 17 32: 62 82 100 snapshot_time: 1712267950.614301972 secs.nsecs start_time: 1712267919.353376331 secs.nsecs elapsed_time: 31.260925641 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 2.22 seconds: 449.58 ops/second llite.lustre-ffff8800b63da800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800b63da800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8800b63da800.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: 1712267955.009550905 secs.nsecs start_time: 1712267954.440792208 secs.nsecs elapsed_time: 0.568758697 secs.nsecs subreqs per batch batches % cum % 1: 11 16 16 2: 1 1 18 4: 2 3 21 8: 0 0 21 16: 4 6 27 32: 48 72 100 snapshot_time: 1712267955.009744141 secs.nsecs start_time: 1712267954.440981791 secs.nsecs elapsed_time: 0.568762350 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: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1712267985.319548665 secs.nsecs start_time: 1712267954.440792208 secs.nsecs elapsed_time: 30.878756457 secs.nsecs subreqs per batch batches % cum % 1: 12 14 14 2: 1 1 16 4: 3 3 19 8: 0 0 19 16: 4 4 24 32: 61 75 100 snapshot_time: 1712267985.319743225 secs.nsecs start_time: 1712267954.440981791 secs.nsecs elapsed_time: 30.878761434 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1712267988 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1712267991 ; total 0 ; last 0) total: 1000 unlinks in 4 seconds: 250.000000 unlinks/second llite.lustre-ffff8800b63da800.enable_statahead_fname=0 llite.lustre-ffff8800b63da800.statahead_min=8 llite.lustre-ffff8800b63da800.statahead_batch_max=64 llite.lustre-ffff8800b63da800.statahead_max=128