== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 11:06:10 (1773241570) llite.lustre-ffff9cea0722e800.statahead_max=1024 llite.lustre-ffff9cea0722e800.statahead_batch_max=32 llite.lustre-ffff9cea0722e800.statahead_min=64 llite.lustre-ffff9cea0722e800.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.26 seconds: 441.76 ops/second llite.lustre-ffff9cea0722e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9cea0722e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9cea0722e800.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: 1773241578.167548684 secs.nsecs start_time: 1773241575.688328189 secs.nsecs elapsed_time: 2.479220495 secs.nsecs subreqs per batch batches % cum % 1: 6 6 6 2: 4 4 11 4: 17 18 30 8: 2 2 32 16: 1 1 33 32: 60 66 100 snapshot_time: 1773241578.167601414 secs.nsecs start_time: 1773241575.688428649 secs.nsecs elapsed_time: 2.479172765 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: 1773241609.769815003 secs.nsecs start_time: 1773241575.688328189 secs.nsecs elapsed_time: 34.081486814 secs.nsecs subreqs per batch batches % cum % 1: 7 7 7 2: 4 4 12 4: 17 18 30 8: 2 2 32 16: 1 1 34 32: 60 65 100 snapshot_time: 1773241609.769888820 secs.nsecs start_time: 1773241575.688428649 secs.nsecs elapsed_time: 34.081460171 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.98 seconds: 505.49 ops/second llite.lustre-ffff9cea0722e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9cea0722e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9cea0722e800.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: 1773241616.734003579 secs.nsecs start_time: 1773241614.111428671 secs.nsecs elapsed_time: 2.622574908 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 0 0 2 4: 5 6 8 8: 15 18 26 16: 2 2 29 32: 58 70 100 snapshot_time: 1773241616.734041660 secs.nsecs start_time: 1773241614.111491148 secs.nsecs elapsed_time: 2.622550512 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: 1773241648.037974326 secs.nsecs start_time: 1773241614.111428671 secs.nsecs elapsed_time: 33.926545655 secs.nsecs subreqs per batch batches % cum % 1: 3 3 3 2: 0 0 3 4: 5 6 9 8: 15 18 27 16: 2 2 30 32: 58 69 100 snapshot_time: 1773241648.038021296 secs.nsecs start_time: 1773241614.111491148 secs.nsecs elapsed_time: 33.926530148 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1773241650 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1773241652 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff9cea0722e800.enable_statahead_fname=1 llite.lustre-ffff9cea0722e800.statahead_min=8 llite.lustre-ffff9cea0722e800.statahead_batch_max=64 llite.lustre-ffff9cea0722e800.statahead_max=128