== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 20:09:02 (1786838942) llite.lustre-ffff9d2182bed000.statahead_max=1024 llite.lustre-ffff9d2182bed000.statahead_batch_max=32 llite.lustre-ffff9d2182bed000.statahead_min=64 llite.lustre-ffff9d2182bed000.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.30 seconds: 434.72 ops/second llite.lustre-ffff9d2182bed000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d2182bed000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9d2182bed000.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: 1786838949.766981497 secs.nsecs start_time: 1786838947.523234482 secs.nsecs elapsed_time: 2.243747015 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 1 1 3 4: 9 10 14 8: 12 14 28 16: 3 3 31 32: 58 68 100 snapshot_time: 1786838949.767032682 secs.nsecs start_time: 1786838947.523338760 secs.nsecs elapsed_time: 2.243693922 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: 994 miss_total: 1 snapshot_time: 1786838980.266048714 secs.nsecs start_time: 1786838947.523234482 secs.nsecs elapsed_time: 32.742814232 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 1 1 4 4: 9 10 15 8: 12 13 29 16: 3 3 32 32: 58 67 100 snapshot_time: 1786838980.266117436 secs.nsecs start_time: 1786838947.523338760 secs.nsecs elapsed_time: 32.742778676 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 1.49 seconds: 670.71 ops/second llite.lustre-ffff9d2182bed000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d2182bed000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9d2182bed000.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: 1786838985.616558023 secs.nsecs start_time: 1786838983.681121502 secs.nsecs elapsed_time: 1.935436521 secs.nsecs subreqs per batch batches %% cum %% 1: 13 13 13 2: 0 0 13 4: 3 3 16 8: 18 18 35 16: 5 5 40 32: 57 59 100 snapshot_time: 1786838985.616612490 secs.nsecs start_time: 1786838983.681174952 secs.nsecs elapsed_time: 1.935437538 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: 1786839016.093621931 secs.nsecs start_time: 1786838983.681121502 secs.nsecs elapsed_time: 32.412500429 secs.nsecs subreqs per batch batches %% cum %% 1: 14 14 14 2: 0 0 14 4: 3 3 17 8: 18 18 36 16: 5 5 41 32: 57 58 100 snapshot_time: 1786839016.093690145 secs.nsecs start_time: 1786838983.681174952 secs.nsecs elapsed_time: 32.412515193 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1786839019 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1786839022 ; total 0 ; last 0) total: 1000 unlinks in 4 seconds: 250.000000 unlinks/second llite.lustre-ffff9d2182bed000.enable_statahead_fname=1 llite.lustre-ffff9d2182bed000.statahead_min=8 llite.lustre-ffff9d2182bed000.statahead_batch_max=64 llite.lustre-ffff9d2182bed000.statahead_max=128