This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] [RFC] PVFB: Add refresh period to XenStore parameters?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [RFC] PVFB: Add refresh period to XenStore parameters?
From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
Date: Fri, 29 Feb 2008 12:08:07 +0000
Delivery-date: Fri, 29 Feb 2008 04:09:19 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14

Sometimes the backend of PVFB knows that it doesn't need permanent
refresh, when the window is minimized for instance (no refresh at all),
or the administration tools know that the window is thumnailed, and so a
slow refresh rate is fine.  Also, some users may want to tune the
refresh rate according to the smoothness they would like, balanced with
the CPU time that requires.

I've played with that idea a bit and it seems to work fine, saving
computations and communications.  I'm now wondering about the interface:
it looks to me like it could be as simple as a "refresh-period" node in
the backend part of XenStore: the front-end would watch it, and update
the timing of its internal refresh loop, xenfb_fps in the case of Linux'
xenfb for instance.  A period of 0 would mean that no refresh is needed
(e.g. minimized window)


Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [RFC] PVFB: Add refresh period to XenStore parameters?, Samuel Thibault <=