== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 03:47:07 (1789458427) llite.lustre-ffff8cbac2e71800.statahead_max=1024 llite.lustre-ffff8cbac2e71800.statahead_batch_max=32 llite.lustre-ffff8cbac2e71800.statahead_min=64 llite.lustre-ffff8cbac2e71800.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 6.93 seconds: 144.24 ops/second llite.lustre-ffff8cbac2e71800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cbac2e71800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8cbac2e71800.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: 1789458446.129667068 secs.nsecs start_time: 1789458441.397023834 secs.nsecs elapsed_time: 4.732643234 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 5 5 10 4: 10 11 21 8: 6 6 28 16: 3 3 32 32: 59 67 100 snapshot_time: 1789458446.129749050 secs.nsecs start_time: 1789458441.397090969 secs.nsecs elapsed_time: 4.732658081 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: 1789458476.844522860 secs.nsecs start_time: 1789458441.397023834 secs.nsecs elapsed_time: 35.447499026 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 5 5 11 4: 10 11 22 8: 6 6 29 16: 3 3 32 32: 59 67 100 snapshot_time: 1789458476.844591432 secs.nsecs start_time: 1789458441.397090969 secs.nsecs elapsed_time: 35.447500463 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.10 seconds: 164.01 ops/second llite.lustre-ffff8cbac2e71800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cbac2e71800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8cbac2e71800.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: 1789458491.467660533 secs.nsecs start_time: 1789458487.909116151 secs.nsecs elapsed_time: 3.558544382 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 1 1 9 4: 7 7 17 8: 7 7 25 16: 7 7 32 32: 59 67 100 snapshot_time: 1789458491.467736738 secs.nsecs start_time: 1789458487.909477243 secs.nsecs elapsed_time: 3.558259495 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 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: 1789458522.435736053 secs.nsecs start_time: 1789458487.909116151 secs.nsecs elapsed_time: 34.526619902 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 1 1 10 4: 7 7 17 8: 7 7 25 16: 7 7 33 32: 59 66 100 snapshot_time: 1789458522.435796681 secs.nsecs start_time: 1789458487.909477243 secs.nsecs elapsed_time: 34.526319438 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1789458532 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1789458544 ; total 0 ; last 0) total: 1000 unlinks in 13 seconds: 76.923080 unlinks/second llite.lustre-ffff8cbac2e71800.enable_statahead_fname=1 llite.lustre-ffff8cbac2e71800.statahead_min=8 llite.lustre-ffff8cbac2e71800.statahead_batch_max=64 llite.lustre-ffff8cbac2e71800.statahead_max=128