== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 22:23:24 (1781231004) llite.lustre-ffff906d1ab51800.statahead_max=1024 llite.lustre-ffff906d1ab51800.statahead_batch_max=32 llite.lustre-ffff906d1ab51800.statahead_min=64 llite.lustre-ffff906d1ab51800.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 5.89 seconds: 169.83 ops/second llite.lustre-ffff906d1ab51800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff906d1ab51800.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: 1781231018.980533464 secs.nsecs start_time: 1781231015.447357285 secs.nsecs elapsed_time: 3.533176179 secs.nsecs subreqs per batch batches % cum % 1: 9 9 9 2: 3 3 13 4: 12 13 26 8: 8 8 34 16: 0 0 34 32: 60 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1781231050.088466806 secs.nsecs start_time: 1781231015.447357285 secs.nsecs elapsed_time: 34.641109521 secs.nsecs subreqs per batch batches % cum % 1: 10 10 10 2: 3 3 13 4: 12 12 26 8: 8 8 35 16: 0 0 35 32: 60 64 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.78 seconds: 128.56 ops/second llite.lustre-ffff906d1ab51800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff906d1ab51800.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: 1781231067.533376593 secs.nsecs start_time: 1781231064.103803587 secs.nsecs elapsed_time: 3.429573006 secs.nsecs subreqs per batch batches % cum % 1: 12 12 12 2: 2 2 14 4: 9 9 24 8: 6 6 30 16: 7 7 38 32: 58 61 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: 994 miss_total: 1 snapshot_time: 1781231098.291002951 secs.nsecs start_time: 1781231064.103803587 secs.nsecs elapsed_time: 34.187199364 secs.nsecs subreqs per batch batches % cum % 1: 13 13 13 2: 2 2 15 4: 9 9 25 8: 6 6 31 16: 7 7 38 32: 58 61 100 - unlinked 0 (time 1781231107 ; total 0 ; last 0) total: 1000 unlinks in 8 seconds: 125.000000 unlinks/second - unlinked 0 (time 1781231119 ; total 0 ; last 0) total: 1000 unlinks in 13 seconds: 76.923080 unlinks/second llite.lustre-ffff906d1ab51800.enable_statahead_fname=1 llite.lustre-ffff906d1ab51800.statahead_min=8 llite.lustre-ffff906d1ab51800.statahead_batch_max=64 llite.lustre-ffff906d1ab51800.statahead_max=128