== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 14:31:36 (1774895496) llite.lustre-ffff9e97d00cd800.statahead_max=1024 llite.lustre-ffff9e97d00cd800.statahead_batch_max=32 llite.lustre-ffff9e97d00cd800.statahead_min=64 llite.lustre-ffff9e97d00cd800.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.05 seconds: 949.67 ops/second llite.lustre-ffff9e97d00cd800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e97d00cd800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9e97d00cd800.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: 1774895501.658218724 secs.nsecs start_time: 1774895499.663254566 secs.nsecs elapsed_time: 1.994964158 secs.nsecs subreqs per batch batches % cum % 1: 5 5 5 2: 1 1 6 4: 23 25 32 8: 0 0 32 16: 0 0 32 32: 60 67 100 snapshot_time: 1774895501.658260134 secs.nsecs start_time: 1774895499.663309694 secs.nsecs elapsed_time: 1.994950440 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: 1774895533.258066270 secs.nsecs start_time: 1774895499.663254566 secs.nsecs elapsed_time: 33.594811704 secs.nsecs subreqs per batch batches % cum % 1: 6 6 6 2: 1 1 7 4: 23 25 33 8: 0 0 33 16: 0 0 33 32: 60 66 100 snapshot_time: 1774895533.258130691 secs.nsecs start_time: 1774895499.663309694 secs.nsecs elapsed_time: 33.594820997 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.46 seconds: 683.97 ops/second llite.lustre-ffff9e97d00cd800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e97d00cd800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9e97d00cd800.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: 1774895538.659147389 secs.nsecs start_time: 1774895536.513421755 secs.nsecs elapsed_time: 2.145725634 secs.nsecs subreqs per batch batches % cum % 1: 12 13 13 2: 1 1 14 4: 2 2 16 8: 11 12 28 16: 7 7 36 32: 57 63 100 snapshot_time: 1774895538.659227134 secs.nsecs start_time: 1774895536.513502682 secs.nsecs elapsed_time: 2.145724452 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: 1774895569.295806007 secs.nsecs start_time: 1774895536.513421755 secs.nsecs elapsed_time: 32.782384252 secs.nsecs subreqs per batch batches % cum % 1: 13 14 14 2: 1 1 15 4: 2 2 17 8: 11 12 29 16: 7 7 37 32: 57 62 100 snapshot_time: 1774895569.295848229 secs.nsecs start_time: 1774895536.513502682 secs.nsecs elapsed_time: 32.782345547 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1774895572 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1774895575 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second llite.lustre-ffff9e97d00cd800.enable_statahead_fname=1 llite.lustre-ffff9e97d00cd800.statahead_min=8 llite.lustre-ffff9e97d00cd800.statahead_batch_max=64 llite.lustre-ffff9e97d00cd800.statahead_max=128