== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 21:15:24 (1713489324) llite.lustre-ffff8800b3e45000.statahead_max=1024 llite.lustre-ffff8800b3e45000.statahead_batch_max=32 llite.lustre-ffff8800b3e45000.statahead_min=64 llite.lustre-ffff8800b3e45000.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.03 seconds: 970.42 ops/second llite.lustre-ffff8800b3e45000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800b3e45000.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: 1713489328.135958114 secs.nsecs start_time: 1713489327.158971677 secs.nsecs elapsed_time: 0.976986437 secs.nsecs subreqs per batch batches % cum % 1: 1 1 1 2: 3 4 6 4: 3 4 10 8: 1 1 12 16: 1 1 13 32: 57 86 100 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s for '' Waiting 25s for '' statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1713489358.400756163 secs.nsecs start_time: 1713489327.158971677 secs.nsecs elapsed_time: 31.241784486 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 3 4 6 4: 3 4 11 8: 1 1 12 16: 1 1 13 32: 62 86 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 0.89 seconds: 1127.09 ops/second llite.lustre-ffff8800b3e45000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800b3e45000.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: 1713489361.211508315 secs.nsecs start_time: 1713489360.465971524 secs.nsecs elapsed_time: 0.745536791 secs.nsecs subreqs per batch batches % cum % 1: 23 25 25 2: 0 0 25 4: 0 0 25 8: 5 5 31 16: 1 1 32 32: 61 67 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: 995 miss_total: 0 snapshot_time: 1713489391.496410366 secs.nsecs start_time: 1713489360.465971524 secs.nsecs elapsed_time: 31.030438842 secs.nsecs subreqs per batch batches % cum % 1: 24 26 26 2: 0 0 26 4: 0 0 26 8: 5 5 31 16: 1 1 32 32: 61 67 100 - unlinked 0 (time 1713489394 ; total 1 ; last 1) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1713489396 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff8800b3e45000.enable_statahead_fname=0 llite.lustre-ffff8800b3e45000.statahead_min=8 llite.lustre-ffff8800b3e45000.statahead_batch_max=64 llite.lustre-ffff8800b3e45000.statahead_max=128