xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: "José Eduardo França" <jefranca@gmail.com>
To: xen-devel@lists.xen.org
Subject: how to change checkpoint interval
Date: Wed, 21 Nov 2012 15:01:32 -0200	[thread overview]
Message-ID: <CAJP76_CP4f5YzksxwdrG8zc6-mnZwwSr3etAzXt0qi2kCX2esA@mail.gmail.com> (raw)


[-- 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

                 reply	other threads:[~2012-11-21 17:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJP76_CP4f5YzksxwdrG8zc6-mnZwwSr3etAzXt0qi2kCX2esA@mail.gmail.com \
    --to=jefranca@gmail.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).