Solved

Reducing Swap file and performance tweak in SQL Server cluster ?

Posted on 2012-03-12
2
481 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OfficeMate Freezes on login or does not load after login credentials are input.
A safe way to clean winsxs folder from your windows server 2008 R2 editions
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

867 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

22 Experts available now in Live!

Get 1:1 Help Now