== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 10:49:13 (1789138153) llite.lustre-ffff9b7ac29b1800.statahead_max=1024 llite.lustre-ffff9b7ac29b1800.statahead_batch_max=32 llite.lustre-ffff9b7ac29b1800.statahead_min=64 llite.lustre-ffff9b7ac29b1800.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 7.74 seconds: 129.19 ops/second llite.lustre-ffff9b7ac29b1800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b7ac29b1800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b7ac29b1800.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: 1789138173.440467039 secs.nsecs start_time: 1789138169.455373509 secs.nsecs elapsed_time: 3.985093530 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 4 4 12 4: 6 6 19 8: 10 11 30 16: 3 3 33 32: 59 66 100 snapshot_time: 1789138173.440537392 secs.nsecs start_time: 1789138169.455789209 secs.nsecs elapsed_time: 3.984748183 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1789138205.117831457 secs.nsecs start_time: 1789138169.455373509 secs.nsecs elapsed_time: 35.662457948 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 4 4 13 4: 6 6 20 8: 10 11 31 16: 3 3 34 32: 59 65 100 snapshot_time: 1789138205.117887192 secs.nsecs start_time: 1789138169.455789209 secs.nsecs elapsed_time: 35.662097983 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 7.00 seconds: 142.90 ops/second llite.lustre-ffff9b7ac29b1800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b7ac29b1800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b7ac29b1800.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: 1789138221.208913757 secs.nsecs start_time: 1789138217.308019271 secs.nsecs elapsed_time: 3.900894486 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 1 1 3 4: 5 6 9 8: 10 12 21 16: 6 7 29 32: 58 70 100 snapshot_time: 1789138221.208989189 secs.nsecs start_time: 1789138217.308241492 secs.nsecs elapsed_time: 3.900747697 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: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1789138252.370963059 secs.nsecs start_time: 1789138217.308019271 secs.nsecs elapsed_time: 35.062943788 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 1 1 4 4: 5 6 10 8: 10 12 22 16: 6 7 30 32: 58 69 100 snapshot_time: 1789138252.371037474 secs.nsecs start_time: 1789138217.308241492 secs.nsecs elapsed_time: 35.062795982 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1789138261 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1789138273 ; total 0 ; last 0) total: 1000 unlinks in 14 seconds: 71.428574 unlinks/second llite.lustre-ffff9b7ac29b1800.enable_statahead_fname=1 llite.lustre-ffff9b7ac29b1800.statahead_min=8 llite.lustre-ffff9b7ac29b1800.statahead_batch_max=64 llite.lustre-ffff9b7ac29b1800.statahead_max=128