Add notes on kvm acceleration
This commit is contained in:
parent
c021d92bad
commit
230959f228
|
@ -58,4 +58,6 @@ We do use Docker as part of our continuous build processes. However, we have cho
|
|||
### Builds are slow. Can they be sped up?
|
||||
|
||||
Virtualization is inherently slower than running on bare metal. We consider the speed overhead worth it for complete isolation of the build environment. However, if you are considering using repliqate for
|
||||
something more speed-sensitive then you may want to consider enabling and using qemu with [kvm](https://wiki.qemu.org/Features/KVM) enabled.
|
||||
something more speed-sensitive then you may want to consider enabling and using qemu with [kvm](https://wiki.qemu.org/Features/KVM) enabled.
|
||||
|
||||
Note: This is now enabled by default. To disable kvm acceleration see the note in `src/main.rs`
|
||||
|
|
|
@ -63,6 +63,7 @@ impl QemuProcess {
|
|||
"nic",
|
||||
"-net",
|
||||
"user",
|
||||
// comment out the below line to disable kvm acceleration
|
||||
"-accel","kvm",
|
||||
"-drive",
|
||||
format!("if=virtio,format=qcow2,file={}", path).as_str(),
|
||||
|
|
Loading…
Reference in New Issue