== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 11:53:42 (1790956422) llite.lustre-ffff8d8868210800.statahead_max=1024 llite.lustre-ffff8d8868210800.statahead_batch_max=32 llite.lustre-ffff8d8868210800.statahead_min=64 llite.lustre-ffff8d8868210800.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 8.18 seconds: 122.32 ops/second llite.lustre-ffff8d8868210800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d8868210800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8d8868210800.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: 1790956444.830145196 secs.nsecs start_time: 1790956439.669647789 secs.nsecs elapsed_time: 5.160497407 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 1 1 4: 11 13 15 8: 5 6 21 16: 0 0 21 32: 62 78 100 snapshot_time: 1790956444.830518536 secs.nsecs start_time: 1790956439.669720363 secs.nsecs elapsed_time: 5.160798173 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1790956475.593993025 secs.nsecs start_time: 1790956439.669647789 secs.nsecs elapsed_time: 35.924345236 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 1 1 2 4: 11 13 16 8: 5 6 22 16: 0 0 22 32: 62 77 100 snapshot_time: 1790956475.594059983 secs.nsecs start_time: 1790956439.669720363 secs.nsecs elapsed_time: 35.924339620 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 5.68 seconds: 175.94 ops/second llite.lustre-ffff8d8868210800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d8868210800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8d8868210800.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: 1790956489.645282216 secs.nsecs start_time: 1790956486.252536042 secs.nsecs elapsed_time: 3.392746174 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 2 2 9 4: 3 3 12 8: 7 8 20 16: 8 9 30 32: 60 69 100 snapshot_time: 1790956489.645349302 secs.nsecs start_time: 1790956486.252604895 secs.nsecs elapsed_time: 3.392744407 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: 1790956521.184073316 secs.nsecs start_time: 1790956486.252536042 secs.nsecs elapsed_time: 34.931537274 secs.nsecs subreqs per batch batches %% cum %% 1: 7 8 8 2: 2 2 10 4: 3 3 13 8: 7 8 21 16: 8 9 31 32: 60 68 100 snapshot_time: 1790956521.185522937 secs.nsecs start_time: 1790956486.252604895 secs.nsecs elapsed_time: 34.932918042 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1790956529 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1790956538 ; total 0 ; last 0) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second llite.lustre-ffff8d8868210800.enable_statahead_fname=1 llite.lustre-ffff8d8868210800.statahead_min=8 llite.lustre-ffff8d8868210800.statahead_batch_max=64 llite.lustre-ffff8d8868210800.statahead_max=128