== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 16:02:24 (1789588944) llite.lustre-ffff9d72494de800.statahead_max=1024 llite.lustre-ffff9d72494de800.statahead_batch_max=32 llite.lustre-ffff9d72494de800.statahead_min=64 llite.lustre-ffff9d72494de800.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.26 seconds: 159.63 ops/second llite.lustre-ffff9d72494de800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d72494de800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9d72494de800.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: 1789588962.016366619 secs.nsecs start_time: 1789588957.381218426 secs.nsecs elapsed_time: 4.635148193 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 6 6 10 4: 12 13 23 8: 7 7 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1789588962.016446763 secs.nsecs start_time: 1789588957.383896667 secs.nsecs elapsed_time: 4.632550096 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: 1789588993.120471511 secs.nsecs start_time: 1789588957.381218426 secs.nsecs elapsed_time: 35.739253085 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 6 6 11 4: 12 13 24 8: 7 7 32 16: 0 0 32 32: 60 67 100 snapshot_time: 1789588993.120546411 secs.nsecs start_time: 1789588957.383896667 secs.nsecs elapsed_time: 35.736649744 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.80 seconds: 208.37 ops/second llite.lustre-ffff9d72494de800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d72494de800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9d72494de800.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: 1789589007.617413055 secs.nsecs start_time: 1789589003.792113700 secs.nsecs elapsed_time: 3.825299355 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 4 4 10 4: 3 3 14 8: 6 7 21 16: 8 9 30 32: 59 69 100 snapshot_time: 1789589007.617485518 secs.nsecs start_time: 1789589003.792270025 secs.nsecs elapsed_time: 3.825215493 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: 1789589038.723607996 secs.nsecs start_time: 1789589003.792113700 secs.nsecs elapsed_time: 34.931494296 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 4 4 11 4: 3 3 15 8: 6 6 22 16: 8 9 31 32: 59 68 100 snapshot_time: 1789589038.723931026 secs.nsecs start_time: 1789589003.792270025 secs.nsecs elapsed_time: 34.931661001 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1789589047 ; total 0 ; last 0) total: 1000 unlinks in 8 seconds: 125.000000 unlinks/second - unlinked 0 (time 1789589059 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff9d72494de800.enable_statahead_fname=1 llite.lustre-ffff9d72494de800.statahead_min=8 llite.lustre-ffff9d72494de800.statahead_batch_max=64 llite.lustre-ffff9d72494de800.statahead_max=128