flarosa said:
How fast are the fastest flash memory devices these days? Do they
compare to the speed of a hard drive?
I'm wondering if doing something like installing a 4MB Compactflash
card in my laptop via a PCMCIA adapter or a USB 2.0 adapter and using
it as the Windows swap file, the temp directory, or some other similar
purpose, will do me any good in terms of speed.
Thanks,
Frank
You are going to use a 4MB flash card for temp, paging, or "other
similar purpose" when the hard drive is multi gigibytes in size? (rolls
eyes) Maybe you meant a 4GB flash card. Still way too small
considering you probably have a 100GB drive, or larger.
Flash media is not anywhere as reliable as hard drives. It literally
wears out over time and continued use. If you used it, say, as pagefile
or temp space, they get exercised a lot and nearly continuously so it
wouldn't be long before you consume those million cycles of use per bit,
and it is likely the lower addressed bits get exercised more often.
Talk to anyone that has owned a digital camera for awhile. Everyone I
know with one has their story to tell about flash cards that stop
working and they get stuck having to buy another. In fact, most take a
spare card with them on vacation because they know they go bad.
From another of my posts found via Google Groups search:
Don't be misled that electronics are infallible. Just because a USB
thumb drive uses flash memory doesn't mean it won't wear out. They can
endure a maximum number of writes or erases. Flash memory can only be
flashed so many times (i.e., although electronic, they wear). How often
have you written files (or deleted them or done anything to update the
flash drive)? If you are using a program that updates its files on the
flash drive, remember that all those updates count against the endurance
of the device. Some apps could make a several thousand updates per
minute and do so as long as the app is running. Write/erase endurance
specs are usually hard to find and rarely divulged by the device makers
(so you have to read articles by the flash memory manufacturers). Also,
memory does go bad, whether it be in a flash drive or your system RAM.
If you own a digital camera for a couple years, you will experience
having to toss away their flash cards when (not if) they fail.
"Like all flash memory devices, flash drives can sustain only a limited
number of write/erase cycles before failure. In normal use, mid-range
flash drives currently on the market will support several million
cycles, although write operations will gradually slow as the device
ages." (
http://en.wikipedia.org/wiki/Keydrive). "Flash memory has a
finite number of erase-write cycles (most commercially available flash
products are guaranteed to withstand 1 million programming cycles) so
that care has to be taken when moving hard-drive based applications"
(
http://en.wikipedia.org/wiki/Flash_memory). Flash drives should NOT be
used for permanent storage and any files placed on it should be
non-critical files (i.e., you can afford to lose them the same day you
put them onto the flash drive). Just like with a hard drive, anything
you put onto a flash drive - if important to you - should be backed up
to provide a second copy (because MTBF for the two drives is not linear
so your chances of having the file is highly increased by having a
backup). Flash drives are less prone to physical abuse than hard
drives, but then your hard drive, after installed, receives little
physical abuse whereas you are subjecting the flash drive to static,
dirt, wear from insertion/extraction, shock, and other environmental
factors. Unlike your system or video RAM, flash memory does wear out as
it suffers from electric field stress (thin oxide stress). "Over time,
oxide stress from repeated program and erase operations may degrade the
gate oxide layer to cause the transistor to malfunction. This
contributes to faulty operation of the flash memory device. Accordingly,
there is a need for a method of detecting a transistor error caused by
the degradation of the gate oxide layer "
(
http://www.freshpatents.com/Flash-memory-device-capable-of-reducing-t...)
and that is why some of these devices will incorporate fault-tolerant
schemes to mask the failures.