== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 11:42:16 (1782488536) llite.lustre-ffff9ee2581b7800.statahead_max=1024 llite.lustre-ffff9ee2581b7800.statahead_batch_max=32 llite.lustre-ffff9ee2581b7800.statahead_min=64 llite.lustre-ffff9ee2581b7800.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 4.20 seconds: 238.15 ops/second llite.lustre-ffff9ee2581b7800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ee2581b7800.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: 1782488547.271096774 secs.nsecs start_time: 1782488544.469309485 secs.nsecs elapsed_time: 2.801787289 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 4 4 10 4: 7 8 18 8: 7 8 26 16: 4 4 31 32: 59 68 100 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s 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: 1782488577.814888269 secs.nsecs start_time: 1782488544.469309485 secs.nsecs elapsed_time: 33.345578784 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 4 4 11 4: 7 8 19 8: 7 8 27 16: 4 4 32 32: 59 67 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 1.95 seconds: 513.89 ops/second llite.lustre-ffff9ee2581b7800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ee2581b7800.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: 1782488583.997339674 secs.nsecs start_time: 1782488582.041903022 secs.nsecs elapsed_time: 1.955436652 secs.nsecs subreqs per batch batches %% cum %% 1: 35 28 28 2: 7 5 33 4: 6 4 38 8: 17 13 52 16: 3 2 54 32: 56 45 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: 1782488615.251082934 secs.nsecs start_time: 1782488582.041903022 secs.nsecs elapsed_time: 33.209179912 secs.nsecs subreqs per batch batches %% cum %% 1: 36 28 28 2: 7 5 34 4: 6 4 39 8: 17 13 52 16: 3 2 55 32: 56 44 100 - unlinked 0 (time 1782488617 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1782488620 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff9ee2581b7800.enable_statahead_fname=1 llite.lustre-ffff9ee2581b7800.statahead_min=8 llite.lustre-ffff9ee2581b7800.statahead_batch_max=64 llite.lustre-ffff9ee2581b7800.statahead_max=128