== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 07:46:06 (1713440766) llite.lustre-ffff8800a838d000.statahead_max=1024 llite.lustre-ffff8800a838d000.statahead_batch_max=32 llite.lustre-ffff8800a838d000.statahead_min=64 llite.lustre-ffff8800a838d000.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 1.04 seconds: 965.53 ops/second llite.lustre-ffff8800a838d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a838d000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8800a838d000.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: 1713440769.666170282 secs.nsecs start_time: 1713440768.865188404 secs.nsecs elapsed_time: 0.800981878 secs.nsecs subreqs per batch batches % cum % 1: 2 3 3 2: 1 1 5 4: 2 3 8 8: 0 0 8 16: 1 1 10 32: 52 89 100 snapshot_time: 1713440769.666500354 secs.nsecs start_time: 1713440768.865270154 secs.nsecs elapsed_time: 0.801230200 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: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1713440801.012943538 secs.nsecs start_time: 1713440768.865188404 secs.nsecs elapsed_time: 32.147755134 secs.nsecs subreqs per batch batches % cum % 1: 3 4 4 2: 1 1 5 4: 2 2 8 8: 0 0 8 16: 1 1 10 32: 63 90 100 snapshot_time: 1713440801.013174631 secs.nsecs start_time: 1713440768.865270154 secs.nsecs elapsed_time: 32.147904477 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 1.62 seconds: 618.01 ops/second llite.lustre-ffff8800a838d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a838d000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8800a838d000.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: 1713440804.583376247 secs.nsecs start_time: 1713440803.995346492 secs.nsecs elapsed_time: 0.588029755 secs.nsecs subreqs per batch batches % cum % 1: 14 18 18 2: 1 1 20 4: 1 1 21 8: 5 6 28 16: 3 4 32 32: 51 68 100 snapshot_time: 1713440804.583474493 secs.nsecs start_time: 1713440803.995432860 secs.nsecs elapsed_time: 0.588041633 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: 1713440836.127471209 secs.nsecs start_time: 1713440803.995346492 secs.nsecs elapsed_time: 32.132124717 secs.nsecs subreqs per batch batches % cum % 1: 15 17 17 2: 1 1 18 4: 1 1 19 8: 5 5 25 16: 4 4 29 32: 61 70 100 snapshot_time: 1713440836.127733749 secs.nsecs start_time: 1713440803.995432860 secs.nsecs elapsed_time: 32.132300889 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1713440839 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1713440842 ; total 0 ; last 0) total: 1000 unlinks in 4 seconds: 250.000000 unlinks/second llite.lustre-ffff8800a838d000.enable_statahead_fname=0 llite.lustre-ffff8800a838d000.statahead_min=8 llite.lustre-ffff8800a838d000.statahead_batch_max=64 llite.lustre-ffff8800a838d000.statahead_max=128