== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 10:59:02 (1790780342) llite.lustre-ffff9b79a74b8000.statahead_max=1024 llite.lustre-ffff9b79a74b8000.statahead_batch_max=32 llite.lustre-ffff9b79a74b8000.statahead_min=64 llite.lustre-ffff9b79a74b8000.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.12 seconds: 163.52 ops/second llite.lustre-ffff9b79a74b8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b79a74b8000.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: 1790780357.638671013 secs.nsecs start_time: 1790780353.851542744 secs.nsecs elapsed_time: 3.787128269 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 10 11 17 4: 7 8 25 8: 2 2 27 16: 3 3 31 32: 60 68 100 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: 993 miss_total: 2 snapshot_time: 1790780388.933821660 secs.nsecs start_time: 1790780353.851542744 secs.nsecs elapsed_time: 35.082278916 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 10 11 18 4: 7 7 26 8: 2 2 28 16: 3 3 31 32: 60 68 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.26 seconds: 137.80 ops/second llite.lustre-ffff9b79a74b8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b79a74b8000.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: 1790780405.762375135 secs.nsecs start_time: 1790780401.761036193 secs.nsecs elapsed_time: 4.001338942 secs.nsecs subreqs per batch batches %% cum %% 1: 5 6 6 2: 3 3 9 4: 1 1 10 8: 7 8 19 16: 8 9 28 32: 59 71 100 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: 1790780436.605278046 secs.nsecs start_time: 1790780401.761036193 secs.nsecs elapsed_time: 34.844241853 secs.nsecs subreqs per batch batches %% cum %% 1: 6 7 7 2: 3 3 10 4: 1 1 11 8: 7 8 20 16: 8 9 29 32: 59 70 100 - unlinked 0 (time 1790780443 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1790780453 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff9b79a74b8000.enable_statahead_fname=1 llite.lustre-ffff9b79a74b8000.statahead_min=8 llite.lustre-ffff9b79a74b8000.statahead_batch_max=64 llite.lustre-ffff9b79a74b8000.statahead_max=128