== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 18:05:44 (1746137144) llite.lustre-ffff8800a8d74000.statahead_max=1024 llite.lustre-ffff8800a8d74000.statahead_batch_max=32 llite.lustre-ffff8800a8d74000.statahead_min=64 llite.lustre-ffff8800a8d74000.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.40 seconds: 416.55 ops/second llite.lustre-ffff8800a8d74000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a8d74000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8800a8d74000.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: 1746137149.992665703 secs.nsecs start_time: 1746137148.977174555 secs.nsecs elapsed_time: 1.015491148 secs.nsecs subreqs per batch batches % cum % 1: 5 5 5 2: 2 2 8 4: 16 18 26 8: 4 4 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1746137149.992760635 secs.nsecs start_time: 1746137148.977238942 secs.nsecs elapsed_time: 1.015521693 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: 1746137180.336489621 secs.nsecs start_time: 1746137148.977174555 secs.nsecs elapsed_time: 31.359315066 secs.nsecs subreqs per batch batches % cum % 1: 6 6 6 2: 2 2 9 4: 16 18 27 8: 4 4 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1746137180.336581917 secs.nsecs start_time: 1746137148.977238942 secs.nsecs elapsed_time: 31.359342975 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 2.49 seconds: 401.96 ops/second llite.lustre-ffff8800a8d74000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a8d74000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8800a8d74000.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: 1746137185.174128146 secs.nsecs start_time: 1746137184.325440447 secs.nsecs elapsed_time: 0.848687699 secs.nsecs subreqs per batch batches % cum % 1: 18 17 17 2: 4 3 21 4: 3 2 24 8: 12 11 36 16: 7 6 43 32: 58 56 100 snapshot_time: 1746137185.174213506 secs.nsecs start_time: 1746137184.326443859 secs.nsecs elapsed_time: 0.847769647 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: 1746137215.575351234 secs.nsecs start_time: 1746137184.325440447 secs.nsecs elapsed_time: 31.249910787 secs.nsecs subreqs per batch batches % cum % 1: 19 18 18 2: 4 3 22 4: 3 2 25 8: 12 11 36 16: 7 6 43 32: 58 56 100 snapshot_time: 1746137215.575476387 secs.nsecs start_time: 1746137184.326443859 secs.nsecs elapsed_time: 31.249032528 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1746137218 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second - unlinked 0 (time 1746137222 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second llite.lustre-ffff8800a8d74000.enable_statahead_fname=1 llite.lustre-ffff8800a8d74000.statahead_min=8 llite.lustre-ffff8800a8d74000.statahead_batch_max=64 llite.lustre-ffff8800a8d74000.statahead_max=128