qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 3 of 3] variable timer intervals


From: Stefano Stabellini
Subject: Re: [Qemu-devel] [PATCH 3 of 3] variable timer intervals
Date: Wed, 29 Jul 2009 15:48:49 +0100
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

On Wed, 29 Jul 2009, Gerd Hoffmann wrote:
> On 07/29/09 14:09, Stefano Stabellini wrote:
> > This patch introduces dynamic timer intervals: we slow down the refresh
> > rate when there in no much activity but we get back to a fast refresh
> > rate when the activity resume.
> 
> Looks good in principle.  Untested though because it doesn't apply 
> without patch #2.
> 
> >           if (vs->output.offset&&  !vs->audio_cap&&  !vs->force_update)
> >               /* kernel send buffers are full ->  drop frames to throttle */
> > -            return;
> > +            return 0;
> 
> Maybe it makes sense to integrate this throttle logic into the refresh 
> rate adaption?

Please don't drop #2 just because of copyrect: I would rather fix
copyrect myself before #2 and rebase #2 on top of it.

I also prefer to keep #3 separated and at the end of the series because we
can have a better logic to understand when it makes sense to slow down
the refresh rate.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]