Re: [LAD] [LAU] cancelling I/O with libsndfile

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-dev@...>
Date: Tuesday, July 5, 2011 - 10:25 am

Dan Muresan wrote:

> > > non-st_blksize sized blocks will be absolutley swamped, by disk

Regardless of whether you choose to measure latency or CPU load
if you vary the st_blksize as specified in the previous email,
you will not be able distinguish between the two values of
st_blksize due to the influence of other factors.

> So, when in doubt, I think one should heed the advice of standards and

Don't you think it would be better to measure rather than rely
on standards and common practice, both of which may be wrong
when it comes to things like performance issues?

> (like using fread and fwrite, not read and write), or

The behavior of fread() can be dubious for files accessed
via NFS with respect to incomplete reads (ie EAGAIN). The
only solution to this is to use read().

> else address the issues that arise from breaking the rules (i.e.

Breaking what rules?

> provide a VIO layer, like you did, or cache non-block-sized reads in

You provide concrete proof that doing block sized reads makes
any positive performance improvement and I'll implement block
sized reads and buffering.

Until you can show concrete proof I consider this issue closed.

Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

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

Messages in current thread:
Re: [LAD] [LAU] cancelling I/O with libsndfile, Erik de Castro Lopo, (Tue Jun 14, 12:15 am)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Dan Muresan, (Tue Jun 14, 7:09 am)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Erik de Castro Lopo, (Tue Jun 14, 7:30 am)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Dan Muresan, (Tue Jun 14, 7:49 am)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Erik de Castro Lopo, (Tue Jun 14, 8:44 am)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Dan Muresan, (Tue Jun 14, 10:01 am)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Fons Adriaensen, (Tue Jun 14, 11:21 am)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Dan Muresan, (Tue Jun 14, 11:42 am)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Fons Adriaensen, (Tue Jun 14, 12:12 pm)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Dan Muresan, (Tue Jun 14, 12:55 pm)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Erik de Castro Lopo, (Tue Jun 14, 10:54 am)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Dan Muresan, (Mon Jun 20, 9:51 pm)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Erik de Castro Lopo, (Mon Jun 20, 10:52 pm)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Dan Muresan, (Tue Jun 21, 6:24 am)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Erik de Castro Lopo, (Tue Jun 21, 6:37 am)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Dan Muresan, (Tue Jun 21, 6:57 am)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Erik de Castro Lopo, (Tue Jun 21, 7:12 am)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Dan Muresan, (Tue Jun 21, 7:50 am)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Erik de Castro Lopo, (Tue Jun 21, 7:58 am)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Dan Muresan, (Mon Jul 4, 11:58 am)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Erik de Castro Lopo, (Mon Jul 4, 11:30 pm)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Dan Muresan, (Tue Jul 5, 5:15 am)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Erik de Castro Lopo, (Tue Jul 5, 5:30 am)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Dan Muresan, (Tue Jul 5, 9:42 am)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Erik de Castro Lopo, (Tue Jul 5, 10:25 am)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Dan Muresan, (Tue Jul 5, 11:17 am)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Erik de Castro Lopo, (Tue Jul 5, 11:29 am)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Dan Muresan, (Thu Jul 7, 1:38 pm)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Paul Davis, (Thu Jul 7, 2:00 pm)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Dan Muresan, (Thu Jul 7, 2:29 pm)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Paul Davis, (Thu Jul 7, 2:39 pm)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Dan Muresan, (Thu Jul 7, 3:39 pm)
Re: [LAD] [LAU] cancelling I/O with libsndfile, Dan Muresan, (Tue Jun 14, 12:03 pm)