== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 17:55:05 (1760133305) llite.lustre-ffff8e9cf958c800.statahead_max=1024 llite.lustre-ffff8e9cf958c800.statahead_batch_max=32 llite.lustre-ffff8e9cf958c800.statahead_min=64 llite.lustre-ffff8e9cf958c800.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.10 seconds: 906.36 ops/second llite.lustre-ffff8e9cf958c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e9cf958c800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8e9cf958c800.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: 1760133312.089226462 secs.nsecs start_time: 1760133309.017901752 secs.nsecs elapsed_time: 3.071324710 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 4 4 6 4: 11 12 19 8: 10 11 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1760133312.089298860 secs.nsecs start_time: 1760133309.017975437 secs.nsecs elapsed_time: 3.071323423 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: 1760133343.282966367 secs.nsecs start_time: 1760133309.017901752 secs.nsecs elapsed_time: 34.265064615 secs.nsecs subreqs per batch batches % cum % 1: 3 3 3 2: 4 4 7 4: 11 12 20 8: 10 11 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1760133343.283015767 secs.nsecs start_time: 1760133309.017975437 secs.nsecs elapsed_time: 34.265040330 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.04 seconds: 965.62 ops/second llite.lustre-ffff8e9cf958c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e9cf958c800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8e9cf958c800.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: 1760133348.033089462 secs.nsecs start_time: 1760133346.027998522 secs.nsecs elapsed_time: 2.005090940 secs.nsecs subreqs per batch batches % cum % 1: 4 4 4 2: 1 1 6 4: 1 1 7 8: 13 15 22 16: 7 8 31 32: 57 68 100 snapshot_time: 1760133348.033131700 secs.nsecs start_time: 1760133346.028056620 secs.nsecs elapsed_time: 2.005075080 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: 1760133379.269658690 secs.nsecs start_time: 1760133346.027998522 secs.nsecs elapsed_time: 33.241660168 secs.nsecs subreqs per batch batches % cum % 1: 5 5 5 2: 1 1 7 4: 1 1 8 8: 13 15 23 16: 7 8 32 32: 57 67 100 snapshot_time: 1760133379.269720739 secs.nsecs start_time: 1760133346.028056620 secs.nsecs elapsed_time: 33.241664119 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1760133382 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1760133384 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff8e9cf958c800.enable_statahead_fname=1 llite.lustre-ffff8e9cf958c800.statahead_min=8 llite.lustre-ffff8e9cf958c800.statahead_batch_max=64 llite.lustre-ffff8e9cf958c800.statahead_max=128