If I use a 2gb USB drive and plug it into one of the USB 2.0 ports in the back of my computer, would it be faster as a swapfile drive rather than the hard drive? I would think reading and writing to a USB device from memory would be so much faster than from the hard drive. Only thing is my 320 GB hard drive has a 16 mb cache, and that might make all the difference.
YOU SEEM TO HAVE THE ANSWER ALL FIGURED OUT YOURSELF. YOU CAN RESEARCH THE SPECS ON TRANSFER SPEEDS FOR MORE DETAILS.
A Hard drive has a far higher transfer rate than a USB drive. I'd use the HDD personally. The response time of the USB is quicker, but if you're moving any data around, HDD's the way to go.
I thought of this, sammorris, because of something I ran across that talks of Windows Vista using the USB to boost performance of older computers by utilizing more memory. In XP this can be accomplished by the control panel settings in System, Advanced tab on where you want your swap file to be and, HOW much.
You're thinking of Readyboost, which can only be done with flash drives I believe, and only certain ones. Flash drives are so intolerably slow that most of them aren't even compatible. Generally it's a waste of time, because the performance boost won't be that great (certainly in games it's useless). When you run out of RAM, all the PC does is swap between the HArd disk and the RAM, rather than just between the RAM. If you use your flash drive as RAM, you're swapping between that and your real RAM. Since the flash drive is slower than a hard drive at data transfer, run any significant amount of data through it and the system's pointless.
Even the fastest usb flash drives (150X speed 22mb/sec transfer speed) is slower than most good 7200 rpm hard drives. The only slowdown on the hard drive is if it has to spin up to max speed from a dead stop.
Peak transfer rate of USB hard drive (which is faster than a USB drive) - 29MB/s Peak transfer rate of modern S-ATA hard drive - 75MB/s
Well put, you could always upgrade your RAM and utilise the extra RAM by setting up a RAM disk. This would use the extra RAM as a storage device and would be far quicker than using USB / HD's albeit an expensive one, as well as preventing you upgrading RAM (as your using all free RAM slots) to boost system performance etc.
Indeed, I'm buying an extra 2 gigs off someone this week, so that's something I intend to try when I get it.
Sam, excellent for scratch disks etc. One colleague suggessted using it for the windows page file but I laughed. He couldn't see the irony of using RAM to create a page file to help boost performance for low RAM?!?!
Nope. To this date his PC is running the best it can all because of his RAM disk page file..... Go figure.