![]() |
|
|
#1 |
|
(loop (#_fork))
Feb 2006
Cambridge, England
2·7·461 Posts |
I'm trying to write some code which needs to do lots of passes which read a ~60G file and write another one (what do you mean, not everybody dreams of a size 2^33 mod-{2^61-1} NTT ? ) It's streaming rather than seeking (read 4GB, write 1GB in each of four places, repeat ...), so basically I want fast transfer rates. I've also run out of space on my current discs.
I'm tempted to get two of the smallest-capacity models of a modern range of hard drives (eg something like http://www.scan.co.uk/Products/320GB...6MB-Cache-0-ms) and use them under Linux software RAID0. Is this sensible? IIRC modern drives read from one platter at a time, so I should expect this one-platter model to have the same 90MB/s read-and-write rates as the terabyte model measured at http://www.tomshardware.com/reviews/...te,2017-6.html, and two of them together ought to be able to read or write ten gigabytes a minute. It's an X58 motherboard so I assume it can handle two independent fast SATA channels - the SATA controllers are at the end of a PCIe x4 link which is 2GB/sec so not a bottleneck. SSD would be four times the price for a 120G drive, which is not quite enough capacity. 150G VelociRaptor is twice the price, and sort of just about big enough, though might be a bit faster. |
|
|
|
|
|
#2 | ||
|
"Jacob"
Sep 2006
Brussels, Belgium
2×977 Posts |
Quote:
Quote:
Jacob Last fiddled with by S485122 on 2009-03-23 at 00:29 Reason: added "busy" |
||
|
|
|
|
|
#3 |
|
"Nancy"
Aug 2002
Alexandria
9A316 Posts |
The latest generation of hard disk drives fits 500GB on each platter. So I'd try for a pair of 500GB one-platter drives with 7200rpm, the higher data density should give better linear read performance than a 320GB drive at the same rpm. I have a Samsung HD502HI now which is 500GB one-platter with only 5400rpm (very quiet drive though!), but afaik Samsung and Seagate offer 500GB one-platter at 7200rpm as well.
Alex |
|
|
|
|
|
#4 |
|
(loop (#_fork))
Feb 2006
Cambridge, England
144668 Posts |
I don't think that can be right; it seems very constrained by the read rate from a single disc. Four discs, two partitions per disc, one set of partitions bonded as RAID0 for reading and the others left alone for writing, ought to get full performance. But I don't want the cost and the electricity use of four discs; I'm not really prepared to spend 30% more to get 10% more speed by using 500G/platter rather than 333G/platter models.
|
|
|
|
|
|
#5 | |
|
Jul 2006
Calgary
52×17 Posts |
Quote:
|
|
|
|
|
|
|
#6 |
|
Jun 2003
Ottawa, Canada
3×17×23 Posts |
If he is reading and then writing but not doing both at the same time, it should be faster to have those two drives in RAID-0. You basically double your read and write speeds because it reads/writes half the file to one disc and half to the other simultaneously. So if he is reading in a 4GB file, then doing something and writing four 1 GB files using RAID-0 would half the read time and half the write time compared to just using 1 drive for reading and 1 drive for writing.
Last fiddled with by Jeff Gilchrist on 2009-03-24 at 12:35 |
|
|
|
|
|
#7 |
|
Jul 2005
2×7×13 Posts |
If you often read/write such big files I think the most important is the disk cache.
Nowadays you will get 64GB RAM for about 1200-1600 EUR (plus a motherboard which can handle that). You will get 50-100 times more throughput if your threads are not reading/writing all at the same time and if you can produce that data as fast at all. |
|
|
|
|
|
#8 |
|
(loop (#_fork))
Feb 2006
Cambridge, England
2×7×461 Posts |
Yes, if I'm willing to spend £400 on a Tyan S2937 board, £500 on two CPUs for it and a further £1600 on sixteen 4GB memory modules, I could put 64GB on a single machine, and it would be extremely fast.
But spending a thirtieth of that on disc drives is getting me something which is, I am reasonably sure, adequate for my purposes. |
|
|
|
|
|
#9 |
|
Oct 2005
Fribourg, CH
111111002 Posts |
Besides the hardware aspect of the question, take a look at ext4. I've been using it for 2 weeks and it looks pretty good. Interresting benchmark here : http://www.phoronix.com/scan.php?pag...nchmarks&num=1
|
|
|
|
|
|
#10 | |
|
Apr 2009
near Chicago
2·11 Posts |
Quote:
I can provide feedback on its performance circa late May - I am ordering one at the end of this month [those dreaded paycheck vs bills vs child's needs tradeoffs]. It's sustained data transfer rate "should be" approximately 4x that of 10,000 rpm SATA drives. C++ya, xkey [who apparently had to re-register after umpteen years of silently reading] |
|
|
|
|
|
|
#11 |
|
Nov 2008
San Luis Obispo CA
100000002 Posts |
First question is whether the reads/writes will be concurrent or interleaved. If they are concurrent, you'll want separate drives so you can do both at the same time.
Are you going to have >4GB RAM (leaving room for the OS)? Maybe you should read 2GB at a time? Or, possible write out 2 GB while also reading in the next 2 GB? Check to make sure there are Intel RAID drivers available for *nix as well. I think there are some serious issues regarding Intel MatrixRAID and *nix. |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Do normal adults give themselves an allowance? (...to fast or not to fast - there is no question!) | jasong | jasong | 35 | 2016-12-11 00:57 |
| Phonograph Cylinder > Compact Disc | roger | Science & Technology | 23 | 2008-12-26 07:11 |
| Worth thrice their weight in disc space | fivemack | Hardware | 0 | 2007-05-01 08:48 |
| Recovering from out-of-disc in ggnfs | fivemack | Factoring | 3 | 2007-02-14 14:51 |
| cheap procs | moo | Hardware | 8 | 2006-07-01 18:55 |