Re: [gamin] per connection flow control



On Thu, 2005-08-04 at 15:26 -0400, Daniel Veillard wrote:
> On Thu, Aug 04, 2005 at 03:15:20PM -0400, John McCutchan wrote:
> > On Thu, 2005-08-04 at 15:09 -0400, Daniel Veillard wrote:
> > > On Thu, Aug 04, 2005 at 02:21:42PM -0400, John McCutchan wrote:
> > > > Yo,
> > > > 
> > > > I've just committed per connection flow control. Currently only when
> > > > inotify is actually being used will the event queue be used. So, now for
> > > > some details. Each connection now has an event queue that is flushed
> > > > every 500 ms. When an event is to be sent to a connection, the code now
> > > 
> > >   hum, this is more than the human perception delay...
> > > 
> > 
> > What kind of delay would you like to see? 500 was arbitrary. What about
> > 100? It's just that the longer we delay, the more duplicate events we
> > can possibly throw away.
> 
>   I'm not the right person to give an answer.
>   sounds like another tunable parameter. I could see people not happy if 
> users notice a delay for the file icon appearing on the desktop or this
> kind of things.

After some thought, 500 was way to high. I'm going to drop it down to
100.

I'm not going to cater to the demands of people who want real-time
updates of their folder views. That's a huge waste of CPU. Normal users
won't care if they have to wait a few hundred milliseconds to see a
document pop up.

-- 
John McCutchan <ttb tentacle dhs org>



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