== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 05:15:40 (1753434940) llite.lustre-ffffa003c509e800.statahead_max=1024 llite.lustre-ffffa003c509e800.statahead_batch_max=32 llite.lustre-ffffa003c509e800.statahead_min=64 llite.lustre-ffffa003c509e800.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 5.13 seconds: 194.84 ops/second llite.lustre-ffffa003c509e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa003c509e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa003c509e800.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: 1753434952.649868942 secs.nsecs start_time: 1753434949.668581295 secs.nsecs elapsed_time: 2.981287647 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 4 5 7 4: 3 3 11 8: 8 10 21 16: 2 2 23 32: 61 76 100 snapshot_time: 1753434952.649945402 secs.nsecs start_time: 1753434949.668673209 secs.nsecs elapsed_time: 2.981272193 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 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: 1753434983.735134357 secs.nsecs start_time: 1753434949.668581295 secs.nsecs elapsed_time: 34.066553062 secs.nsecs subreqs per batch batches % cum % 1: 3 3 3 2: 4 4 8 4: 3 3 12 8: 8 9 22 16: 2 2 24 32: 61 75 100 snapshot_time: 1753434983.735204440 secs.nsecs start_time: 1753434949.668673209 secs.nsecs elapsed_time: 34.066531231 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 3.65 seconds: 274.05 ops/second llite.lustre-ffffa003c509e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa003c509e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa003c509e800.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: 1753434991.991673808 secs.nsecs start_time: 1753434989.856001049 secs.nsecs elapsed_time: 2.135672759 secs.nsecs subreqs per batch batches % cum % 1: 5 5 5 2: 0 0 5 4: 3 3 9 8: 11 12 22 16: 8 9 31 32: 58 68 100 snapshot_time: 1753434991.991751488 secs.nsecs start_time: 1753434989.856113633 secs.nsecs elapsed_time: 2.135637855 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: 1753435023.184403789 secs.nsecs start_time: 1753434989.856001049 secs.nsecs elapsed_time: 33.328402740 secs.nsecs subreqs per batch batches % cum % 1: 6 6 6 2: 0 0 6 4: 3 3 10 8: 11 12 23 16: 8 9 32 32: 58 67 100 snapshot_time: 1753435023.184487875 secs.nsecs start_time: 1753434989.856113633 secs.nsecs elapsed_time: 33.328374242 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1753435027 ; total 0 ; last 0) total: 1000 unlinks in 4 seconds: 250.000000 unlinks/second - unlinked 0 (time 1753435033 ; total 0 ; last 0) total: 1000 unlinks in 8 seconds: 125.000000 unlinks/second llite.lustre-ffffa003c509e800.enable_statahead_fname=1 llite.lustre-ffffa003c509e800.statahead_min=8 llite.lustre-ffffa003c509e800.statahead_batch_max=64 llite.lustre-ffffa003c509e800.statahead_max=128