== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 23:52:20 (1781236340) llite.lustre-ffff9c0bd8e09000.statahead_max=1024 llite.lustre-ffff9c0bd8e09000.statahead_batch_max=32 llite.lustre-ffff9c0bd8e09000.statahead_min=64 llite.lustre-ffff9c0bd8e09000.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 3.02 seconds: 331.57 ops/second llite.lustre-ffff9c0bd8e09000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c0bd8e09000.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: 1781236348.059922943 secs.nsecs start_time: 1781236345.621168989 secs.nsecs elapsed_time: 2.438753954 secs.nsecs subreqs per batch batches % cum % 1: 6 6 6 2: 2 2 8 4: 13 14 23 8: 6 6 30 16: 2 2 32 32: 60 67 100 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: 0 list_total: 0 fname_total: 1 hit_total: 993 miss_total: 2 snapshot_time: 1781236378.749153959 secs.nsecs start_time: 1781236345.621168989 secs.nsecs elapsed_time: 33.127984970 secs.nsecs subreqs per batch batches % cum % 1: 7 7 7 2: 2 2 10 4: 13 14 24 8: 6 6 31 16: 2 2 33 32: 60 66 100 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.21 seconds: 453.10 ops/second llite.lustre-ffff9c0bd8e09000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c0bd8e09000.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: 1781236384.959168576 secs.nsecs start_time: 1781236382.946180598 secs.nsecs elapsed_time: 2.012987978 secs.nsecs subreqs per batch batches % cum % 1: 58 37 37 2: 13 8 45 4: 9 5 51 8: 19 12 63 16: 1 0 64 32: 56 35 100 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: 1781236415.367482964 secs.nsecs start_time: 1781236382.946180598 secs.nsecs elapsed_time: 32.421302366 secs.nsecs subreqs per batch batches % cum % 1: 59 37 37 2: 13 8 45 4: 9 5 51 8: 19 12 63 16: 1 0 64 32: 56 35 100 - unlinked 0 (time 1781236418 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second - unlinked 0 (time 1781236423 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second llite.lustre-ffff9c0bd8e09000.enable_statahead_fname=1 llite.lustre-ffff9c0bd8e09000.statahead_min=8 llite.lustre-ffff9c0bd8e09000.statahead_batch_max=64 llite.lustre-ffff9c0bd8e09000.statahead_max=128