== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 00:46:34 (1721882794) llite.lustre-ffff88012f88b000.statahead_max=1024 llite.lustre-ffff88012f88b000.statahead_batch_max=32 llite.lustre-ffff88012f88b000.statahead_min=64 llite.lustre-ffff88012f88b000.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.93 seconds: 517.77 ops/second llite.lustre-ffff88012f88b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012f88b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88012f88b000.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: 1721882799.053729721 secs.nsecs start_time: 1721882798.309446933 secs.nsecs elapsed_time: 0.744282788 secs.nsecs subreqs per batch batches % cum % 1: 9 9 9 2: 1 1 10 4: 16 17 28 8: 6 6 35 16: 0 0 35 32: 59 64 100 snapshot_time: 1721882799.053871219 secs.nsecs start_time: 1721882798.309597876 secs.nsecs elapsed_time: 0.744273343 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: 1721882830.049197322 secs.nsecs start_time: 1721882798.309446933 secs.nsecs elapsed_time: 31.739750389 secs.nsecs subreqs per batch batches % cum % 1: 10 10 10 2: 1 1 11 4: 16 17 29 8: 6 6 35 16: 0 0 35 32: 59 64 100 snapshot_time: 1721882830.049328602 secs.nsecs start_time: 1721882798.309597876 secs.nsecs elapsed_time: 31.739730726 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.31 seconds: 764.03 ops/second llite.lustre-ffff88012f88b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012f88b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88012f88b000.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: 1721882833.055267872 secs.nsecs start_time: 1721882832.550351933 secs.nsecs elapsed_time: 0.504915939 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 3 3 6 4: 0 0 6 8: 15 18 24 16: 5 6 30 32: 58 69 100 snapshot_time: 1721882833.055377771 secs.nsecs start_time: 1721882832.550455699 secs.nsecs elapsed_time: 0.504922072 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: 1721882863.860527384 secs.nsecs start_time: 1721882832.550351933 secs.nsecs elapsed_time: 31.310175451 secs.nsecs subreqs per batch batches % cum % 1: 3 3 3 2: 3 3 7 4: 0 0 7 8: 15 17 25 16: 5 5 30 32: 58 69 100 snapshot_time: 1721882863.860625876 secs.nsecs start_time: 1721882832.550455699 secs.nsecs elapsed_time: 31.310170177 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1721882865 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1721882867 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff88012f88b000.enable_statahead_fname=0 llite.lustre-ffff88012f88b000.statahead_min=8 llite.lustre-ffff88012f88b000.statahead_batch_max=64 llite.lustre-ffff88012f88b000.statahead_max=128