[Haskell-cafe] Hard drive thrashing with modern controllers

Brandon Allbery allbery.b at gmail.com
Mon Nov 12 21:54:32 CET 2012


On Mon, Nov 12, 2012 at 4:21 AM, Ketil Malde <ketil at malde.org> wrote:

> timothyhobbs at seznam.cz writes:
> > import Control.Monad
> > foo = do
> >   forever $ writeFile "filename.foo" "Hello world!"
>
> I could be wrong, but I suspect this is unlikely to result in (hardly)
> any disk operations at all, as long as there is _any_ write caching in
> the system.
>

Maybe no data blocks, but the metadata will be updated.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix/linux, openafs, kerberos, infrastructure          http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20121112/b23a1a22/attachment.htm>


More information about the Haskell-Cafe mailing list