From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFutq-0008JZ-4z for qemu-devel@nongnu.org; Sun, 03 Jan 2016 21:29:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFutk-0006Ux-VY for qemu-devel@nongnu.org; Sun, 03 Jan 2016 21:29:33 -0500 Received: from mga14.intel.com ([192.55.52.115]:23519) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFutk-0006Up-Px for qemu-devel@nongnu.org; Sun, 03 Jan 2016 21:29:28 -0500 Message-ID: <5689D5B8.2090208@intel.com> Date: Mon, 04 Jan 2016 10:15:20 +0800 From: Lan Tianyu MIME-Version: 1.0 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> In-Reply-To: <20151229184426-mutt-send-email-mst@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] live migration vs device assignment (motivation) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Yang Zhang , "Tantilov, Emil S" , kvm@vger.kernel.org, aik@ozlabs.ru, qemu-devel@nongnu.org, Alexander Duyck , lcapitulino@redhat.com, Blue Swirl , kraxel@redhat.com, "Rustad, Mark D" , quintela@redhat.com, "Skidmore, Donald C" , Alexander Graf , Or Gerlitz , "Dr. David Alan Gilbert" , Alex Williamson , Anthony Liguori , cornelia.huck@de.ibm.com, Ard Biesheuvel , "Dong, Eddie" , "Jani, Nrupal" , amit.shah@redhat.com, Paolo Bonzini On 2015年12月30日 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? > > 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. >>From my test result, ixgbevf_down() consumes 35ms and ixgbevf_up() consumes 55ms during migration. -- Best regards Tianyu Lan