== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 22:37:11 (1777430231) llite.lustre-ffff984d8a867800.statahead_max=1024 llite.lustre-ffff984d8a867800.statahead_batch_max=32 llite.lustre-ffff984d8a867800.statahead_min=64 llite.lustre-ffff984d8a867800.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.25 seconds: 444.13 ops/second llite.lustre-ffff984d8a867800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff984d8a867800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff984d8a867800.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: 1777430238.796539743 secs.nsecs start_time: 1777430236.380724070 secs.nsecs elapsed_time: 2.415815673 secs.nsecs subreqs per batch batches % cum % 1: 3 3 3 2: 1 1 4 4: 23 25 30 8: 1 1 31 16: 1 1 32 32: 60 67 100 snapshot_time: 1777430238.796598803 secs.nsecs start_time: 1777430236.380833003 secs.nsecs elapsed_time: 2.415765800 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: 1777430269.417097807 secs.nsecs start_time: 1777430236.380724070 secs.nsecs elapsed_time: 33.036373737 secs.nsecs subreqs per batch batches % cum % 1: 4 4 4 2: 1 1 5 4: 23 25 31 8: 1 1 32 16: 1 1 33 32: 60 66 100 snapshot_time: 1777430269.417143400 secs.nsecs start_time: 1777430236.380833003 secs.nsecs elapsed_time: 33.036310397 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.99 seconds: 502.48 ops/second llite.lustre-ffff984d8a867800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff984d8a867800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff984d8a867800.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: 1777430274.922518533 secs.nsecs start_time: 1777430273.377957863 secs.nsecs elapsed_time: 1.544560670 secs.nsecs subreqs per batch batches % cum % 1: 21 19 19 2: 4 3 23 4: 2 1 25 8: 19 17 42 16: 5 4 47 32: 56 52 100 snapshot_time: 1777430274.922563150 secs.nsecs start_time: 1777430273.378006017 secs.nsecs elapsed_time: 1.544557133 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 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: 1777430305.754222522 secs.nsecs start_time: 1777430273.377957863 secs.nsecs elapsed_time: 32.376264659 secs.nsecs subreqs per batch batches % cum % 1: 22 20 20 2: 4 3 24 4: 2 1 25 8: 19 17 43 16: 5 4 48 32: 56 51 100 snapshot_time: 1777430305.754371510 secs.nsecs start_time: 1777430273.378006017 secs.nsecs elapsed_time: 32.376365493 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1777430309 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1777430313 ; total 0 ; last 0) total: 1000 unlinks in 4 seconds: 250.000000 unlinks/second llite.lustre-ffff984d8a867800.enable_statahead_fname=1 llite.lustre-ffff984d8a867800.statahead_min=8 llite.lustre-ffff984d8a867800.statahead_batch_max=64 llite.lustre-ffff984d8a867800.statahead_max=128