Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #409116
| From | Robert Baer <robertbaer@localnet.com> |
|---|---|
| Newsgroups | sci.electronics.design |
| Subject | Re: OT: DD equivalent.. |
| References | <Io9Ty.15663$eX.576@fx30.iad> <lbrvuc-bb.ln1@coop.radagast.org> |
| Message-ID | <lBkTy.32639$e23.18975@fx33.iad> (permalink) |
| Date | 2016-04-25 00:31 -0800 |
Dave Platt wrote: >> The hardware should approach the SATA revision I/II/III (1.5/3.0/6.0 >> Gbps) drive speeds, which is up to 30 times faster that the clumsy 14 >> GB/min. >> >> Do you know of any hardware that approaches the SATA speeds? >> >> Use: for multi-TERRORbyte drive archiving. > > Some years ago, when my employer's disk-duplicating house found > themselves unable to copy disks fast enough on the then-available > commercial duplicators (which were PIO-only) I put together a > clone-a-tron made out of a standard PC motherboard, some multi-port > PCI/SATA interface cards, standard Linux, and a simple disk copying > application I threw together (from "dd" I believe). > > The tricks required were: the drives were opened in "O_DIRECT" mode, > so that data was read directly from the SATA interface into the > application's memory buffers (bypassing the normal kernel > buffer-and-copy process). The app buffers had to be page-aligned in > order to pull this off. > > The app was multi-threaded. One thread would read a big chunk (1 MB > or so) from the source drive into a direct-memory buffer. It would > then "hand off" this buffer to a second thread, which write it to the > first target drive... when this was done, the second thread handed it > to a third, which would write it to the second target drive, etc. > The operating system wouldn't allow two "direct I/O" operations from > the same buffer at the same time, so the writes had to be passed along > in this fashion, > > There were more buffers than drives, so the "pipeline" would fill up > nicely. > > The limit to copying speed might be that of the drives (in Ultra DMA > mode), or might be limited by the motherboard's PCI and memory bus > (during copies to multiple fast drives). > > One PCI system with two add-on two-port cards could do a 1-in, 4-out > copy quite a bit faster than the commercial duplicator, and it was a > lot less expensive. I understand that the commercial guys were rather > shocked when they found we hadn't waited two years for them to ship a > DMA-based duplicator, but made one ourselves in a few days for a > quarter of their price :-) > > The equivalent today would be to use PCIe interfaces, I think. > > There *may* be high-end SATA interfaces which can do direct > port-to-port copies, or direct card-to-card over PCIe without having > to go to host DRAM, but I don't know any specifics about what's > available along those lines. > > > > Thank you very much for the info. Yes, the rub is the makers of that "Standalone 2.5 / 3.5” SATA Hard Drive Duplicator and Eraser w/ High Duplication Speed up to 14GBpm" and other similar devices are not talking. And that seems to be the fastest...
Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
OT: DD equivalent.. Robert Baer <robertbaer@localnet.com> - 2016-04-24 11:46 -0800
Re: OT: DD equivalent.. dplatt@coop.radagast.org (Dave Platt) - 2016-04-24 14:44 -0700
Re: OT: DD equivalent.. Clifford Heath <no.spam@please.net> - 2016-04-25 13:24 +1000
Re: OT: DD equivalent.. Robert Baer <robertbaer@localnet.com> - 2016-04-25 00:31 -0800
Re: OT: DD equivalent.. Jeff Liebermann <jeffl@cruzio.com> - 2016-04-24 15:23 -0700
Re: OT: DD equivalent.. Robert Baer <robertbaer@localnet.com> - 2016-04-25 00:36 -0800
Re: OT: DD equivalent.. Clifford Heath <no.spam@please.net> - 2016-04-25 22:20 +1000
Re: OT: DD equivalent.. jack4747@gmail.com - 2016-04-25 02:21 -0700
csiph-web