1
0
Fork 0
mirror of https://github.com/foxlet/macOS-Simple-KVM.git synced 2024-11-13 06:39:42 +01:00
macOS-Simple-KVM/docs/guide-performance.md

25 lines
713 B
Markdown
Raw Normal View History

2019-04-30 23:48:10 +02:00
Guide to Performance Tuning
===========================
The default macOS VM configuration (`basic.sh`) assumes some sane defaults, however this may not reflect the actual topology or peformance capabilities of the underlaying machine.
Here's some tunable parameters to get the most of out QEMU:
## Memory
The following line controls memory allocation. The default is 2GB of RAM.
Increase this as needed (limited to the real amount of memory in your machine).
```
-m 2G \
```
## Cores
2019-05-11 23:25:09 +02:00
The default configuration enables 4 threads, divided into CPUs with 2 cores each.
2019-04-30 23:48:10 +02:00
```
-smp 4,cores=2 \
```
2019-05-11 23:25:09 +02:00
The following example describes all possible topology flags:
2019-04-30 23:48:10 +02:00
```
-smp cores=4,threads=4,sockets=1 \
2019-05-11 23:25:09 +02:00
```