Skip to content

Commit eaa4b10

Browse files
committed
More mem stuff
1 parent 91cfe87 commit eaa4b10

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.vscode/settings.json

+4
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,16 @@
2929
"HKLM",
3030
"Höglinger",
3131
"hugepages",
32+
"Hugepagesize",
33+
"hugetlb",
3234
"Identinator",
3335
"igfilter",
3436
"inival",
3537
"inja",
3638
"Inno",
3739
"IOMMU",
3840
"javascripts",
41+
"kbytes",
3942
"Legacinator",
4043
"LOCALAPPDATA",
4144
"magiclink",
@@ -60,6 +63,7 @@
6063
"Ryochan",
6164
"Ryzen",
6265
"Shibari",
66+
"shmmax",
6367
"simplewall",
6468
"SIXAXIS",
6569
"Stelzer",

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

+9
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,15 @@ So a value of `8192` pages at a page size of 2MB equals **16GB of RAM reserved**
260260
GRUB_CMDLINE_LINUX_DEFAULT="... hugepages=8192"
261261
```
262262

263+
`/etc/sysctl.conf`
264+
265+
```ini
266+
kernel.shmmax = 17179869184
267+
vm.nr_hugepages = 8192
268+
vm.min_free_kbytes = 112640
269+
vm.hugetlb_shm_group = 1000
270+
```
271+
263272
#### CPU Governor on performance mode
264273

265274
```bash

0 commit comments

Comments
 (0)