From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: virtio-dev-return-7040-cohuck=redhat.com@lists.oasis-open.org Sender: List-Post: List-Help: List-Unsubscribe: List-Subscribe: Received: from lists.oasis-open.org (oasis-open.org [10.110.1.242]) by lists.oasis-open.org (Postfix) with ESMTP id EB8E8985F5C for ; Thu, 9 Apr 2020 21:06:45 +0000 (UTC) Date: Thu, 9 Apr 2020 17:06:38 -0400 From: "Michael S. Tsirkin" Message-ID: <20200409170152-mutt-send-email-mst@kernel.org> References: <20200309030251-mutt-send-email-mst@kernel.org> <20200309060238-mutt-send-email-mst@kernel.org> <20200310021729-mutt-send-email-mst@kernel.org> <89358cf3-7ce0-7b60-f4a7-2672970a635e@redhat.com> <0f43a280-5425-3a10-1312-22ea87d320ca@redhat.com> MIME-Version: 1.0 In-Reply-To: Subject: Re: [virtio-dev] Dirty Page Tracking (DPT) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Content-Disposition: inline To: Eugenio Perez Martin Cc: Rob Miller , Virtio-Dev , Paolo Bonzini , Jason Wang , Juan Quintela List-ID: On Tue, Apr 07, 2020 at 11:52:46AM +0200, Eugenio Perez Martin wrote: > Hi! >=20 > So, from the previous mails, it seems that monitoring the used ring > (and the packed descriptors) is a good first step in that direction, > as DPDK did. This way, the device does not need to worry about the > dirty page tracking using a bitmap and the PCI writes limitation, and > we can evaluate later the proposed alternatives: > * Alternate used descriptors in packed. > * vDPA interface for vDPA devices in a convenient format. >=20 > Any thoughts? Do you think that we should start with another way? >=20 > Thanks! I am concerned that with software in data path, we'll hit RX queue underruns, won't we? Two ways to avoid underruns: - dirty page tracking - page faults I'm working on a proposal for page faults now. If someone wants to work on dirty tracking in addition, that's also an option. --=20 MST --------------------------------------------------------------------- To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org