From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 39A9F9D1EB; Tue, 18 Dec 2018 11:33:26 +0000 (UTC) Received: from [10.36.112.55] (ovpn-112-55.ams2.redhat.com [10.36.112.55]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 04EBF600C9; Tue, 18 Dec 2018 11:33:23 +0000 (UTC) To: Xiao Wang , tiwei.bie@intel.com Cc: alejandro.lucero@netronome.com, dev@dpdk.org, zhihong.wang@intel.com, xiaolong.ye@intel.com 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> From: Maxime Coquelin Message-ID: Date: Tue, 18 Dec 2018 12:33:21 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 In-Reply-To: <20181218080207.178666-10-xiao.w.wang@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Tue, 18 Dec 2018 11:33:26 +0000 (UTC) Subject: Re: [dpdk-dev] [PATCH v5 09/10] net/ifc: support SW assisted VDPA live migration X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2018 11:33:27 -0000 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