[mythtv-users] thrashing hard drive

Allan Stirling dibblah.allan.stirling at googlemail.com
Thu Sep 25 11:06:49 UTC 2008


2008/9/24 jansenj <jansenj+myth at gmail.com <jansenj%2Bmyth at gmail.com>>

> I've noticed my hard drive thrashing a lot while recording 2 hd shows
> (from hdhomerun) and watching a third HD show on a frontend/backend.
> I've noticed some issues with the 2 hd recordings when I do this.  Is
> there an easy way to reduce the amount of head movement on the hard
> drive?  Can you force an IO buffer so you can burst closer to 8mb or
> something along those lines.  Does the HD ring buffer help out with
> normal recording?  Otherwise is there a generic linux parameter that
> could help out.  I have 1gig of RAM, would more help?  I only have 1
> hard drive right now for recordings.  Any suggestions?
>
> One of the causes for this is Myth's fsync behavior.

While recording, Myth will periodically call fsync on the recording file.
This tells the OS to immediately commit the data to disk.

You can remove this in the source, but I would suggest not doing it if you
have a remote backend with NFS mounted storage.

Cheers,

Allan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080925/3daba881/attachment.htm 


More information about the mythtv-users mailing list