From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: Is vhost vring_avail size tunable? Date: Tue, 9 Jun 2015 17:49:06 -0700 Message-ID: <20150609174906.075e76c8@urahara> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" To: "Tim Deng" Return-path: Received: from mail-qk0-f174.google.com (mail-qk0-f174.google.com [209.85.220.174]) by dpdk.org (Postfix) with ESMTP id CDCBF5A83 for ; Wed, 10 Jun 2015 02:49:04 +0200 (CEST) Received: by qkoo18 with SMTP id o18so17927885qko.1 for ; Tue, 09 Jun 2015 17:49:04 -0700 (PDT) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Sun, 7 Jun 2015 16:02:04 +0800 (CST) "Tim Deng" wrote: >=20 > Hi, >=20 > Under heavy work load, I found there were some packet lost caused by > "Failed=C2=A0to get enough desc from vring...", is there any way to get t= he > vring size larger? >=20 > Thanks, > Tim One thing that could help the DPDK virtio driver would be to support INDIRECT descriptors. By using that, it is possible to get 256 packets into the 256 slots in QEMU. Currently half the slots are taken by headers. The implementation of vhost driver likewise needs to get support for INDIRECT descriptors and some other features in order to use slots more efficiently.