Home > Step 10: Optimize CPU activity and speed
Step-by-Step Guide:
EMAIL THIS

Step 10: Optimize CPU activity and speed

09 Jan 2006 | Hilary Cotter, Contributor

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   

Number of CPUs

Most SQL Server operations take advantage of multiple processors, but you have to determine how much spillover goes to the second or subsequent processors. For most workloads, Task Manager will reveal that CPU activity occurs on the first processor with little on the second processor and even less on the third and fourth. If at all possible, study a representative workload to see how many processors you must have to satisfy needs. You can save on the per-processor licensing costs by using fewer processors, and then add them using the affinity switch as your workload increases.

CPU speed

In general, most complex SQL Server operations (i.e., joins, aggregate operations, etc.) are processor intensive, and performance will improve on higher CPU systems. Study the processor queue length to determine if CPU is a bottleneck. If the queue length will consistently be above 2, you should consider using additional or faster processors.

L2/L3 cache

L2/L3 cache is temporary processor storage used by the microprocessor. For processor-intensive workloads, select the largest L2/L3 cache available. Currently, the largest cache on Xeon processors is 1 MB. The new Itanium processors have an L1, L2 and L3 cache -- the largest L3 cache is 9 MB.


Spec your SQL Server hardware needs

 Home: Introduction
 Step 1: Invest in good application design
 Step 2: Understand your workload
 Step 3: Know your memory support limitations
 Step 4: Choose a reliable hardware brand
 Step 5: Take advantage of 64-bit
 Step 6: Take advantage of storage area networks
 Step 7: Properly configure your RAID arrays
 Step 8: Use separate disk controllers
 Step 9: Choose and optimize your disks wisely
 Step 10: Optimize CPU activity and speed

ABOUT THE AUTHOR:   
Hilary Cotter
Hilary Cotter has been involved in IT for more than 20 years as a Web and database consultant. Microsoft first awarded Cotter the Microsoft SQL Server MVP award in 2001. Cotter received his bachelor of applied science degree in mechanical engineering from the University of Toronto and studied economics at the University of Calgary and computer science at UC Berkeley. He is the author of a book on SQL Server transactional replication and is currently working on books on merge replication and Microsoft search technologies.
Copyright 2006 TechTarget


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary




Secure SQL - Data Security for Your Database
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2005 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts