== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 20:58:17 (1789693097) llite.lustre-ffff903b4bcc7800.statahead_max=1024 llite.lustre-ffff903b4bcc7800.statahead_batch_max=32 llite.lustre-ffff903b4bcc7800.statahead_min=64 llite.lustre-ffff903b4bcc7800.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 6.68 seconds: 149.64 ops/second llite.lustre-ffff903b4bcc7800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff903b4bcc7800.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: 1789693112.796780425 secs.nsecs start_time: 1789693109.090576237 secs.nsecs elapsed_time: 3.706204188 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 4 4 7 4: 9 10 17 8: 7 8 26 16: 1 1 27 32: 61 72 100 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1789693143.439045063 secs.nsecs start_time: 1789693109.090576237 secs.nsecs elapsed_time: 34.348468826 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 4 4 8 4: 9 10 18 8: 7 8 27 16: 1 1 28 32: 61 71 100 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 7.63 seconds: 131.01 ops/second llite.lustre-ffff903b4bcc7800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff903b4bcc7800.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: 1789693160.373857720 secs.nsecs start_time: 1789693156.907419137 secs.nsecs elapsed_time: 3.466438583 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 5 5 10 4: 3 3 14 8: 9 10 25 16: 4 4 29 32: 59 70 100 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: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1789693191.422129117 secs.nsecs start_time: 1789693156.907419137 secs.nsecs elapsed_time: 34.514709980 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 5 5 11 4: 3 3 15 8: 9 10 25 16: 4 4 30 32: 59 69 100 - unlinked 0 (time 1789693198 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1789693208 ; total 0 ; last 0) total: 1000 unlinks in 13 seconds: 76.923080 unlinks/second llite.lustre-ffff903b4bcc7800.enable_statahead_fname=1 llite.lustre-ffff903b4bcc7800.statahead_min=8 llite.lustre-ffff903b4bcc7800.statahead_batch_max=64 llite.lustre-ffff903b4bcc7800.statahead_max=128