Re: [LAU] Best file system for audio?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Christopher Cherrett <ccherrett@...>
Cc: <linux-audio-user@...>
Date: Wednesday, June 29, 2011 - 2:07 am

On Tuesday, June 28, 2011 06:49:24 pm Christopher Cherrett
wrote:

Here's the simplified concept of a journaling file system.
For each chunk of data that will be written to the disk, the
procedure is something like:

1. Add a log entry in the journal that you are going
to replace data at location A with data at
location B.

2. Write the data for location B.

3. Point the file system to location B instead of A.

4. Delete the log entry from the journal.

While this generally happens pretty fast... chances are that
the journal, location A, and location B are in 3 totally
different locations. That means that the your disk will
seek each time. This lowers your throughput/bandwidth.

When recording (i.e. large, sequential files) on a non-
journaling file system... you simply do step 2. Over and
over. And you don't have to seek. This improves your write
performance. But since you're not journaling, an unexpected
power outage can result in a total filesystem corruption
(but it's usually just a localized filesystem corruption).

With that said, I've never had a problem recording on a
journaling filesystem... but the original question was "what
is the best?"

> Does a non-journalized file system give you less latency?

No. It give you more hard drive bandwidth and more CPU
headroom.

Your hard disk performance has nothing to do with audio
latency.

-gabriel

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

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

Messages in current thread:
[LAU] Best file system for audio?, S. Massy, (Mon Jun 27, 10:45 pm)
Re: [LAU] Best file system for audio?, Jeremy Jongepier, (Wed Jun 29, 5:47 am)
Re: [LAU] Best file system for audio?, Jeremy Jongepier, (Sun Jul 3, 9:34 am)
Re: [LAU] Best file system for audio?, Gabriel M. Beddingfield, (Tue Jun 28, 11:40 pm)
Re: [LAU] Best file system for audio?, Arnold Krille, (Wed Jun 29, 6:02 am)
Re: [LAU] Best file system for audio?, Emanuel Rumpf, (Wed Jun 29, 7:43 am)
Re: [LAU] Best file system for audio?, Jörn Nettingsmeier, (Wed Jun 29, 6:16 am)
Re: [LAU] Best file system for audio?, Arnold Krille, (Wed Jun 29, 7:15 am)
Re: [LAU] Best file system for audio?, Christopher Cherrett, (Tue Jun 28, 11:49 pm)
Re: [LAU] Best file system for audio?, Gabriel M. Beddingfield, (Wed Jun 29, 2:07 am)
Re: [LAU] Best file system for audio?, Jack O'Quin, (Wed Jun 29, 3:04 am)
Re: [LAU] Best file system for audio?, Aaron Krister Johnson, (Tue Jun 28, 7:34 pm)
Re: [LAU] Best file system for audio?, Jostein Chr. Andersen, (Tue Jun 28, 7:33 am)
Re: [LAU] Best file system for audio?, S. Massy, (Wed Jun 29, 5:57 pm)