Optimizing my Windows VM for Photoshop
Posted on - February 23, 2025 by Andy Cinquin
VMFedoraWindows
I optimized my Windows VM to get a more responsive Photoshop. Here are the key changes I made to the configuration.
CPU Configuration
Before
The CPU was in shared mode - all cores were competing between Linux and Windows.
After
Now, each virtual core is assigned to a specific physical core. Cores 0 and 7 are reserved for Linux.
Memory Management
Before
Basic memory configuration without specific optimizations.
After
Added hugepages for better memory management and reduced latency.
Disk Configuration
Before
Default disk configuration without I/O optimizations.
After
Disk access optimization with native cache and balanced I/O limits.
Network Interface
Before
Intel e1000e network card emulation (more compatible but less performant).
After
Using virtio driver for optimal network performance.
Additional Configuration
You also need to enable hugepages on the Linux host system:
These modifications result in:
- A more responsive Windows interface
- Better performance in Photoshop
- Better coexistence between Linux and Windows
- Faster disk access
To apply these changes, you need to:
- Edit the XML file with
sudo virsh edit vm_name
- Stop the VM
- Apply system changes (hugepages)
- Restart the VM
🚀 Thanks for reading!
If you enjoyed this article, feel free to share it around.
💡 Got an idea? Let's talk !☕