== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 16:50:44 (1780347044) llite.lustre-ffff9b9313360800.statahead_max=1024 llite.lustre-ffff9b9313360800.statahead_batch_max=32 llite.lustre-ffff9b9313360800.statahead_min=64 llite.lustre-ffff9b9313360800.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 4.45 seconds: 224.57 ops/second llite.lustre-ffff9b9313360800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b9313360800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b9313360800.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: 1780347059.009537866 secs.nsecs start_time: 1780347054.589599023 secs.nsecs elapsed_time: 4.419938843 secs.nsecs subreqs per batch batches % cum % 1: 7 7 7 2: 7 7 14 4: 14 14 29 8: 6 6 36 16: 0 0 36 32: 60 63 100 snapshot_time: 1780347059.009608153 secs.nsecs start_time: 1780347054.589731785 secs.nsecs elapsed_time: 4.419876368 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: 1780347090.336588873 secs.nsecs start_time: 1780347054.589599023 secs.nsecs elapsed_time: 35.746989850 secs.nsecs subreqs per batch batches % cum % 1: 8 8 8 2: 7 7 15 4: 14 14 30 8: 6 6 36 16: 0 0 36 32: 60 63 100 snapshot_time: 1780347090.338154122 secs.nsecs start_time: 1780347054.589731785 secs.nsecs elapsed_time: 35.748422337 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.87 seconds: 205.46 ops/second llite.lustre-ffff9b9313360800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b9313360800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b9313360800.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: 1780347104.391603470 secs.nsecs start_time: 1780347100.616605562 secs.nsecs elapsed_time: 3.774997908 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 4 4 7 4: 5 6 13 8: 9 10 24 16: 3 3 27 32: 60 72 100 snapshot_time: 1780347104.391713182 secs.nsecs start_time: 1780347100.616792333 secs.nsecs elapsed_time: 3.774920849 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: 1780347135.899979105 secs.nsecs start_time: 1780347100.616605562 secs.nsecs elapsed_time: 35.283373543 secs.nsecs subreqs per batch batches % cum % 1: 3 3 3 2: 4 4 8 4: 5 5 14 8: 9 10 25 16: 3 3 28 32: 60 71 100 snapshot_time: 1780347135.900060945 secs.nsecs start_time: 1780347100.616792333 secs.nsecs elapsed_time: 35.283268612 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1780347144 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1780347152 ; total 0 ; last 0) total: 1000 unlinks in 9 seconds: 111.111115 unlinks/second llite.lustre-ffff9b9313360800.enable_statahead_fname=1 llite.lustre-ffff9b9313360800.statahead_min=8 llite.lustre-ffff9b9313360800.statahead_batch_max=64 llite.lustre-ffff9b9313360800.statahead_max=128