== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 16:06:25 (1767733585) llite.lustre-ffff92e44641c800.statahead_max=1024 llite.lustre-ffff92e44641c800.statahead_batch_max=32 llite.lustre-ffff92e44641c800.statahead_min=64 llite.lustre-ffff92e44641c800.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 2.40 seconds: 417.21 ops/second llite.lustre-ffff92e44641c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff92e44641c800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff92e44641c800.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: 1767733593.191157410 secs.nsecs start_time: 1767733590.666531392 secs.nsecs elapsed_time: 2.524626018 secs.nsecs subreqs per batch batches % cum % 1: 1 1 1 2: 1 1 2 4: 20 23 26 8: 0 0 26 16: 2 2 28 32: 60 71 100 snapshot_time: 1767733593.191265341 secs.nsecs start_time: 1767733590.666639262 secs.nsecs elapsed_time: 2.524626079 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: 1767733623.904823605 secs.nsecs start_time: 1767733590.666531392 secs.nsecs elapsed_time: 33.238292213 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 1 1 3 4: 20 23 27 8: 0 0 27 16: 2 2 29 32: 60 70 100 snapshot_time: 1767733623.904911172 secs.nsecs start_time: 1767733590.666639262 secs.nsecs elapsed_time: 33.238271910 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 2.07 seconds: 482.24 ops/second llite.lustre-ffff92e44641c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff92e44641c800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff92e44641c800.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: 1767733630.573855739 secs.nsecs start_time: 1767733628.238304040 secs.nsecs elapsed_time: 2.335551699 secs.nsecs subreqs per batch batches % cum % 1: 14 14 14 2: 2 2 16 4: 1 1 17 8: 14 14 32 16: 7 7 40 32: 57 60 100 snapshot_time: 1767733630.573915276 secs.nsecs start_time: 1767733628.238419096 secs.nsecs elapsed_time: 2.335496180 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: 995 miss_total: 0 snapshot_time: 1767733661.335101334 secs.nsecs start_time: 1767733628.238304040 secs.nsecs elapsed_time: 33.096797294 secs.nsecs subreqs per batch batches % cum % 1: 15 15 15 2: 2 2 17 4: 1 1 18 8: 14 14 33 16: 7 7 40 32: 57 59 100 snapshot_time: 1767733661.335191654 secs.nsecs start_time: 1767733628.238419096 secs.nsecs elapsed_time: 33.096772558 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1767733664 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second - unlinked 0 (time 1767733669 ; total 0 ; last 0) total: 1000 unlinks in 4 seconds: 250.000000 unlinks/second llite.lustre-ffff92e44641c800.enable_statahead_fname=1 llite.lustre-ffff92e44641c800.statahead_min=8 llite.lustre-ffff92e44641c800.statahead_batch_max=64 llite.lustre-ffff92e44641c800.statahead_max=128