|
1 | 1 | # Unraid Setup |
2 | 2 |
|
3 | | -## Config |
4 | | - |
5 | | -### Docker |
| 3 | +## Docker Config |
6 | 4 |
|
7 | 5 | - create custom network |
8 | 6 |
|
|
16 | 14 | - this triggers the expected write amplification from `BRTFS` copy-on-write |
17 | 15 | - [details](https://forums.unraid.net/bug-reports/stable-releases/683-docker-image-huge-amount-of-unnecessary-writes-on-cache-r733/page/22/?tab=comments#comment-13653) |
18 | 16 |
|
19 | | -### Advanced Disk Settings |
| 17 | +## Advanced Disk Settings |
20 | 18 |
|
21 | 19 | - Query/Disable/Enable Write Caching [(Reference)](https://forums.unraid.net/topic/72862-drive-write-speeds-really-slow-solved/?do=findComment&comment=670028) |
22 | 20 |
|
|
45 | 43 | |
46 | 44 | - <https://wiki.unraid.net/Tips_and_Tweaks#Turn_on_Reconstruct_Write> |
47 | 45 |
|
48 | | -### VM |
| 46 | +## VM Config |
| 47 | +
|
| 48 | +### Host Config Tweaks |
49 | 49 |
|
50 | 50 | - disable `Copy-on-write` on share storing VM vdisk image files (default is `domains`) |
51 | 51 |
|
|
65 | 65 | > ``` |
66 | 66 | |
67 | 67 | > |
68 | | - > \[!note\] Restore _**on-demand**_ cpu governor\_ |
| 68 | + > \[!note\] Restore _**on-demand** cpu governor_ |
69 | 69 | > |
70 | 70 | > ```bash |
71 | 71 | > #!/bin/bash |
|
98 | 98 | - use direct disk path for cache only shares instead of the user share mount path e.g. |
99 | 99 | |
100 | 100 | - _Default VM Storage Path:_ `/mnt/user/domains/` => `/mnt/cache_nvme/domains/` |
101 | | -- Windows VM Guest tweaks |
102 | | - |
103 | | - - install the VirtIO drivers |
104 | | - - install the QEMU Guest Agent |
105 | | - - disable Hiberfil.sys: `powercfg -h off` |
106 | | - - set power plan to maximum performance |
107 | | - - disable index and/or cortana search |
108 | | - - Nvidia control panel: `3D settings` -> `Manage 3D settings` -> `Global settings` |
109 | | - - set `Power Management mode` = `Prefer maximum performance` |
110 | | - - set `Low Latency Mode` = `On` |
| 101 | +
|
| 102 | +### Windows VM Guest Tweaks |
| 103 | +
|
| 104 | +- install the VirtIO drivers |
| 105 | +
|
| 106 | +- install the QEMU Guest Agent |
| 107 | +
|
| 108 | +- disable Hiberfil.sys: `powercfg -h off` |
| 109 | +
|
| 110 | +- set power plan to maximum performance |
| 111 | +
|
| 112 | +- disable index and/or cortana search |
| 113 | +
|
| 114 | +- Nvidia control panel: `3D settings` -> `Manage 3D settings` -> `Global settings` |
| 115 | + |
| 116 | + - set `Power Management mode` = `Prefer maximum performance` |
| 117 | + - set `Low Latency Mode` = `On` |
111 | 118 | - references |
112 | 119 | |
113 | 120 | - https://resplendence.com/latencymon |
114 | 121 | - https://forums.unraid.net/topic/135867-is-there-a-current-guide-for-setting-up-a-windows-11-vm/ |
115 | 122 |
|
116 | | -### SMB |
| 123 | +## SMB |
117 | 124 |
|
118 | 125 | - SMB hardening |
119 | 126 | ```config |
|
0 commit comments