I recently tried using portableapps with a cheap 1GB flash disk. It is very slow - probably because I bought the cheapest flash disk I could find, not realising that the more expensive ones are faster.
The thing is, I'm using a PC with 2GB of RAM in it, most of which seems to be sitting empty most of the time. I'm wondering if there's some way of using the spare RAM as a read/write cache to speed up access to the flash disk.
Obviously the first time an app needs to read a file from the flash disk it will be slow, but if I could use a cache to store a copy of the file then the 2nd access should be very fast.
Similarly when writing files, it seems that apps block while they attempt to write to the flash disk. If they wrote to a RAM cache instead then the write could be almost instantaneous, and the cache could then write back to the flash disk in its own time while the app carried on doing its work.
Is such a feature available? Maybe it's already built into Windows and I just haven't found it. I remember that old version of Windows (like 3.1 maybe?) came with something called SMARTDrive (smartdrv.exe) which did exactly what I'm asking about here, and I kind of assumed that it had since been built into Windows, but maybe not.
Another benefit of using a cache would be that the flash disk would wear out less quickly, since the cache would reduce the number of reads and writes to the disk.
I thought I may have found a solution when I discovered SuperCache,
but that only seems to work with hard disks, not with flash disks.
Thanks for any pointers you can give me!
Chris.
You can create a RamDisk, if you have admin rights etc - there is a free limited one around somewhere, that maxes out at 64MB. You could copy the application onto the RamDisk and run from there - obviously the data in the Ramdisk is lost when power is turned off.
Of course, as soon as the application is run it is loaded into RAM anyway, so the only benefit is that the cache is in RAM - but this basically happens anyway.
I could create a ram disk, but that would be a lot less inconvenient than the cache I'm hoping for, since I would have to manually copy things to and from the ram disk. The cache, on the other hand, would ideally hold the most recently read & written files (or parts of files) on the flash drive.
From googling around, it appears that what I'm looking for is called "Write-Behind Caching", and used to be available in Windows. Apparently it was disabled in Windows XP because people tend to remove flash drives without flushing them first, which causes unwritten cached data to be lost.
I'm not going to be removing the flash drive without flushing it first, so I'd like to be able to turn on write-behind caching if possible, but I've so far not found how to do that in XP.
ok this is how you enable it:
1. right click on My Computer
2. Left click on manage
3. left click on device manager
4. open up disk drives in device manager
5. you should see the usb drive
6. right click on it
7. left click on properties
8. left click on the policies tab
9. select optimize for performance
10 left click on ok
TAAA-DAAAA you are now done!!
now you have enabled write behind caching......and this will also allow you to format your usb drive as ntfs if you want. however, fat32 is faster. I would also recommend using the free edition of disk keeper to defrag your HD on your PC and your usb drive...it does a way better job than the standard defrag utility that comes with windows.
if you keep personal stuff on your usb drive I would HIGHLY RECOMMEND truecrypt to encrypt it.....the only down side is you have to have admin rights to run it in traveler mode....so at schools or other public places you might be pooched.......but it's good stuff.
Pressure - It can turn a lump of coal into a flawless diamond, or an average person into a perfect basketcase
[Moderator RM: Deleted duplicate post]
---
Pressure - It can turn a lump of coal into a flawless diamond, or an average person into a perfect basketcase
and this will also allow you to format your usb drive as ntfs if you want. however, fat32 is faster.
But with NTFS, the whole filesystem won't be fried if the drive is yanked out. NTFS is a much better filesystem, and I recommend it, even for small capacity drives.
Vintage!
but with NTFS it will take up more space. and if you "optimize for quick removal" it won't fry the file system no matter what file system you use since all thumb drives are formatted FAT32 by default......
Pressure - It can turn a lump of coal into a flawless diamond, or an average person into a perfect basketcase
---
Pressure - It can turn a lump of coal into a flawless diamond, or an average person into a perfect basketcase