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 Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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