== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 00:02:31 (1775880151) llite.lustre-ffff9aa8a53de800.statahead_max=1024 llite.lustre-ffff9aa8a53de800.statahead_batch_max=32 llite.lustre-ffff9aa8a53de800.statahead_min=64 llite.lustre-ffff9aa8a53de800.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 0.92 seconds: 1092.39 ops/second llite.lustre-ffff9aa8a53de800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9aa8a53de800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9aa8a53de800.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: 1775880157.065740731 secs.nsecs start_time: 1775880154.381950188 secs.nsecs elapsed_time: 2.683790543 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 2 2 4 4: 16 19 24 8: 3 3 27 16: 0 0 27 32: 60 72 100 snapshot_time: 1775880157.065787269 secs.nsecs start_time: 1775880154.382008998 secs.nsecs elapsed_time: 2.683778271 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1775880188.197091160 secs.nsecs start_time: 1775880154.381950188 secs.nsecs elapsed_time: 33.815140972 secs.nsecs subreqs per batch batches % cum % 1: 3 3 3 2: 2 2 5 4: 16 19 25 8: 3 3 28 16: 0 0 28 32: 60 71 100 snapshot_time: 1775880188.197155779 secs.nsecs start_time: 1775880154.382008998 secs.nsecs elapsed_time: 33.815146781 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 1.09 seconds: 920.69 ops/second llite.lustre-ffff9aa8a53de800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9aa8a53de800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9aa8a53de800.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: 1775880193.389978027 secs.nsecs start_time: 1775880191.058622289 secs.nsecs elapsed_time: 2.331355738 secs.nsecs subreqs per batch batches % cum % 1: 20 19 19 2: 5 4 24 4: 2 1 26 8: 12 11 38 16: 5 4 43 32: 58 56 100 snapshot_time: 1775880193.390029627 secs.nsecs start_time: 1775880191.058684067 secs.nsecs elapsed_time: 2.331345560 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: 1775880224.603563172 secs.nsecs start_time: 1775880191.058622289 secs.nsecs elapsed_time: 33.544940883 secs.nsecs subreqs per batch batches % cum % 1: 21 20 20 2: 5 4 25 4: 2 1 27 8: 12 11 38 16: 5 4 43 32: 58 56 100 snapshot_time: 1775880224.603617008 secs.nsecs start_time: 1775880191.058684067 secs.nsecs elapsed_time: 33.544932941 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1775880227 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1775880229 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff9aa8a53de800.enable_statahead_fname=1 llite.lustre-ffff9aa8a53de800.statahead_min=8 llite.lustre-ffff9aa8a53de800.statahead_batch_max=64 llite.lustre-ffff9aa8a53de800.statahead_max=128