Re: [virtio] [PATCH v6 4/5] packed virtqueues: more efficient virtqueue layout

From
Cornelia Huck <>
Date
2018-01-10T10:47:37+00:00
ID
Thread
Re: [virtio] [PATCH v6 4/5] packed virtqueues: more efficient virtqueue layout
On Wed, 10 Jan 2018 11:47:58 +0200
"Michael S. Tsirkin" <> wrote:

> Performance analysis of this is in my kvm forum 2016 presentation.  The
> idea is to have a r/w descriptor in a ring structure, replacing the used
> and available ring, index and descriptor buffer.
> 
> This is also easier for devices to implement than the 1.0 layout.
> Several more enhancements will be necessary to actually make this
> efficient for devices to use.
> 
> Signed-off-by: Michael S. Tsirkin <>
> ---
>  content.tex     |  36 ++-
>  packed-ring.tex | 668 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 701 insertions(+), 3 deletions(-)
>  create mode 100644 packed-ring.tex

Some minor gripes by git am:

.git/rebase-apply/patch:288: trailing whitespace.
Buffer ID is included in the last descriptor in the list.  
.git/rebase-apply/patch:342: trailing whitespace.
are reserved and are ignored by the device.