Select the product you need help with
How Services for Macintosh uses system resources in Windows Server 2003Article ID: 842355 - View products that this article applies to.
For a Microsoft Windows NT Server version of this article, see 161870
(http://support.microsoft.com/kb/161870/
)
.
On This PageSUMMARYMicrosoft Windows Server 2003 Services for Macintosh allocates system resources for each Macintosh file and folder that it shares. Services for Macintosh also allocates resources when it rebuilds the index of a Macintosh volume. Some of these resources are shared by other kernel components. This article describes the resources that are allocated to each file and folder on a Macintosh volume. You can use this information to help plan how you set up your server. INTRODUCTIONIn Microsoft Windows Server 2003, the number of files and folders that the Services For Macintosh feature can share on Macintosh volumes is limited by the
system resources on the server. This article describes the system resources that Services for Macintosh
uses, including the memory that is allocated for each file and folder on a Macintosh volume. You can use this information to
tune a Windows server that is running Services for Macintosh and to plan server capacity. Some resources, such as paged pool memory, are shared by drivers, services, and other kernel components. Therefore, the actual number of files that a server can share by using Services for Macintosh will depend on how much paged pool memory other components use. The resource numbers that are described in this article can help give you a rough estimate the capacity of your server, but they do not guarantee the actual capacity. MORE INFORMATIONThe File Server for Macintosh part of Services for Macintosh includes a service and
a kernel-mode filter driver. To improve file sharing performance, the filter driver creates an index of all files and
folders in the server's Macintosh volumes.
This index contains one entry per file and is stored in paged pool memory. Additionally, Services for Macintosh makes one allocation in paged pool memory and one folder
change notification object for each folder and subfolder on the volume. When Services for Macintosh creates an index, Services for Macintosh makes a second allocation in paged pool memory and a second folder change notification for each folder and subfolder. These additional allocations are freed after the volume index has been created. The index of a shared volume that has a small number or a medium number of files typically has a negligible effect on the server. However, if the volume is very large, its index may use so much paged pool memory that paged pool memory is exhausted. When this problem occurs, Services for Macintosh cannot share additional files or folders, and other operations on the server may not succeed. For example, you may not be able to use Remote Procedure Call or start new processes. Therefore, it is a good idea to estimate the effect that Services for Macintosh may have on the server. The following sections describe the resources that are consumed by each file and folder on a Services for Macintosh volume. File resource usageTo store an index, Services for Macintosh allocates paged pool memory in multiple 64 KB blocks. Services for Macintosh then fills each of these blocks with information about files and folders. The following table shows the number of bytes that are used for each file on the volume.Collapse this table
Folder resource usageThe index entries for folders and subfolders are stored in the same paged pool memory blocks as the index entries for files. However, Services for Macintosh records slightly more information about folders and subfolders. The following table shows the number of bytes that are used for each folder and subfolder on the volume.Collapse this table
Finally, Services for Macintosh allocates 112 bytes of memory to track the notification object. In Microsoft Windows 2000, these bytes are allocated in nonpaged pool memory. In Windows Server 2003, these bytes are allocated in paged pool memory. Resource usage during reindexingWhen Services for Macintosh rebuilds an index, it allocates memory for file and folders as described earlier, and it makes two additional allocations for each folder and subfolder:
Capacity planning examplesIn Windows 2000 Server, Services for Macintosh uses approximately 1 MB of paged pool memory for every 6241 files. (1,048,576 bytes per megabyte divided by 168 bytes per file equals approximately 6241 files.) Services for Macintosh uses 1 MB of paged pool memory for every 5577 folders. (1,048,576 bytes divided by 188 bytes per folder equals approximately 5577 folders.) Finally, Services for Macintosh uses 1 MB of nonpaged pool memory for every 9362 folders. (1,048,576 bytes divided by 112 bytes per folder equals approximately 9362 folders.) Therefore, if a Windows 2000-based server has 100 MB of paged pool memory and 90 MB of nonpaged pool memory available, Services for Macintosh may be able to use approximately 80 MB of paged pool memory and 60 MB of nonpaged pool memory to host approximately 1000 folders and 498,000 files. You can verify these figures by using the following calculations:
Note Because Windows Server 2003 does not use nonpaged memory, Windows Server 2003 does not require as much physical RAM as Windows 2000 Server requires. Additional resource usageIn Windows 2000, the default paged pool memory size is 160 MB, but you can increase this size up to 491 MB. To do this, give the following registry subkey a value that is specified in bytes, and then restart the computer:HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Memory Manager\PagedPoolSize 312362 In Windows Server 2003, the default paged pool memory size is 470 MB.
(http://support.microsoft.com/kb/312362/
)
Server is unable to allocate memory from the system paged pool
The following table illustrates the paged pool memory limit for the different operating systems. Collapse this table
REFERENCES
For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
147909
(http://support.microsoft.com/kb/147909/
)
Troubleshooting MacVolume creation errors
243839
(http://support.microsoft.com/kb/243839/
)
Services for Macintosh not supported in a cluster environment
241024
(http://support.microsoft.com/kb/241024/
)
Slow file access from Macintosh clients connected to a Windows NT Server
818894
(http://support.microsoft.com/kb/818894/
)
Changes to increase the number of open files in Windows 2000 SP2 and later
Properties |


Back to the top








