== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 08:06:38 (1781006798) llite.lustre-ffff8a88c9045800.statahead_max=1024 llite.lustre-ffff8a88c9045800.statahead_batch_max=32 llite.lustre-ffff8a88c9045800.statahead_min=64 llite.lustre-ffff8a88c9045800.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 8.09 seconds: 123.67 ops/second llite.lustre-ffff8a88c9045800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a88c9045800.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: 1781006818.458678024 secs.nsecs start_time: 1781006812.658756386 secs.nsecs elapsed_time: 5.799921638 secs.nsecs subreqs per batch batches % cum % 1: 5 5 5 2: 1 1 6 4: 14 16 23 8: 4 4 27 16: 2 2 30 32: 60 69 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: 1781006849.343682356 secs.nsecs start_time: 1781006812.658756386 secs.nsecs elapsed_time: 36.684925970 secs.nsecs subreqs per batch batches % cum % 1: 6 6 6 2: 1 1 8 4: 14 16 24 8: 4 4 28 16: 2 2 31 32: 60 68 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 7.09 seconds: 141.04 ops/second llite.lustre-ffff8a88c9045800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a88c9045800.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: 1781006865.793719699 secs.nsecs start_time: 1781006862.095603532 secs.nsecs elapsed_time: 3.698116167 secs.nsecs subreqs per batch batches % cum % 1: 5 5 5 2: 2 2 8 4: 8 9 17 8: 7 8 25 16: 4 4 30 32: 59 69 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: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1781006896.413155584 secs.nsecs start_time: 1781006862.095603532 secs.nsecs elapsed_time: 34.317552052 secs.nsecs subreqs per batch batches % cum % 1: 6 6 6 2: 2 2 9 4: 8 9 18 8: 7 8 26 16: 4 4 31 32: 59 68 100 - unlinked 0 (time 1781006904 ; total 0 ; last 0) total: 1000 unlinks in 8 seconds: 125.000000 unlinks/second - unlinked 0 (time 1781006916 ; total 0 ; last 0) total: 1000 unlinks in 13 seconds: 76.923080 unlinks/second llite.lustre-ffff8a88c9045800.enable_statahead_fname=1 llite.lustre-ffff8a88c9045800.statahead_min=8 llite.lustre-ffff8a88c9045800.statahead_batch_max=64 llite.lustre-ffff8a88c9045800.statahead_max=128