== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 16:22:30 (1773692550) llite.lustre-ffff987d75ca8000.statahead_max=1024 llite.lustre-ffff987d75ca8000.statahead_batch_max=32 llite.lustre-ffff987d75ca8000.statahead_min=64 llite.lustre-ffff987d75ca8000.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.20 seconds: 455.44 ops/second llite.lustre-ffff987d75ca8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff987d75ca8000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff987d75ca8000.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: 1773692558.799161828 secs.nsecs start_time: 1773692556.124766559 secs.nsecs elapsed_time: 2.674395269 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 0 0 2 4: 6 7 9 8: 16 18 28 16: 1 1 29 32: 60 70 100 snapshot_time: 1773692558.799218188 secs.nsecs start_time: 1773692556.124878762 secs.nsecs elapsed_time: 2.674339426 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1773692589.849474382 secs.nsecs start_time: 1773692556.124766559 secs.nsecs elapsed_time: 33.724707823 secs.nsecs subreqs per batch batches % cum % 1: 3 3 3 2: 0 0 3 4: 6 6 10 8: 16 18 29 16: 1 1 30 32: 60 69 100 snapshot_time: 1773692589.849544906 secs.nsecs start_time: 1773692556.124878762 secs.nsecs elapsed_time: 33.724666144 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.12 seconds: 472.12 ops/second llite.lustre-ffff987d75ca8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff987d75ca8000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff987d75ca8000.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: 1773692596.239565976 secs.nsecs start_time: 1773692594.341672906 secs.nsecs elapsed_time: 1.897893070 secs.nsecs subreqs per batch batches % cum % 1: 8 8 8 2: 2 2 10 4: 5 5 16 8: 15 16 32 16: 5 5 38 32: 57 61 100 snapshot_time: 1773692596.239651558 secs.nsecs start_time: 1773692594.341793283 secs.nsecs elapsed_time: 1.897858275 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: 1773692627.264539288 secs.nsecs start_time: 1773692594.341672906 secs.nsecs elapsed_time: 32.922866382 secs.nsecs subreqs per batch batches % cum % 1: 9 9 9 2: 2 2 11 4: 5 5 17 8: 15 16 33 16: 5 5 38 32: 57 61 100 snapshot_time: 1773692627.264725901 secs.nsecs start_time: 1773692594.341793283 secs.nsecs elapsed_time: 32.922932618 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1773692630 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1773692632 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff987d75ca8000.enable_statahead_fname=1 llite.lustre-ffff987d75ca8000.statahead_min=8 llite.lustre-ffff987d75ca8000.statahead_batch_max=64 llite.lustre-ffff987d75ca8000.statahead_max=128