From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Coquelin Subject: Re: [PATCH v5 09/10] net/ifc: support SW assisted VDPA live migration Date: Tue, 18 Dec 2018 12:33:21 +0100 Message-ID: References: <20181214211612.167681-4-xiao.w.wang@intel.com> <20181218080207.178666-1-xiao.w.wang@intel.com> <20181218080207.178666-10-xiao.w.wang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: alejandro.lucero@netronome.com, dev@dpdk.org, zhihong.wang@intel.com, xiaolong.ye@intel.com To: Xiao Wang , tiwei.bie@intel.com Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id DFDDA1BB6F for ; Tue, 18 Dec 2018 12:33:26 +0100 (CET) In-Reply-To: <20181218080207.178666-10-xiao.w.wang@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 12/18/18 9:02 AM, Xiao Wang wrote: > In SW assisted live migration mode, driver will stop the device and > setup a mediated virtio ring to relay the communication between the > virtio driver and the VDPA device. > > This data path intervention will allow SW to help on guest dirty page > logging for live migration. > > This SW fallback is event driven relay thread, so when the network > throughput is low, this SW fallback will take little CPU resource, but > when the throughput goes up, the relay thread's CPU usage will goes up > accordingly. > > User needs to take all the factors including CPU usage, guest perf > degradation, etc. into consideration when selecting the live migration > support mode. > > Signed-off-by: Xiao Wang > --- > drivers/net/ifc/base/ifcvf.h | 1 + > drivers/net/ifc/ifcvf_vdpa.c | 346 ++++++++++++++++++++++++++++++++++++++++++- > 2 files changed, 344 insertions(+), 3 deletions(-) Reviewed-by: Maxime Coquelin Thanks, Maxime