== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 18:17:00 (1780093020) llite.lustre-ffff99b84919c000.statahead_max=1024 llite.lustre-ffff99b84919c000.statahead_batch_max=32 llite.lustre-ffff99b84919c000.statahead_min=64 llite.lustre-ffff99b84919c000.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 2.18 seconds: 458.32 ops/second llite.lustre-ffff99b84919c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99b84919c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99b84919c000.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: 1780093027.646201133 secs.nsecs start_time: 1780093025.082777428 secs.nsecs elapsed_time: 2.563423705 secs.nsecs subreqs per batch batches % cum % 1: 6 6 6 2: 3 3 10 4: 14 15 26 8: 6 6 32 16: 0 0 32 32: 59 67 100 snapshot_time: 1780093027.646264040 secs.nsecs start_time: 1780093025.082848079 secs.nsecs elapsed_time: 2.563415961 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: 1780093058.040546938 secs.nsecs start_time: 1780093025.082777428 secs.nsecs elapsed_time: 32.957769510 secs.nsecs subreqs per batch batches % cum % 1: 7 7 7 2: 3 3 11 4: 14 15 26 8: 6 6 33 16: 0 0 33 32: 59 66 100 snapshot_time: 1780093058.040637579 secs.nsecs start_time: 1780093025.082848079 secs.nsecs elapsed_time: 32.957789500 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 2.35 seconds: 425.37 ops/second llite.lustre-ffff99b84919c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99b84919c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99b84919c000.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: 1780093064.618088601 secs.nsecs start_time: 1780093062.515679167 secs.nsecs elapsed_time: 2.102409434 secs.nsecs subreqs per batch batches % cum % 1: 24 22 22 2: 3 2 25 4: 2 1 27 8: 15 14 41 16: 7 6 47 32: 56 52 100 snapshot_time: 1780093064.618151624 secs.nsecs start_time: 1780093062.515749377 secs.nsecs elapsed_time: 2.102402247 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: 1780093095.210267461 secs.nsecs start_time: 1780093062.515679167 secs.nsecs elapsed_time: 32.694588294 secs.nsecs subreqs per batch batches % cum % 1: 25 23 23 2: 3 2 25 4: 2 1 27 8: 15 13 41 16: 7 6 48 32: 56 51 100 snapshot_time: 1780093095.210343268 secs.nsecs start_time: 1780093062.515749377 secs.nsecs elapsed_time: 32.694593891 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1780093098 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second - unlinked 0 (time 1780093103 ; total 0 ; last 0) total: 1000 unlinks in 4 seconds: 250.000000 unlinks/second llite.lustre-ffff99b84919c000.enable_statahead_fname=1 llite.lustre-ffff99b84919c000.statahead_min=8 llite.lustre-ffff99b84919c000.statahead_batch_max=64 llite.lustre-ffff99b84919c000.statahead_max=128