== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 13:23:44 (1777915424) llite.lustre-ffff921385495800.statahead_max=1024 llite.lustre-ffff921385495800.statahead_batch_max=32 llite.lustre-ffff921385495800.statahead_min=64 llite.lustre-ffff921385495800.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 0.99 seconds: 1006.14 ops/second llite.lustre-ffff921385495800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff921385495800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff921385495800.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: 1777915429.581285895 secs.nsecs start_time: 1777915427.679288610 secs.nsecs elapsed_time: 1.901997285 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 2 2 2 4: 16 19 21 8: 6 7 28 16: 0 0 28 32: 60 71 100 snapshot_time: 1777915429.581324289 secs.nsecs start_time: 1777915427.679348668 secs.nsecs elapsed_time: 1.901975621 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: 1777915460.815981994 secs.nsecs start_time: 1777915427.679288610 secs.nsecs elapsed_time: 33.136693384 secs.nsecs subreqs per batch batches % cum % 1: 1 1 1 2: 2 2 3 4: 16 18 22 8: 6 7 29 16: 0 0 29 32: 60 70 100 snapshot_time: 1777915460.816041399 secs.nsecs start_time: 1777915427.679348668 secs.nsecs elapsed_time: 33.136692731 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.02 seconds: 976.76 ops/second llite.lustre-ffff921385495800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff921385495800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff921385495800.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: 1777915465.354217431 secs.nsecs start_time: 1777915463.463450754 secs.nsecs elapsed_time: 1.890766677 secs.nsecs subreqs per batch batches % cum % 1: 11 11 11 2: 5 5 16 4: 4 4 20 8: 14 14 35 16: 6 6 41 32: 57 58 100 snapshot_time: 1777915465.354276664 secs.nsecs start_time: 1777915463.463503470 secs.nsecs elapsed_time: 1.890773194 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: 1777915496.476517075 secs.nsecs start_time: 1777915463.463450754 secs.nsecs elapsed_time: 33.013066321 secs.nsecs subreqs per batch batches % cum % 1: 12 12 12 2: 5 5 17 4: 4 4 21 8: 14 14 35 16: 6 6 41 32: 57 58 100 snapshot_time: 1777915496.476556886 secs.nsecs start_time: 1777915463.463503470 secs.nsecs elapsed_time: 33.013053416 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1777915498 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1777915501 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second llite.lustre-ffff921385495800.enable_statahead_fname=1 llite.lustre-ffff921385495800.statahead_min=8 llite.lustre-ffff921385495800.statahead_batch_max=64 llite.lustre-ffff921385495800.statahead_max=128