== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 11:50:10 (1787845810) llite.lustre-ffff8f9cfc342000.statahead_max=1024 llite.lustre-ffff8f9cfc342000.statahead_batch_max=32 llite.lustre-ffff8f9cfc342000.statahead_min=64 llite.lustre-ffff8f9cfc342000.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.48 seconds: 133.61 ops/second llite.lustre-ffff8f9cfc342000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8f9cfc342000.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: 1787845830.416905295 secs.nsecs start_time: 1787845825.334177511 secs.nsecs elapsed_time: 5.082727784 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 5 5 14 4: 12 13 27 8: 6 6 33 16: 2 2 35 32: 59 64 100 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: 1787845861.130766422 secs.nsecs start_time: 1787845825.334177511 secs.nsecs elapsed_time: 35.796588911 secs.nsecs subreqs per batch batches %% cum %% 1: 9 9 9 2: 5 5 15 4: 12 12 27 8: 6 6 34 16: 2 2 36 32: 59 63 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 8.53 seconds: 117.26 ops/second llite.lustre-ffff8f9cfc342000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8f9cfc342000.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: 1787845879.829908172 secs.nsecs start_time: 1787845875.859929121 secs.nsecs elapsed_time: 3.969979051 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 0 0 2 4: 3 3 6 8: 8 10 16 16: 5 6 23 32: 59 76 100 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: 994 miss_total: 1 snapshot_time: 1787845910.296907449 secs.nsecs start_time: 1787845875.859929121 secs.nsecs elapsed_time: 34.436978328 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 0 0 3 4: 3 3 7 8: 8 10 17 16: 5 6 24 32: 59 75 100 - unlinked 0 (time 1787845920 ; total 0 ; last 0) total: 1000 unlinks in 9 seconds: 111.111115 unlinks/second - unlinked 0 (time 1787845934 ; total 0 ; last 0) total: 1000 unlinks in 15 seconds: 66.666664 unlinks/second llite.lustre-ffff8f9cfc342000.enable_statahead_fname=1 llite.lustre-ffff8f9cfc342000.statahead_min=8 llite.lustre-ffff8f9cfc342000.statahead_batch_max=64 llite.lustre-ffff8f9cfc342000.statahead_max=128