Best Practices voor Windows VM’s in Proxmox VE
Windows VM’s draaien uitstekend op Proxmox VE, maar er zijn enkele optimalisaties die de performance en stabiliteit significant verbeteren. In dit artikel delen wij onze ervaring.
VM Hardware Configuratie
CPU
CPU Type
Kies “host” als CPU type voor de beste performance:
Hardware → Processors → Type: host
Dit geeft de VM toegang tot alle CPU features van de host.
Cores vs Sockets
- Windows Desktop: 1 socket, 2-8 cores
- Windows Server: 1-2 sockets, 4-16 cores
- Belangrijk: Windows licenties zijn socket-gebaseerd
Memory
Ballooning
Schakel memory ballooning uit voor stabiele performance:
Hardware → Memory → Ballooning: No
Huge Pages
Overweeg 1GB huge pages voor grote VM’s (>32GB RAM).
Storage
Disk Type: SCSI met VirtIO
Altijd SCSI controller met VirtIO gebruiken:
- Hardware → Add → Hard Disk
- Bus/Device: SCSI
- Cache: Write back (met battery/UPS)
- Discard: Yes (voor thin provisioning)
- IO thread: Yes
Disk Format
- QCOW2: Voor backups en snapshots
- RAW: Voor beste performance (op ZFS/LVM)
Windows VirtIO Drivers
Installeer de VirtIO drivers:
- Download VirtIO ISO
- Mount in VM
- Installeer:
- Balloon driver
- NIC driver
- SCSI driver
- Serial driver
Network
VirtIO NIC
Gebruik altijd VirtIO als NIC model:
Hardware → Network Device → Model: VirtIO
Multi-Queue
Voor high-performance networking, schakel multi-queue in:
Hardware → Network Device → Multiqueue: 8 (of CPU cores)
Guest Agent
Installeer de QEMU Guest Agent voor betere integratie:
- Mount VirtIO ISO
- Installeer
qemu-ga-x64.msi - Controleer service status:
1Get-Service QEMU-GA
Voordelen Guest Agent
- Correcte shutdown
- IP informatie in UI
- Trim/discard support
- Time synchronisatie
Windows Optimalisaties
Inside de VM
1. Power Plan
Instellen op High Performance:
| |
2. Visual Effects
Minimaliseer voor server workloads:
System Properties → Performance Settings → Adjust for best performance
3. Services
Overweeg het uitschakelen van onnodige services:
- Windows Search (voor servers)
- Superfetch/SysMain
- Print Spooler (indien niet nodig)
4. Disk Optimalisaties
| |
Registry Tweaks
Timer Resolutie
Voor betere gaming/workload performance:
| |
Backup Consideraties
QEMU Guest Agent
Essentieel voor consistente backups:
- VSS (Volume Shadow Copy) support
- Application-consistent snapshots
Backup Strategie
Proxmox Backup Server:
- Dagelijkse incrementals
- Wekelijkse full backups
- Retentie: 30 dagen
Monitoring
Key Metrics
Houd deze metrics in de gaten:
- CPU ready time (<5% is goed)
- Memory ballooning
- Disk latency (<10ms)
- Netwerk packet loss
Tools
- Proxmox built-in monitoring
- Windows Performance Monitor
- Grafana + InfluxDB (optioneel)
Veelvoorkomende Problemen
“No boot disk found”
- Controleer boot order
- VirtIO SCSI driver geïnstalleerd?
Traag netwerk
- VirtIO NIC gebruiken?
- Multi-queue geconfigureerd?
High CPU usage
- Check CPU ready time
- Sufficient memory allocated?
- Ballooning uitgeschakeld?
Performance Vergelijking
| Configuratie | IOPS | Latency | CPU Usage |
|---|---|---|---|
| IDE (default) | 5K | 15ms | 100% |
| SCSI (LSI) | 15K | 8ms | 80% |
| SCSI (VirtIO) | 50K+ | 2ms | 40% |
Gemiddelde waarden op NVMe storage
Conclusie
Met de juiste configuratie draaien Windows VM’s uitstekend op Proxmox VE. De belangrijkste takeaways:
- Gebruik VirtIO voor storage en network
- Installeer Guest Agent
- Optimaliseer Windows instellingen
- Monitor performance metrics
Hulp nodig bij het optimaliseren van uw Windows VM’s? Neem contact met ons op.
