== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 00:32:19 (1721881939) llite.lustre-ffff88013767a000.statahead_max=1024 llite.lustre-ffff88013767a000.statahead_batch_max=32 llite.lustre-ffff88013767a000.statahead_min=64 llite.lustre-ffff88013767a000.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.86 seconds: 1164.95 ops/second llite.lustre-ffff88013767a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88013767a000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88013767a000.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: 1721881942.782221712 secs.nsecs start_time: 1721881942.002649982 secs.nsecs elapsed_time: 0.779571730 secs.nsecs subreqs per batch batches % cum % 1: 3 3 3 2: 3 3 6 4: 15 17 23 8: 7 7 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1721881942.782343993 secs.nsecs start_time: 1721881942.002746562 secs.nsecs elapsed_time: 0.779597431 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: 1 snapshot_time: 1721881973.670585790 secs.nsecs start_time: 1721881942.002649982 secs.nsecs elapsed_time: 31.667935808 secs.nsecs subreqs per batch batches % cum % 1: 4 4 4 2: 3 3 7 4: 15 16 24 8: 7 7 32 16: 0 0 32 32: 60 67 100 snapshot_time: 1721881973.670694875 secs.nsecs start_time: 1721881942.002746562 secs.nsecs elapsed_time: 31.667948313 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.25 seconds: 800.77 ops/second llite.lustre-ffff88013767a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88013767a000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88013767a000.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: 1721881976.845693924 secs.nsecs start_time: 1721881976.316786938 secs.nsecs elapsed_time: 0.528906986 secs.nsecs subreqs per batch batches % cum % 1: 6 6 6 2: 3 3 10 4: 4 4 14 8: 16 17 32 16: 4 4 36 32: 57 63 100 snapshot_time: 1721881976.845833909 secs.nsecs start_time: 1721881976.316883599 secs.nsecs elapsed_time: 0.528950310 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: 1721882007.791011667 secs.nsecs start_time: 1721881976.316786938 secs.nsecs elapsed_time: 31.474224729 secs.nsecs subreqs per batch batches % cum % 1: 7 7 7 2: 3 3 10 4: 4 4 15 8: 16 17 32 16: 4 4 37 32: 57 62 100 snapshot_time: 1721882007.791166569 secs.nsecs start_time: 1721881976.316883599 secs.nsecs elapsed_time: 31.474282970 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1721882009 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1721882011 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff88013767a000.enable_statahead_fname=0 llite.lustre-ffff88013767a000.statahead_min=8 llite.lustre-ffff88013767a000.statahead_batch_max=64 llite.lustre-ffff88013767a000.statahead_max=128