== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 05:32:09 (1781688729) llite.lustre-ffff8aefc84ef000.statahead_max=1024 llite.lustre-ffff8aefc84ef000.statahead_batch_max=32 llite.lustre-ffff8aefc84ef000.statahead_min=64 llite.lustre-ffff8aefc84ef000.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.77 seconds: 565.20 ops/second llite.lustre-ffff8aefc84ef000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8aefc84ef000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8aefc84ef000.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: 1781688735.473924998 secs.nsecs start_time: 1781688733.411547388 secs.nsecs elapsed_time: 2.062377610 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 0 0 3 4: 11 12 16 8: 11 12 29 16: 1 1 30 32: 59 69 100 snapshot_time: 1781688735.473982411 secs.nsecs start_time: 1781688733.411648426 secs.nsecs elapsed_time: 2.062333985 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: 1781688765.922118881 secs.nsecs start_time: 1781688733.411547388 secs.nsecs elapsed_time: 32.510571493 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 0 0 4 4: 11 12 17 8: 11 12 30 16: 1 1 31 32: 59 68 100 snapshot_time: 1781688765.922178799 secs.nsecs start_time: 1781688733.411648426 secs.nsecs elapsed_time: 32.510530373 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.46 seconds: 684.23 ops/second llite.lustre-ffff8aefc84ef000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8aefc84ef000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8aefc84ef000.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: 1781688771.566239155 secs.nsecs start_time: 1781688769.307469196 secs.nsecs elapsed_time: 2.258769959 secs.nsecs subreqs per batch batches %% cum %% 1: 27 25 25 2: 1 0 25 4: 4 3 29 8: 13 12 41 16: 7 6 48 32: 56 51 100 snapshot_time: 1781688771.566293372 secs.nsecs start_time: 1781688769.307519537 secs.nsecs elapsed_time: 2.258773835 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: 1781688802.072484746 secs.nsecs start_time: 1781688769.307469196 secs.nsecs elapsed_time: 32.765015550 secs.nsecs subreqs per batch batches %% cum %% 1: 28 25 25 2: 1 0 26 4: 4 3 30 8: 13 11 42 16: 7 6 48 32: 56 51 100 snapshot_time: 1781688802.072547135 secs.nsecs start_time: 1781688769.307519537 secs.nsecs elapsed_time: 32.765027598 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1781688805 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1781688808 ; total 0 ; last 0) total: 1000 unlinks in 4 seconds: 250.000000 unlinks/second llite.lustre-ffff8aefc84ef000.enable_statahead_fname=1 llite.lustre-ffff8aefc84ef000.statahead_min=8 llite.lustre-ffff8aefc84ef000.statahead_batch_max=64 llite.lustre-ffff8aefc84ef000.statahead_max=128