mirror of
https://github.com/utmapp/UTM.git
synced 2026-10-12 02:24:01 +00:00
config: always use GICv3
GICv2 has reduced performance at higher core counts (measured in CP2077)
This commit is contained in:
@@ -580,8 +580,8 @@ import Virtualization // for getting network interfaces
|
||||
if system.architecture == .aarch64 && !isHypervisorUsed {
|
||||
properties = properties.appendingDefaultPropertyName("virtualization", value: "on")
|
||||
}
|
||||
// required for > 8 CPUs
|
||||
if system.architecture == .aarch64 && emulatedCpuCount.0 > 8 {
|
||||
// required for > 8 CPUs, improves performance regardless
|
||||
if system.architecture == .aarch64 {
|
||||
properties = properties.appendingDefaultPropertyName("gic-version", value: "3")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user