Boost performance of Win XP Pro with a RAMdisk

Windows likes RAM and, generally, the more you have, the more snappily your operating system and applications will run. The starting point for Windows XP Professional is 256MB but a 512MB system runs very smoothly, at a fairly minimal cost increase.

Since RAM is dirt-cheap nowadays, should you just slap as much as you can into the system? The answer is yes, but there are some caveats to bear in mind. Also, for some applications, it could make sense to not let Windows have access to all the system memory.

On the hardware side of things, remember to read your motherboard manual carefully before splurging on large amounts of RAM. Although in theory 32-bit Intel CPUs can make use of up to 4GB of RAM, in practice the actual amount is limited by the supporting logic chips such as the memory controller.

You also need to ensure that you use the right type of RAM (in some boards, all the modules have to be physically and electrically the same), and perhaps also use Error Correcting and Compensating (ECC) modules. These are more expensive but, for some motherboards, ECC is required in large memory configurations. If in doubt, check with your vendor first; it could pay to take the system back to the shop, and have the memory installed and tested there.

If you have the time and inclination, once the RAM is installed, take a look at how it is being used by Windows XP. The Performance tab in the Windows Task Manager gives you a summary of the system memory usage. For instance, on my 1GB RAM desktop, with a couple of Internet Explorer Windows, Word 2003 beta, Outlook plus sundry drivers and applets running, the Commit Charge hovers around 150-175MB. The rest is available for other applications and/or is used for the Windows dynamic file and disk cache.

To find the optimal allocation for your particular application usage setup, you can limit the amount of RAM that Windows XP Professional sees with the hidden boot.ini file in the root of the system boot drive. Use the Maxmem switch like this:

[boot loader]
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=”Microsoft Windows XP Professional” /fastdetect /Maxmem=256

This lets Windows XP access only 256MB of RAM, no matter how much memory you have installed in the system. Start up Windows, run your usual applications, and watch the Commit Charge. If it exceeds the amount specified in boot.ini, the value is too small. Increase the value in boot.ini, reboot, and try again. In the vast majority of cases, the optimal allocation will be somewhere between 512MB and 1GB for power users.

Antony Davison, Computer Graphics Systems Administrator at TVNZ, provided the inspiration for this column. He and his fellow workers manipulate large graphics files in applications such as Adobe Photoshop every day.

The way Photoshop is written means it makes extensive use of temporary files. Any application that has to read and write lots of large files to comparatively slow hard disks will seem a laggard, no matter how quick the PC itself is. So Antony decided to invest in more RAM for the graphics designers’ systems, and use some of it as a RAMdisk to store the temporary files.

Antony installed 4GB of RAM in the systems, capable of a theoretical 4.2GBps bandwidth in dual-channel configuration. IDE hard drives can supply data from their small (2 to 8MB) memory caches at theoretical speeds of 133 to 150MBps, with typical high-end SCSI drives being twice as fast. Even when coupled in RAID-0 configuration, no hard disk setup can match the speed of a RAMdisk, and Antony says the performance boost is staggering: “Photoshop runs as fast as it can now, without the 10-minute pauses caused by waiting for files to be read from or written to the hard disk,” he says.

For his particular application, Antony has limited Windows to 1GB of RAM, using 3GB as ‘scratch disk’ for Photoshop.

Image manipulation is just one use for RAMdisks. They can be handy for large databases, digital media creation, copying CDs, and streaming video as well. You could also point the system swap file to it, and/or the Temporary Internet Files directory. Any application that requires frequent disk access could benefit from a RAMdisk.

Please bear in mind, though, that once the system is powered off, all data on the RAMdisk is gone, irretrievably.

To create the RAMdisk itself, Antony used Cenatek’s RAMdisk software driver (, costing $US49. It can create multiple RAMdisks, visible to the Windows XP Disk Manager. There are other payware alternatives, such as SuperSpeed (

Microsoft provides a freeware RAMdisk driver at;en-us;257405 but it is limited to 32MB maximum size, and requires development tools to build. Another freeware driver is to be found at but it’s limited to a maximum size of 2GB.

Note: Please note that this tutorial requires an understanding of PC hardware and terminology; plus, you need Administrator privileges on Windows XP Professional to install software and make changes to the system initialisation files. If you make a mistake, there is a risk that your system will be damaged and/or rendered inoperable. Back up your data before attempting to make any changes, and if you’re not comfortable with low-level manipulation such as that detailed here, do not do it.

Join the newsletter!


Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Juha Saarinen

PC World
Show Comments

Father’s Day Gift Guide

Brand Post

Most Popular Reviews

Latest Articles


PCW Evaluation Team

Luke Hill


I need power and lots of it. As a Front End Web developer anything less just won’t cut it which is why the MSI GT75 is an outstanding laptop for me. It’s a sleek and futuristic looking, high quality, beast that has a touch of sci-fi flare about it.

Emily Tyson

MSI GE63 Raider

If you’re looking to invest in your next work horse laptop for work or home use, you can’t go wrong with the MSI GE63.

Laura Johnston

MSI GS65 Stealth Thin

If you can afford the price tag, it is well worth the money. It out performs any other laptop I have tried for gaming, and the transportable design and incredible display also make it ideal for work.

Andrew Teoh

Brother MFC-L9570CDW Multifunction Printer

Touch screen visibility and operation was great and easy to navigate. Each menu and sub-menu was in an understandable order and category

Louise Coady

Brother MFC-L9570CDW Multifunction Printer

The printer was convenient, produced clear and vibrant images and was very easy to use

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

Featured Content

Product Launch Showcase

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?