== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 23:16:59 (1786072619) llite.lustre-ffff8962e42ff800.statahead_max=1024 llite.lustre-ffff8962e42ff800.statahead_batch_max=32 llite.lustre-ffff8962e42ff800.statahead_min=64 llite.lustre-ffff8962e42ff800.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 6.22 seconds: 160.84 ops/second llite.lustre-ffff8962e42ff800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8962e42ff800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8962e42ff800.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: 1786072636.493245196 secs.nsecs start_time: 1786072632.141144941 secs.nsecs elapsed_time: 4.352100255 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 7 7 10 4: 12 13 23 8: 6 6 30 16: 2 2 32 32: 59 67 100 snapshot_time: 1786072636.493295579 secs.nsecs start_time: 1786072632.141486346 secs.nsecs elapsed_time: 4.351809233 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 '' statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 993 miss_total: 2 snapshot_time: 1786072667.149675014 secs.nsecs start_time: 1786072632.141144941 secs.nsecs elapsed_time: 35.008530073 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 7 7 11 4: 12 13 24 8: 6 6 31 16: 2 2 33 32: 59 66 100 snapshot_time: 1786072667.149742002 secs.nsecs start_time: 1786072632.141486346 secs.nsecs elapsed_time: 35.008255656 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 5.24 seconds: 190.87 ops/second llite.lustre-ffff8962e42ff800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8962e42ff800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8962e42ff800.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: 1786072681.062419029 secs.nsecs start_time: 1786072677.714292617 secs.nsecs elapsed_time: 3.348126412 secs.nsecs subreqs per batch batches %% cum %% 1: 11 11 11 2: 4 4 16 4: 6 6 22 8: 6 6 29 16: 6 6 35 32: 59 64 100 snapshot_time: 1786072681.062471889 secs.nsecs start_time: 1786072677.714375215 secs.nsecs elapsed_time: 3.348096674 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 '' statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1786072712.224189980 secs.nsecs start_time: 1786072677.714292617 secs.nsecs elapsed_time: 34.509897363 secs.nsecs subreqs per batch batches %% cum %% 1: 12 12 12 2: 4 4 17 4: 6 6 23 8: 6 6 30 16: 6 6 36 32: 59 63 100 snapshot_time: 1786072712.224247707 secs.nsecs start_time: 1786072677.714375215 secs.nsecs elapsed_time: 34.509872492 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1786072721 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1786072730 ; total 0 ; last 0) total: 1000 unlinks in 9 seconds: 111.111115 unlinks/second llite.lustre-ffff8962e42ff800.enable_statahead_fname=1 llite.lustre-ffff8962e42ff800.statahead_min=8 llite.lustre-ffff8962e42ff800.statahead_batch_max=64 llite.lustre-ffff8962e42ff800.statahead_max=128