Skip to contentSkip to conversation

how get Downtime?!

DISCUSSION Adel Amani 3 participants 7 messages Jan 10, 2014 – Jan 14, 2014

lore
Share & tools
lore

Adel Amani

author
#0 lore raw

Hello
I do one migration and trace in migration to command "xentrace -D -e all -S 256 /test.trace"
I can get total time migration of command "time migration -l ubuntu11 192.168.1.1"  But i don't know how get "Downtime" and "dirty pages" of test.trace :-(  or from another way...

Adel Amani
M.Sc. Candidate@Computer Engineering Department, University of Isfahan
Email: [email protected]

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

author
#1 lore raw

Help about live migration VM

Hello Mr Dunlap
I really wonder of anybody know answer :-(
can you help me?!
I want found time "Downtime" and number "dirty pages" in end migration ... please help me.
Thanks.

Adel Amani
M.Sc. Candidate@Computer Engineering Department, University of Isfahan
Email: [email protected]

On Saturday, January 11, 2014 12:31 AM, Adel Amani <[email protected]> wrote:

Hello
I do one migration and trace in migration to command "xentrace -D -e all -S 256 /test.trace"
I can get total time migration of command "time migration -l ubuntu11 192.168.1.1"  But i don't know how get "Downtime" and "dirty pages" of test.trace :-(  or from another way...

Adel Amani
M.Sc. Candidate@Computer Engineering Department, University of Isfahan
Email: [email protected]

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#2 lore raw

Re: Help about live migration VM

Quoted 4 lines · Adel Amani

Hello Mr Dunlap
I really wonder of anybody know answer :-(
can you help me?!
I want found time "Downtime" and number "dirty pages" in end migration ...

What do you mean by "Downtime", and "in end migration"? Migration will take several rounds to transfer dirty pages. If you want to know exactly how many pages are dirty during each stage, you can get the dirty page bitmap in xc_domain_save, which will be called for each live migration stage.

Thanks,
-Kai

Quoted 28 lines

please help me.
Thanks.

Adel Amani
M.Sc. Candidate@Computer Engineering Department, University of Isfahan
Email: [email protected]

On Saturday, January 11, 2014 12:31 AM, Adel Amani <[email protected]> wrote:
Hello
I do one migration and trace in migration to command "xentrace -D -e all -S 256 /test.trace"
I can get total time migration of command "time migration -l ubuntu11 192.168.1.1" But i don't know how get "Downtime" and "dirty pages" of test.trace :-( or from another way...

Adel Amani
M.Sc. Candidate@Computer Engineering Department, University of Isfahan
Email: [email protected]

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

author
#3 lore raw

Re: Help about live migration VM

Downtime it mean's The total downtime consists of the time necessary to quiesce the VM on the source, transfer the device state to the destination, load the device state, and copy over all the remaining memory pages concurrently with loading the device state. how i can print bitmap in Output? or how i can see bitmap in Output?
Is there a particular name for Downtime in xen_domain_save ?

how i can see Downtime in Output?


Adel Amani
M.Sc. Candidate@Computer Engineering Department, University of Isfahan
Email: [email protected]

On Monday, January 13, 2014 4:03 AM, Kai Huang <[email protected]> wrote:

Quoted 4 lines · Adel Amani

Hello Mr Dunlap
I really wonder of anybody know answer :-(
can you help me?!
I want found time "Downtime" and number "dirty pages" in end migration ...

What do you mean by "Downtime", and "in end migration"? Migration will take several rounds to transfer dirty pages. If you want to know exactly how many pages are dirty during each stage, you can get the dirty page bitmap in xc_domain_save, which will be called for each live migration stage.

Thanks,
-Kai

Quoted 23 lines

please help me.
Thanks.

Adel Amani
M.Sc. Candidate@Computer Engineering Department, University of Isfahan
Email: [email protected]

On Saturday, January 11, 2014 12:31 AM, Adel Amani <[email protected]> wrote:
Hello
I do one migration and trace in migration to command "xentrace -D -e all -S 256 /test.trace"
I can get total time migration of command "time migration -l ubuntu11 192.168.1.1"  But i don't know how get "Downtime" and "dirty pages" of test.trace :-(  or from another way...

Adel Amani
M.Sc. Candidate@Computer Engineering Department, University of Isfahan
Email: [email protected]

Quoted 6 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#4 lore raw

Re: Help about live migration VM

Quoted 5 lines · Adel Amani

Downtime it mean's The total downtime consists of the time necessary to quiesce the VM on the source, transfer the device state to the destination, load the device state, and copy over all the remaining memory pages concurrently with loading the device state.
how i can print bitmap in Output? or how i can see bitmap in Output?

I believe you need to add code by yourself to print out the bitmap.

Quoted 2 lines

Is there a particular name for Downtime in xen_domain_save ? how i can see Downtime in Output?

Not sure if there's already code to meet your requirement, probably you also need to do some hack to print out the downtime.

Thanks,
-Kai

Quoted 58 lines

Adel Amani
M.Sc. Candidate@Computer Engineering Department, University of Isfahan
Email: [email protected]

On Monday, January 13, 2014 4:03 AM, Kai Huang <[email protected]> wrote:

Quoted 4 lines · Adel Amani

Hello Mr Dunlap
I really wonder of anybody know answer :-(
can you help me?!
I want found time "Downtime" and number "dirty pages" in end migration ...

What do you mean by "Downtime", and "in end migration"? Migration will take several rounds to transfer dirty pages. If you want to know exactly how many pages are dirty during each stage, you can get the dirty page bitmap in xc_domain_save, which will be called for each live migration stage.

Thanks,
-Kai

Quoted 32 lines

please help me.
Thanks.

Adel Amani
M.Sc. Candidate@Computer Engineering Department, University of Isfahan
Email: [email protected]

On Saturday, January 11, 2014 12:31 AM, Adel Amani <[email protected]>
wrote:
Hello
I do one migration and trace in migration to command "xentrace -D -e all -S
256 /test.trace"
I can get total time migration of command "time migration -l ubuntu11 192.168.1.1" But i don't know how get "Downtime" and "dirty pages" of test.trace :-( or from another way...

Adel Amani
M.Sc. Candidate@Computer Engineering Department, University of Isfahan
Email: [email protected]

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#5 lore raw

Re: Help about live migration VM

Quoted 8 lines · Kai Huang
Quoted 5 lines · Adel Amani

Downtime it mean's The total downtime consists of the time necessary to quiesce the VM on the source, transfer the device state to the destination, load the device state, and copy over all the remaining memory pages concurrently with loading the device state.
how i can print bitmap in Output? or how i can see bitmap in Output?

I believe you need to add code by yourself to print out the bitmap.

Yes.

Quoted 5 lines
Quoted 2 lines

Is there a particular name for Downtime in xen_domain_save ? how i can see Downtime in Output?

Not sure if there's already code to meet your requirement, probably you also need to do some hack to print out the downtime.

I don't think there is any such code, but this would be trivial for Adel to check by reading the source.

Ian.

author
#6 lore raw

Re: Help about live migration VM

can i write dirty pages into file xend.log?
Does anyone here know how this change?
Downtime is time end round. i problem for print in this information. i used printk for output, but i don't know where is information stored? :-(

Adel Amani
M.Sc. Candidate@Computer Engineering Department, University of Isfahan
Email: [email protected]

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel