Skip to content

Commit e986fe1

Browse files
committed
perf: Use 1 cpu for performance tests
Testing shows that 1 cpus is 5%-18% faster. Using less cpus is also better for getting more consistent results on smaller machines with fewer performance cores. Test results on M3 machine: | vm | cpus | host to vm | vm to vm | |--------|------|--------------|--------------| | vz | 2 | 3.3 Gbits/s | 1.8 Gbits/s | | vz | 1 | 3.9 Gbits/s | 1.9 Gbits/s | | qemu | 2 | 3.5 Gbits/s | 2.2 Gbits/s | | qemu | 1 | 3.8 Gbits/s | 2.5 Gbits/s | Signed-off-by: Nir Soffer <nirsof@gmail.com>
1 parent 311512d commit e986fe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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:

0 commit comments

Comments
 (0)