Commit e986fe1
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
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments