Re: [LAU] Ext3 or JFS (or other) for linux audio?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: James Cameron <quozl@...>
Cc: <linux-audio-user@...>
Date: Friday, September 11, 2009 - 4:08 pm

On Wed, Sep 9, 2009 at 11:45 PM, James Cameron wrote:

this is not the ideal. its how any serious recording application has
to work. Linux filesystems can stall a thread for seconds while doing
disk i/o. you cannot do disk i/o from the thread that handles incoming
audio unless you already buffered like crazy.

ardour has a buffer of about 5 seconds, per channel, per direction
(its user configurable). both playback and recording occurs via these
buffers. ardour also tries to read/write in blocks of 256kB, since at
one point we empirically determined that this maximized disk
throughput in many cases. in an ideal world, we'd probably use O_RAW
for file i/o, and thus bypass the duplicated buffering of the kernel
FS buffer cache. but for now, that extra layer of buffering serves us
quite well (especially for read-ahead), and so we don't bother with
that.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [LAU] Ext3 or JFS (or other) for linux audio?, cunnilinux himself, (Tue Sep 8, 7:32 am)
Re: [LAU] Ext3 or JFS (or other) for linux audio?, Robert Persson, (Fri Sep 11, 2:56 pm)
Re: [LAU] Ext3 or JFS (or other) for linux audio?, Rick Green, (Tue Sep 8, 1:47 pm)
Re: [LAU] Ext3 or JFS (or other) for linux audio?, cunnilinux himself, (Tue Sep 8, 10:04 pm)
Re: [LAU] Ext3 or JFS (or other) for linux audio?, Joel Roth, (Wed Sep 9, 12:47 am)
Re: [LAU] Ext3 or JFS (or other) for linux audio?, Ray Rashif, (Wed Sep 9, 7:25 am)
Re: [LAU] Ext3 or JFS (or other) for linux audio?, Arnold Krille, (Wed Sep 9, 9:09 am)
Re: [LAU] Ext3 or JFS (or other) for linux audio?, Ray Rashif, (Wed Sep 9, 10:05 am)
Re: [LAU] Ext3 or JFS (or other) for linux audio?, James Cameron, (Wed Sep 9, 12:25 pm)
Re: [LAU] Ext3 or JFS (or other) for linux audio?, Arnold Krille, (Wed Sep 9, 1:09 pm)
Re: [LAU] Ext3 or JFS (or other) for linux audio?, James Cameron, (Thu Sep 10, 3:45 am)
Re: [LAU] Ext3 or JFS (or other) for linux audio?, Paul Davis, (Fri Sep 11, 4:08 pm)