From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Jos=E9_Eduardo_Fran=E7a?= Subject: how to change checkpoint interval Date: Wed, 21 Nov 2012 15:01:32 -0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3565614721906994912==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --===============3565614721906994912== Content-Type: multipart/alternative; boundary=bcaec50162bd7299e404cf044de1 --bcaec50162bd7299e404cf044de1 Content-Type: text/plain; charset=ISO-8859-1 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_settimer*2* 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 --bcaec50162bd7299e404cf044de1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi guys,

In my research, I want to change checkpoint int= erval during remus running.
I think that the=A0checkpoint_settime= r function (declared in libcheckpoint.c) can do that I=A0need.

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&= #39;t work coz probably the timer_settime function there.

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

=A0=A0=A0=A0=A0 from: checkpoint_settimer(&self->cps, self->i= nterval);
=A0 =A0 =A0 to:=A0=A0=A0=A0 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



=A0= =A0
--bcaec50162bd7299e404cf044de1-- --===============3565614721906994912== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============3565614721906994912==--