== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 11:54:32 (1789142072) llite.lustre-ffff8b0445cc0800.statahead_max=1024 llite.lustre-ffff8b0445cc0800.statahead_batch_max=32 llite.lustre-ffff8b0445cc0800.statahead_min=64 llite.lustre-ffff8b0445cc0800.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 4.93 seconds: 202.80 ops/second llite.lustre-ffff8b0445cc0800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8b0445cc0800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8b0445cc0800.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: 1789142087.343144642 secs.nsecs start_time: 1789142083.238703316 secs.nsecs elapsed_time: 4.104441326 secs.nsecs subreqs per batch batches %% cum %% 1: 7 8 8 2: 4 4 12 4: 10 11 24 8: 6 6 31 16: 1 1 32 32: 59 67 100 snapshot_time: 1789142087.343209983 secs.nsecs start_time: 1789142083.238852218 secs.nsecs elapsed_time: 4.104357765 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1789142118.255430447 secs.nsecs start_time: 1789142083.238703316 secs.nsecs elapsed_time: 35.016727131 secs.nsecs subreqs per batch batches %% cum %% 1: 7 8 8 2: 4 4 12 4: 10 11 24 8: 6 6 31 16: 1 1 32 32: 59 67 100 snapshot_time: 1789142118.255501157 secs.nsecs start_time: 1789142083.238852218 secs.nsecs elapsed_time: 35.016648939 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 6.23 seconds: 160.56 ops/second llite.lustre-ffff8b0445cc0800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8b0445cc0800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8b0445cc0800.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: 1789142132.592406483 secs.nsecs start_time: 1789142129.373158073 secs.nsecs elapsed_time: 3.219248410 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 0 0 2 4: 3 3 6 8: 6 7 14 16: 5 6 20 32: 61 79 100 snapshot_time: 1789142132.592475558 secs.nsecs start_time: 1789142129.373248132 secs.nsecs elapsed_time: 3.219227426 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: 992 miss_total: 1 snapshot_time: 1789142163.593730096 secs.nsecs start_time: 1789142129.373158073 secs.nsecs elapsed_time: 34.220572023 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 0 0 2 4: 3 3 6 8: 6 7 14 16: 5 6 20 32: 61 79 100 snapshot_time: 1789142163.593833416 secs.nsecs start_time: 1789142129.373248132 secs.nsecs elapsed_time: 34.220585284 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1789142171 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1789142180 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff8b0445cc0800.enable_statahead_fname=1 llite.lustre-ffff8b0445cc0800.statahead_min=8 llite.lustre-ffff8b0445cc0800.statahead_batch_max=64 llite.lustre-ffff8b0445cc0800.statahead_max=128