== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 21:01:06 (1746147666) llite.lustre-ffff8800a738a800.statahead_max=1024 llite.lustre-ffff8800a738a800.statahead_batch_max=32 llite.lustre-ffff8800a738a800.statahead_min=64 llite.lustre-ffff8800a738a800.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 4.94 seconds: 202.39 ops/second llite.lustre-ffff8800a738a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a738a800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8800a738a800.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: 1746147678.108512404 secs.nsecs start_time: 1746147675.649290336 secs.nsecs elapsed_time: 2.459222068 secs.nsecs subreqs per batch batches % cum % 1: 6 6 6 2: 5 5 12 4: 8 9 21 8: 6 6 28 16: 2 2 31 32: 60 68 100 snapshot_time: 1746147678.109055922 secs.nsecs start_time: 1746147675.649368966 secs.nsecs elapsed_time: 2.459686956 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: 1746147708.997216465 secs.nsecs start_time: 1746147675.649290336 secs.nsecs elapsed_time: 33.347926129 secs.nsecs subreqs per batch batches % cum % 1: 7 7 7 2: 5 5 13 4: 8 9 22 8: 6 6 29 16: 2 2 31 32: 60 68 100 snapshot_time: 1746147708.997320278 secs.nsecs start_time: 1746147675.649368966 secs.nsecs elapsed_time: 33.347951312 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 4.20 seconds: 238.04 ops/second llite.lustre-ffff8800a738a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a738a800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8800a738a800.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: 1746147717.279186349 secs.nsecs start_time: 1746147715.819370032 secs.nsecs elapsed_time: 1.459816317 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 3 3 6 4: 4 5 11 8: 4 5 16 16: 4 5 22 32: 60 77 100 snapshot_time: 1746147717.279569949 secs.nsecs start_time: 1746147715.819620928 secs.nsecs elapsed_time: 1.459949021 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: 1746147747.919421054 secs.nsecs start_time: 1746147715.819370032 secs.nsecs elapsed_time: 32.100051022 secs.nsecs subreqs per batch batches % cum % 1: 3 3 3 2: 3 3 7 4: 4 5 12 8: 4 5 17 16: 4 5 23 32: 60 76 100 snapshot_time: 1746147747.919543759 secs.nsecs start_time: 1746147715.819620928 secs.nsecs elapsed_time: 32.099922831 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1746147753 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1746147760 ; total 0 ; last 0) total: 1000 unlinks in 9 seconds: 111.111115 unlinks/second llite.lustre-ffff8800a738a800.enable_statahead_fname=1 llite.lustre-ffff8800a738a800.statahead_min=8 llite.lustre-ffff8800a738a800.statahead_batch_max=64 llite.lustre-ffff8800a738a800.statahead_max=128