Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: ERROR: skipped 28 byte to sync on TS packet



On Mon, 11 Feb 2002, Bernd Hoose wrote:

> So i stay at xfs, seems to be a good solution.
> even its not included in suse 7.3.
Looks like xfs has been dropped from the 2.4.x kernels so some other
solution needs to be found. Maybe someone needs to write a new file system
that is optimized for sustained high speed disk output.

The real reason to the dropout problems is the way how file buffering
works in Linux. Also sound recordings suffer from the same problem too.

Historically Linux kernel has optimized for doing full kernel compile as
fast as possible. Part of the solution is that file writes are not posted
to the disk before it's absolutely necessary. The bdflush daemon wakes up
regularily to do the actual writes. This policy makes Linux
applications in general to work faster.

However there is one major problem: All disk writes will block while
bdflush is running. This is likely to cause dropouts.

Best regards,

Hannu
-----
Hannu Savolainen (hannu@opensound.com)
http://www.opensound.com (Open Sound System (OSS))
http://www.compusonic.fi (Finnish OSS pages)




Home | Main Index | Thread Index