Skip to content

Commit 2bff9a5

Browse files
committed
Acrolinx
1 parent 9c0b2b7 commit 2bff9a5

File tree

1 file changed

+24
-16
lines changed

1 file changed

+24
-16
lines changed

articles/storage/files/storage-files-scale-targets.md

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn about the scalability and performance targets for Azure Files
44
author: khdownie
55
ms.service: azure-file-storage
66
ms.topic: conceptual
7-
ms.date: 03/10/2025
7+
ms.date: 03/11/2025
88
ms.author: kendownie
99
ms.custom: references_regions
1010
---
@@ -13,7 +13,7 @@ ms.custom: references_regions
1313

1414
[Azure Files](storage-files-introduction.md) offers fully managed file shares in the cloud that are accessible via the Server Message Block (SMB) and Network File System (NFS) file system protocols. This article discusses the scalability and performance targets for Azure Files and Azure File Sync.
1515

16-
The targets listed here might be affected by other variables in your deployment. For example, the performance of I/O for a file might be impacted by your SMB client's behavior and by your available network bandwidth. You should test your usage pattern to determine whether the scalability and performance of Azure Files meet your requirements.
16+
Other variables in your deployment can affect the targets listed in this article. For example, your SMB client's behavior and your available network bandwidth might impact I/O performance. You should test your usage pattern to determine whether the scalability and performance of Azure Files meet your requirements.
1717

1818
## Applies to
1919
| Management model | Billing model | Media tier | Redundancy | SMB | NFS |
@@ -45,7 +45,7 @@ Storage account scale targets apply at the storage account level. There are two
4545
| SKUs | <ul><li>Premium_LRS</li><li>Premium_ZRS</li></ul> | <ul><li>StandardV2_LRS</li><li>StandardV2_ZRS</li><li>StandardV2_GRS</li><li>StandardV2_GZRS</li></ul> | <ul><li>Standard_LRS</li><li>Standard_ZRS</li><li>Standard_GRS</li><li>Standard_GZRS</li></ul> |
4646
| Number of storage accounts per region per subscription | 250 | 250 | 250 |
4747
| Maximum storage capacity | 100 TiB | 4 PiB | 5 PiB |
48-
| Maximum number of file shares | 1024 (recommended to use 50 or fewer) | 50 | Unlimited (recommended to use 50 or fewer) |
48+
| Maximum number of file shares | 1024 (recommended using 50 or fewer) | 50 | Unlimited (recommended using 50 or fewer) |
4949
| Maximum IOPS | 102,400 IOPS | 50,000 IOPS | 20,000 IOPS |
5050
| Maximum throughput | 10,340 MiB / sec | 5,120 MiB / sec | <ul><li>Select regions:<ul><li>Ingress: 7,680 MiB / sec</li><li>Egress: 25,600 MiB / sec</li></ul></li><li>Default:<ul><li>Ingress: 3,200 MiB / sec</li><li>Egress: 6,400 MiB / sec</li></ul></li></ul> |
5151
| Maximum number of virtual network rules | 200 | 200 | 200 |
@@ -109,7 +109,7 @@ Azure file share scale targets apply at the file share level.
109109
| Maximum number of SMB Multichannel channels | 4 | N/A | N/A |
110110
| Maximum number of stored access policies per file share | 5 | 5 | 5 |
111111

112-
<sup>1</sup> Metadata IOPS (i.e., open/close/delete). See [Monitor Metdata IOPS](analyze-files-metrics.md#monitor-utilization-by-metadata-iops) for additional guidenance.<br>
112+
<sup>1</sup> Metadata IOPS (open/close/delete). See [Monitor Metadata IOPS](analyze-files-metrics.md#monitor-utilization-by-metadata-iops) for guidance.<br>
113113
<sup>2</sup> Azure Files enforces certain [naming rules](/rest/api/storageservices/naming-and-referencing-shares--directories--files--and-metadata#directory-and-file-names) for directory and file names.
114114

115115
### File scale targets
@@ -125,7 +125,7 @@ File scale targets apply to individual files stored in Azure file shares.
125125

126126
### Azure Files sizing guidance for Azure Virtual Desktop
127127

128-
A popular use case for Azure Files is storing user profile containers and disk images for Azure Virtual Desktop, using either FSLogix or App attach. In large scale Azure Virtual Desktop deployments, you might run out of handles for the root directory or per file/directory if you're using a single Azure file share. This section describes how handles are consumed by various types of disk images, and provides sizing guidance depending on the technology you're using.
128+
A popular use case for Azure Files is storing user profile containers and disk images for Azure Virtual Desktop, using either FSLogix or App attach. In large scale Azure Virtual Desktop deployments, you might run out of handles for the root directory or per file/directory if you're using a single Azure file share. This section describes how various types of disk images consume handles. It also provides sizing guidance based on the technology you're using.
129129

130130
#### FSLogix
131131

@@ -134,9 +134,9 @@ If you're using [FSLogix with Azure Virtual Desktop](../../virtual-desktop/fslog
134134
If you're hitting the limit of 10,000 concurrent handles for the root directory or users are seeing poor performance, try using an additional Azure file share and distributing the containers between the shares.
135135

136136
> [!WARNING]
137-
> While Azure Files can support up to 10,000 concurrent users from a single file share, it's critical to properly test your workloads against the size and type of file share you've created. Your requirements might vary based on users, profile size, and workload.
137+
> While Azure Files can support up to 10,000 concurrent users from a single file share, it's critical to properly test your workloads against the size and type of file share you're using. Your requirements might vary based on users, profile size, and workload.
138138
139-
For example, if you have 2,400 concurrent users, you'd need 2,400 handles on the root directory (one for each user), which is below the limit of 10,000 open handles. For FSLogix users, reaching the limit of 2,000 open file and directory handles is unlikely. If you have a single FSLogix profile container per user, you'd only consume two file/directory handles: one for the profile directory and one for the profile container file. If users have two containers each (profile and ODFC), you'd need one additional handle for the ODFC file.
139+
For example, if you have 2,400 concurrent users, you'd need 2,400 handles on the root directory (one for each user), which is below the limit of 10,000 open handles. For FSLogix users, reaching the limit of 2,000 open file and directory handles is unlikely. If you have a single FSLogix profile container per user, you'd only consume two file/directory handles: one for the profile directory and one for the profile container file. If users have two containers each (profile and ODFC), you'd need one more handle for the ODFC file.
140140

141141
#### App attach with CimFS
142142

@@ -148,11 +148,11 @@ You might run out of file handles if the number of VMs per app exceeds 2,000. In
148148

149149
#### App attach with VHD/VHDX
150150

151-
If you're using App attach with VHD/VHDX files, the files are mounted in a system context, not a user context, and they are shared and read-only. More than one handle on the VHDX file can be consumed by a connecting system. To stay within Azure Files scale limits, the number of VMs multiplied by the number of apps must be less than 10,000, and the number of VMs per app can't exceed 2,000. So the constraint is whichever you hit first.
151+
If you're using App attach with VHD/VHDX files, the files are mounted in a system context, not a user context, and they're shared and read-only. More than one handle on the VHDX file can be consumed by a connecting system. To stay within Azure Files scale limits, the number of VMs multiplied by the number of apps must be less than 10,000, and the number of VMs per app can't exceed 2,000. So the constraint is whichever you hit first.
152152

153153
In this scenario, you could hit the per file/directory limit with 2,000 mounts of a single VHD/VHDX. Or, if the share contains multiple VHD/VHDX files, you could hit the root directory limit first. For example, 100 VMs mounting 100 shared VHDX files will hit the 10,000 handle root directory limit.
154154

155-
In another example, 100 VMs accessing 20 apps require 2,000 root directory handles (100 x 20 = 2,000), which is well within the 10,000 limit for root directory handles. You'll also need a file handle and a directory/folder handle for every VM mounting the VHD(X) image, so 200 handles in this case (100 file handles + 100 directory handles), which is comfortably below the 2,000 handle limit per file/directory.
155+
In another example, 100 VMs accessing 20 apps require 2,000 root directory handles (100 x 20 = 2,000), which is well within the 10,000 limit for root directory handles. You also need a file handle and a directory/folder handle for every VM mounting the VHD(X) image, so 200 handles in this case (100 file handles + 100 directory handles), which is comfortably below the 2,000 handle limit per file/directory.
156156

157157
If you're hitting the limits on maximum concurrent handles for the root directory or per file/directory, use an additional Azure file share.
158158

@@ -167,7 +167,7 @@ The following table indicates which targets are soft, representing the Microsoft
167167
| Sync groups per Storage Sync Service | 200 sync groups | Yes |
168168
| Registered servers per Storage Sync Service | 100 servers | Yes |
169169
| Private endpoints per Storage Sync Service | 100 private endpoints | Yes |
170-
| Cloud endpoints per sync group | 1 cloud endpoint | Yes |
170+
| Cloud endpoints per sync group | One cloud endpoint | Yes |
171171
| Server endpoints per sync group | 100 server endpoints | Yes |
172172
| Server endpoints per server | 30 server endpoints | Yes |
173173
| File system objects (directories and files) per sync group | 100 million objects | No |
@@ -181,7 +181,15 @@ The following table indicates which targets are soft, representing the Microsoft
181181
182182
## Azure File Sync performance metrics
183183

184-
Since the Azure File Sync agent runs on a Windows Server machine that connects to the Azure file shares, the effective sync performance depends upon many factors in your infrastructure: Windows Server and the underlying disk configuration, network bandwidth between the server and the Azure storage, file size, total dataset size, and the activity on the dataset. Since Azure File Sync works on the file level, the performance characteristics of an Azure File Sync-based solution should be measured by the number of objects (files and directories) processed per second.
184+
Since the Azure File Sync agent runs on a Windows Server machine that connects to the Azure file shares, the effective sync performance depends upon many factors in your infrastructure, including:
185+
186+
- Windows Server and the underlying disk configuration
187+
- network bandwidth between the server and the Azure storage
188+
- file size
189+
- total dataset size
190+
- activity on the dataset
191+
192+
Because Azure File Sync works on the file level, you should measure the performance characteristics of an Azure File Sync-based solution by the number of objects (files and directories) processed per second.
185193

186194
The following table indicates the Azure File Sync performance targets:
187195

@@ -192,15 +200,15 @@ The following table indicates the Azure File Sync performance targets:
192200
| Namespace Download Throughput | 400 objects per second per server endpoint |
193201
| Full Download Throughput | 60 objects per second per server endpoint |
194202

195-
> [!Note]
203+
> [!NOTE]
196204
> The actual performance will depend on multiple factors as outlined in the beginning of this section.
197205
198206
As a general guide for your deployment, you should keep a few things in mind:
199207

200-
- The object throughput approximately scales in proportion to the number of sync groups on the server. Splitting data into multiple sync groups on a server yields better throughput, which is also limited by the server and network.
201-
- The object throughput is inversely proportional to the MiB per second throughput. For smaller files, you will experience higher throughput in terms of the number of objects processed per second, but lower MiB per second throughput. Conversely, for larger files, you will get fewer objects processed per second, but higher MiB per second throughput. The MiB per second throughput is limited by the Azure Files scale targets.
202-
- When many server endpoints in the same sync group are syncing at the same time, they are contending for cloud service resources. As a result, upload performance is impacted. In extreme cases, some sync sessions fail to access the resources, and will fail. However, those sync sessions will resume shortly and eventually succeed once the congestion is reduced.
203-
- If cloud tiering is enabled, you are likely to observe better download performance as only some of the file data is downloaded. Azure File Sync only downloads the data of cached files when they are changed on any of the endpoints. For any tiered or newly created files, the agent does not download the file data, and instead only syncs the namespace to all the server endpoints. The agent also supports partial downloads of tiered files as they are accessed by the user.
208+
- Object throughput approximately scales in proportion to the number of sync groups on the server. Splitting data into multiple sync groups on a server yields better throughput, which is also limited by the server and network.
209+
- Object throughput is inversely proportional to the MiB per second throughput. For smaller files, you experience higher throughput in terms of the number of objects processed per second, but lower MiB per second throughput. Conversely, for larger files, you get fewer objects processed per second, but higher MiB per second throughput. The MiB per second throughput is limited by the Azure Files scale targets.
210+
- When many server endpoints in the same sync group are syncing at the same time, they're contending for cloud service resources. As a result, upload performance is impacted. In extreme cases, some sync sessions fail to access the resources, and will fail. However, those sync sessions will resume shortly and eventually succeed once the congestion is reduced.
211+
- If cloud tiering is enabled, you're likely to observe better download performance as only some of the file data is downloaded. Azure File Sync only downloads the data of cached files when they're changed on any of the endpoints. For any tiered or newly created files, the agent doesn't download the file data, and instead only syncs the namespace to all the server endpoints. The agent also supports partial downloads of tiered files as they're accessed by the user.
204212

205213
## See also
206214

0 commit comments

Comments
 (0)