== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 15:48:08 (1752695288) llite.lustre-ffff9c3610b63000.statahead_max=1024 llite.lustre-ffff9c3610b63000.statahead_batch_max=32 llite.lustre-ffff9c3610b63000.statahead_min=64 llite.lustre-ffff9c3610b63000.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.50 seconds: 399.85 ops/second llite.lustre-ffff9c3610b63000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c3610b63000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9c3610b63000.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: 1752695296.160413143 secs.nsecs start_time: 1752695293.465743758 secs.nsecs elapsed_time: 2.694669385 secs.nsecs subreqs per batch batches % cum % 1: 5 5 5 2: 0 0 5 4: 23 26 31 8: 0 0 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1752695296.160464935 secs.nsecs start_time: 1752695293.465852265 secs.nsecs elapsed_time: 2.694612670 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: 1752695326.863417505 secs.nsecs start_time: 1752695293.465743758 secs.nsecs elapsed_time: 33.397673747 secs.nsecs subreqs per batch batches % cum % 1: 6 6 6 2: 0 0 6 4: 23 25 32 8: 0 0 32 16: 0 0 32 32: 60 67 100 snapshot_time: 1752695326.863549045 secs.nsecs start_time: 1752695293.465852265 secs.nsecs elapsed_time: 33.397696780 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.53 seconds: 394.52 ops/second llite.lustre-ffff9c3610b63000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c3610b63000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9c3610b63000.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: 1752695334.365432526 secs.nsecs start_time: 1752695331.738585229 secs.nsecs elapsed_time: 2.626847297 secs.nsecs subreqs per batch batches % cum % 1: 6 6 6 2: 2 2 9 4: 1 1 10 8: 16 18 29 16: 3 3 32 32: 58 67 100 snapshot_time: 1752695334.365507836 secs.nsecs start_time: 1752695331.738695932 secs.nsecs elapsed_time: 2.626811904 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: 1752695365.051584240 secs.nsecs start_time: 1752695331.738585229 secs.nsecs elapsed_time: 33.312999011 secs.nsecs subreqs per batch batches % cum % 1: 7 8 8 2: 2 2 10 4: 1 1 11 8: 16 18 29 16: 3 3 33 32: 58 66 100 snapshot_time: 1752695365.051667066 secs.nsecs start_time: 1752695331.738695932 secs.nsecs elapsed_time: 33.312971134 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1752695368 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second - unlinked 0 (time 1752695373 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second llite.lustre-ffff9c3610b63000.enable_statahead_fname=1 llite.lustre-ffff9c3610b63000.statahead_min=8 llite.lustre-ffff9c3610b63000.statahead_batch_max=64 llite.lustre-ffff9c3610b63000.statahead_max=128