Re: Test if Linux is ready for audio

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

 



2009/10/20 James Cameron <quozl@xxxxxxxxxxxxx>
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.

I actually meant to type "read from", but thanks for correcting :)  
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux