== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 03:37:11 (1727768231) llite.lustre-ffff8800a8991800.statahead_max=1024 llite.lustre-ffff8800a8991800.statahead_batch_max=32 llite.lustre-ffff8800a8991800.statahead_min=64 llite.lustre-ffff8800a8991800.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.92 seconds: 342.47 ops/second llite.lustre-ffff8800a8991800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a8991800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8800a8991800.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: 1727768238.297680309 secs.nsecs start_time: 1727768236.705191483 secs.nsecs elapsed_time: 1.592488826 secs.nsecs subreqs per batch batches % cum % 1: 4 4 4 2: 1 1 6 4: 11 13 19 8: 6 7 26 16: 1 1 27 32: 60 72 100 snapshot_time: 1727768238.297801200 secs.nsecs start_time: 1727768236.705309803 secs.nsecs elapsed_time: 1.592491397 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: 2 snapshot_time: 1727768269.099770826 secs.nsecs start_time: 1727768236.705191483 secs.nsecs elapsed_time: 32.394579343 secs.nsecs subreqs per batch batches % cum % 1: 5 5 5 2: 1 1 7 4: 11 13 20 8: 6 7 27 16: 1 1 28 32: 60 71 100 snapshot_time: 1727768269.102421186 secs.nsecs start_time: 1727768236.705309803 secs.nsecs elapsed_time: 32.397111383 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.85 seconds: 350.59 ops/second llite.lustre-ffff8800a8991800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a8991800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8800a8991800.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: 1727768274.625222274 secs.nsecs start_time: 1727768273.785183839 secs.nsecs elapsed_time: 0.840038435 secs.nsecs subreqs per batch batches % cum % 1: 7 8 8 2: 1 1 10 4: 0 0 10 8: 6 7 17 16: 5 6 24 32: 60 75 100 snapshot_time: 1727768274.625433604 secs.nsecs start_time: 1727768273.785311197 secs.nsecs elapsed_time: 0.840122407 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: 1727768305.026259046 secs.nsecs start_time: 1727768273.785183839 secs.nsecs elapsed_time: 31.241075207 secs.nsecs subreqs per batch batches % cum % 1: 8 10 10 2: 1 1 11 4: 0 0 11 8: 6 7 18 16: 5 6 25 32: 60 75 100 snapshot_time: 1727768305.027643641 secs.nsecs start_time: 1727768273.785311197 secs.nsecs elapsed_time: 31.242332444 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1727768307 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1727768310 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second llite.lustre-ffff8800a8991800.enable_statahead_fname=0 llite.lustre-ffff8800a8991800.statahead_min=8 llite.lustre-ffff8800a8991800.statahead_batch_max=64 llite.lustre-ffff8800a8991800.statahead_max=128