Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows swap file
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00172049
Message ID:
00172144
Views:
25
>>I wanted to keep windows swap file on the ram drive?
>>Is it possible.
>>Please help me.
>
>What I do is use an old 'small' drive for my swap file. I have a 170Mb or 270Mb drive in each of my PCs at home dedicated for windows swap file.

It's certainly a usable approach; I do something similar, allocating a partition on one drive under Win9x, and preallocating a sufficiently large swap file to avoid fragmentation/growth issues (and to dodge the ever-annoying message that I'm runnoing out of disk space on my swap drive.

There are several drawbacks to using a separate IDE drive, especially on the same IDE channel. IDE isn't a terribly smart interface; the communications mode for a channel is determined by the -least- capable device on the channel. IOW, if you have a new UltraDMA33 drive and an old original IDE drive, everything will talk at the capability of the old IDE drive. If you're going to use a separate drive for a swap file and it isn't as capable as the main drive, put it on the secondary IDE channel.

Also, IDE only allows one I/O operation to be in process on a channel at any given time - again, having the swap drive and main drive on separate channels will allow swap activity to take place without impacting I/O on the main drive.

SCSI negotiates transfer modes on a device by device basis; you can have a mix of SCSI devices on the same channel, and the operating mode is determined for each device separately. Also, SCSI allows multiple I/O operations to be in progress on the SCSI bus at the same time, making better use of the bus bandwidth.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform