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

Re: [Xen-devel] default timer_mode in xen and in libxl



On 25/04/2013 18:13, "Stefano Stabellini" <stefano.stabellini@xxxxxxxxxxxxx>
wrote:

> Hi all,
> I have just noticed that the timer mode default in libxl is not the
> default in Xen.
> The Xen default is HVMPTM_delay_for_missed_ticks, while libxl by
> default sets it to LIBXL_TIMER_MODE_NO_DELAY_FOR_MISSED_TICKS that
> obviously is HVMPTM_no_delay_for_missed_ticks.
> 
> Is there a reason for this?
> If so, should we change the defalt in Xen too?

Default in Xen is the original mode before multiple modes were supported. We
kept that as default for old/other toolstacks, to avoid surprising change in
behaviour (e.g., when they restore old saved guests).

Default in libxl is the sane one for newly-created guests. Hardly any guests
care about or even want time to be delayed until timer interrupts are fired
off.

 -- Keir

> commit 2d058a444a1fa71ec47a673d08c2e74790ae67fb
> Author: Ian Campbell <ian.campbell@xxxxxxxxxx>
> Date:   Thu Mar 1 12:26:13 2012 +0000
> 
>     libxl: use an explicit LIBXL_TIMER_MODE_DEFAULT value
>     
>     Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
>     Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.