== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 04:16:09 (1779696969) llite.lustre-ffff98884c5b8000.statahead_max=1024 llite.lustre-ffff98884c5b8000.statahead_batch_max=32 llite.lustre-ffff98884c5b8000.statahead_min=64 llite.lustre-ffff98884c5b8000.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.09 seconds: 196.45 ops/second llite.lustre-ffff98884c5b8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98884c5b8000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff98884c5b8000.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: 1779696982.742794436 secs.nsecs start_time: 1779696979.302804469 secs.nsecs elapsed_time: 3.439989967 secs.nsecs subreqs per batch batches % cum % 1: 2 2 2 2: 1 1 3 4: 13 15 19 8: 4 4 24 16: 1 1 25 32: 61 74 100 snapshot_time: 1779696982.742860998 secs.nsecs start_time: 1779696979.302916562 secs.nsecs elapsed_time: 3.439944436 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: 1779697013.701574216 secs.nsecs start_time: 1779696979.302804469 secs.nsecs elapsed_time: 34.398769747 secs.nsecs subreqs per batch batches % cum % 1: 3 3 3 2: 1 1 4 4: 13 15 20 8: 4 4 25 16: 1 1 26 32: 61 73 100 snapshot_time: 1779697013.701636985 secs.nsecs start_time: 1779696979.302916562 secs.nsecs elapsed_time: 34.398720423 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 4.95 seconds: 202.21 ops/second llite.lustre-ffff98884c5b8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98884c5b8000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff98884c5b8000.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: 1779697027.257399557 secs.nsecs start_time: 1779697023.894588553 secs.nsecs elapsed_time: 3.362811004 secs.nsecs subreqs per batch batches % cum % 1: 24 22 22 2: 5 4 26 4: 5 4 31 8: 8 7 38 16: 10 9 47 32: 57 52 100 snapshot_time: 1779697027.257714612 secs.nsecs start_time: 1779697023.894843609 secs.nsecs elapsed_time: 3.362871003 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: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1779697057.808211762 secs.nsecs start_time: 1779697023.894588553 secs.nsecs elapsed_time: 33.913623209 secs.nsecs subreqs per batch batches % cum % 1: 25 22 22 2: 5 4 27 4: 5 4 31 8: 8 7 39 16: 10 9 48 32: 57 51 100 snapshot_time: 1779697057.808296522 secs.nsecs start_time: 1779697023.894843609 secs.nsecs elapsed_time: 33.913452913 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 - unlinked 0 (time 1779697065 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1779697074 ; total 0 ; last 0) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second llite.lustre-ffff98884c5b8000.enable_statahead_fname=1 llite.lustre-ffff98884c5b8000.statahead_min=8 llite.lustre-ffff98884c5b8000.statahead_batch_max=64 llite.lustre-ffff98884c5b8000.statahead_max=128