== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 12:22:07 (1736788927) llite.lustre-ffff88012c8d2800.statahead_max=1024 llite.lustre-ffff88012c8d2800.statahead_batch_max=32 llite.lustre-ffff88012c8d2800.statahead_min=64 llite.lustre-ffff88012c8d2800.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.95 seconds: 512.96 ops/second llite.lustre-ffff88012c8d2800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012c8d2800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88012c8d2800.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: 1736788932.647088526 secs.nsecs start_time: 1736788931.887583113 secs.nsecs elapsed_time: 0.759505413 secs.nsecs subreqs per batch batches % cum % 1: 4 4 4 2: 2 2 6 4: 19 21 28 8: 2 2 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1736788932.647292052 secs.nsecs start_time: 1736788931.887732863 secs.nsecs elapsed_time: 0.759559189 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: 1736788962.781654448 secs.nsecs start_time: 1736788931.887583113 secs.nsecs elapsed_time: 30.894071335 secs.nsecs subreqs per batch batches % cum % 1: 5 5 5 2: 2 2 7 4: 19 21 29 8: 2 2 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1736788962.781790540 secs.nsecs start_time: 1736788931.887732863 secs.nsecs elapsed_time: 30.894057677 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 0.98 seconds: 1024.61 ops/second llite.lustre-ffff88012c8d2800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012c8d2800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88012c8d2800.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: 1736788965.133535378 secs.nsecs start_time: 1736788964.702895076 secs.nsecs elapsed_time: 0.430640302 secs.nsecs subreqs per batch batches % cum % 1: 12 12 12 2: 3 3 15 4: 3 3 18 8: 19 19 38 16: 1 1 39 32: 58 60 100 snapshot_time: 1736788965.133640191 secs.nsecs start_time: 1736788964.702972993 secs.nsecs elapsed_time: 0.430667198 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: 1736788995.331111548 secs.nsecs start_time: 1736788964.702895076 secs.nsecs elapsed_time: 30.628216472 secs.nsecs subreqs per batch batches % cum % 1: 13 13 13 2: 3 3 16 4: 3 3 19 8: 19 19 39 16: 1 1 40 32: 58 59 100 snapshot_time: 1736788995.331213997 secs.nsecs start_time: 1736788964.702972993 secs.nsecs elapsed_time: 30.628241004 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1736788997 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1736789000 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff88012c8d2800.enable_statahead_fname=1 llite.lustre-ffff88012c8d2800.statahead_min=8 llite.lustre-ffff88012c8d2800.statahead_batch_max=64 llite.lustre-ffff88012c8d2800.statahead_max=128