Skip to content

Commit 0938429

Browse files
Merge pull request #312054 from codefinite-vri/main
Enhance cloud tiering policies section in documentation
2 parents d458d45 + 9d5e0cb commit 0938429

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

articles/storage/file-sync/file-sync-choose-cloud-tiering-policies.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,21 @@ Keeping more data local means lower egress costs as fewer files will be recalled
7373

7474
When adjusting your volume free space policy, the amount of data you should keep local is determined by the following factors: your bandwidth, dataset's access pattern, and budget. With a low-bandwidth connection, you may want more local data, to ensure minimal lag for users. Otherwise, you can base it on the churn rate during a given period. As an example, if you know that 10% of your 1 TiB dataset changes or is actively accessed each month, then you might want to keep 100 GiB local so you aren't frequently recalling files. If your volume is 2 TiB, then you will want to keep 5% (or 100 GiB) local, meaning the remaining 95% is your volume free space percentage. However, you should add a buffer for periods of higher churn – in other words, start with a larger volume free space percentage, and then adjust it if needed later.
7575

76+
## Impact of aggressive cloud tiering configurations
77+
78+
When configuring Azure File Sync cloud tiering, evaluate the volume free space percentage and the date policy 'number of days' based on the usage of the Azure File Sync server. For example, if you expect the last 7 days of recent data to be cached on the server, you may set the date policy to 7 days and ensure that the total volume size and current free space on the volume allow for the last 7 days of churn (new content and recalls due to access to some already tiered content to get cached upon recall). Assuming the volume size is 100 GiB and the last 7 days of churn is ~10 GiB, your volume must allow the latest 10 GiB to be cached and tier the remaining data to cloud. A volume free space of 20% would be fair in this case, as Azure File Sync will try to keep 20% (i.e., 20 GiB free space), which allows for 10 GiB of new content over 7 days and provides some extra room for file system overhead and occasional excess data to also be cached.
79+
80+
Setting a very high volume free space can significantly reduce the amount of data kept locally on the server. This would mean you expect almost all the files to be tiered. If the local cache contains only a small percentage of the working dataset, users might experience more frequent recalls from Azure. This can increase access latency and might result in additional transaction and data transfer costs for Azure Files.
81+
82+
Because the volume free space policy takes precedence over the date policy, Azure File Sync will tier files as needed to reach the configured free space target, regardless of when those files were accessed recently. Similarly, configuring a small day count for date policy threshold might cause files to be tiered shortly after they become inactive, even if volume free space policy doesn't force excess tiering.
83+
84+
Microsoft recommends the following approach:
85+
- Configure a volume free space policy that aligns with the volume capacity and expected working set to be cached on server.
86+
- Select a date policy that reflects actual file usage patterns. This setting is optional.
87+
- Monitor current free space, cache hit rate, recall size, data tiering size, and overall workload performance to fine tune the free space policy or the total volume size.
88+
89+
This approach helps maintain an appropriate balance between local performance and cloud storage utilization.
90+
7691
## Standard operating procedures
7792

7893
- When first migrating to Azure Files via Azure File Sync, cloud tiering is dependent on initial upload

0 commit comments

Comments
 (0)