Home eLibrary Computing Windows Page File performance
Windows Page File performance
Friday, 10 April 2009 14:30

You can increase the performance of your computer by manually allocating the size of your swap file or pagefile. You can also move your pagefile to another partition if you have one available.

You can do some nice spring cleaning on your system without reinstalling Windows but don't expect the same results. Reinstalling Windows is still the best way to get a nice crisp, clean system, there is no better way. However, you can still still get a lot done without re-formatting, and I will go into that here. There isn't really any particular order you need to do things, but basically we want to unclog the registry, update the drivers, uninstall those old un-used programs, and tweak up Windows a bit.

If you've never put any effort into tweaking up your Operating System, well, I'm sure you could use this advice. A lot of people just run out and buy a system, expect to plug it in and it all works great. Well, computers are getting more and more like that every day. But, over time, you begin to wonder why the things seem to get slower and slower. Well, that's because all you did was plug it in and turn it on. You never do any maintenance and you didn't do any tweaking from the start.

The Windows Swap File

A swap file (or swap space or, in Windows NT/Xp, a pagefile) is a space on a hard disk used as the virtual memory extension of a computer's real memory (RAM). Having a swap file allows your computer's operating system to pretend that you have more RAM than you actually do. The least recently used files in RAM can be "swapped out" to your hard disk until they are needed later so that new files can be "swapped in" to RAM. In larger operating systems (such as IBM's OS/390), the units that are moved are called pages and the swapping is called paging.

One advantage of a swap file is that it can be organized as a single contiguous space so that fewer I/O operations are required to read or write a complete file.

In general, Windows and Unix-based operating systems provide a default swap file of a certain size that the user or a system administrator can usually change. The typical size of a swap file is around 1 and half times the amount of physical memory you have, so if you had 512Mb windows would allocate something like 768Mb to your pagefile. If you change you pagefile make it around twice the amount of memory you have.

The less memory you have the more you will hear disk activity even when you are doing nothing. What's happening is Windows is re-sizing the pagefile all the while, which takes time and processing power. Obviously if you had more memory the computer would do less 'swapping' and therefore run faster, are you starting to get the picture?

Move the Swap File location

First, without re-partitioning your hard drive, you may not have a separate partition to delegate to your swap file. That's fine. If you have ANY other partition on your hard drive, you may be better to move that swap file over to the other partition rather than having it on the same partition as Windows. The reason is that Windows is really terrible at managing its own pagefile. It is always resizing it which is why your drive is always clicking away even when you're not doing anything. This constant resizing increases the fragment your hard drive prematurely. So, by keeping it on a separate partition to that of the main OS, you will not suffer longer read/write times on the main partition. Second, you may want to specify a size for the swap file to eliminate this constant resizing being done as windows manages your pagefile.

Changing your Swap file size

You can do this by going into Control Panel / System, then hitting the Performance tab and tapping the Virtual Memory button. There you tell Windows to "Let me Specify Settings for Virtual Memory" and then tell it what drive and/or size to put it. Do not give the swap file too little breathing room. I usually multiply my main memory by two and give the swap file that much space.

 

Latest Virus Alerts

  • Net-Worm.Win32.Kido
    Kaspersky Lab has detected that multiple variants of Kido, a polymorphic worm, are currently spreading widely.

    Net-Worm.Win32.Kido exploits a critical vulnerability (MS08-067) in Microsoft Windows to spread via local networks and removable storage media.

    The worm disables system restore, blocks access to security websites, and downloads additional malware to infected machines.

    Users are strongly recommended to ensure their antivirus databases are up to date. A patch for the vulnerability is available from Microsoft.

    Detailed descriptions of Net-Worm.Win32.Kido.bt, Net-Worm.Win32.Kido.dv and Net-Worm.Win32.Kido.fx are available in the Virus Encyclopaedia. A dedicated removal tool is available here.

  • Virus.Win32.Gpcode.ak
    Kaspersky Lab has detected a new version of the ‘malicious blackmailer’ Gpcode - Virus.Win32.Gpcode.ak.

    The new Gpcode variant encrypts files with extensions DOC, TXT, PDF, XLS, JPG, PNG, CPP, H etc. on hard drives using an RSA algorithm with a 1024-bit key.

    After encrypting files, the virus leaves a text file in the folder next to the encrypted files with following message:

    Your files are encrypted with RSA-1024 algorithm.
    To recovery your files you need to buy our decryptor.
    To buy decrypting tool contact us at: ********@yahoo.com

    Currently, we detect the new variant, but we are unable to crack the 1024-bit key. Our analysts are continuing to work on both the key and the virus to resolve this issue.

    Kaspersky Lab recommends that all Internet users enable maximum protection from malicious code and network attacks on their computers, refrain from executing suspicious programs received from untrustworthy sources and back up any important information on their computers.

    Detection of Virus.Win32.Gpcode.ak was added to Kaspersky Anti-Virus signature databases yesterday, on June 4th, at 15:39 GMT. Please make sure to update if you haven’t already.

    If you have fallen victim to Gpcode.ak, try to contact us using another computer connected to the Internet. DO NOT RESTART or POWER DOWN the potentially infected machine. Contact us by email stopgpcode@kaspersky.com and tell us the exact date and time of infection, as well everything you did on the computer in the 5 minutes before the machine was infected: which programs you have executed, which websites you have visited, etc. We'll try and help...

  • Email-Worm.Win32.Warezov.nf
    Kaspersky Lab has detected mass mailings of a new variant of Warezov, Email-Worm.Win32.Warezov.nf. At 8.00 Moscow Standard Time, 19 April 2007, 70-85% of the malicious content in mail traffic consisted of various forms of a new modification of Warezov - the Warezov.nf worm.

    A few hours before this point, there was a noticeable increase in mail traffic of an earlier modification of Warezov - Warezov.do which featured in the October 2006 Top 20.

    If you are using Kaspersky Anti-Virus 6.0 or Kaspersky Internet Security 6.0 with Proactive Protection turned on, new variants will be detected without the need to update your antivirus databases.

    A full description of Email-Worm.Win32.Warezov.nf is now available in the Virus Encyclopaedia.

  • Email-Worm.Win32.Warezov.mx
    A new version of Warezov, Email-Worm.Win32.Warezov.mx has been mass-mailed.

    The worm spreads as an attachment to infected emails. Once launched, it may terminate antivirus and firewall programs and download other malware.

    An urgent update to antivirus databases has been released.

    If you are using Kaspersky Anti-Virus/ Kaspersky Internet Security 6.0, enable Proactive Protection, and new variants will be detected without the need to update antivirus databases.

Shopping Basket

Your cart is empty

Who's Online

We have 16 guests online