You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/files/storage-files-scale-targets.md
+24-16Lines changed: 24 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Learn about the scalability and performance targets for Azure Files
4
4
author: khdownie
5
5
ms.service: azure-file-storage
6
6
ms.topic: conceptual
7
-
ms.date: 03/10/2025
7
+
ms.date: 03/11/2025
8
8
ms.author: kendownie
9
9
ms.custom: references_regions
10
10
---
@@ -13,7 +13,7 @@ ms.custom: references_regions
13
13
14
14
[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.
15
15
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.
17
17
18
18
## Applies to
19
19
| 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
| Maximum number of virtual network rules | 200 | 200 | 200 |
@@ -109,7 +109,7 @@ Azure file share scale targets apply at the file share level.
109
109
| Maximum number of SMB Multichannel channels | 4 | N/A | N/A |
110
110
| Maximum number of stored access policies per file share | 5 | 5 | 5 |
111
111
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>
113
113
<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.
114
114
115
115
### File scale targets
@@ -125,7 +125,7 @@ File scale targets apply to individual files stored in Azure file shares.
125
125
126
126
### Azure Files sizing guidance for Azure Virtual Desktop
127
127
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.
129
129
130
130
#### FSLogix
131
131
@@ -134,9 +134,9 @@ If you're using [FSLogix with Azure Virtual Desktop](../../virtual-desktop/fslog
134
134
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.
135
135
136
136
> [!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.
138
138
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.
140
140
141
141
#### App attach with CimFS
142
142
@@ -148,11 +148,11 @@ You might run out of file handles if the number of VMs per app exceeds 2,000. In
148
148
149
149
#### App attach with VHD/VHDX
150
150
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.
152
152
153
153
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.
154
154
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.
156
156
157
157
If you're hitting the limits on maximum concurrent handles for the root directory or per file/directory, use an additional Azure file share.
158
158
@@ -167,7 +167,7 @@ The following table indicates which targets are soft, representing the Microsoft
167
167
| Sync groups per Storage Sync Service | 200 sync groups | Yes |
168
168
| Registered servers per Storage Sync Service | 100 servers | Yes |
169
169
| 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 |
171
171
| Server endpoints per sync group | 100 server endpoints | Yes |
172
172
| Server endpoints per server | 30 server endpoints | Yes |
173
173
| 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
181
181
182
182
## Azure File Sync performance metrics
183
183
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.
185
193
186
194
The following table indicates the Azure File Sync performance targets:
187
195
@@ -192,15 +200,15 @@ The following table indicates the Azure File Sync performance targets:
192
200
| Namespace Download Throughput | 400 objects per second per server endpoint |
193
201
| Full Download Throughput | 60 objects per second per server endpoint |
194
202
195
-
> [!Note]
203
+
> [!NOTE]
196
204
> The actual performance will depend on multiple factors as outlined in the beginning of this section.
197
205
198
206
As a general guide for your deployment, you should keep a few things in mind:
199
207
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.
0 commit comments