Q: So, Although, I have formatted the USB device NTFS, and selected it for paging file in Virtual Memory, you are saying that it will not be used as RAM because Windows does not permit it?
A: Windows does not allow placement of paging files on any removable drives.
Q:: I was under the impression that a USB flash drive can be used to add RAM on a Windoes XP machine in this manner.
A: No, that is incorrect. As stated earlier, Windows operating systems do not permit use of removable media for paging files. What you are thinking about is Ready Boost, this is not placing a paging file on the flash drive it is "disk caching", caching of the paging file for quicker access, there is nothing in the Ready Boost cache that is not already in the paging file on a fixed disk, any changes to the Ready Boost cache are first flushed to the paging file on the fixed disk before they can be then be then added again to the Ready Boost cache. The concept here it that the cache can be read faster from from NAND memory (flash drives) than it can be read from the pagefile on the hard disk so the Ready Boost cache is used for read operations, on the flip side write operations are usually faster on hard disks than they are on flash drives but even if they were faster on flash drive the operating system would still not allow pagefile flushing to removable drives because of the disaster that would occur on surprise removal of the drive. Ready Boost only became available on Windows Vista, it is not available on Windows XP.
Q: And, adding /PAE switch to the boot.ini file would allow increasing the value above 4096 for the maximum value of the C drive?
A: Yes, if you add the /PAE switch to the boot.ini file the operating system will use a different Page Table structure for the use of the CPU's Physical Address Extension and this will allow the use of larger pagefile. The IA-32 processor architecture has a 32-bit address space so it can only address 4GB of memory (4,096MB) but the use of Physical Address Extension increases the CPU's address space from 32 bits to 36 bits and Windows will use the increased address space to allow for larger paging files. To note that PAE is a kluge to be sure so it's usually most effectively used on well tuned, stable servers.
Q: Are you saying that this cannot be accomplished at all, John? Is my only option increasing the maximum sixe of the C value? (aside from adding more RAM inside the tower)
A: No, adding more RAM to the tower will do absolutely nothing unless you are using a 64-bit operating system or a 32-bit server version that can use PAE to increase the physical address space rather than just the virtual address space as Windows XP does. Furthermore, even if you have 4GB of RAM installed you still won't be able to use it all because some of the processor's 4GB address space is exclusively reserved for direct access by some of the hardware, so in fact you will not be able to fully use the 4GB of RAM that you have now installed in the machine. Incidentally when Windows XP was released it could address a full 4GB of RAM with the use of PAE but soon after its release it began to show increased fatal errors (BSOD) caused by misbehaving drivers so when Microsoft released SP2 for XP it did away with PAE ability to increase the RAM address space, this was just too much trouble on machines that are used by too many people who don't understand the need for well designed and well selected stable hardware on 32-bit operating systems making use of Physical Address Extension, these kind of machines are usually well thought out servers, not home machines that are yanked about and "experimented" with in Jekyll & Hyde kind of fashion that some home users give to their computers!
Q: I have no idea where the boot.ini file is located...
A: It's a hidden read-only system file at the root of the system partition, usually C:. You can remove the read-only attribute and edit it directly there or you can use this method:
- Right-click My Computer, and then click Properties.
-or-
Click Start, click Run, type sysdm.cpl, and then click OK. 2. On the Advanced tab, click Settings under Startup and Recovery. 3. Under System Startup, click Edit.
I have to ask, with 4GB of RAM installed in the machine why do you think that you need all that much paging space? Are you working with humongous files or large databases? I don't play many games but I don't think that there are many games out there that need to page out that much data, if so the game would be excruciatingly slow!
Now, with all of that being said, if you do a search for Gavotte Ramdisk you may find some interesting workarounds to the the 4GB limitations...
John