== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 10:59:44 (1775228384) llite.lustre-ffff9b462ba91000.statahead_max=1024 llite.lustre-ffff9b462ba91000.statahead_batch_max=32 llite.lustre-ffff9b462ba91000.statahead_min=64 llite.lustre-ffff9b462ba91000.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 1.11 seconds: 897.46 ops/second llite.lustre-ffff9b462ba91000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b462ba91000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b462ba91000.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: 1775228389.507528608 secs.nsecs start_time: 1775228387.574643656 secs.nsecs elapsed_time: 1.932884952 secs.nsecs subreqs per batch batches % cum % 1: 3 3 3 2: 4 4 7 4: 20 22 30 8: 1 1 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1775228389.507584530 secs.nsecs start_time: 1775228387.574694069 secs.nsecs elapsed_time: 1.932890461 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: 1775228419.741173607 secs.nsecs start_time: 1775228387.574643656 secs.nsecs elapsed_time: 32.166529951 secs.nsecs subreqs per batch batches % cum % 1: 4 4 4 2: 4 4 8 4: 20 22 31 8: 1 1 32 16: 0 0 32 32: 60 67 100 snapshot_time: 1775228419.741227028 secs.nsecs start_time: 1775228387.574694069 secs.nsecs elapsed_time: 32.166532959 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 0.99 seconds: 1008.09 ops/second llite.lustre-ffff9b462ba91000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b462ba91000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b462ba91000.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: 1775228424.045533958 secs.nsecs start_time: 1775228422.484516661 secs.nsecs elapsed_time: 1.561017297 secs.nsecs subreqs per batch batches % cum % 1: 22 20 20 2: 6 5 25 4: 5 4 30 8: 12 11 41 16: 6 5 46 32: 58 53 100 snapshot_time: 1775228424.045570460 secs.nsecs start_time: 1775228422.484597613 secs.nsecs elapsed_time: 1.560972847 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: 1775228455.129477547 secs.nsecs start_time: 1775228422.484516661 secs.nsecs elapsed_time: 32.644960886 secs.nsecs subreqs per batch batches % cum % 1: 23 20 20 2: 6 5 26 4: 5 4 30 8: 12 10 41 16: 6 5 47 32: 58 52 100 snapshot_time: 1775228455.129520387 secs.nsecs start_time: 1775228422.484597613 secs.nsecs elapsed_time: 32.644922774 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1775228457 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1775228459 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff9b462ba91000.enable_statahead_fname=1 llite.lustre-ffff9b462ba91000.statahead_min=8 llite.lustre-ffff9b462ba91000.statahead_batch_max=64 llite.lustre-ffff9b462ba91000.statahead_max=128