Thanx.<br><br><div class="gmail_quote">On Mon, Apr 15, 2013 at 8:01 PM, Eric Blake <span dir="ltr"><<a href="mailto:eblake@redhat.com" target="_blank">eblake@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 04/12/2013 07:28 AM, digvijay chauhan wrote:<br>
> Hello,<br>
>         I am working on live migration of virtual machine using xen and<br>
> kvm.If i use qemu+ssh:///system then is the transport protocol used during<br>
> live migration tcp or ssh?I mean i want to evaluate the performance of<br>
> transport protocil during live migration using wireshark and netperf<br>
> tool,so using this command will show tcp performance?<br>
><br>
> Orelse i will have to use qemu+tcp:/// ?<br>
<br>
</div></div>I'd start by reading and understanding this page:<br>
<a href="http://libvirt.org/migration.html" target="_blank">http://libvirt.org/migration.html</a><br>
<br>
If you do native migration, then it uses whatever protocol the native<br>
hypervisor uses (qemu only supports direct tcp), through a separate<br>
port.  If you use tunnelled migration, then the migration is multiplexed<br>
onto libvirt's connection (no additional open port required), and the<br>
transport then depends on however you connected to libvirt (whether it<br>
is straight TCP or whether it is using SSH depends on the URI of how you<br>
connected).  Tunnelled migration is inherently slower, since there are<br>
more copies involved - qemu -> libvirtd source -> libvirtd destination<br>
-> qemu; compared to native migration of qemu -> qemu.  But it also<br>
provides the possibility of SSH or TLS encryption, if you don't want<br>
migration going across the wire unencrypted (since qemu does not yet<br>
support encrypted migration natively).<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Eric Blake   eblake redhat com    +1-919-301-3266<br>
Libvirt virtualization library <a href="http://libvirt.org" target="_blank">http://libvirt.org</a><br>
<br>
</font></span></blockquote></div><br>