This section provides general performance and capacity recommendations. Use these recommendations to determine the capacity and performance characteristics of the starting topology that you created in the Plan for redundancy (Office SharePoint Server) and to determine whether you have to scale the starting topology out or up.
You can estimate the performance of your starting-point topology by comparing your topology to the starting-point topologies that are provided in Plan for redundancy (Office SharePoint Server). Doing so can help you quickly determine whether you must scale your starting-point topology to meet your performance and capacity goals.
To increase the capacity and performance of one of the starting-point topologies, either scale up by implementing server computers that have greater capacity or scale out by adding additional servers to the topology. This section describes the general performance characteristics of several scaled-out topologies. The sample topologies represent the following common ways to scale a topology for an Internet portal environment:
-
To accommodate greater user load, add Web server computers.
-
To accommodate greater data load, add capacity to the database server role by increasing the capacity of a single (clustered or mirrored) server, by upgrading from a 32-bit server to a 64-bit server, or by adding clustered or mirrored servers.
-
Maintain a ratio of no greater than eight Web server computers to one (clustered or mirrored) database server computer. While the maximum ratio of Web servers to database servers we tested for this document was 4x1 (four Web servers to one database server), deployment of more Web servers or more robust hardware might yield better results in your environment.
Throughput is the number of operations that a server farm can perform per second. Throughput is measured in requests per second (RPS). This section provides test data that shows farm throughput for an increasing number of front-end Web servers and user connections.
Several factors can affect throughput. These include the number of users, complexity and frequency of user operations, caching, and customization of pages and Web Parts. Each of these factors can have a major effect on farm throughput. You should carefully consider each of these factors when you plan your deployment.
Because Office SharePoint Server 2007 can be deployed and configured in a wide variety of ways, there is no simple way to estimate how many users can be supported by a given number of servers. Therefore, make sure that you conduct testing in your own environment before you deploy Office SharePoint Server 2007 in a production environment.
In general, you should enable object caching and BLOB caching in an Internet portal environment. In an environment that uses pure anonymous authentication, enabling caching can improve farm performance by a factor of two or more. For more information about caching in Office SharePoint Server 2007, see Custom Caching Overview (http://go.microsoft.com/fwlink/?LinkId=82618&clcid=0x409), and see the Caching section of Additional performance and capacity planning factors (Office SharePoint Server).
Important:
|
|
The test results in this article depend on an Office SharePoint Server 2007 software update that was installed before testing. This software update corrects an issue with Office SharePoint Server 2007 that causes performance degradation under certain circumstances in farms that use binary large object (BLOB) caching. If you are planning to use BLOB caching in your environment, you should install this software update to maximize the performance of your farm. This software update is covered in Microsoft Knowledge Base article 939077 (http://go.microsoft.com/fwlink/?LinkId=98352).
|
If your organization has an existing Internet portal solution, you can view the Microsoft Internet Information Services (IIS) logs to determine the usage patterns and trends in your current environment. For more information about parsing IIS logs, see Analyzing Log Files (IIS 6.0) (http://go.microsoft.com/fwlink/?LinkId=78825&clcid=0x409).
If your organization is planning a new Internet portal solution, use the information in this section to estimate your usage patterns.
Test results
The tables in this section show test results for read-only user operations using the hardware listed in Test environments earlier in this article. Note that for each farm configuration, a range of Web servers was tested with one index server and one database server. Therefore, a 2x1x1 farm configuration should be read as two (Web servers) by one (index server) by one (database server). Testing was not conducted on farms containing multiple application or database servers, or against a single-server deployment.
Testing was conducted with the following three different authentication scenarios:
-
An anonymous environment in which no authentication was used.
-
An environment in which NTLM authentication was used for every user connection.
-
An environment in which 80 percent of user connections were anonymous and 20 percent were authenticated by using NTLM.
The average number of requests per page during testing was four. Therefore, the ratio of requests per second (RPS) to pages per second (PPS) can be calculated as r=(p*4)+x where r=RPS, p=PPS and x=background requests such as requests for search queries and non-cached pages.
The number of requests per page and the time for a resource to load can vary widely depending on page complexity, the number of secondary resources called by each page resource, and many other factors. Therefore, performance estimates drawn only on the number of resources per page are not completely accurate.
These test results were captured after a brief warm-up period to allow farm performance to stabilize.
The following tables show test results for read-only user operations. Note that each test was conducted using the mix of usage scenarios described in the Usage profile section of this article.
Pure anonymous environment
The following table shows the test results for an environment in which all user connections were anonymous.
| Farm size | Throughput (RPS) | PPS | Search queries per second | Miscellaneous requests (RPS) |
|
2x1x1
|
2,927
|
717
|
12
|
2.54
|
|
4x1x1
|
5,612
|
1,388
|
22
|
3.47
|
NTLM authenticated environment
The following table shows the test results for an environment in which all user connections were authenticated using NTLM.
| Farm size | Throughput (RPS) | PPS | Search queries per second | Miscellaneous requests (RPS) |
|
2x1x1
|
632
|
152.6
|
2.8
|
0.33
|
|
4x1x1
|
1,304
|
328.6
|
5.3
|
0.31
|
80 percent anonymous, 20 percent NTLM authenticated environment
The following table shows the test results for an environment in which 80 percent of the user connections were anonymous, and 20 percent were authenticated using NTLM.
| Farm size | Throughput (RPS) | PPS | Search queries per second | Miscellaneous requests (RPS) |
|
2x1x1
|
1,945
|
481.8
|
8.4
|
1.95
|
|
4x1x1
|
2,946
|
731.8
|
11.9
|
1.3
|
This section provides tables that can help you estimate disk space requirements for Internet portal environments. Disk space requirements for your hardware will vary greatly by server role and scenario, and are dependent upon data to be stored in the content database, caching requirements, and external content crawled by search. Where possible, numbers are filled into the formulas based on disk space requirements that can be predicted (for example, the size of installation files).
First, estimate your disk space requirements by server role. Then, based on your planned topology, for cases in which server roles share the same physical server computer, sum the disk space requirements for those roles. Finally, make sure that your hardware can accommodate your disk space requirements.
Additionally, best practices for SQL Server storage should be applied to database servers. For more information, see Physical Database Storage Design (http://go.microsoft.com/fwlink/?LinkId=78853&clcid=0x409).If more than one database server is implemented, apply the SQL disk space factor separately for each search server.
Note:
|
|
Operating system and program files should stored separately from data files on a separate drive or a Redundant Array of Independent Disks (RAID).
|
Database server disk space requirements
Use the following table to calculate disk space requirements for database servers in your farm. If more than one database server is implemented, calculate this sum separately for each database server.
| Category | Description | Number |
|
Operating system files
|
Disk space required for Windows Server 2003 Setup and system files. For more information, see Choosing a File System for the Installation Partition (http://go.microsoft.com/fwlink/?LinkId=78866&clcid=0x409).
|
4 GB
|
|
Swap file
|
By default, the paging file size will be the same as the physical memory size.
|
|
|
SQL Server installation files
|
Disk space required for SQL Server Setup and program files. For more information, see SQL Server 2005 Standard Edition System Requirements (http://go.microsoft.com/fwlink/?LinkId=78870&clcid=0x409).
|
425 megabytes (MB)
|
|
Database log files
|
Disk space for log files will vary based on log settings and the number of databases. For more information, see Physical Database Storage Design (http://go.microsoft.com/fwlink/?LinkId=78853&clcid=0x409).
|
|
|
Configuration database
|
The configuration database will generally not grow past this size. This is an estimated maximum size, not a hard limit.
|
1.5 GB
|
|
Content databases
|
Estimate the initial volume of content that will be stored in content databases. Consider the following factors:
-
Hard disk space for the content database is based on a 1:1.2 ratio of content size to database capacity. For example, if you plan for 100 GB of content, you need at least 120 GB of available disk space for the content database, plus additional space for transaction logs.
-
Hard disk space for the search database is based on a 1:6 ratio of index size to database capacity. For example, if your index will be 100 GB in size, you need at least 600 GB of available disk space for the search database, plus additional space for transaction logs.
-
If versioning is used for documents, a copy of each version is stored in the database, and you should increase your available hard disk space accordingly.
|
|
|
Future growth
|
You should plan for double the amount of data that you initially plan to deploy. Enter a number that is appropriate for your environment.
|
|
|
Free space
|
Leave at least 25 percent free space for each hard disk or volume.
|
|
|
|
Total
|
|
Index server disk space requirements
Use the following table to calculate disk space requirements for index servers in your farm. If more than one Office SharePoint Server 2007 index server is implemented, calculate this sum separately for each server.
| Category | Description | Number |
|
Operating system files
|
Disk space required for Windows Server 2003 Setup and system files. For more information, see Choosing a File System for the Installation Partition (http://go.microsoft.com/fwlink/?LinkId=78866&clcid=0x409).
|
4 GB
|
|
Paging file
|
By default, the paging file size will be the same as the physical memory size.
|
|
|
Office SharePoint Server 2007 installation files
|
This number is an approximation based on a full installation of any Office SharePoint Server 2007 edition.
|
1.3 GB
|
|
The Microsoft .NET Framework version 3.0
|
|
60 MB
|
|
Content index
|
Add the amount of content in content databases that will be indexed by the index server. 30 percent of the resulting number is the maximum estimated size of the content index.
|
|
|
Free space
|
Leave at least 25 percent free space for each hard disk or volume.
|
|
|
|
Total
|
|
Web server disk space requirements
Use the following table to calculate disk space requirements for each Web server in your farm.
| Category | Description | Number |
|
Operating system files
|
Disk space required for Windows Server 2003 Setup and system files. For more information, see Choosing a File System for the Installation Partition (http://go.microsoft.com/fwlink/?LinkId=78866&clcid=0x409).
|
4 GB
|
|
Swap file
|
By default, the paging file size will be the same as the physical memory size.
|
|
|
Office SharePoint Server 2007 installation files
|
|
1.3 GB
|
|
The .NET Framework version 3.0
|
|
60 MB
|
|
Free space
|
Leave at least 25 percent free space for each hard disk or volume.
|
|
|
|
Total
|
|
To help you determine when you must scale your system up or out, use performance counters to monitor the health of your system. Use the information in the following tables to determine what performance counters to monitor, and to which process the performance counters should be applied.
Web and index servers
The following table shows performance counters and processes to monitor for Web and index servers in your farm.
| Performance counter | Apply to process | Notes |
|
Processor time
|
Total
|
Shows the percentage of elapsed time that this thread used the processor to execute instructions.
|
|
Memory utilization
|
Application pool
|
Shows the average utilization of system memory for the application pool. You must identify the correct application pool to monitor.
The basic guideline is to identify peak memory utilization for a given Web application, and assign that number plus 10 to the associated application pool.
|
Database server
The following table shows performance counters and processes to monitor for database servers in your farm.
| Performance counter | Apply to process | Notes |
|
Processor time
|
Total
|
Shows the percentage of elapsed time that this thread used the processor to execute instructions.
|
|
Memory utilization
|
Total
|
Shows the average utilization of system memory.
|