All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Heng Qi <hengqi@linux.alibaba.com>
Cc: Jason Wang <jasowang@redhat.com>,
	virtio-comment@lists.oasis-open.org,
	Yuri Benditovich <yuri.benditovich@daynix.com>,
	Xuan Zhuo <xuanzhuo@linux.alibaba.com>,
	Alvaro Karsz <alvaro.karsz@solid-run.com>,
	Parav Pandit <parav@nvidia.com>
Subject: Re: [virtio-comment] Re: [PATCH RESEND] virtio-net: support setting coalescing params for multiple vqs
Date: Fri, 22 Dec 2023 03:20:40 -0500	[thread overview]
Message-ID: <20231222031709-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <a037dd2f-be0c-4b02-b706-672e9a56497f@linux.alibaba.com>

On Fri, Dec 22, 2023 at 02:45:21PM +0800, Heng Qi wrote:
> > > For the current upstream code, the overhead is 256 kicks + 256*8 DMA times.
> > > The overhead of batch cmds is 1 kick + 256*8 DMA times.
> > This can furtherly optimized by using IN_ORDER. The DMA can be batched as well.
> 
> DMA batch reduces the number of DMA requests, but not the actual number of
> DMAs.
> For out DPU, how much to batch and when to end the batch also need to be
> evaluated in detail.

And what is the result of this evaluation? Again all this is slow path
stuff. Speed only matters if the operation takes many milliseconds.

-- 
MST


This publicly archived list offers a means to provide input to the
OASIS Virtual I/O Device (VIRTIO) TC.

In order to verify user consent to the Feedback License terms and
to minimize spam in the list archive, subscription is required
before posting.

Subscribe: virtio-comment-subscribe@lists.oasis-open.org
Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org
List help: virtio-comment-help@lists.oasis-open.org
List archive: https://lists.oasis-open.org/archives/virtio-comment/
Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf
List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists
Committee: https://www.oasis-open.org/committees/virtio/
Join OASIS: https://www.oasis-open.org/join/


  reply	other threads:[~2023-12-22  8:20 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-20 14:40 [virtio-comment] [PATCH RESEND] virtio-net: support setting coalescing params for multiple vqs Heng Qi
2023-12-21  3:37 ` [virtio-comment] " Jason Wang
2023-12-21  4:55   ` Heng Qi
2023-12-22  2:40     ` Jason Wang
2023-12-22  6:45       ` Heng Qi
2023-12-22  8:20         ` Michael S. Tsirkin [this message]
2023-12-26  2:17           ` Heng Qi
2023-12-26  3:32         ` Jason Wang
2023-12-26  9:18           ` Michael S. Tsirkin
2023-12-27  2:32             ` Jason Wang
2023-12-22  8:26   ` Michael S. Tsirkin
2023-12-21  6:56 ` Michael S. Tsirkin
2023-12-21  7:01   ` Heng Qi
2023-12-21  7:08     ` Michael S. Tsirkin
2023-12-21  7:19       ` Heng Qi
2023-12-21  7:48         ` Heng Qi
2023-12-22  8:24         ` Michael S. Tsirkin
2023-12-26  2:04           ` Heng Qi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231222031709-mutt-send-email-mst@kernel.org \
    --to=mst@redhat.com \
    --cc=alvaro.karsz@solid-run.com \
    --cc=hengqi@linux.alibaba.com \
    --cc=jasowang@redhat.com \
    --cc=parav@nvidia.com \
    --cc=virtio-comment@lists.oasis-open.org \
    --cc=xuanzhuo@linux.alibaba.com \
    --cc=yuri.benditovich@daynix.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.