== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 05:12:13 (1771409533) llite.lustre-ffff9126c2f98800.statahead_max=1024 llite.lustre-ffff9126c2f98800.statahead_batch_max=32 llite.lustre-ffff9126c2f98800.statahead_min=64 llite.lustre-ffff9126c2f98800.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.63 seconds: 612.80 ops/second llite.lustre-ffff9126c2f98800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9126c2f98800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9126c2f98800.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: 1771409539.476163245 secs.nsecs start_time: 1771409537.316037350 secs.nsecs elapsed_time: 2.160125895 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 2 2 4 4: 15 18 22 8: 4 4 27 16: 0 0 27 32: 60 72 100 snapshot_time: 1771409539.476206218 secs.nsecs start_time: 1771409537.316121448 secs.nsecs elapsed_time: 2.160084770 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: 994 miss_total: 1 snapshot_time: 1771409569.798189245 secs.nsecs start_time: 1771409537.316037350 secs.nsecs elapsed_time: 32.482151895 secs.nsecs subreqs per batch batches % cum % 1: 3 3 3 2: 2 2 5 4: 15 17 23 8: 4 4 28 16: 0 0 28 32: 60 71 100 snapshot_time: 1771409569.798253075 secs.nsecs start_time: 1771409537.316121448 secs.nsecs elapsed_time: 32.482131627 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.27 seconds: 787.56 ops/second llite.lustre-ffff9126c2f98800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9126c2f98800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9126c2f98800.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: 1771409575.134944107 secs.nsecs start_time: 1771409572.883116272 secs.nsecs elapsed_time: 2.251827835 secs.nsecs subreqs per batch batches % cum % 1: 16 16 16 2: 2 2 18 4: 4 4 22 8: 15 15 37 16: 4 4 41 32: 57 58 100 snapshot_time: 1771409575.135019092 secs.nsecs start_time: 1771409572.883189580 secs.nsecs elapsed_time: 2.251829512 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 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: 1771409606.500843523 secs.nsecs start_time: 1771409572.883116272 secs.nsecs elapsed_time: 33.617727251 secs.nsecs subreqs per batch batches % cum % 1: 17 17 17 2: 2 2 19 4: 4 4 23 8: 15 15 38 16: 4 4 42 32: 57 57 100 snapshot_time: 1771409606.500897701 secs.nsecs start_time: 1771409572.883189580 secs.nsecs elapsed_time: 33.617708121 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1771409609 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1771409611 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff9126c2f98800.enable_statahead_fname=1 llite.lustre-ffff9126c2f98800.statahead_min=8 llite.lustre-ffff9126c2f98800.statahead_batch_max=64 llite.lustre-ffff9126c2f98800.statahead_max=128