Re: Is there something like multi-device fan out ?

From: H. Peter Anvin
Date: Thu Dec 11 2008 - 18:41:56 EST


J.A. Magallon wrote:
> Hi...
>
> I suspect this sounds like a strange question.
> A friend has a company that distributes his own catalogs on CD-ROM, and wants
> to build a mass-burning box (something like 8 CD/DVD burners), running linux.
>
> The problem is how to burn an image at the same time to all writers.
> I could write a script, but I think this would launch 8 reads on the same
> iso file, all desynchronized, that will drive nuts the disk.

Not really. They will end up synchronized through a mechanism called
the cache capture effect: the image that is behind will have the benefit
of having the precursors already having read the input, so it's ready
for use in the cache already, therefore it will run faster. The stable
condition, as long as the writers are close to the same speed and the
writes are started at close enough to the the same time, is that they
are all writing the same data at almost the same time.

-hpa


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/