== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 13:21:58 (1731349318) llite.lustre-ffff8800b636b800.statahead_max=1024 llite.lustre-ffff8800b636b800.statahead_batch_max=32 llite.lustre-ffff8800b636b800.statahead_min=64 llite.lustre-ffff8800b636b800.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.27 seconds: 787.47 ops/second llite.lustre-ffff8800b636b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800b636b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8800b636b800.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: 1731349321.939027741 secs.nsecs start_time: 1731349321.160040733 secs.nsecs elapsed_time: 0.778987008 secs.nsecs subreqs per batch batches % cum % 1: 4 4 4 2: 4 4 9 4: 9 10 19 8: 9 10 30 16: 1 1 31 32: 59 68 100 snapshot_time: 1731349321.939167705 secs.nsecs start_time: 1731349321.160192629 secs.nsecs elapsed_time: 0.778975076 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: 1731349353.024747995 secs.nsecs start_time: 1731349321.160040733 secs.nsecs elapsed_time: 31.864707262 secs.nsecs subreqs per batch batches % cum % 1: 5 5 5 2: 4 4 10 4: 9 10 20 8: 9 10 31 16: 1 1 32 32: 59 67 100 snapshot_time: 1731349353.024941802 secs.nsecs start_time: 1731349321.160192629 secs.nsecs elapsed_time: 31.864749173 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 0.96 seconds: 1045.66 ops/second llite.lustre-ffff8800b636b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800b636b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8800b636b800.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: 1731349355.668218731 secs.nsecs start_time: 1731349355.278645068 secs.nsecs elapsed_time: 0.389573663 secs.nsecs subreqs per batch batches % cum % 1: 8 9 9 2: 2 2 11 4: 1 1 12 8: 12 13 26 16: 6 6 33 32: 58 66 100 snapshot_time: 1731349355.668323386 secs.nsecs start_time: 1731349355.278725402 secs.nsecs elapsed_time: 0.389597984 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: 1731349386.688222263 secs.nsecs start_time: 1731349355.278645068 secs.nsecs elapsed_time: 31.409577195 secs.nsecs subreqs per batch batches % cum % 1: 9 10 10 2: 2 2 12 4: 1 1 13 8: 12 13 27 16: 6 6 34 32: 58 65 100 snapshot_time: 1731349386.688342264 secs.nsecs start_time: 1731349355.278725402 secs.nsecs elapsed_time: 31.409616862 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1731349388 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1731349392 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second llite.lustre-ffff8800b636b800.enable_statahead_fname=0 llite.lustre-ffff8800b636b800.statahead_min=8 llite.lustre-ffff8800b636b800.statahead_batch_max=64 llite.lustre-ffff8800b636b800.statahead_max=128