From 6d1dd298ce47518a7f2500744afda4069b916feb Mon Sep 17 00:00:00 2001 From: Peter Cai <peter.cai@uwaterloo.ca> Date: Wed, 15 Feb 2023 10:14:19 -0500 Subject: [PATCH] move variable definition to experiment files --- configs/mutilate.sh | 5 ----- experiments/memcached.shared.sh | 2 ++ experiments/memcached_qps_scan.sh | 4 ++++ 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/configs/mutilate.sh b/configs/mutilate.sh index 112d62b..b363770 100644 --- a/configs/mutilate.sh +++ b/configs/mutilate.sh @@ -6,8 +6,3 @@ MEMCLIENTS=tilly03,tilly04,tilly05,tilly06,tilly07,tilly08 MUTILATE="ssh tilly02 taskset -c 0-7 mutilate -T8" MUTILATE+=" -s $MEMSERVER_IP -d1 -K fb_key -V fb_value -i fb_ia -r1000000" MUTCLIENTS=$(for m in $(echo $MEMCLIENTS|tr , ' '); do echo " -a $m";done) - -QPS_START_PER_THREAD=40000 -QPS_END_PER_THREAD=110000 -QPS_STEP_PER_THREAD=5000 -CONNS=160 # Per mutilate agent thread diff --git a/experiments/memcached.shared.sh b/experiments/memcached.shared.sh index e9bf0ed..2c37dd9 100644 --- a/experiments/memcached.shared.sh +++ b/experiments/memcached.shared.sh @@ -1,3 +1,5 @@ +CONNS=160 # per agent thread + load_config() { source "$EXP_ROOT/configs/memcached.sh" source "$EXP_ROOT/configs/mutilate.sh" diff --git a/experiments/memcached_qps_scan.sh b/experiments/memcached_qps_scan.sh index f026cf0..c4858ee 100644 --- a/experiments/memcached_qps_scan.sh +++ b/experiments/memcached_qps_scan.sh @@ -1,5 +1,9 @@ source "$EXP_ROOT/experiments/memcached.shared.sh" +QPS_START_PER_THREAD=30000 +QPS_END_PER_THREAD=120000 +QPS_STEP_PER_THREAD=3000 + pre_start() { memcached_pre_start } -- GitLab