On Mar 11, 2012, at 1:07 PM, Mathieu Bouchard wrote:

> Le 2012-03-11 à 10:10:00, Hans-Christoph Steiner a écrit :
> 
>> Sounds interesting, how would that affect latency?  Most people use comport 
>> for getting data from sensors, so that's important.
> 
> The fifo is an option. If you don't use it, then there's hardly any 
> difference. If you use it, then I think that the data is only being sent at 
> poll time, according to how much data the driver accepts. For patches that 
> only receive, it makes no practical difference : just an extra if(n>0) in a 
> situation where n stays 0.

There is already buffering happening, my guess is at the OS level, since the 
bytes are read in bursts, no matter how fast the polling it for read or write.  
Have you tried adjusting the size of the system buffer for serial?  Is that 
even an option?

.hc




----------------------------------------------------------------------------

"Free software means you control what your computer does. Non-free software 
means someone else controls that, and to some extent controls you." - Richard 
M. Stallman



_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to