All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mario Smarduch <m.smarduch@samsung.com>
To: kvm-ia64@vger.kernel.org
Subject: Re: [PATCH v12 0/6] arm/KVM: dirty page logging support for ARMv7 (3.17.0-rc1)
Date: Tue, 28 Oct 2014 00:28:28 +0000	[thread overview]
Message-ID: <544EE32C.3060701@samsung.com> (raw)
In-Reply-To: <1414017251-5772-1-git-send-email-m.smarduch@samsung.com>

Hi Wanpeng,

On 10/27/2014 04:26 PM, Wanpeng Li wrote:
[...]
>>
>> Testing:
>> - Generally live migration + checksumming of source/destination memory regions 
>>  is used validate correctness. 
> 
> Could you tell me where to get the checksum you are using? In addition,
> checksum should be used at which point of live migration?
> 
> Regards,
> Wanpeng Li 
qemu in https://github.com/mjsmar/arm-dirtylog-tests/tree/master/v7/test
is instrumented to save the guest ram on source and destination.

On source it dumps ram to file (ramimage0) from ram VMHandler
save_live_complete, right after source has stopped iterating and
remaining memory (and other VM state) to transfer is within
downtime threshold (about 70-90mS).

On destination guest ram is dumped to file qemu_loadvm_state() just
before the guest is started.

It works for 'machvirt' and 'VExpress' machine models, the start
addresses are hardcoded while walking ram_list searching for a matching
RAMBlock.

Unless you have armv7 hardware I'm not sure how you can reproduce
it, it may be possible on Fast Models but I have not tried it, most
likely it would be extremely slow.

- Mario


> 
>> - qemu machvirt, VExpress - Exynos 5440, FastModels - lmbench + dirty guest
>>  memory cycling.
>> - ARMv8 Foundation Model/kvmtool - Due to slight overlap in 2nd stage handlers
>>  did a basic bringup using qemu.
>> - x86_64 qemu  default machine model, tested migration on HP Z620, tested 
>>  convergence for several dirty page rates
>>
>> See https://github.com/mjsmar/arm-dirtylog-tests
>>    - Dirtlogtest-setup.pdf for ARMv7
>>    - https://github.com/mjsmar/arm-dirtylog-tests/tree/master/v7 - README
>>
[...]
>>
>> -- 
>> 1.7.9.5
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe kvm" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html


WARNING: multiple messages have this Message-ID (diff)
From: Mario Smarduch <m.smarduch@samsung.com>
To: Wanpeng Li <wanpeng.li@linux.intel.com>
Cc: kvmarm@lists.cs.columbia.edu, christoffer.dall@linaro.org,
	pbonzini@redhat.com, agraf@suse.de, catalin.marinas@arm.com,
	cornelia.huck@de.ibm.com, borntraeger@de.ibm.com,
	james.hogan@imgtec.com, marc.zyngier@arm.com,
	xiaoguangrong@linux.vnet.ibm.com, kvm@vger.kernel.org,
	kvm-ppc@vger.kernel.org, kvm-ia64@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, steve.capper@arm.com,
	peter.maydell@linaro.org
Subject: Re: [PATCH v12 0/6] arm/KVM: dirty page logging support for ARMv7 (3.17.0-rc1)
Date: Tue, 28 Oct 2014 00:28:28 +0000	[thread overview]
Message-ID: <544EE32C.3060701@samsung.com> (raw)
In-Reply-To: <20141027232644.GA27081@kernel>

Hi Wanpeng,

On 10/27/2014 04:26 PM, Wanpeng Li wrote:
[...]
>>
>> Testing:
>> - Generally live migration + checksumming of source/destination memory regions 
>>  is used validate correctness. 
> 
> Could you tell me where to get the checksum you are using? In addition,
> checksum should be used at which point of live migration?
> 
> Regards,
> Wanpeng Li 
qemu in https://github.com/mjsmar/arm-dirtylog-tests/tree/master/v7/test
is instrumented to save the guest ram on source and destination.

On source it dumps ram to file (ramimage0) from ram VMHandler
save_live_complete, right after source has stopped iterating and
remaining memory (and other VM state) to transfer is within
downtime threshold (about 70-90mS).

On destination guest ram is dumped to file qemu_loadvm_state() just
before the guest is started.

It works for 'machvirt' and 'VExpress' machine models, the start
addresses are hardcoded while walking ram_list searching for a matching
RAMBlock.

Unless you have armv7 hardware I'm not sure how you can reproduce
it, it may be possible on Fast Models but I have not tried it, most
likely it would be extremely slow.

- Mario


> 
>> - qemu machvirt, VExpress - Exynos 5440, FastModels - lmbench + dirty guest
>>  memory cycling.
>> - ARMv8 Foundation Model/kvmtool - Due to slight overlap in 2nd stage handlers
>>  did a basic bringup using qemu.
>> - x86_64 qemu  default machine model, tested migration on HP Z620, tested 
>>  convergence for several dirty page rates
>>
>> See https://github.com/mjsmar/arm-dirtylog-tests
>>    - Dirtlogtest-setup.pdf for ARMv7
>>    - https://github.com/mjsmar/arm-dirtylog-tests/tree/master/v7 - README
>>
[...]
>>
>> -- 
>> 1.7.9.5
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe kvm" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html


WARNING: multiple messages have this Message-ID (diff)
From: m.smarduch@samsung.com (Mario Smarduch)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v12 0/6] arm/KVM: dirty page logging support for ARMv7 (3.17.0-rc1)
Date: Mon, 27 Oct 2014 17:28:28 -0700	[thread overview]
Message-ID: <544EE32C.3060701@samsung.com> (raw)
In-Reply-To: <20141027232644.GA27081@kernel>

Hi Wanpeng,

On 10/27/2014 04:26 PM, Wanpeng Li wrote:
[...]
>>
>> Testing:
>> - Generally live migration + checksumming of source/destination memory regions 
>>  is used validate correctness. 
> 
> Could you tell me where to get the checksum you are using? In addition,
> checksum should be used at which point of live migration?
> 
> Regards,
> Wanpeng Li 
qemu in https://github.com/mjsmar/arm-dirtylog-tests/tree/master/v7/test
is instrumented to save the guest ram on source and destination.

On source it dumps ram to file (ramimage0) from ram VMHandler
save_live_complete, right after source has stopped iterating and
remaining memory (and other VM state) to transfer is within
downtime threshold (about 70-90mS).

On destination guest ram is dumped to file qemu_loadvm_state() just
before the guest is started.

It works for 'machvirt' and 'VExpress' machine models, the start
addresses are hardcoded while walking ram_list searching for a matching
RAMBlock.

Unless you have armv7 hardware I'm not sure how you can reproduce
it, it may be possible on Fast Models but I have not tried it, most
likely it would be extremely slow.

- Mario


> 
>> - qemu machvirt, VExpress - Exynos 5440, FastModels - lmbench + dirty guest
>>  memory cycling.
>> - ARMv8 Foundation Model/kvmtool - Due to slight overlap in 2nd stage handlers
>>  did a basic bringup using qemu.
>> - x86_64 qemu  default machine model, tested migration on HP Z620, tested 
>>  convergence for several dirty page rates
>>
>> See https://github.com/mjsmar/arm-dirtylog-tests
>>    - Dirtlogtest-setup.pdf for ARMv7
>>    - https://github.com/mjsmar/arm-dirtylog-tests/tree/master/v7 - README
>>
[...]
>>
>> -- 
>> 1.7.9.5
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe kvm" in
>> the body of a message to majordomo at vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Mario Smarduch <m.smarduch@samsung.com>
To: Wanpeng Li <wanpeng.li@linux.intel.com>
Cc: kvmarm@lists.cs.columbia.edu, christoffer.dall@linaro.org,
	pbonzini@redhat.com, agraf@suse.de, catalin.marinas@arm.com,
	cornelia.huck@de.ibm.com, borntraeger@de.ibm.com,
	james.hogan@imgtec.com, marc.zyngier@arm.com,
	xiaoguangrong@linux.vnet.ibm.com, kvm@vger.kernel.org,
	kvm-ppc@vger.kernel.org, kvm-ia64@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, steve.capper@arm.com,
	peter.maydell@linaro.org
Subject: Re: [PATCH v12 0/6] arm/KVM: dirty page logging support for ARMv7 (3.17.0-rc1)
Date: Mon, 27 Oct 2014 17:28:28 -0700	[thread overview]
Message-ID: <544EE32C.3060701@samsung.com> (raw)
In-Reply-To: <20141027232644.GA27081@kernel>

Hi Wanpeng,

On 10/27/2014 04:26 PM, Wanpeng Li wrote:
[...]
>>
>> Testing:
>> - Generally live migration + checksumming of source/destination memory regions 
>>  is used validate correctness. 
> 
> Could you tell me where to get the checksum you are using? In addition,
> checksum should be used at which point of live migration?
> 
> Regards,
> Wanpeng Li 
qemu in https://github.com/mjsmar/arm-dirtylog-tests/tree/master/v7/test
is instrumented to save the guest ram on source and destination.

On source it dumps ram to file (ramimage0) from ram VMHandler
save_live_complete, right after source has stopped iterating and
remaining memory (and other VM state) to transfer is within
downtime threshold (about 70-90mS).

On destination guest ram is dumped to file qemu_loadvm_state() just
before the guest is started.

It works for 'machvirt' and 'VExpress' machine models, the start
addresses are hardcoded while walking ram_list searching for a matching
RAMBlock.

Unless you have armv7 hardware I'm not sure how you can reproduce
it, it may be possible on Fast Models but I have not tried it, most
likely it would be extremely slow.

- Mario


> 
>> - qemu machvirt, VExpress - Exynos 5440, FastModels - lmbench + dirty guest
>>  memory cycling.
>> - ARMv8 Foundation Model/kvmtool - Due to slight overlap in 2nd stage handlers
>>  did a basic bringup using qemu.
>> - x86_64 qemu  default machine model, tested migration on HP Z620, tested 
>>  convergence for several dirty page rates
>>
>> See https://github.com/mjsmar/arm-dirtylog-tests
>>    - Dirtlogtest-setup.pdf for ARMv7
>>    - https://github.com/mjsmar/arm-dirtylog-tests/tree/master/v7 - README
>>
[...]
>>
>> -- 
>> 1.7.9.5
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe kvm" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2014-10-28  0:28 UTC|newest]

Thread overview: 96+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-22 22:34 [PATCH v12 0/6] arm/KVM: dirty page logging support for ARMv7 (3.17.0-rc1) Mario Smarduch
2014-10-22 22:34 ` Mario Smarduch
2014-10-22 22:34 ` Mario Smarduch
2014-10-22 22:34 ` Mario Smarduch
2014-10-27 23:26 ` Wanpeng Li
2014-10-27 23:26   ` Wanpeng Li
2014-10-27 23:26   ` Wanpeng Li
2014-10-27 23:26   ` Wanpeng Li
2014-10-28  0:28 ` Mario Smarduch [this message]
2014-10-28  0:28   ` Mario Smarduch
2014-10-28  0:28   ` Mario Smarduch
2014-10-28  0:28   ` Mario Smarduch
2014-10-28  1:24 ` Wanpeng Li
2014-10-28  1:24   ` Wanpeng Li
2014-10-28  1:24   ` Wanpeng Li
2014-10-28  1:24   ` Wanpeng Li
2014-10-28 16:15 ` Mario Smarduch
2014-10-28 16:15   ` Mario Smarduch
2014-10-28 16:15   ` Mario Smarduch
2014-10-28 16:15   ` Mario Smarduch
2014-10-30 12:11 ` Christian Borntraeger
2014-10-30 12:11   ` Christian Borntraeger
2014-10-30 12:11   ` Christian Borntraeger
2014-10-30 12:11   ` Christian Borntraeger
2014-10-30 19:27 ` Mario Smarduch
2014-10-30 19:27   ` Mario Smarduch
2014-10-30 19:27   ` Mario Smarduch
2014-10-30 19:27   ` Mario Smarduch
  -- strict thread matches above, loose matches on Subject: below --
2014-10-22 22:34 [PATCH v12 1/6] KVM: Add architecture-defined TLB flush support Mario Smarduch
2014-10-22 22:34 ` Mario Smarduch
2014-10-22 22:34 ` Mario Smarduch
2014-10-22 22:34 ` Mario Smarduch
2014-10-30 12:06 ` Cornelia Huck
2014-10-30 12:06   ` Cornelia Huck
2014-10-30 12:06   ` Cornelia Huck
2014-10-30 12:06   ` Cornelia Huck
2014-11-05 16:10 ` Paolo Bonzini
2014-11-05 16:10   ` Paolo Bonzini
2014-11-05 16:10   ` Paolo Bonzini
2014-11-05 16:10   ` Paolo Bonzini
2014-10-22 22:34 [PATCH v12 2/6] KVM: Add generic support for dirty page logging Mario Smarduch
2014-10-22 22:34 ` Mario Smarduch
2014-10-22 22:34 ` Mario Smarduch
2014-10-22 22:34 ` Mario Smarduch
2014-10-30 12:14 ` Cornelia Huck
2014-10-30 12:14   ` Cornelia Huck
2014-10-30 12:14   ` Cornelia Huck
2014-10-30 12:14   ` Cornelia Huck
2014-10-30 19:19 ` Mario Smarduch
2014-10-30 19:19   ` Mario Smarduch
2014-10-30 19:19   ` Mario Smarduch
2014-10-30 19:19   ` Mario Smarduch
2014-11-01 10:12 ` James Hogan
2014-11-01 10:12   ` James Hogan
2014-11-01 10:12   ` James Hogan
2014-11-01 10:12   ` James Hogan
2014-11-03  3:01 ` Takuya Yoshikawa
2014-11-03  3:01   ` Takuya Yoshikawa
2014-11-03  3:01   ` Takuya Yoshikawa
2014-11-03  3:01   ` Takuya Yoshikawa
2014-11-03 18:44 ` Mario Smarduch
2014-11-03 18:44   ` Mario Smarduch
2014-11-03 18:44   ` Mario Smarduch
2014-11-03 18:44   ` Mario Smarduch
2014-11-03 19:34 ` Mario Smarduch
2014-11-03 19:34   ` Mario Smarduch
2014-11-03 19:34   ` Mario Smarduch
2014-11-03 19:34   ` Mario Smarduch
2014-11-05 16:09 ` Paolo Bonzini
2014-11-05 16:09   ` Paolo Bonzini
2014-11-05 16:09   ` Paolo Bonzini
2014-11-05 16:09   ` Paolo Bonzini
2014-11-05 23:05 ` Mario Smarduch
2014-11-05 23:05   ` Mario Smarduch
2014-11-05 23:05   ` Mario Smarduch
2014-11-05 23:05   ` Mario Smarduch
2014-11-06 10:14 ` Paolo Bonzini
2014-11-06 10:14   ` Paolo Bonzini
2014-11-06 10:14   ` Paolo Bonzini
2014-11-06 10:14   ` Paolo Bonzini
2014-11-06 18:07 ` Mario Smarduch
2014-11-06 18:07   ` Mario Smarduch
2014-11-06 18:07   ` Mario Smarduch
2014-11-06 18:07   ` Mario Smarduch
2014-10-22 22:34 [PATCH v12 3/6] arm: KVM: Add ARMv7 API to flush TLBs Mario Smarduch
2014-10-22 22:34 ` Mario Smarduch
2014-10-22 22:34 ` Mario Smarduch
2014-10-22 22:34 ` Mario Smarduch
2014-10-22 22:34 [PATCH v12 4/6] arm: KVM: Add initial dirty page locking infrastructure Mario Smarduch
2014-10-22 22:34 ` Mario Smarduch
2014-10-22 22:34 ` Mario Smarduch
2014-10-22 22:34 ` Mario Smarduch
2014-10-28 16:29 [PATCH v12 0/6] 2nd-request for review comments: arm/KVM: dirty page logging support for ARMv7 ( Mario Smarduch
2014-10-28 16:29 ` [PATCH v12 0/6] 2nd-request for review comments: arm/KVM: dirty page logging support for ARMv7 (3.17.0-rc1) Mario Smarduch
2014-10-28 16:29 ` Mario Smarduch
2014-10-28 16:29 ` [PATCH v12 0/6] 2nd-request for review comments: arm/KVM: dirty page logging support for ARMv7 ( Mario Smarduch

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=544EE32C.3060701@samsung.com \
    --to=m.smarduch@samsung.com \
    --cc=kvm-ia64@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.