Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

page file size and location

Posted on 2004-04-05
4
Medium Priority
?
14,186 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
When asking a question in a forum or creating documentation, screenshots are vital tools that can convey a lot more information and save you and your reader a lot of time
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

618 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