== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 14:39:28 (1772480368) llite.lustre-ffffa02e470f4800.statahead_max=1024 llite.lustre-ffffa02e470f4800.statahead_batch_max=32 llite.lustre-ffffa02e470f4800.statahead_min=64 llite.lustre-ffffa02e470f4800.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 1.12 seconds: 895.26 ops/second llite.lustre-ffffa02e470f4800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa02e470f4800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa02e470f4800.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: 1772480373.431458367 secs.nsecs start_time: 1772480371.447665981 secs.nsecs elapsed_time: 1.983792386 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 0 0 2 4: 21 24 26 8: 2 2 29 16: 1 1 30 32: 60 69 100 snapshot_time: 1772480373.431514354 secs.nsecs start_time: 1772480371.447738639 secs.nsecs elapsed_time: 1.983775715 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: 1772480404.726954589 secs.nsecs start_time: 1772480371.447665981 secs.nsecs elapsed_time: 33.279288608 secs.nsecs subreqs per batch batches % cum % 1: 3 3 3 2: 0 0 3 4: 21 24 27 8: 2 2 29 16: 1 1 31 32: 60 68 100 snapshot_time: 1772480404.727020381 secs.nsecs start_time: 1772480371.447738639 secs.nsecs elapsed_time: 33.279281742 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.20 seconds: 834.99 ops/second llite.lustre-ffffa02e470f4800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa02e470f4800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa02e470f4800.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: 1772480409.382240407 secs.nsecs start_time: 1772480407.671477273 secs.nsecs elapsed_time: 1.710763134 secs.nsecs subreqs per batch batches % cum % 1: 34 28 28 2: 4 3 32 4: 4 3 35 8: 13 11 46 16: 7 5 52 32: 56 47 100 snapshot_time: 1772480409.382282040 secs.nsecs start_time: 1772480407.671570626 secs.nsecs elapsed_time: 1.710711414 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: 1772480440.559586707 secs.nsecs start_time: 1772480407.671477273 secs.nsecs elapsed_time: 32.888109434 secs.nsecs subreqs per batch batches % cum % 1: 35 29 29 2: 4 3 32 4: 4 3 36 8: 13 10 47 16: 7 5 52 32: 56 47 100 snapshot_time: 1772480440.559643423 secs.nsecs start_time: 1772480407.671570626 secs.nsecs elapsed_time: 32.888072797 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1772480442 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1772480445 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffffa02e470f4800.enable_statahead_fname=1 llite.lustre-ffffa02e470f4800.statahead_min=8 llite.lustre-ffffa02e470f4800.statahead_batch_max=64 llite.lustre-ffffa02e470f4800.statahead_max=128