Skip to content

Commit faa2f74

Browse files
authored
Merge pull request #116 from nirs/perf
More performance tests tweaks
2 parents 15c0468 + fc35bda commit faa2f74

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

test/lima.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ images:
33
arch: "x86_64"
44
- location: "https://cloud-images.ubuntu.com/releases/24.10/release/ubuntu-24.10-server-cloudimg-arm64.img"
55
arch: "aarch64"
6-
cpus: 2
6+
cpus: 1
77
memory: "2g"
88
plain: true
99
networks:

test/perf.sh

Lines changed: 4 additions & 4 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,9 +35,9 @@ 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)
40-
limactl shell client iperf3 --client $addr --length 1m --time $TIME
40+
limactl shell client iperf3 --client $addr --time $TIME
4141
limactl stop server
4242
limactl stop client
4343
}

0 commit comments

Comments
 (0)