lkml.org 
[lkml]   [2009]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Linux 2.6.29
    On Thu, Apr 02, 2009 at 09:29:59AM -0700, David Rees wrote:
    > On Thu, Apr 2, 2009 at 4:05 AM, Janne Grunau <j@jannau.net> wrote:
    > >> Current kernels just have too much IO latency
    > >> with ext3 it seems.
    > >
    > > MythTV calls fsync every few seconds on ongoing recordings to prevent
    > > stalls due to large cache writebacks on ext3.
    >
    > Personally that is also one of my MythTV pet peeves. A hack added to
    > MythTV to work around a crappy ext3 latency bug that also causes these
    > large files to get heavily fragmented. That and the fact that yo have
    > to patch MythTV to eliminate those forced fdatasyncs - there is no
    > knob to turn it off if you're running MythTV on a filesystem which
    > doesn't suffer from ext3's data=ordered fsync stalls.

    So use XFS or ext4, and use fallocate() to get the disk blocks
    allocated ahead of time. That completely avoids the fragmentation
    problem, altogether. If you are using ext3 on a dedicated MythTV box,
    I would certainly advise mounting with data=writeback, which will also
    avoid the latency bug.

    - Ted


    \
     
     \ /
      Last update: 2009-04-02 23:45    [W:4.250 / U:0.072 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site