Skip to content
Snippets Groups Projects
Commit 111db10e authored by Peter Cai's avatar Peter Cai
Browse files

Update perf stats, and workaround connection establishment delay with F-Stack

parent 51a537e6
No related branches found
No related tags found
No related merge requests found
......@@ -54,6 +54,10 @@ case "$(uname -r)" in
MIN_THREADS=2 run_memcached_conn_scan --caladan
MIN_THREADS=2 run_memcached_qps_scan --caladan
# Extra experiments for Caladan
run_exp -e memcached_conn_scan --caladan -t 4
run_exp -e memcached_conn_scan --caladan -t 6
;;
*)
echo "Unsupported kernel"
......
......@@ -66,6 +66,7 @@ memcached_pre_start() {
if [ "$FSTACK" == "true" ]; then
MEMCACHED="$MEMCACHED_FSTACK"
PERF_EXTRA_ARGS="-D 15000" # Account for S-Stack connection establishment delay
elif [ "$CALADAN" == "true" ]; then
MEMCACHED="$MEMCACHED_CALADAN"
MEMCACHED_ARGS="$MEMCACHED_ARGS $CALADAN_CONFIG -p 11211"
......
perf_stat_start() {
$PERF stat -C 0-$((THREADS - 1)) -e LLC-load-misses:u,LLC-load-misses:k,LLC-loads:u,LLC-loads:k,LLC-store-misses:u,LLC-store-misses:k,LLC-stores:u,LLC-stores:k,task-clock,cycles:u,cycles:k,instructions:u,instructions:k -o "$DATA_OUT/stat_$1$EXP_AUX_SUFFIX.txt" &
$PERF stat $PERF_EXTRA_ARGS -C 0-$((THREADS - 1)) -e LLC-load-misses:u,LLC-load-misses:k,LLC-loads:u,LLC-loads:k,LLC-store-misses:u,LLC-store-misses:k,LLC-stores:u,LLC-stores:k,task-clock,cycles:u,cycles:k,instructions:u,instructions:k -o "$DATA_OUT/stat_$1$EXP_AUX_SUFFIX.txt" &
PERF_STAT_PID=$!
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment