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

[Xen-devel] how to change checkpoint interval


  • To: xen-devel@xxxxxxxxxxxxx
  • From: José Eduardo França <jefranca@xxxxxxxxx>
  • Date: Wed, 21 Nov 2012 15:01:32 -0200
  • Delivery-date: Wed, 21 Nov 2012 17:02:01 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

Hi guys,

In my research, I want to change checkpoint interval during remus running.
I think that the checkpoint_settimer function (declared in libcheckpoint.c) can do that I need.

But I would like to call a checkpoint_settimer in xc_domain_save.c. Then I created a checkpoint_settimer2 into xc_domain_save.c and this doesn't work coz probably the timer_settime function there.

Then I started to search the error or where I change the checkpoint interval. After I just changed one line in checkpoint.c:

      from: checkpoint_settimer(&self->cps, self->interval);
      to:     checkpoint_settimer(&self->cps, 300);

and I ran remus again, but the interval was still 200 ms.
The question is: Does checkpoint_settimer function set the interval? If not, what's the function change interval?

Thanks



  
_______________________________________________
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®.