Professional Documents
Culture Documents
Operating System Performance Checklist - Page 1
Operating System Performance Checklist - Page 1
Home Articles Forums Tips Training FAQ's Blogs Software Books About Us
Search
RSS Feeds
Article Topics
Operating System Performance Checklist
All Articles
By : Brad McGehee
Performance Tuning Jun 02, 2004
Audit
Return to Previous Article in the Series
Business Intelligence
Identity Property Range C hecking From the previous section, on using Performanc e Monitor, you may have identified some
in SQL Server potential hardware bottlenecks that are negatively affecting your SQL Server's performance.
In this section, we will take a look at each of the major components of a SQL Server's
Improving 2D Range Query
Performance in SQL Server hardware, and examine what can be done to help maximize the performance of your hardware.
Monitoring Table Size Growth in This portion of the audit will be divided into these major sec tions:
SQL Server
CPU
More Memory
Disk Storage
Network Connectivity
Misc .
As part of this audit, you will want to complete the above c hecklist. As you do, you may find
Latest FAQ's
out things about server you were not aware of.
SQL Server Upgrade Issues
sql-server-performance.com/…/perform… 1/3
19/12/2010 Operating System Performance Checklist
SQL Server Agent job
syspolicy_purge_history is failing
CPU
in the cluster environment. ...
It is very difficult to estimate the number of CPUs any specific SQL Server-based applic ation
will need. This is bec ause each application works differently and is used differently.
Latest Software Reviews Experienc ed DBAs often have a feel for what kind of CPU power an application might need,
although until you really test your server's configuration under realistic conditions, it is hard to
SQL Virtual Restore Review really know what is needed.
Qure - SQL Server Workload Bec ause of the difficulty of selecting the appropriate numbers of CPUs to purc hase of a SQL
Tuning Tool Review Server, you might want to consider the following rules of thumb:
C onfio Ignite PI 8 E studio De Un
Purc hase a server with as many CPUs as you can afford.
C aso
dbForge Review If you can't do the above, then at least purchase a server that has room to expand its
total number of CPUs. Almost all SQL Servers need more power as time passes and
More workloads increase.
SQL Server will be used to run a spec ialized accounting application that will only be used
by no more than 5 users at a time, and you don't expec t this to change in the next
couple of years. If this is the c ase, a single CPU will most likely be adequate. If you
expect that the number of users may increase fairly soon, then you would want to
consider purchasing with a single CPU now, but with room to expand to a second one
should the need arise.
SQL Server will be used to run a spec ialty applic ation written in-house. The application
will not only involve OLTP, but need to support fairly heavy reporting needs. It is
expected that concurrent usage will not exc eed 25 users. In this case, you might want
to consider a server with two CPUs, but with the ability to expand to 4 if necessary. It is
hard to predict what "fairly heavy reporting needs" really mean. I have seen some fairly
simple, but poorly written reports, peg out all of a server's CPUs.
SQL Server will run an ERP package that will support between 100 - 150 c onc urrent
users. For "heavy- duty" applications like this, ask the vendor for their hardware
recommendations, as they should already have a good idea of their product's CPU needs.
I c ould provide many other examples, but the gist of what I am trying to get across is that it
is very hard to predict exactly how many CPUs a partic ular SQL Server-based application will
need, and that you should generally purchase a system bigger than you think you will need,
bec ause in many cases, usage demands on an application are often underestimated. It is less
expensive in the long run to purchase a larger server now (with more CPUs), than to have to
replace your entire server in 6-12 months because of poor estimates.
CPU Speed
Like the number of CPUs, the needed speed of the CPUs you purchase is hard to estimate.
Generally speaking, as with the number of CPUs your SQL Server has, purchase the fastest
CPUs you c an afford. It is better to purchase too large a system than too small a system.
CPU L2 Cac he
One of the most common questions I get is "should you purchase a less expensive CPU with a
smaller L2 cac he, or a more expensive XEON CPU with a larger L2 cac he?" What complic ates
this decision is the fact that you can purchase faster chips with smaller L2 caches than you
can of chips that have a large L2 c ache. Here's my rule of thumb:
If you will only be running 1 or 2 CPUs, go with the fastest CPU you can get, with L2
cache as a secondary consideration. If you have a choic e of L2 cache size, always get
the largest you can.
But, if you will be running 4 or more CPUs, then you want to go with the CPUs with the
largest L2 cache, even though their speed may not be as high. The reason for this is in
order for SQL Server to run optimally on servers with four or more CPUs, the L2 cac he
has to be much larger, otherwise you will be wasting much of the power of the additional
CPUs.
Since this artic le is about an audit of your current SQL Server's CPU capability, your focus now
should be on whether or not your current servers are experiencing any CPU bottlenecks. As
sql-server-performance.com/…/perform… 2/3
19/12/2010 Operating System Performance Checklist
was discussed in the Performance Monitor section of this article, you can use the Performanc e
Monitor to help you identify hardware bottlenec ks.
If you are not experiencing currently CPU bottlenec ks, then you can skip to the next section
on memory. But if your c urrent server is experiencing a CPU bottleneck, and it is bad enough
to cause major performance problems, then these are your options to resolving this
bottlenec k:
Reduce the load on your server. This can be accomplished by reducing the number of
users, by tuning queries, by tuning indexes, and by eliminating any unnecessary
applications running on the server. One option is to move reporting needs from your
production server to a SQL Server devoted to reporting only.
Adding more memory, assuming that the CPU bottlenec k is caused by a lac k of memory
in the server, whic h is a common problem.
Unfortunately, none of these options to deal with CPU bottlenecks are extremely easy to
implement, unless of course your company has unlimited money to spend. As a DBA in c harge
of a SQL Server with a CPU bottleneck, you have many diffic ult decisions to make, and lots of
work ahead of you, especially if your only option, due to a lac k of money, is to "reduc e the
load on your server."
Accelerate SQL Server 25x with a fast, very affordable Solid State Disk from Texas Memory
Systems
Comments Login
Displayed next to your comments. Not displayed publicly. If you have a website, link to it here.
Comments by
Accelerate SQL Serv er 25x with a fast, very affordable Solid State Disk from Texas Memory Systems
C # Help and Tutorials | PHP MySQL Tutorial | Database Scripts | Sharepoint Tutorial | ASP.NET Hosting | SQL Server Hosting | Windows Server Hosting | Windows Server Help |
Windows Phone Pro | Silverlight Ace | LightSwitch Tutorial | Visual Studio Tutorials | C assandra Tutorial | Non Realtional Database Tutorial | Home | Peformance Articles | Audit
Articles | Business Intelligence Articles | C lustering Articles | Developer Articles | Reporting Services Articles | DBA Articles | ASP.NET / ADO.NET Articles | SQL Server Training
Videos | DBA FAQ's | Developer Peformance FAQ's | DBA Peformance FAQ's | Developer FAQ's | C lustering FAQ's | Error Messages | Audit Tool Reviews | Sonasoft | Andy
Khanna | Backup Tool Reviews | C oding Tool Reviews | C ompare Tool Reviews | Documentation Tool Reviews | Design Tool Reviews | Monitoring Tool Reviews | Log Tool
Reviews | Reporting Tool Reviews | C lustering Tool Reviews | Security Tool Reviews | C hange Management Tool Reviews | Remote Access Tool Reviews | Book Reviews |
Security Tool Reviews | ADO.NET / ASP.NET | Administration | Analysis/OLAP Services | Application Development | C onfiguration | C omponents | ETL | Hardware | High
Availability | Hints | Index | Misc | Operating Systems | Performance Tuning | Replication | T-SQL | Views
sql-server-performance.com/…/perform… 3/3