xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* how to change checkpoint interval
@ 2012-11-21 17:01 José Eduardo França
  0 siblings, 0 replies; only message in thread
From: José Eduardo França @ 2012-11-21 17:01 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 802 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 971 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-11-21 17:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-21 17:01 how to change checkpoint interval José Eduardo França

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).