== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 20:03:36 (1785974616) llite.lustre-ffff94579a65f800.statahead_max=1024 llite.lustre-ffff94579a65f800.statahead_batch_max=32 llite.lustre-ffff94579a65f800.statahead_min=64 llite.lustre-ffff94579a65f800.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.21 seconds: 191.91 ops/second llite.lustre-ffff94579a65f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff94579a65f800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff94579a65f800.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: 1785974630.541468523 secs.nsecs start_time: 1785974626.999758040 secs.nsecs elapsed_time: 3.541710483 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 7 8 12 4: 5 5 18 8: 7 8 27 16: 2 2 29 32: 60 70 100 snapshot_time: 1785974630.541550210 secs.nsecs start_time: 1785974626.999844019 secs.nsecs elapsed_time: 3.541706191 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 '' statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1785974661.292160633 secs.nsecs start_time: 1785974626.999758040 secs.nsecs elapsed_time: 34.292402593 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 7 8 13 4: 5 5 19 8: 7 8 27 16: 2 2 30 32: 60 69 100 snapshot_time: 1785974661.292254135 secs.nsecs start_time: 1785974626.999844019 secs.nsecs elapsed_time: 34.292410116 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.39 seconds: 227.60 ops/second llite.lustre-ffff94579a65f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff94579a65f800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff94579a65f800.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: 1785974674.471977467 secs.nsecs start_time: 1785974670.586106828 secs.nsecs elapsed_time: 3.885870639 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 2 2 2 4: 6 7 10 8: 8 10 20 16: 4 5 25 32: 60 75 100 snapshot_time: 1785974674.472033893 secs.nsecs start_time: 1785974670.586187071 secs.nsecs elapsed_time: 3.885846822 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: 1785974705.675154636 secs.nsecs start_time: 1785974670.586106828 secs.nsecs elapsed_time: 35.089047808 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 2 2 3 4: 6 7 11 8: 8 9 20 16: 4 4 25 32: 60 74 100 snapshot_time: 1785974705.675563285 secs.nsecs start_time: 1785974670.586187071 secs.nsecs elapsed_time: 35.089376214 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1785974717 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1785974727 ; total 0 ; last 0) total: 1000 unlinks in 9 seconds: 111.111115 unlinks/second llite.lustre-ffff94579a65f800.enable_statahead_fname=1 llite.lustre-ffff94579a65f800.statahead_min=8 llite.lustre-ffff94579a65f800.statahead_batch_max=64 llite.lustre-ffff94579a65f800.statahead_max=128