Does this mean only optimize if the VDA has 4gb of...
# citrix-wem
s
Does this mean only optimize if the VDA has 4gb of virtual memory assigned to the machine? Or does this mean only optimize if there is 4gbs of memory left on the machine after usage?
j
The latter - it’s going to do nothing if the available memory is greater than x and do stuff if it’s less - it’s dynamic
s
ok, good. Thanks
They could re word a little better, like: Optimize only if system has this much available ram left for all the greedy apps 🙂 Funny how you cant set it to more then 4000. What if i want to kick in when their is only 6000mb left to give uers
j
The developers are very polite folks. Memory management is a double edged sword - it’ll reduce the memory consumption but you wanna have some awesome storage underneath
s
azure prem SSD good enough?
k
It basically forces apps to unload from physical memory which can push them to use the Page File instead. We had to increase our Page File size in order for this feature to play nice. Also, our page files live on temp storage in Azure, so it shouldn't interrupt the OS drive performance, I assume.
s
Funny, we just noticed that most of our VDA (2022 shared full desktops) dont even have a page file defined by the OS when we deployed from azure.
j
that will depend on your instance type - some have temp disks with auto page file, others don't, and MCS also has a say in it these days too Premium disk IO is usually decent enough (depends on the size of course) and it has burst capability so that helps
n
IMO, Memory Management hasn't been worth it. You're just trading RAM for Disk, and most of the time that's more expensive...
j
I only kick that in to play when it starts getting super low. Like 256. And make sure you have the ram compression enabled, as cpus are strong enough to handle that. With proper tuning you can get desktops down to 4 gb total.
s
@Jeff Riechers Where is Ram compression? And what do you mean by you kick that into play when it gets to 256?
j
image.png
image.png
Then in WEM you would just set that to 256. That way the system doesn't start paging stuff out until it gets to that level of low memory. Have a bunch of empty ram doesn't improve performance of day to day usage. Only provides a benefit when you go to open a large amount of data and it needs the ram.
when it is working your task manager for ram will look like this.
image.png