== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 20:30:21 (1712017821) llite.lustre-ffff8800aae97800.statahead_max=1024 llite.lustre-ffff8800aae97800.statahead_batch_max=32 llite.lustre-ffff8800aae97800.statahead_min=64 llite.lustre-ffff8800aae97800.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.19 ops/second llite.lustre-ffff8800aae97800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800aae97800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8800aae97800.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: 1712017829.520394732 secs.nsecs start_time: 1712017827.443361317 secs.nsecs elapsed_time: 2.077033415 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 2 3 3 4: 1 1 4 8: 2 3 7 16: 4 6 14 32: 55 85 100 snapshot_time: 1712017829.520979148 secs.nsecs start_time: 1712017827.443501036 secs.nsecs elapsed_time: 2.077478112 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: 1712017860.681786348 secs.nsecs start_time: 1712017827.443361317 secs.nsecs elapsed_time: 33.238425031 secs.nsecs subreqs per batch batches % cum % 1: 1 1 1 2: 2 2 4 4: 1 1 5 8: 3 4 9 16: 4 5 15 32: 61 84 100 snapshot_time: 1712017860.681959422 secs.nsecs start_time: 1712017827.443501036 secs.nsecs elapsed_time: 33.238458386 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.57 seconds: 389.10 ops/second llite.lustre-ffff8800aae97800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800aae97800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8800aae97800.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: 1712017866.312928044 secs.nsecs start_time: 1712017865.004434348 secs.nsecs elapsed_time: 1.308493696 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 3 3 16: 1 1 4 32: 59 95 100 snapshot_time: 1712017866.315912487 secs.nsecs start_time: 1712017865.006554615 secs.nsecs elapsed_time: 1.309357872 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s 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: 1712017897.218770393 secs.nsecs start_time: 1712017865.004434348 secs.nsecs elapsed_time: 32.214336045 secs.nsecs subreqs per batch batches % cum % 1: 1 1 1 2: 0 0 1 4: 0 0 1 8: 2 2 4 16: 2 2 7 32: 62 92 100 snapshot_time: 1712017897.219001325 secs.nsecs start_time: 1712017865.006554615 secs.nsecs elapsed_time: 32.212446710 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1712017900 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second - unlinked 0 (time 1712017905 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second llite.lustre-ffff8800aae97800.enable_statahead_fname=0 llite.lustre-ffff8800aae97800.statahead_min=8 llite.lustre-ffff8800aae97800.statahead_batch_max=64 llite.lustre-ffff8800aae97800.statahead_max=128