Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
4c2f3db5
Commit
4c2f3db5
authored
Sep 14, 2020
by
Antoine Kaufmann
Browse files
experiments: fix qemu mtcp experiment
parent
499dc3b0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
experiments/guests/qemu-mtcp-client/mtcp.conf
experiments/guests/qemu-mtcp-client/mtcp.conf
+3
-3
experiments/guests/qemu-mtcp-client/run.sh
experiments/guests/qemu-mtcp-client/run.sh
+1
-1
experiments/guests/qemu-mtcp-server/mtcp.conf
experiments/guests/qemu-mtcp-server/mtcp.conf
+4
-4
experiments/guests/qemu-mtcp-server/run.sh
experiments/guests/qemu-mtcp-server/run.sh
+1
-1
No files found.
experiments/guests/qemu-mtcp-client/mtcp.conf
View file @
4c2f3db5
...
@@ -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
=
1
0
# TCP timewait seconds
# TCP timewait seconds
tcp_timewait
=
0
tcp_timewait
=
0
...
...
experiments/guests/qemu-mtcp-client/run.sh
View file @
4c2f3db5
...
@@ -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 1
28 2 0 8
poweroff
poweroff
experiments/guests/qemu-mtcp-server/mtcp.conf
View file @
4c2f3db5
#
############## 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
=
1
0
# TCP timewait seconds
# TCP timewait seconds
tcp_timewait
=
0
tcp_timewait
=
0
...
...
experiments/guests/qemu-mtcp-server/run.sh
View file @
4c2f3db5
...
@@ -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 1
28
1024
./echoserver_mtcp 1234 1 /tmp/guest/mtcp.conf 1
024
1024
poweroff
poweroff
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment