== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 11:46:59 (1761148019) llite.lustre-ffff987ac8f36000.statahead_max=1024 llite.lustre-ffff987ac8f36000.statahead_batch_max=32 llite.lustre-ffff987ac8f36000.statahead_min=64 llite.lustre-ffff987ac8f36000.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.32 seconds: 431.49 ops/second llite.lustre-ffff987ac8f36000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff987ac8f36000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff987ac8f36000.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: 1761148026.389092037 secs.nsecs start_time: 1761148024.410356082 secs.nsecs elapsed_time: 1.978735955 secs.nsecs subreqs per batch batches % cum % 1: 4 4 4 2: 2 2 6 4: 21 23 30 8: 2 2 32 16: 0 0 32 32: 60 67 100 snapshot_time: 1761148026.389131173 secs.nsecs start_time: 1761148024.410460033 secs.nsecs elapsed_time: 1.978671140 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s 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: 1761148057.274931217 secs.nsecs start_time: 1761148024.410356082 secs.nsecs elapsed_time: 32.864575135 secs.nsecs subreqs per batch batches % cum % 1: 5 5 5 2: 2 2 7 4: 21 23 31 8: 2 2 33 16: 0 0 33 32: 60 66 100 snapshot_time: 1761148057.275006237 secs.nsecs start_time: 1761148024.410460033 secs.nsecs elapsed_time: 32.864546204 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.18 seconds: 458.09 ops/second llite.lustre-ffff987ac8f36000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff987ac8f36000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff987ac8f36000.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: 1761148063.472585785 secs.nsecs start_time: 1761148061.785679512 secs.nsecs elapsed_time: 1.686906273 secs.nsecs subreqs per batch batches % cum % 1: 10 11 11 2: 0 0 11 4: 1 1 12 8: 19 21 33 16: 2 2 35 32: 58 64 100 snapshot_time: 1761148063.472662721 secs.nsecs start_time: 1761148061.785827746 secs.nsecs elapsed_time: 1.686834975 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: 1761148094.276527591 secs.nsecs start_time: 1761148061.785679512 secs.nsecs elapsed_time: 32.490848079 secs.nsecs subreqs per batch batches % cum % 1: 11 12 12 2: 0 0 12 4: 1 1 13 8: 19 20 34 16: 2 2 36 32: 58 63 100 snapshot_time: 1761148094.276604931 secs.nsecs start_time: 1761148061.785827746 secs.nsecs elapsed_time: 32.490777185 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1761148097 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1761148101 ; total 0 ; last 0) total: 1000 unlinks in 4 seconds: 250.000000 unlinks/second llite.lustre-ffff987ac8f36000.enable_statahead_fname=1 llite.lustre-ffff987ac8f36000.statahead_min=8 llite.lustre-ffff987ac8f36000.statahead_batch_max=64 llite.lustre-ffff987ac8f36000.statahead_max=128