Re: [linux-audio-dev] lock-free data structures

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] lock-free data structures
From: Paul Davis (paul_AT_linuxaudiosystems.com)
Date: Thu Jun 17 2004 - 17:51:17 EEST


>One thing I am still looking to learn more about is how to adjust
>thread priorities and such to make sure that your threads are run often
>enough (especially the disk thread), and how to decide how big your
>disk buffers need to be.

4 years ago, Benno and I measured this and concluded that under some
circumstances it was possible to have a small-multi-second delay in
disk access. Ardour uses 5 second disk buffers. With buffers of this
size, the scheduling priority of the disk thread is not really relevant.

We also determined that 256kB seemed to be the optimal i/o block size
for ext2. Whether this is true for ext3/reiserfs/xfs and others i do
not know.

--p


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Jun 17 2004 - 17:43:38 EEST