== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 07:47:42 (1789991262) llite.lustre-ffff9ecdb1fc0000.statahead_max=1024 llite.lustre-ffff9ecdb1fc0000.statahead_batch_max=32 llite.lustre-ffff9ecdb1fc0000.statahead_min=64 llite.lustre-ffff9ecdb1fc0000.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 1.71 seconds: 584.22 ops/second llite.lustre-ffff9ecdb1fc0000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ecdb1fc0000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9ecdb1fc0000.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: 1789991268.233548422 secs.nsecs start_time: 1789991265.955907287 secs.nsecs elapsed_time: 2.277641135 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 1 1 3 4: 17 19 23 8: 6 6 30 16: 0 0 30 32: 60 69 100 snapshot_time: 1789991268.233612867 secs.nsecs start_time: 1789991265.955984647 secs.nsecs elapsed_time: 2.277628220 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: 1789991298.607174701 secs.nsecs start_time: 1789991265.955907287 secs.nsecs elapsed_time: 32.651267414 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 1 1 4 4: 17 19 24 8: 6 6 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1789991298.607237539 secs.nsecs start_time: 1789991265.955984647 secs.nsecs elapsed_time: 32.651252892 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 1.87 seconds: 534.46 ops/second llite.lustre-ffff9ecdb1fc0000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ecdb1fc0000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9ecdb1fc0000.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: 1789991304.397645023 secs.nsecs start_time: 1789991302.556487353 secs.nsecs elapsed_time: 1.841157670 secs.nsecs subreqs per batch batches %% cum %% 1: 11 11 11 2: 6 6 17 4: 3 3 20 8: 18 18 38 16: 4 4 42 32: 57 57 100 snapshot_time: 1789991304.397713063 secs.nsecs start_time: 1789991302.556561219 secs.nsecs elapsed_time: 1.841151844 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: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1789991334.890904418 secs.nsecs start_time: 1789991302.556487353 secs.nsecs elapsed_time: 32.334417065 secs.nsecs subreqs per batch batches %% cum %% 1: 12 12 12 2: 6 6 18 4: 3 3 21 8: 18 18 39 16: 4 4 43 32: 57 57 100 snapshot_time: 1789991334.890973606 secs.nsecs start_time: 1789991302.556561219 secs.nsecs elapsed_time: 32.334412387 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1789991337 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1789991340 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff9ecdb1fc0000.enable_statahead_fname=1 llite.lustre-ffff9ecdb1fc0000.statahead_min=8 llite.lustre-ffff9ecdb1fc0000.statahead_batch_max=64 llite.lustre-ffff9ecdb1fc0000.statahead_max=128