== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 12:05:43 (1786809943) llite.lustre-ffff9f64d1551800.statahead_max=1024 llite.lustre-ffff9f64d1551800.statahead_batch_max=32 llite.lustre-ffff9f64d1551800.statahead_min=64 llite.lustre-ffff9f64d1551800.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.41 seconds: 184.73 ops/second llite.lustre-ffff9f64d1551800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f64d1551800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9f64d1551800.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: 1786809957.309244568 secs.nsecs start_time: 1786809953.391873883 secs.nsecs elapsed_time: 3.917370685 secs.nsecs subreqs per batch batches %% cum %% 1: 5 6 6 2: 0 0 6 4: 9 10 16 8: 5 6 22 16: 5 6 28 32: 59 71 100 snapshot_time: 1786809957.309306017 secs.nsecs start_time: 1786809953.392095160 secs.nsecs elapsed_time: 3.917210857 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: 993 miss_total: 2 snapshot_time: 1786809988.754171263 secs.nsecs start_time: 1786809953.391873883 secs.nsecs elapsed_time: 35.362297380 secs.nsecs subreqs per batch batches %% cum %% 1: 6 7 7 2: 0 0 7 4: 9 10 17 8: 5 5 23 16: 5 5 29 32: 59 70 100 snapshot_time: 1786809988.754713445 secs.nsecs start_time: 1786809953.392095160 secs.nsecs elapsed_time: 35.362618285 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 4.97 seconds: 201.25 ops/second llite.lustre-ffff9f64d1551800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f64d1551800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9f64d1551800.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: 1786810002.602706276 secs.nsecs start_time: 1786809998.803464211 secs.nsecs elapsed_time: 3.799242065 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 3 3 8 4: 0 0 8 8: 6 7 15 16: 11 13 29 32: 58 70 100 snapshot_time: 1786810002.602881185 secs.nsecs start_time: 1786809998.803554371 secs.nsecs elapsed_time: 3.799326814 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: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1786810034.250869424 secs.nsecs start_time: 1786809998.803464211 secs.nsecs elapsed_time: 35.447405213 secs.nsecs subreqs per batch batches %% cum %% 1: 5 6 6 2: 3 3 9 4: 0 0 9 8: 6 7 16 16: 11 13 30 32: 58 69 100 snapshot_time: 1786810034.250943829 secs.nsecs start_time: 1786809998.803554371 secs.nsecs elapsed_time: 35.447389458 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1786810042 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1786810051 ; total 0 ; last 0) total: 1000 unlinks in 9 seconds: 111.111115 unlinks/second llite.lustre-ffff9f64d1551800.enable_statahead_fname=1 llite.lustre-ffff9f64d1551800.statahead_min=8 llite.lustre-ffff9f64d1551800.statahead_batch_max=64 llite.lustre-ffff9f64d1551800.statahead_max=128