Thursday, January 3, 2008

Windows /3GB switch

This is information I got from an article written by Serdar Yegulalp at searchwincomputing.com about the /3GB switch in Windows XP.

Recent versions of Windows support a switch option in BOOT.INI called the /3GB switch, which adjusts the way memory is allocated between the user and the operating system. By default, the split is fifty-fifty -- up to two gigabytes for the user and two for the operating system. The /3GB switch option sets those limits at three gigs maximum for the user and one gig for the operating system.

As the name implies, /3GB was originally meant to be used in systems that have 3 GB or more of RAM -- something that is no longer quite as rare as it used to be! However, even if you don't have 3 GB or more of memory, you can still use the /3GB switch successfully if you are running memory-hungry desktop applications. Photoshop, for instance, is infamous for staking out as much RAM as it can. With /3GB enabled, there's that much more memory that the application can use.

To add the /3GB switch as a separate boot option:

  1. In My Computer | Properties | Advanced | Startup and Recovery, click Settings.
  2. Click the Edit button under System Startup to edit the BOOT.INI file.
  3. Find the current boot entry, which typically looks like this:

    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
  4. Copy this line and paste it at the end of the BOOT.INI file, and change it along these lines:

    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional 3GB Switch" /fastdetect /3GB

    This lets you choose between a conventional boot entry and the /3GB boot entry. If something goes wrong when you use /3GB, you can always boot back into the original configuration.

  5. Save and close BOOT.INI.
  6. Click OK to close the Startup and Recovery panel.
  7. Click Settings again, and in the "Default operating systems:" dropdown, choose the newly created boot entry with the /3GB switch.
  8. Click OK to close everything. Reboot into the new profile.

No comments: