== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 15:36:09 (1763498169) llite.lustre-ffff9e597aa3f800.statahead_max=1024 llite.lustre-ffff9e597aa3f800.statahead_batch_max=32 llite.lustre-ffff9e597aa3f800.statahead_min=64 llite.lustre-ffff9e597aa3f800.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.95 seconds: 168.12 ops/second llite.lustre-ffff9e597aa3f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e597aa3f800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9e597aa3f800.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: 1763498184.977260976 secs.nsecs start_time: 1763498181.141590334 secs.nsecs elapsed_time: 3.835670642 secs.nsecs subreqs per batch batches % cum % 1: 3 3 3 2: 3 3 7 4: 6 7 15 8: 4 5 20 16: 4 5 25 32: 59 74 100 snapshot_time: 1763498184.977357849 secs.nsecs start_time: 1763498181.143831818 secs.nsecs elapsed_time: 3.833526031 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: 1763498216.132374358 secs.nsecs start_time: 1763498181.141590334 secs.nsecs elapsed_time: 34.990784024 secs.nsecs subreqs per batch batches % cum % 1: 4 5 5 2: 3 3 8 4: 6 7 16 8: 4 5 21 16: 4 5 26 32: 59 73 100 snapshot_time: 1763498216.132455587 secs.nsecs start_time: 1763498181.143831818 secs.nsecs elapsed_time: 34.988623769 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 7.08 seconds: 141.29 ops/second llite.lustre-ffff9e597aa3f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e597aa3f800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9e597aa3f800.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: 1763498232.763985602 secs.nsecs start_time: 1763498228.881172507 secs.nsecs elapsed_time: 3.882813095 secs.nsecs subreqs per batch batches % cum % 1: 1 1 1 2: 1 1 2 4: 5 6 9 8: 3 3 13 16: 6 7 21 32: 60 78 100 snapshot_time: 1763498232.764055596 secs.nsecs start_time: 1763498228.882749558 secs.nsecs elapsed_time: 3.881306038 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 '' 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: 1763498263.429026315 secs.nsecs start_time: 1763498228.881172507 secs.nsecs elapsed_time: 34.547853808 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 1 1 3 4: 5 6 10 8: 3 3 14 16: 6 7 22 32: 60 77 100 snapshot_time: 1763498263.429099714 secs.nsecs start_time: 1763498228.882749558 secs.nsecs elapsed_time: 34.546350156 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1763498270 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1763498281 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff9e597aa3f800.enable_statahead_fname=1 llite.lustre-ffff9e597aa3f800.statahead_min=8 llite.lustre-ffff9e597aa3f800.statahead_batch_max=64 llite.lustre-ffff9e597aa3f800.statahead_max=128