
10 Nov
2012
10 Nov
'12
7:49 p.m.
Hello, I have a very general question that doesn't exactly relate to Haskell. Do I need to worry about hard drive thrashing with a modern controller? I understand, that such "thrashing" can significantly reduce the lifespan of modern SSD drives. For example, if I do: import Control.Monad foo = do forever $ writeFile "filename.foo" "Hello world!" will that destroy those sectors of my SSD after the rated 3000 write cycles? The reason I ask, is that I have a program here where I would like to save a set of files after every change/operation and I'm wondering if I should check if the files I'm saving have actually changed or if this will be handled by the OS... Thank you Timothy