Re: [gamin] Flow control patch



On Tue, Jul 26, 2005 at 06:38:03PM -0400, John McCutchan wrote:
> Yo,
> 
> I'm attaching a patch that reworks flow control. The new code is quicker
> to re-enable kernel monitoring but I think it works fairly well. With
> the patch if we get more than 4 events in 1 second, we disable kernel
> monitoring, and start polling. When in poll mode, if 1 poll pass goes by
> without an event happening, we re-enable kernel monitoring.

  hum, so you reenable after one second (on ext3) without change.
Sounds a bit quick to me, this kind of timeouts can happen when downloading
a file (my basic example for the flow control was ISO download).

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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