== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 00:00:40 (1775880040) llite.lustre-ffff8a9106cd6000.statahead_max=1024 llite.lustre-ffff8a9106cd6000.statahead_batch_max=32 llite.lustre-ffff8a9106cd6000.statahead_min=64 llite.lustre-ffff8a9106cd6000.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 0.98 seconds: 1023.71 ops/second llite.lustre-ffff8a9106cd6000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a9106cd6000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a9106cd6000.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: 1775880044.522451675 secs.nsecs start_time: 1775880042.775429294 secs.nsecs elapsed_time: 1.747022381 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 0 0 2 4: 21 24 27 8: 2 2 29 16: 1 1 30 32: 59 69 100 snapshot_time: 1775880044.522519759 secs.nsecs start_time: 1775880042.775498108 secs.nsecs elapsed_time: 1.747021651 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: 1775880075.756166886 secs.nsecs start_time: 1775880042.775429294 secs.nsecs elapsed_time: 32.980737592 secs.nsecs subreqs per batch batches % cum % 1: 3 3 3 2: 0 0 3 4: 21 24 27 8: 2 2 30 16: 1 1 31 32: 59 68 100 snapshot_time: 1775880075.756230534 secs.nsecs start_time: 1775880042.775498108 secs.nsecs elapsed_time: 32.980732426 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.01 seconds: 994.05 ops/second llite.lustre-ffff8a9106cd6000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a9106cd6000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a9106cd6000.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: 1775880080.364234689 secs.nsecs start_time: 1775880078.468883314 secs.nsecs elapsed_time: 1.895351375 secs.nsecs subreqs per batch batches % cum % 1: 18 17 17 2: 3 2 20 4: 0 0 20 8: 24 23 43 16: 3 2 46 32: 56 53 100 snapshot_time: 1775880080.364294659 secs.nsecs start_time: 1775880078.468948789 secs.nsecs elapsed_time: 1.895345870 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: 1775880111.668407128 secs.nsecs start_time: 1775880078.468883314 secs.nsecs elapsed_time: 33.199523814 secs.nsecs subreqs per batch batches % cum % 1: 19 18 18 2: 3 2 20 4: 0 0 20 8: 24 22 43 16: 3 2 46 32: 56 53 100 snapshot_time: 1775880111.668464136 secs.nsecs start_time: 1775880078.468948789 secs.nsecs elapsed_time: 33.199515347 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1775880114 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1775880117 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff8a9106cd6000.enable_statahead_fname=1 llite.lustre-ffff8a9106cd6000.statahead_min=8 llite.lustre-ffff8a9106cd6000.statahead_batch_max=64 llite.lustre-ffff8a9106cd6000.statahead_max=128