== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 23:07:37 (1781233657) llite.lustre-ffff969f05a0b000.statahead_max=1024 llite.lustre-ffff969f05a0b000.statahead_batch_max=32 llite.lustre-ffff969f05a0b000.statahead_min=64 llite.lustre-ffff969f05a0b000.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 3.27 seconds: 306.16 ops/second llite.lustre-ffff969f05a0b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff969f05a0b000.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: 1781233665.899516935 secs.nsecs start_time: 1781233663.530799962 secs.nsecs elapsed_time: 2.368716973 secs.nsecs subreqs per batch batches % cum % 1: 4 4 4 2: 1 1 6 4: 10 12 18 8: 5 6 24 16: 5 6 30 32: 58 69 100 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s for '' Waiting 25s for '' Waiting 5s for '' statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1781233696.617730653 secs.nsecs start_time: 1781233663.530799962 secs.nsecs elapsed_time: 33.086930691 secs.nsecs subreqs per batch batches % cum % 1: 5 5 5 2: 1 1 7 4: 10 11 19 8: 5 5 25 16: 5 5 30 32: 58 69 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 3.35 seconds: 298.20 ops/second llite.lustre-ffff969f05a0b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff969f05a0b000.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: 1781233704.262704137 secs.nsecs start_time: 1781233702.234210422 secs.nsecs elapsed_time: 2.028493715 secs.nsecs subreqs per batch batches % cum % 1: 13 13 13 2: 5 5 18 4: 3 3 21 8: 12 12 33 16: 8 8 41 32: 57 58 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: 1781233735.017486908 secs.nsecs start_time: 1781233702.234210422 secs.nsecs elapsed_time: 32.783276486 secs.nsecs subreqs per batch batches % cum % 1: 14 14 14 2: 5 5 19 4: 3 3 22 8: 12 12 34 16: 8 8 42 32: 57 57 100 - unlinked 0 (time 1781233738 ; total 0 ; last 0) total: 1000 unlinks in 4 seconds: 250.000000 unlinks/second - unlinked 0 (time 1781233743 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second llite.lustre-ffff969f05a0b000.enable_statahead_fname=1 llite.lustre-ffff969f05a0b000.statahead_min=8 llite.lustre-ffff969f05a0b000.statahead_batch_max=64 llite.lustre-ffff969f05a0b000.statahead_max=128