From 6254e0d81afa095fa050e1e6987258b9e43444ee Mon Sep 17 00:00:00 2001 From: Jeremy Lakeman Date: Thu, 20 Jun 2013 10:49:57 +0930 Subject: [PATCH] Reduce IO strain from stress test while increasing bundle count --- tests/rhizomestress | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/rhizomestress b/tests/rhizomestress index 3e5b4045..5859ac4d 100755 --- a/tests/rhizomestress +++ b/tests/rhizomestress @@ -46,7 +46,7 @@ configure_servald_server() { set mdp.iftype.wifi.tick_ms 500 } -doc_StressRhizomeTransfer="Five nodes each sharing 21 bundles from 32B to 32MiB" +doc_StressRhizomeTransfer="Five nodes each sharing 26 bundles from 0B to 620K" setup_StressRhizomeTransfer() { setup_servald assert_no_servald_processes @@ -56,10 +56,10 @@ setup_StressRhizomeTransfer() { eval "bundles$i=()" set_instance +$i let j=0 - for n in 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l + for n in 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z do local sidvar="SID$instance_name" - local size=$((2 ** (j + 5))) + local size=$((16 * (j ** 3))) tfw_log "Adding file file-$i-$n, size $size" create_file file-$i-$n $size tfw_nolog executeOk_servald rhizome add file "${!sidvar}" file-$i-$n file-$i-$n.manifest