SSD as swap for windows 10 VM's

camjesus

New Member
Apr 12, 2021
4
0
1
25
Hello all,
I'm quite new to proxmox and still playing a bit on my home lab to see how best put it to production. So far no big issues and most of my doubts were solved by googling around the forum. Still I do have some questions. Here goes the first.

First of all, my setup:
I7-9700k with 32GB on an ASUS TUF-B360 (production machine will be a supermicroserver E200-8D). For space and scalability reasons, the storage for the VMs is a remote NAS running Debian with a ZFS striped mirror 4x2TB with a dedicated 10Gb link. Proxmox is installed on a raid 1 with 2x256GB Samsung 860 Pro.
This will run 3 or 4 Win10 VM's, a debian backup server (with locally attached storage) and a debian based SAMBA DC. All with mild workload.
Now for the real question. Can I use the free space on the SSD's to give to the W10 machines as Swap? Does it make sense? My idea is to make N partitions, present each one to a VM as raw storage and use this as a "swap drive".
I tried it and it works, but I'm not sure this is the best way to use the SSD free space or if it even makes sense.

Best regards,
CAMJ
 
Well, it's done. At the risk of TBWing the ssds even faster, I've partitioned them and shared each partition to a VM to use as swap space. I don't really se a huge difference, buut that's probably because the VMs don't swap a lot. Even if the throughput isn't hugely better then the raid10, the iops are so, for now, it'll do.

best regards!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!