With the Microsoft FSlogix Release 2210 (2.9.8361.52326) a long awaited Feature called VHDX Disk Compaction has arrived.
At a enterprise customer with approximately 22,000 Citrix users and a combination of Citrix User Profile Manager and FSLogix Office Container during the M365 implementation starting with Word, Excel, PowerPoint, OneNote and Teams in Citrix. Microsoft Outlook is scheduled for rollout later this year.
The FSlogix Office containers are split across 4 different locations based on regions across a single CVAD image with 900 Citrix servers.
|Location||Number of Office Containers|
On every Weekend we are running the shrink script from Jim Moyle, but mostly the script doesn’t finished all Containers over the weekend and in addition not all containers can be shrinked, so the efficency was not the best at the end.
With the new FSLogix Compaction Feature we disable the scheduled Task and automate the reporting to see how FSLogix will help us to save storage. Lets Go !!
Every day we get a report several times by mail in the Automate Teams channel from the storage, grab it with Powershell and create one Confluence report per month for it.
In January I install the new FSLogix Version and starting from 23.01.23 the FSLogix VHDX Disk Compaction Feature at User Logoff is enabled. Partially enabled on 50 EMEA Servers on 18.01.23. A picture will tell you more than thousand of words, see below
If you look at the data below, the Powershell script captures the number of containers and calculates the average. For this cache location, the customer saves 20 TB (42 TB to 22 TB) and the average reduces it from 3.2 at peak to 1.79 GiB/VDHX.
A month later we don’t see any high spikes more a flat line
Below you will find an overview of the the saved space across all 4 storage locations.
|Cache Location||Number of Containers 01.01.2023||Storage Usage 01.01.2023 (GiB)||Average 01.01.2023 (GiB/VDHX)||Number of Containers 06.02.2023||Storage Usage 06.02.2023 (GiB)||Average 06.02.2023 (GiB/VDHX)|
In the evenings during logoff times, the logoff times are between 9 and 30 seconds for the user to shrink the disk at that time. I also ran a load test with 20 users on a single CVAD server and logged everyone off at the same time, which did not interfere with any other session. Storage IOps increased from 2000-2500 to 2500-3000 IOps at this time, storage uses ReFS as filesystem. This feature greatly helps your environment save space.