This message was deleted.
# citrix-vad
s
This message was deleted.
j
I have always done 4GB static pagefile sizes for W10 and 8GB for Server 2016 and 2019
m
is it thin provisioned? Set it to something huge and see if it fills up, then identify what apps are doing it and try and work out why. System managed is garbage and nearly always too low
a
We are using WEM and a 4GB Cache with overflow to HD in PVS. Static page files of 4GB. Our 2016 VDA's, have 32GB RAM. Every time I think about these numbers, I think we need to review and redo it all. Like @Terry R said, there's a lot of legacy. With RAM getting cheaper, it seems like we can just push everything to RAM and not have a local system page file or the PVS cache. I don't have load testing software to work through various scenarios.
m
Are people not using thin provisioning and that’s why they are worried about page file sizes? Or have you tried setting it to be large and it instantly fills up and you’re worried about that space?
With a large enough RAM cache you don’t need a page file at all
everything is a trade off, which is why page file sizes have no hard and fast rules
it all depends on you constraining factor, and if that isn’t RAM then just give them as much RAM cache as they need to stop writing to disk at all
if it is and you aren’t constrained by disk, set it to be as large as your amount of RAM plus a bit more and then you can do a full memory dump if you ever want to.
if you’re constrained by both, you need to juggle the numbers around until you aren’t excessively paging to disk
and that depends entirely on your apps
t
It is thin provisioned but with MCSIO the underlying VMDK is now persistent. We have found our RAM cache will grow the disk and while it gets deleted the actual disk stays at the new high water mark which consumes our datastore space. We are looking into why the app seems to fill the RAM cache occasionally but for now we are attempting to fine tune it all.
m
you may have to thin the disk periodically if you want to reclaim that space. The vhdx file itself goes away on reboot but that won’t shrink the underlying vmdk. You could use vmkfstools -k as part of a scripted weekly reboot.
you might also need to zero out the disk first though
and at that point you’re probably better off just attaching a new disk every time instead like how it’s done in Azure
the big issue is that you can’t thin a running disk
I wonder if @Martin Zugec has any ideas for what to do to shrink persistent thin provisioned MCSIO disks if they are VMDKs, but this is more a vmware issue now.
👀 1
I suppose it really depends if your vmfs storage is at version 5 or 6, 5 it’s all manual but 6 looks like it supports doing this automatically via the unmap command.
j
Wem will murder your page file - memory is cheap 🤘