== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 05:20:05 (1789032005) llite.lustre-ffffa01eaac38800.statahead_max=1024 llite.lustre-ffffa01eaac38800.statahead_batch_max=32 llite.lustre-ffffa01eaac38800.statahead_min=64 llite.lustre-ffffa01eaac38800.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.91 seconds: 169.19 ops/second llite.lustre-ffffa01eaac38800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa01eaac38800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa01eaac38800.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: 1789032020.054625695 secs.nsecs start_time: 1789032016.764916090 secs.nsecs elapsed_time: 3.289709605 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 3 3 7 4: 6 7 14 8: 6 7 21 16: 5 6 28 32: 59 71 100 snapshot_time: 1789032020.054690982 secs.nsecs start_time: 1789032016.765053244 secs.nsecs elapsed_time: 3.289637738 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: 1789032050.533279248 secs.nsecs start_time: 1789032016.764916090 secs.nsecs elapsed_time: 33.768363158 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 3 3 8 4: 6 7 15 8: 6 7 22 16: 5 6 28 32: 59 71 100 snapshot_time: 1789032050.533346643 secs.nsecs start_time: 1789032016.765053244 secs.nsecs elapsed_time: 33.768293399 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.52 seconds: 181.17 ops/second llite.lustre-ffffa01eaac38800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa01eaac38800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa01eaac38800.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: 1789032064.604473934 secs.nsecs start_time: 1789032061.425969410 secs.nsecs elapsed_time: 3.178504524 secs.nsecs subreqs per batch batches %% cum %% 1: 9 10 10 2: 1 1 11 4: 5 5 17 8: 5 5 23 16: 4 4 28 32: 61 71 100 snapshot_time: 1789032064.604532941 secs.nsecs start_time: 1789032061.426128315 secs.nsecs elapsed_time: 3.178404626 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 5s for '' statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1789032095.480676761 secs.nsecs start_time: 1789032061.425969410 secs.nsecs elapsed_time: 34.054707351 secs.nsecs subreqs per batch batches %% cum %% 1: 10 11 11 2: 1 1 12 4: 5 5 18 8: 5 5 24 16: 4 4 29 32: 61 70 100 snapshot_time: 1789032095.480739613 secs.nsecs start_time: 1789032061.426128315 secs.nsecs elapsed_time: 34.054611298 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1789032102 ; total 1 ; last 1) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1789032110 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffffa01eaac38800.enable_statahead_fname=1 llite.lustre-ffffa01eaac38800.statahead_min=8 llite.lustre-ffffa01eaac38800.statahead_batch_max=64 llite.lustre-ffffa01eaac38800.statahead_max=128