== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 14:16:45 (1789064205) llite.lustre-ffff962606196000.statahead_max=1024 llite.lustre-ffff962606196000.statahead_batch_max=32 llite.lustre-ffff962606196000.statahead_min=64 llite.lustre-ffff962606196000.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.14 seconds: 194.54 ops/second llite.lustre-ffff962606196000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff962606196000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff962606196000.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: 1789064221.092981739 secs.nsecs start_time: 1789064216.497731860 secs.nsecs elapsed_time: 4.595249879 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 5 5 10 4: 11 12 22 8: 6 6 29 16: 1 1 31 32: 60 68 100 snapshot_time: 1789064221.093048149 secs.nsecs start_time: 1789064216.497871352 secs.nsecs elapsed_time: 4.595176797 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1789064252.046170265 secs.nsecs start_time: 1789064216.497731860 secs.nsecs elapsed_time: 35.548438405 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 5 5 11 4: 11 12 23 8: 6 6 30 16: 1 1 31 32: 60 68 100 snapshot_time: 1789064252.046227078 secs.nsecs start_time: 1789064216.497871352 secs.nsecs elapsed_time: 35.548355726 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 5.02 seconds: 199.28 ops/second llite.lustre-ffff962606196000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff962606196000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff962606196000.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: 1789064264.569235576 secs.nsecs start_time: 1789064261.270063877 secs.nsecs elapsed_time: 3.299171699 secs.nsecs subreqs per batch batches %% cum %% 1: 9 10 10 2: 2 2 13 4: 2 2 15 8: 4 4 20 16: 5 6 26 32: 61 73 100 snapshot_time: 1789064264.569616091 secs.nsecs start_time: 1789064261.270215987 secs.nsecs elapsed_time: 3.299400104 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: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1789064295.761021033 secs.nsecs start_time: 1789064261.270063877 secs.nsecs elapsed_time: 34.490957156 secs.nsecs subreqs per batch batches %% cum %% 1: 10 11 11 2: 2 2 14 4: 2 2 16 8: 4 4 21 16: 5 5 27 32: 61 72 100 snapshot_time: 1789064295.761167050 secs.nsecs start_time: 1789064261.270215987 secs.nsecs elapsed_time: 34.490951063 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1789064304 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1789064314 ; total 0 ; last 0) total: 1000 unlinks in 8 seconds: 125.000000 unlinks/second llite.lustre-ffff962606196000.enable_statahead_fname=1 llite.lustre-ffff962606196000.statahead_min=8 llite.lustre-ffff962606196000.statahead_batch_max=64 llite.lustre-ffff962606196000.statahead_max=128