Solved

page file size and location

Posted on 2004-04-05
4
14,176 Views
Last Modified: 2013-12-14
I am running ntserver 4 with the following disk structure:
1st physical disk; 2 gig partition for O/S, extended partition on this disk is logical drive of 38 gig for apps and data.
2nd physical disk; logical drive of 80 gigs (nothing on here, just used for backups and storage)
I went from 512 Megs of RAM to 1000. My page file is now to small (512 to 562 max). Microsoft recommends putting your page file to a separate disk  (or at least a different partition than your system partition) and leaving the original on the system partition for memory dumps. As it stands now, I have a notification in event viewer that my crash dump is disabled due to memory size.
If I understand the recommendations, I should have a page file equal to one and a half times my physical memory. Obviously, I can’t do that on the system partition. So, I’m trying to determine the best way to create my page files; should I increase the one on my system partition? Put one the data partition? Put one on the second disk? How do I determine the initial size and the maximum size for each?
Thanks


0
Comment
Question by:capvac
  • 3
4 Comments
 
LVL 67

Expert Comment

by:sirbounty
ID: 10756553
>>
By default, Windows places the pagefile on the boot partition where the operating system is installed. To determine the size of the pagefile multiply the amount of physical RAM by 1.5 to a maximum of 4095MB. However, placing the pagefile on the boot partition does not optimize performance because Windows has to perform disk I/O on both the system directory and the pagefile. Therefore, it is recommended that you place the pagefile on a different partition and different physical hard disk drive so that Windows can handle multiple I/O requests more quickly.

However, completely removing the pagefile from the boot partition does not allow Windows to create a crash dump file (Memory.dmp) should a kernel mode STOP error occur. Not having this crash dump file could lead to extended server downtime should the STOP require a debug to be performed.

The optimal solution is to create one pagefile on the boot partition using the default settings and create one pagefile on another less frequently used partition. The best option is to create the second pagefile so that it is on its own partition, with no data or operating system-specific files.

Windows will use the pagefile on the less frequently used partition over the pagefile on the heavily used boot partition. Windows uses an internal algorithm to determine which page file to use for virtual memory management. In the above scenario, the following goals of the page file would be served:


The system will be properly configured to capture a Memory.dmp file should the computer experience a kernel mode STOP error.
The page file on the less frequently used partition will be used the majority of the time because it is not on a busy partition.
<<ref:http://support.microsoft.com/?kbid=197379
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 10756739
>>The only downside to a too large page file size is that you are consuming some of your disk space unneccessarily. Given the size of modern disks, this seems to be a trivial issue. Under Windows NT, the page file occupies a contiguous block of space in the partition. If possible split the page file between hard disks. Don't split the page file across partitions created on the same hard drive since that will decrease performance.

The downsides of a too small pagesize are much more serious. At a minimum, your system will experience disk thrashing where your pagefile files to maximum and NT is constantly swapping out segments of RAM to disk virtual memory. This can really impact performance. It can also result in a corrupted pagefile. Additionally, the pagesize should be at least the size of RAM+1MB in order to support core dumps. In any case, you have swapped out the fasted component in your server for the slowest. << 
ref: http://is-it-true.org/nt/atips/atips178.shtml
Also: http://www.forensics-intl.com/def7.html
0
 

Author Comment

by:capvac
ID: 10759024
Ok, so set me straight here. I cant really put the proper size page file (for crash dumps) on the system partition because, the partition is only 2 gigs with 1.02 gigs free. I have 1 gig of physical memory on the board.
Should I leave that pagefile as is, or increase the size? If its not as big as the amount of RAM will it be effective in the event of a crashdump?
But, I can put a second page file on the second disk for virtual memory and I would configure it to be 1100 meg min? should I set the max to 1.5 times the ram? in this case 1.5 gigs?
thanks
0
 
LVL 67

Accepted Solution

by:
sirbounty earned 500 total points
ID: 10762646
>> If its not as big as the amount of RAM will it be effective in the event of a crashdump?<<
You may get a partial dump...but realistically, you may never have a system dump.
With windows 2000, you can specify the type of dump to use, but this option isn't available with NT Server...
When we were running NT servers, out of 90 - I think we may have had about 15% of those ever crash.
Odds are that you will be able to troubleshoot a problem even without a full dump (you've got experts-exchange ;)

I'd say, if you can boost it to a GB on the primary, and then set the second disk to 1536, you should run fine...
0

Featured Post

Can’t get the mobile email signature right?

Not having any luck when trying to create an email signature for mobile devices? Does the formatting keep messing up? Make sure you have great email signatures on all devices by using Exclaimer Cloud - Signatures for Office 365.

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

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

18 Experts available now in Live!

Get 1:1 Help Now