Skip to content

Commit 7c20369

Browse files
committed
More performance tuning notes
1 parent c97c404 commit 7c20369

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.vscode/settings.json

+1
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
"vfio",
7777
"Vīcĭus",
7878
"vigem",
79+
"Virtiofs",
7980
"Virtua",
8081
"vmci",
8182
"vmusb",

docs/research/VFIO/Windows-11-Gaming-VM.md

+15-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
205205
Set fixed amount of cores, topology and pin cores to best die layout; for `AMD Ryzen 7 3700X 8-Core Processor` it is
206206

207207
```xml
208-
<vcpu placement="static">8</vcpu>
208+
<vcpu placement="static" cpuset="8-15">8</vcpu>
209209
<iothreads>2</iothreads>
210210
<cputune>
211211
<vcpupin vcpu="0" cpuset="8"/>
@@ -242,6 +242,20 @@ echo 'KERNEL=="cpu8|cpu9|cpu10|cpu11|cpu12|cpu13|cpu14|cpu15", SUBSYSTEM=="cpu",
242242
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
243243
```
244244

245+
```bash
246+
sudo vim /etc/default/grub
247+
```
248+
249+
```bash
250+
GRUB_CMDLINE_LINUX_DEFAULT="... isolcpus=8-15"
251+
```
252+
253+
```bash
254+
sudo update-grub
255+
```
256+
257+
Reboot to activate.
258+
245259
## Resources
246260

247261
- [Sharing files with Virtiofs](https://libvirt.org/kbase/virtiofs.html)

0 commit comments

Comments
 (0)