== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 18:59:05 (1718319545) llite.lustre-ffff8800b6d03800.statahead_max=1024 llite.lustre-ffff8800b6d03800.statahead_batch_max=32 llite.lustre-ffff8800b6d03800.statahead_min=64 llite.lustre-ffff8800b6d03800.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 0.95 seconds: 1057.88 ops/second llite.lustre-ffff8800b6d03800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800b6d03800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8800b6d03800.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: 1718319549.450138409 secs.nsecs start_time: 1718319548.658534702 secs.nsecs elapsed_time: 0.791603707 secs.nsecs subreqs per batch batches % cum % 1: 3 3 3 2: 4 4 8 4: 15 17 25 8: 5 5 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1718319549.450245675 secs.nsecs start_time: 1718319548.658656655 secs.nsecs elapsed_time: 0.791589020 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: 994 miss_total: 1 snapshot_time: 1718319579.686876495 secs.nsecs start_time: 1718319548.658534702 secs.nsecs elapsed_time: 31.028341793 secs.nsecs subreqs per batch batches % cum % 1: 4 4 4 2: 4 4 9 4: 15 17 26 8: 5 5 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1718319579.687072052 secs.nsecs start_time: 1718319548.658656655 secs.nsecs elapsed_time: 31.028415397 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.11 seconds: 903.68 ops/second llite.lustre-ffff8800b6d03800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800b6d03800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8800b6d03800.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: 1718319582.578263418 secs.nsecs start_time: 1718319582.061435994 secs.nsecs elapsed_time: 0.516827424 secs.nsecs subreqs per batch batches % cum % 1: 13 13 13 2: 3 3 17 4: 0 0 17 8: 13 13 31 16: 8 8 39 32: 56 60 100 snapshot_time: 1718319582.578417183 secs.nsecs start_time: 1718319582.061593324 secs.nsecs elapsed_time: 0.516823859 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: 1718319612.906961138 secs.nsecs start_time: 1718319582.061435994 secs.nsecs elapsed_time: 30.845525144 secs.nsecs subreqs per batch batches % cum % 1: 14 14 14 2: 3 3 18 4: 0 0 18 8: 13 13 31 16: 8 8 40 32: 56 59 100 snapshot_time: 1718319612.907242288 secs.nsecs start_time: 1718319582.061593324 secs.nsecs elapsed_time: 30.845648964 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1718319615 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1718319619 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second llite.lustre-ffff8800b6d03800.enable_statahead_fname=0 llite.lustre-ffff8800b6d03800.statahead_min=8 llite.lustre-ffff8800b6d03800.statahead_batch_max=64 llite.lustre-ffff8800b6d03800.statahead_max=128