== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 04:38:25 (1761295105) llite.lustre-ffff9d076031b800.statahead_max=1024 llite.lustre-ffff9d076031b800.statahead_batch_max=32 llite.lustre-ffff9d076031b800.statahead_min=64 llite.lustre-ffff9d076031b800.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 2.98 seconds: 335.05 ops/second llite.lustre-ffff9d076031b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d076031b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9d076031b800.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: 1761295114.061233607 secs.nsecs start_time: 1761295111.559965280 secs.nsecs elapsed_time: 2.501268327 secs.nsecs subreqs per batch batches % cum % 1: 8 8 8 2: 1 1 9 4: 22 23 33 8: 1 1 34 16: 0 0 34 32: 60 65 100 snapshot_time: 1761295114.061295160 secs.nsecs start_time: 1761295111.560043340 secs.nsecs elapsed_time: 2.501251820 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: 1761295144.944890079 secs.nsecs start_time: 1761295111.559965280 secs.nsecs elapsed_time: 33.384924799 secs.nsecs subreqs per batch batches % cum % 1: 9 9 9 2: 1 1 10 4: 22 23 34 8: 1 1 35 16: 0 0 35 32: 60 64 100 snapshot_time: 1761295144.944962975 secs.nsecs start_time: 1761295111.560043340 secs.nsecs elapsed_time: 33.384919635 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.87 seconds: 170.40 ops/second llite.lustre-ffff9d076031b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d076031b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9d076031b800.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: 1761295161.415837662 secs.nsecs start_time: 1761295157.614966963 secs.nsecs elapsed_time: 3.800870699 secs.nsecs subreqs per batch batches % cum % 1: 5 6 6 2: 2 2 8 4: 6 7 15 8: 6 7 23 16: 3 3 26 32: 60 73 100 snapshot_time: 1761295161.415902392 secs.nsecs start_time: 1761295157.615067231 secs.nsecs elapsed_time: 3.800835161 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: 995 miss_total: 0 snapshot_time: 1761295191.961963906 secs.nsecs start_time: 1761295157.614966963 secs.nsecs elapsed_time: 34.346996943 secs.nsecs subreqs per batch batches % cum % 1: 6 7 7 2: 2 2 9 4: 6 7 16 8: 6 7 24 16: 3 3 27 32: 60 72 100 snapshot_time: 1761295191.962050942 secs.nsecs start_time: 1761295157.615067231 secs.nsecs elapsed_time: 34.346983711 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1761295202 ; total 0 ; last 0) total: 1000 unlinks in 8 seconds: 125.000000 unlinks/second - unlinked 0 (time 1761295216 ; total 0 ; last 0) total: 1000 unlinks in 19 seconds: 52.631580 unlinks/second llite.lustre-ffff9d076031b800.enable_statahead_fname=1 llite.lustre-ffff9d076031b800.statahead_min=8 llite.lustre-ffff9d076031b800.statahead_batch_max=64 llite.lustre-ffff9d076031b800.statahead_max=128