== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 08:09:27 (1768568967) llite.lustre-ffff96d943275000.statahead_max=1024 llite.lustre-ffff96d943275000.statahead_batch_max=32 llite.lustre-ffff96d943275000.statahead_min=64 llite.lustre-ffff96d943275000.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 3.81 seconds: 262.75 ops/second llite.lustre-ffff96d943275000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96d943275000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff96d943275000.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: 1768568977.305568912 secs.nsecs start_time: 1768568974.752765981 secs.nsecs elapsed_time: 2.552802931 secs.nsecs subreqs per batch batches % cum % 1: 4 4 4 2: 2 2 7 4: 7 8 15 8: 9 10 26 16: 2 2 28 32: 59 71 100 snapshot_time: 1768568977.305633435 secs.nsecs start_time: 1768568974.752852821 secs.nsecs elapsed_time: 2.552780614 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: 1768569008.582321896 secs.nsecs start_time: 1768568974.752765981 secs.nsecs elapsed_time: 33.829555915 secs.nsecs subreqs per batch batches % cum % 1: 5 5 5 2: 2 2 8 4: 7 8 16 8: 9 10 27 16: 2 2 29 32: 59 70 100 snapshot_time: 1768569008.582381281 secs.nsecs start_time: 1768568974.752852821 secs.nsecs elapsed_time: 33.829528460 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 3.37 seconds: 296.36 ops/second llite.lustre-ffff96d943275000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96d943275000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff96d943275000.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: 1768569017.312624105 secs.nsecs start_time: 1768569014.686160079 secs.nsecs elapsed_time: 2.626464026 secs.nsecs subreqs per batch batches % cum % 1: 12 13 13 2: 3 3 16 4: 1 1 17 8: 7 7 25 16: 7 7 33 32: 59 66 100 snapshot_time: 1768569017.312696013 secs.nsecs start_time: 1768569014.686257079 secs.nsecs elapsed_time: 2.626438934 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: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1768569048.353237058 secs.nsecs start_time: 1768569014.686160079 secs.nsecs elapsed_time: 33.667076979 secs.nsecs subreqs per batch batches % cum % 1: 13 14 14 2: 3 3 17 4: 1 1 18 8: 7 7 26 16: 7 7 34 32: 59 65 100 snapshot_time: 1768569048.353301471 secs.nsecs start_time: 1768569014.686257079 secs.nsecs elapsed_time: 33.667044392 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1768569053 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second - unlinked 0 (time 1768569058 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second llite.lustre-ffff96d943275000.enable_statahead_fname=1 llite.lustre-ffff96d943275000.statahead_min=8 llite.lustre-ffff96d943275000.statahead_batch_max=64 llite.lustre-ffff96d943275000.statahead_max=128