== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 04:03:45 (1769763825) llite.lustre-ffff9d16086fe800.statahead_max=1024 llite.lustre-ffff9d16086fe800.statahead_batch_max=32 llite.lustre-ffff9d16086fe800.statahead_min=64 llite.lustre-ffff9d16086fe800.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.10 seconds: 913.07 ops/second llite.lustre-ffff9d16086fe800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d16086fe800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9d16086fe800.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: 1769763830.932289734 secs.nsecs start_time: 1769763828.810384052 secs.nsecs elapsed_time: 2.121905682 secs.nsecs subreqs per batch batches % cum % 1: 4 4 4 2: 0 0 4 4: 16 18 22 8: 7 8 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1769763830.932331326 secs.nsecs start_time: 1769763828.810468406 secs.nsecs elapsed_time: 2.121862920 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: 1769763862.140184735 secs.nsecs start_time: 1769763828.810384052 secs.nsecs elapsed_time: 33.329800683 secs.nsecs subreqs per batch batches % cum % 1: 5 5 5 2: 0 0 5 4: 16 18 23 8: 7 7 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1769763862.140250075 secs.nsecs start_time: 1769763828.810468406 secs.nsecs elapsed_time: 33.329781669 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.02 seconds: 978.33 ops/second llite.lustre-ffff9d16086fe800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d16086fe800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9d16086fe800.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: 1769763867.193602862 secs.nsecs start_time: 1769763864.834348942 secs.nsecs elapsed_time: 2.359253920 secs.nsecs subreqs per batch batches % cum % 1: 34 25 25 2: 15 11 36 4: 11 8 44 8: 17 12 56 16: 3 2 58 32: 56 41 100 snapshot_time: 1769763867.193662957 secs.nsecs start_time: 1769763864.834669237 secs.nsecs elapsed_time: 2.358993720 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: 1769763897.557375268 secs.nsecs start_time: 1769763864.834348942 secs.nsecs elapsed_time: 32.723026326 secs.nsecs subreqs per batch batches % cum % 1: 35 25 25 2: 15 10 36 4: 11 8 44 8: 17 12 56 16: 3 2 59 32: 56 40 100 snapshot_time: 1769763897.557464458 secs.nsecs start_time: 1769763864.834669237 secs.nsecs elapsed_time: 32.722795221 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1769763900 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1769763902 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff9d16086fe800.enable_statahead_fname=1 llite.lustre-ffff9d16086fe800.statahead_min=8 llite.lustre-ffff9d16086fe800.statahead_batch_max=64 llite.lustre-ffff9d16086fe800.statahead_max=128