[LAU] Test if Linux is ready for audio

James Cameron quozl at us.netrek.org
Tue Oct 20 03:37:56 EDT 2009


On Tue, Oct 20, 2009 at 09:39:50AM +0800, Ray Rashif wrote:
> Since on a Linux system files are written to almost every minute,
> recording atime everytime an access occurs increases the disk I/O.

I'm not sure that is right; the way you put it.

Perhaps you mean "Since on a Linux system files are read from almost
every minute, recording atime every time a read occurs increases the
write disk I/O."

atime on a file is changed whenever the file is read.  The change is
buffered in memory for a while; usually no more than a minute, then is
written out to disk.

So atime causes at least one disk write I/O for a set of disk read I/Os.

It certainly does impact performance ... if it is not needed.

> I need to know access times for some files so I don't quite like that.
> I use relatime: http://kerneltrap.org/node/14148

Another method is to place these files in a separate filesystem with
atime enabled.

-- 
James Cameron
http://quozl.linux.org.au/



More information about the Linux-audio-user mailing list