Solved

Reducing Swap file and performance tweak in SQL Server cluster ?

Posted on 2012-03-12
2
480 Views
Last Modified: 2012-03-25
Hi People,

I have SQL Server 2008 R2 SP1 which runs on top of Windows Server 2008 R2 SP1 and set as Cluster.

This VM has got 16 GB vRAM and 4vCPU so I wonder if I reduce the Windows swap file can give my VM more disk space and performance ?

I have also enabled the "Lock pages in memory" security policy and added the Service Account that this SQL server is using to imporver performance (http://blogs.technet.com/b/askperf/archive/2008/03/25/lock-pages-in-memory-do-you-really-need-it.aspx)

Can i reduce the swap file into just 1 GB ?
0
Comment
2 Comments
 
LVL 39

Accepted Solution

by:
lcohan earned 500 total points
ID: 37716180
That could be an option however if you try to gain a few extra GB from pagefile then better find a bigger disk system (SAN?) for your SQL cluster and move DB files there.
Of course before you do that you must be 100% sure that you don't need/use more than that for your image. If you need and/or if the swap file USAGE in Windows shows the paging file is high, like 50% or more of the paging file then that's a definite sign of RAM starvation and you must add more physical RAM.
Otherwise start up all of your applications that you think will be run on that VM image (or wait a decent amount of time until the system has had good usage), then launch Process Explorer and go to the view menu and select System Info look at the Commit Charge | Peak, set the paging file to be this number minus the amount of ram in your system.
0
 
LVL 7

Author Comment

by:Senior IT System Engineer
ID: 37735853
yes, that's sounds great to me man,
so I'll go on and reduce the PageFile into just 1 GB and then restart the passive node, fail over and then do the same.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now