== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 00:48:11 (1789188491) llite.lustre-ffff9a65ea2db800.statahead_max=1024 llite.lustre-ffff9a65ea2db800.statahead_batch_max=32 llite.lustre-ffff9a65ea2db800.statahead_min=64 llite.lustre-ffff9a65ea2db800.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 0.96 seconds: 1045.40 ops/second llite.lustre-ffff9a65ea2db800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a65ea2db800.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: 1789188496.121818437 secs.nsecs start_time: 1789188494.185913352 secs.nsecs elapsed_time: 1.935905085 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 3 3 7 4: 18 20 28 8: 3 3 31 16: 1 1 32 32: 60 67 100 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: 994 miss_total: 1 snapshot_time: 1789188527.192163182 secs.nsecs start_time: 1789188494.185913352 secs.nsecs elapsed_time: 33.006249830 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 3 3 8 4: 18 20 28 8: 3 3 32 16: 1 1 33 32: 60 66 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.97 seconds: 1028.18 ops/second llite.lustre-ffff9a65ea2db800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a65ea2db800.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: 1789188531.405915452 secs.nsecs start_time: 1789188529.665442670 secs.nsecs elapsed_time: 1.740472782 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 0 0 5 4: 4 4 10 8: 18 20 31 16: 3 3 34 32: 57 65 100 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: 995 miss_total: 0 snapshot_time: 1789188562.592714779 secs.nsecs start_time: 1789188529.665442670 secs.nsecs elapsed_time: 32.927272109 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 0 0 6 4: 4 4 11 8: 18 20 31 16: 3 3 35 32: 57 64 100 - unlinked 0 (time 1789188565 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1789188568 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff9a65ea2db800.enable_statahead_fname=1 llite.lustre-ffff9a65ea2db800.statahead_min=8 llite.lustre-ffff9a65ea2db800.statahead_batch_max=64 llite.lustre-ffff9a65ea2db800.statahead_max=128