== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 23:35:41 (1788924941) llite.lustre-ffff8c67d9588800.statahead_max=1024 llite.lustre-ffff8c67d9588800.statahead_batch_max=32 llite.lustre-ffff8c67d9588800.statahead_min=64 llite.lustre-ffff8c67d9588800.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 6.21 seconds: 161.10 ops/second llite.lustre-ffff8c67d9588800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c67d9588800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c67d9588800.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: 1788924958.288369065 secs.nsecs start_time: 1788924954.012502394 secs.nsecs elapsed_time: 4.275866671 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 11 12 14 4: 11 12 27 8: 3 3 30 16: 1 1 31 32: 60 68 100 snapshot_time: 1788924958.288434772 secs.nsecs start_time: 1788924954.012584604 secs.nsecs elapsed_time: 4.275850168 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: 1788924988.598253712 secs.nsecs start_time: 1788924954.012502394 secs.nsecs elapsed_time: 34.585751318 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 11 12 15 4: 11 12 28 8: 3 3 31 16: 1 1 32 32: 60 67 100 snapshot_time: 1788924988.598407042 secs.nsecs start_time: 1788924954.012584604 secs.nsecs elapsed_time: 34.585822438 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 6.41 seconds: 155.95 ops/second llite.lustre-ffff8c67d9588800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c67d9588800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c67d9588800.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: 1788925003.679485996 secs.nsecs start_time: 1788925000.217116947 secs.nsecs elapsed_time: 3.462369049 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 3 3 8 4: 4 4 13 8: 13 14 27 16: 5 5 33 32: 60 66 100 snapshot_time: 1788925003.679573216 secs.nsecs start_time: 1788925000.217208732 secs.nsecs elapsed_time: 3.462364484 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: 995 miss_total: 0 snapshot_time: 1788925034.475596194 secs.nsecs start_time: 1788925000.217116947 secs.nsecs elapsed_time: 34.258479247 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 3 3 9 4: 4 4 14 8: 13 14 28 16: 5 5 34 32: 60 65 100 snapshot_time: 1788925034.476944835 secs.nsecs start_time: 1788925000.217208732 secs.nsecs elapsed_time: 34.259736103 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1788925043 ; total 0 ; last 0) total: 1000 unlinks in 8 seconds: 125.000000 unlinks/second - unlinked 0 (time 1788925056 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff8c67d9588800.enable_statahead_fname=1 llite.lustre-ffff8c67d9588800.statahead_min=8 llite.lustre-ffff8c67d9588800.statahead_batch_max=64 llite.lustre-ffff8c67d9588800.statahead_max=128