Skip to content

Commit b330a76

Browse files
committed
perf: Use iperf3.service on server vm
Signed-off-by: Nir Soffer <nirsof@gmail.com>
1 parent e986fe1 commit b330a76

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/perf.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ create() {
1616

1717
host-to-vm() {
1818
limactl start server
19-
nohup limactl shell server iperf3 --server --daemon
19+
limactl shell server sudo systemctl start iperf3.service
2020
iperf3-darwin --client $(server_address) --time $TIME
2121
limactl stop server
2222
}
@@ -25,7 +25,7 @@ host-to-vm-2() {
2525
limactl start server &
2626
limactl start client &
2727
wait
28-
nohup limactl shell server iperf3 --server --daemon
28+
limactl shell server sudo systemctl start iperf3.service
2929
iperf3-darwin --client $(server_address) --time $TIME
3030
limactl stop server
3131
limactl stop client
@@ -35,7 +35,7 @@ vm-to-vm() {
3535
limactl start server &
3636
limactl start client &
3737
wait
38-
nohup limactl shell server iperf3 --server --daemon
38+
limactl shell server sudo systemctl start iperf3.service
3939
addr=$(server_address)
4040
limactl shell client iperf3 --client $addr --length 1m --time $TIME
4141
limactl stop server

0 commit comments

Comments
 (0)