Skip to main content

Adjusting the size of the paging file

The size of the page file can automatically be set by the system or it can be set by the user. In some situations, having the page file managed by the system is a good idea, but in others, it is better to manage the paging file yourself.

The biggest argument for setting the paging file size and limit manually is to eliminate the growing on the page file when it is set by the system. When the system is managing the size of the paging file, it will monitor the size of the file and will then automatically make it larger

when it is needed. This causes two problems. First of all, it causes a noticeable delay for all applications running on your computer because the computer has to expand the paging file and this is a hard disk Ðintensive operation. Secondly, allowing the system to grow and shrink the paging file causes fragmentation errors.

For the sake of having enough speed, your page file should not have any file fragments. In the next section on defragmenting, you will learn exactly how to do this. But before the defragmentation can be successful, the page file needs to have a constant size. If the page file will be

growing frequently, and because the defrag utility has no clue by how much, it cannot put the file in a place on the hard disk so that it will never get fragmented, as is the case when you set the page file manually to Constant Size.

Setting the paging file to a constant size does have some disadvantages. For example, the lost disk space taken up by the paging file can be as high as 1 gigabyte. Additionally, when you set the maximum paging file size manually, you are setting a limit that your computer can never go above. Should you run some extremely memory-intensive application and your limit is too low, your paging file will fill up and you will be out of luck.

The previous example is why setting the correct paging file size is so important. A real easy way to calculate the maximum size of your page file will be to take the recommended size of the page file from the Virtual Memory Settings window, and multiply it by 2.5. If you are having problems finding where your computer states the recommended size, perform the following steps for changing the paging file to a constant size, because this value is on the same screen as that on which you will be working.

Now that you are ready to optimize the paging file to a constant size, follow these steps:

1. Get inside the System Properties again. Do so by right-clicking one of the My
Computer icons that is either in the Start Menu or the desktop and selecting Properties.

2. Next, click the Advanced tab and click the Settings button under the Performance section.

3. On the Performance Options window, click the Advanced tab and then click the Change button under the Virtual Memory section.

4. This will bring up all of the page file settings. Once this information is shown, you will want to modify the custom values so that the initial and maximum sizes are the same. Enter in the value that you calculated in these two boxes. If you
have not yet calculated what your size should be, you will find the recommended size on the bottom of this window.

5. Click the Set button and then click OK three times to close all of the windows and save your settings.

Once you restart, you will be using the new constant size paging file. You are now ready to run your defragmenter to defragment the paging file to ensure optimal performance.

Be aware: The method that I use to calculate the size of the constant paging file is a very conservative approach. I figure it would be better to be safe than sorry. The method of calculating the size is an effective one. However, if you feel the need for more free disk space, feel free to play around with the calculation, such as only multiplying the recommended amount by 2 or maybe even 1.5. Although if you do that, keep in mind that you will be increasing your chances of maxing out your paging file.

Comments

Popular posts from this blog

Using the quick boot feature of the BIOS

All systems initialize in more or less the same way. During the power on self-test mentioned earlier, the BIOS checks the hardware devices and counts the system memory. Out of all of the different types of system memory, the random access memory, better known as RAM, takes the longest to be counted. Counting the RAM takes time, and on a machine that has large amounts of RAM, this calculation can take several seconds. For example, a machine that has 512MB of RAM may take up to 3 seconds just to count the memory. On top of the RAM counting, a few other tests need to be done because your computer wants to make sure that all of the hardware in your computer is working properly. All of these system tests are not needed every time you boot, and can be turned off to save time. Most BIOS's offer a feature called quick boot. This feature will allow the user to turn off these tests. Other BIOSs only allow you to turn off the memory check, which will still cut down on a lot of time....

File and Folder Permissions

Windows XP Professional boxes running the NTFS file system have the capability to set indi vidual file permissions on both files and folders. File and folder permissions allow you to specify exactly who will be able to read, write, execute, and even list or access a folder. So, file and folder permissions can be a very powerful tool to protect your data from others' eyes. If your file system is FAT32, then you will not be able to set permissions. Fortunately, an easy way exists for you to convert your FAT32 file system to NTFS. Do a search in the Windows Help and Support Center for Convert to NTFS and you will be shown directions on how you can go about converting your drive's file system. Setting the permissions on with a lot of control requires you to disable simple file sharing and security. To do so, follow these steps: 1 . Open up any folder on your computer and expand the Tools menu and select Folder Options. 2 . Click the View tab and scroll to the bottom of the Adv...

Rapidshare Timelimit

Directions Rapidshare traces the users IP address to limit each user to a certain amount of downloading per day. To get around this, you need to show the rapidshare server, a different IP address. You can do this one of multiple ways. Requesting a new IP address from your ISP server. Here's how to do it in windows: 1. Click Start 2. Click run 3. In the run box type cmd.exe and click OK 4. When the command prompt opens type the following. ENTER after each new line. ipconfig /flushdns ipconfig /release ipconfig /renew exit 5. Erase your cookies in whatever browser you are using. 6. Try the rapidshare download again. Frequently you will be assigned a new IP address when this happens. Sometime you will, sometimes you will not. If you are on a fixed IP address, this method will not work. To be honest, I do not know how to do this in linux/unix/etc. If this works for you, you may want to save the above commands into a batch file, and just run it when you need it.