== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 01:01:44 (1789362104) llite.lustre-ffff937287f2e000.statahead_max=1024 llite.lustre-ffff937287f2e000.statahead_batch_max=32 llite.lustre-ffff937287f2e000.statahead_min=64 llite.lustre-ffff937287f2e000.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 1.58 seconds: 634.28 ops/second llite.lustre-ffff937287f2e000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff937287f2e000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff937287f2e000.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: 1789362109.979489126 secs.nsecs start_time: 1789362108.032210095 secs.nsecs elapsed_time: 1.947279031 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 0 0 2 4: 16 19 21 8: 6 7 28 16: 0 0 28 32: 60 71 100 snapshot_time: 1789362109.979529466 secs.nsecs start_time: 1789362108.032293790 secs.nsecs elapsed_time: 1.947235676 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: 1789362141.313445734 secs.nsecs start_time: 1789362108.032210095 secs.nsecs elapsed_time: 33.281235639 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 0 0 3 4: 16 18 22 8: 6 7 29 16: 0 0 29 32: 60 70 100 snapshot_time: 1789362141.313538481 secs.nsecs start_time: 1789362108.032293790 secs.nsecs elapsed_time: 33.281244691 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.89 seconds: 529.82 ops/second llite.lustre-ffff937287f2e000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff937287f2e000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff937287f2e000.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: 1789362146.729626405 secs.nsecs start_time: 1789362145.082071619 secs.nsecs elapsed_time: 1.647554786 secs.nsecs subreqs per batch batches %% cum %% 1: 9 10 10 2: 3 3 13 4: 2 2 15 8: 11 12 28 16: 4 4 32 32: 60 67 100 snapshot_time: 1789362146.729682102 secs.nsecs start_time: 1789362145.082141356 secs.nsecs elapsed_time: 1.647540746 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: 995 miss_total: 0 snapshot_time: 1789362178.098314416 secs.nsecs start_time: 1789362145.082071619 secs.nsecs elapsed_time: 33.016242797 secs.nsecs subreqs per batch batches %% cum %% 1: 10 11 11 2: 3 3 14 4: 2 2 16 8: 11 12 28 16: 4 4 33 32: 60 66 100 snapshot_time: 1789362178.098381746 secs.nsecs start_time: 1789362145.082141356 secs.nsecs elapsed_time: 33.016240390 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1789362181 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1789362185 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second llite.lustre-ffff937287f2e000.enable_statahead_fname=1 llite.lustre-ffff937287f2e000.statahead_min=8 llite.lustre-ffff937287f2e000.statahead_batch_max=64 llite.lustre-ffff937287f2e000.statahead_max=128