Crouchez said:
cheers. i was also looking at whether the device would choke under heavy
load because of the bandwidth limit - i've had usb devices not work because
there was no bandwidth to allocate - not sure how all this works.
theoretically there's 480mb/sec with usb2 - not sure whether read/write is
up to this speed though
As I understand it, there is a penalty for writing small files, versus writing
a large ZIP file to the USB flash. On reads, I don't know if it would matter as much.
Every time a file is written, a directory structure needs to be updated, as well
as the file itself being written.
The flash side of the interface has read and write limits. MLC and SLC flash
operate at different speeds. MLC is cheaper. Some flash drives are faster
than others, and may have a speed rating printed on the packaging. The very slowest
might only manage 1MB/sec, while faster ones might achieve 20MB/sec. So right there,
there is a big opporrunity for improvement (but still not getting near hard drive
performance).
The USB bus uses a polled mode protocol, whereby the host probes the
devices regularly, for work to do. Someone in one of the news groups, worked
out that the maximum transfer rate you could expect, based on this
protocol, was around 57MB/sec. (And gets slower, if there are a lot of
idle USB devices connected.)
There are other implementations of flash disks. For example, this:
Transcend 32GB Solid State Disk(SSD) 2.5” Flash Disk Model TS32GSSD25-M $430
http://www.newegg.com/Product/Product.aspx?Item=N82E16820208317
(Important keywords to look for - "Wear leveling" in the spec)
http://www.transcendusa.com/support/dlcenter/datasheet/Datasheet for SSD25.pdf
That particular device has a PATA interface. It has 44 pins, the same as a laptop
drive. To use that device on a desktop, you'd need a 44 pin to 40 pin adapter.
The adapter will have a separate short cable plus power plug, as the 44 pin laptop
standard, has pins for power, while on a desktop 40 pin interface, the power has
to be provided separately. So to experiment with that SSD, you'd need to pick up
an adapter as well. Here is a picture of one. They also come in an adapter version
which is mounted on a small piece of PCB.
http://www.mini-itx.com/store/images/25inIDEadapter.jpg
Wear leveling is important, as it helps mitigate the fact that flash devices
have limitations on the number of times they can be written per sector. This is different
than a USB flash device, which typically doesn't have wear leveling. The SSD
can last for years, while the USB flash can be worn out in a much shorter time
by the same sectors getting written all the time. Since there was a patent on
wear leveling, expect to see a limited number of manufacturers using the best
algorithms.
http://en.wikipedia.org/wiki/Wear_leveling
http://www.pat2pdf.org/patents/pat6850443.pdf
I notice in the datasheet for the Transcend product, that there is no mention
of the raw read/write bandwidth. The part numbering scheme, shows that the last
letter can be -M or -S. The latter corresponds to SLC flash, which should be
faster. So while the 32GB version looks nice from a size perspective, the
bandwidth properties of the 16GB -S unit could be significantly better.
http://www.transcendusa.com/Products/ModDetail.asp?ModNo=164
On the last page of this datasheet, Sandisk actually lists the performance of
their product.
http://www.sandisk.com/Assets/File/pdf/oem/SanDisk SSD UATA 5000 1.8.pdf
"Read 62MB/sec <---- PATA version
Write 35MB/sec"
"Read 63MB/sec <---- SATA version
Write 38MB/sec"
Since the PATA interface is capable of at least 100MB/sec, the quoted rates
are limited by flash technology and the associated controller.
Notice the number of IOPs quoted for the technology (7000 IOPs at a tiny access
size). That could significantly enhance server operation, for repetitive read info.
A SSD can seek a lot faster than conventional rotating media. Too bad the
size is so small.
Paul