Skip to content

Commit

Permalink
fix mica
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Pismenny <BorisPismenny@gmail.com>
  • Loading branch information
BorisPis committed Jan 10, 2022
1 parent 0046ecf commit 0809dd2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions fig11/test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#~/bin/bash

LD_LIB="LD_LIBRARY_PATH=/usr/local/lib/x86_64-linux-gnu" #dpdk's install path
basedir=`dirname \`realpath $0\``
basedir=`dirname \`realpath $0\``
MICAS_BASE=$NMBASE/micas/build
Expand Down Expand Up @@ -92,8 +93,8 @@ scp $WORKLOAD_FILE.tmp $loader1:/tmp/$TMP_DATE
#-------------------------------------------------

# run new mica instance using GENERIC values
echo sudo -E $MICAS_BASE/src/netbench_server_latency $MACHINE_FILE.tmp server 0 0 $PREPOPULATION_FILE.tmp $REQUEST_RATE $_SPLIT $_NICMEM $MLXINLINE $_MAX_NICMEM_KEY
sudo -E $MICAS_BASE/src/netbench_server_latency $MACHINE_FILE.tmp server 0 0 $PREPOPULATION_FILE.tmp $REQUEST_RATE $_SPLIT $_NICMEM $MLXINLINE $_MAX_NICMEM_KEY | tee -a $OUT_FILE/mica_server.txt &
echo sudo -E $LD_LIB $MICAS_BASE/src/netbench_server_latency $MACHINE_FILE.tmp server 0 0 $PREPOPULATION_FILE.tmp $REQUEST_RATE $_SPLIT $_NICMEM $MLXINLINE $_MAX_NICMEM_KEY
sudo -E $LD_LIB $MICAS_BASE/src/netbench_server_latency $MACHINE_FILE.tmp server 0 0 $PREPOPULATION_FILE.tmp $REQUEST_RATE $_SPLIT $_NICMEM $MLXINLINE $_MAX_NICMEM_KEY | tee -a $OUT_FILE/mica_server.txt &
# it takes 20 seconds to boot 1 mica therad
sleep 20
#--------------------------------------------------
Expand Down
5 changes: 3 additions & 2 deletions fig12/test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#~/bin/bash

LD_LIB="LD_LIBRARY_PATH=/usr/local/lib/x86_64-linux-gnu" #dpdk's install path
basedir=`dirname \`realpath $0\``
basedir=`dirname \`realpath $0\``
MICAS_BASE=$NMBASE/micas/build
Expand Down Expand Up @@ -92,8 +93,8 @@ scp $WORKLOAD_FILE.tmp $loader1:/tmp/$TMP_DATE
#-------------------------------------------------

# run new mica instance using GENERIC values
echo sudo -E $MICAS_BASE/src/netbench_server_latency $MACHINE_FILE.tmp server 0 0 $PREPOPULATION_FILE.tmp $REQUEST_RATE $_SPLIT $_NICMEM $MLXINLINE $_MAX_NICMEM_KEY
sudo -E $MICAS_BASE/src/netbench_server_latency $MACHINE_FILE.tmp server 0 0 $PREPOPULATION_FILE.tmp $REQUEST_RATE $_SPLIT $_NICMEM $MLXINLINE $_MAX_NICMEM_KEY | tee -a $OUT_FILE/mica_server.txt &
echo sudo -E $LD_LIB $MICAS_BASE/src/netbench_server_latency $MACHINE_FILE.tmp server 0 0 $PREPOPULATION_FILE.tmp $REQUEST_RATE $_SPLIT $_NICMEM $MLXINLINE $_MAX_NICMEM_KEY
sudo -E $LD_LIB $MICAS_BASE/src/netbench_server_latency $MACHINE_FILE.tmp server 0 0 $PREPOPULATION_FILE.tmp $REQUEST_RATE $_SPLIT $_NICMEM $MLXINLINE $_MAX_NICMEM_KEY | tee -a $OUT_FILE/mica_server.txt &
# it takes 20 seconds to boot 1 mica therad
sleep 20
#--------------------------------------------------
Expand Down

0 comments on commit 0809dd2

Please sign in to comment.