From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lan Tianyu Subject: Re: [Qemu-devel] live migration vs device assignment (motivation) Date: Mon, 04 Jan 2016 10:15:20 +0800 Message-ID: <5689D5B8.2090208@intel.com> References: <20151210101840.GA2570@work-vm> <566961C1.6030000@gmail.com> <20151210114114.GE2570@work-vm> <56698E68.5040207@intel.com> <566D9320.8000209@intel.com> <567CEA53.5030601@intel.com> <20151225140336-mutt-send-email-mst@redhat.com> <56817476.8080607@intel.com> <20151229184426-mutt-send-email-mst@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Alexander Duyck , "Dr. David Alan Gilbert" , Yang Zhang , qemu-devel@nongnu.org, "Tantilov, Emil S" , kvm@vger.kernel.org, Ard Biesheuvel , aik@ozlabs.ru, "Skidmore, Donald C" , quintela@redhat.com, "Dong, Eddie" , "Jani, Nrupal" , Alexander Graf , Blue Swirl , cornelia.huck@de.ibm.com, Alex Williamson , kraxel@redhat.com, Anthony Liguori , amit.shah@redhat.com, Paolo Bonzini , "Rustad, Mark D" , lcapitulino@redhat.com, Or Gerlitz To: "Michael S. Tsirkin" Return-path: Received: from mga11.intel.com ([192.55.52.93]:48563 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751536AbcADC31 (ORCPT ); Sun, 3 Jan 2016 21:29:27 -0500 In-Reply-To: <20151229184426-mutt-send-email-mst@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 2015=E5=B9=B412=E6=9C=8830=E6=97=A5 00:46, Michael S. Tsirkin wrote: > Interesting. So you sare saying merely ifdown/ifup is 100ms? > This does not sound reasonable. > Is there a chance you are e.g. getting IP from dhcp? >=20 > If so that is wrong - clearly should reconfigure the old IP > back without playing with dhcp. For testing, just set up > a static IP. MAC and IP are migrated with VM to target machine and not need to reconfigure IP after migration. =46rom my test result, ixgbevf_down() consumes 35ms and ixgbevf_up() consumes 55ms during migration. --=20 Best regards Tianyu Lan