Commit 4c2f3db5 authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

experiments: fix qemu mtcp experiment

parent 499dc3b0
...@@ -22,11 +22,11 @@ num_mem_ch = 4 ...@@ -22,11 +22,11 @@ num_mem_ch = 4
port = dpdk0 port = dpdk0
# Maximum concurrency per core # Maximum concurrency per core
max_concurrency = 1024 max_concurrency = 4096
# Maximum number of socket buffers per core # Maximum number of socket buffers per core
# Set this to small value if there are many idle connections # Set this to small value if there are many idle connections
max_num_buffers = 100 max_num_buffers = 4096
# Receive buffer size of sockets # Receive buffer size of sockets
rcvbuf = 8192 rcvbuf = 8192
...@@ -38,7 +38,7 @@ sndbuf = 8192 ...@@ -38,7 +38,7 @@ sndbuf = 8192
# TCP timeout seconds # TCP timeout seconds
# (tcp_timeout = -1 can disable the timeout check) # (tcp_timeout = -1 can disable the timeout check)
tcp_timeout = 1 tcp_timeout = 10
# TCP timewait seconds # TCP timewait seconds
tcp_timewait = 0 tcp_timewait = 0
......
...@@ -19,5 +19,5 @@ ip link set dev dpdk0 up ...@@ -19,5 +19,5 @@ ip link set dev dpdk0 up
ip addr add 192.168.64.2/24 dev dpdk0 ip addr add 192.168.64.2/24 dev dpdk0
cd /root/tasbench/micro_rpc cd /root/tasbench/micro_rpc
./testclient_mtcp 192.168.64.1 1234 1 /tmp/guest/mtcp.conf 1024 1 1 ./testclient_mtcp 192.168.64.1 1234 1 /tmp/guest/mtcp.conf 1024 1 128 2 0 8
poweroff poweroff
############### mtcp configuration file ############### ############## mtcp configuration file ###############
# The underlying I/O module you want to use. Please # The underlying I/O module you want to use. Please
# enable only one out of the two. # enable only one out of the two.
...@@ -22,11 +22,11 @@ num_mem_ch = 4 ...@@ -22,11 +22,11 @@ num_mem_ch = 4
port = dpdk0 port = dpdk0
# Maximum concurrency per core # Maximum concurrency per core
max_concurrency = 1024 max_concurrency = 4096
# Maximum number of socket buffers per core # Maximum number of socket buffers per core
# Set this to small value if there are many idle connections # Set this to small value if there are many idle connections
max_num_buffers = 100 max_num_buffers = 4096
# Receive buffer size of sockets # Receive buffer size of sockets
rcvbuf = 8192 rcvbuf = 8192
...@@ -38,7 +38,7 @@ sndbuf = 8192 ...@@ -38,7 +38,7 @@ sndbuf = 8192
# TCP timeout seconds # TCP timeout seconds
# (tcp_timeout = -1 can disable the timeout check) # (tcp_timeout = -1 can disable the timeout check)
tcp_timeout = 1 tcp_timeout = 10
# TCP timewait seconds # TCP timewait seconds
tcp_timewait = 0 tcp_timewait = 0
......
...@@ -39,5 +39,5 @@ cd /root/tasbench/micro_rpc ...@@ -39,5 +39,5 @@ cd /root/tasbench/micro_rpc
#make clean #make clean
#make echoserver_mtcp MTCP_BASE="/root/mtcp" TAS_CODE="/root/tas" #make echoserver_mtcp MTCP_BASE="/root/mtcp" TAS_CODE="/root/tas"
#rm -rf /var/run/dpdk /dev/hugepages/* #rm -rf /var/run/dpdk /dev/hugepages/*
./echoserver_mtcp 1234 1 /tmp/guest/mtcp.conf 128 1024 ./echoserver_mtcp 1234 1 /tmp/guest/mtcp.conf 1024 1024
poweroff poweroff
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment