== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 23:13:39 (1790738019) llite.lustre-ffffa02491c07800.statahead_max=1024 llite.lustre-ffffa02491c07800.statahead_batch_max=32 llite.lustre-ffffa02491c07800.statahead_min=64 llite.lustre-ffffa02491c07800.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 5.82 seconds: 171.71 ops/second llite.lustre-ffffa02491c07800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa02491c07800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa02491c07800.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: 1790738034.070888909 secs.nsecs start_time: 1790738030.059680620 secs.nsecs elapsed_time: 4.011208289 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 5 5 5 4: 10 11 17 8: 9 10 28 16: 2 2 30 32: 59 69 100 snapshot_time: 1790738034.070962354 secs.nsecs start_time: 1790738030.059812607 secs.nsecs elapsed_time: 4.011149747 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: 1790738064.766335118 secs.nsecs start_time: 1790738030.059680620 secs.nsecs elapsed_time: 34.706654498 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 5 5 6 4: 10 11 18 8: 9 10 29 16: 2 2 31 32: 59 68 100 snapshot_time: 1790738064.766486234 secs.nsecs start_time: 1790738030.059812607 secs.nsecs elapsed_time: 34.706673627 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.57 seconds: 152.11 ops/second llite.lustre-ffffa02491c07800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa02491c07800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa02491c07800.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: 1790738081.416223885 secs.nsecs start_time: 1790738077.050062037 secs.nsecs elapsed_time: 4.366161848 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 2 2 4 4: 5 6 10 8: 8 9 20 16: 8 9 30 32: 58 69 100 snapshot_time: 1790738081.416283567 secs.nsecs start_time: 1790738077.050276020 secs.nsecs elapsed_time: 4.366007547 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s 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: 1790738112.816600967 secs.nsecs start_time: 1790738077.050062037 secs.nsecs elapsed_time: 35.766538930 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 2 2 5 4: 5 5 11 8: 8 9 21 16: 8 9 30 32: 58 69 100 snapshot_time: 1790738112.816668449 secs.nsecs start_time: 1790738077.050276020 secs.nsecs elapsed_time: 35.766392429 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1790738121 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1790738131 ; total 1 ; last 1) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffffa02491c07800.enable_statahead_fname=1 llite.lustre-ffffa02491c07800.statahead_min=8 llite.lustre-ffffa02491c07800.statahead_batch_max=64 llite.lustre-ffffa02491c07800.statahead_max=128