== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 12:54:29 (1788886469) llite.lustre-ffff8c2121fcd800.statahead_max=1024 llite.lustre-ffff8c2121fcd800.statahead_batch_max=32 llite.lustre-ffff8c2121fcd800.statahead_min=64 llite.lustre-ffff8c2121fcd800.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 2.20 seconds: 453.93 ops/second llite.lustre-ffff8c2121fcd800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c2121fcd800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c2121fcd800.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: 1788886477.134713349 secs.nsecs start_time: 1788886474.755627716 secs.nsecs elapsed_time: 2.379085633 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 2 2 2 4: 13 15 18 8: 6 7 25 16: 2 2 28 32: 59 71 100 snapshot_time: 1788886477.134806092 secs.nsecs start_time: 1788886474.755708336 secs.nsecs elapsed_time: 2.379097756 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: 1788886508.418928573 secs.nsecs start_time: 1788886474.755627716 secs.nsecs elapsed_time: 33.663300857 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 2 2 3 4: 13 15 19 8: 6 7 26 16: 2 2 28 32: 59 71 100 snapshot_time: 1788886508.418967274 secs.nsecs start_time: 1788886474.755708336 secs.nsecs elapsed_time: 33.663258938 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.42 seconds: 704.87 ops/second llite.lustre-ffff8c2121fcd800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c2121fcd800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c2121fcd800.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: 1788886513.563025373 secs.nsecs start_time: 1788886511.622760701 secs.nsecs elapsed_time: 1.940264672 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 1 1 6 4: 1 1 7 8: 11 13 20 16: 7 8 29 32: 58 70 100 snapshot_time: 1788886513.563089143 secs.nsecs start_time: 1788886511.622833740 secs.nsecs elapsed_time: 1.940255403 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: 1788886543.861645672 secs.nsecs start_time: 1788886511.622760701 secs.nsecs elapsed_time: 32.238884971 secs.nsecs subreqs per batch batches %% cum %% 1: 5 6 6 2: 1 1 7 4: 1 1 8 8: 11 13 21 16: 7 8 30 32: 58 69 100 snapshot_time: 1788886543.862038597 secs.nsecs start_time: 1788886511.622833740 secs.nsecs elapsed_time: 32.239204857 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1788886546 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1788886549 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second llite.lustre-ffff8c2121fcd800.enable_statahead_fname=1 llite.lustre-ffff8c2121fcd800.statahead_min=8 llite.lustre-ffff8c2121fcd800.statahead_batch_max=64 llite.lustre-ffff8c2121fcd800.statahead_max=128