== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 11:54:57 (1758815697) llite.lustre-ffff91d54517b800.statahead_max=1024 llite.lustre-ffff91d54517b800.statahead_batch_max=32 llite.lustre-ffff91d54517b800.statahead_min=64 llite.lustre-ffff91d54517b800.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.29 seconds: 188.88 ops/second llite.lustre-ffff91d54517b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff91d54517b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff91d54517b800.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: 1758815710.666728367 secs.nsecs start_time: 1758815707.937428200 secs.nsecs elapsed_time: 2.729300167 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 1 1 3 4: 8 9 13 8: 11 13 26 16: 2 2 28 32: 59 71 100 snapshot_time: 1758815710.666782752 secs.nsecs start_time: 1758815707.937522950 secs.nsecs elapsed_time: 2.729259802 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: 0 list_total: 0 fname_total: 1 hit_total: 993 miss_total: 2 snapshot_time: 1758815741.981730677 secs.nsecs start_time: 1758815707.937428200 secs.nsecs elapsed_time: 34.044302477 secs.nsecs subreqs per batch batches % cum % 1: 3 3 3 2: 1 1 4 4: 8 9 14 8: 11 13 27 16: 2 2 29 32: 59 70 100 snapshot_time: 1758815741.981793917 secs.nsecs start_time: 1758815707.937522950 secs.nsecs elapsed_time: 34.044270967 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.85 seconds: 170.80 ops/second llite.lustre-ffff91d54517b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff91d54517b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff91d54517b800.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: 1758815757.620713498 secs.nsecs start_time: 1758815754.152904850 secs.nsecs elapsed_time: 3.467808648 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 1 1 4 4: 0 0 4 8: 3 4 8 16: 6 8 16 32: 61 83 100 snapshot_time: 1758815757.620787342 secs.nsecs start_time: 1758815754.153003435 secs.nsecs elapsed_time: 3.467783907 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 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: 1758815788.991406537 secs.nsecs start_time: 1758815754.152904850 secs.nsecs elapsed_time: 34.838501687 secs.nsecs subreqs per batch batches % cum % 1: 3 4 4 2: 1 1 5 4: 0 0 5 8: 3 4 9 16: 6 8 17 32: 61 82 100 snapshot_time: 1758815788.991475307 secs.nsecs start_time: 1758815754.153003435 secs.nsecs elapsed_time: 34.838471872 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1758815796 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1758815805 ; total 0 ; last 0) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second llite.lustre-ffff91d54517b800.enable_statahead_fname=1 llite.lustre-ffff91d54517b800.statahead_min=8 llite.lustre-ffff91d54517b800.statahead_batch_max=64 llite.lustre-ffff91d54517b800.statahead_max=128