virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] virtio_add_buf replacement.
@ 2013-03-06  5:15 Rusty Russell
  2013-03-06  5:19 ` [PATCH 1/6] virtio_ring: virtqueue_add_sgs, to add multiple sgs Rusty Russell
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Rusty Russell @ 2013-03-06  5:15 UTC (permalink / raw)
  To: sjur.brandeland, mst; +Cc: virtualization

OK, so I've spent a few days benchmarking.  Turns out 80% of
virtio_add_buf cases are uni-directional (including the
always-performance-sensitive networking code), and that gets no
performance penalty (though tests with real networking would be
appreciated!).

I'm not reposting all the "convert driver to virtio_add_outbuf()"
patches: just the scsi one which I didn't have before.  I won't actually
remove virtio_add_buf() until the *following* merge window, just to be
sure.

One annoying thing about benchmarking is that in some cases, speeding up
one side can make the whole thing slower, due to more wakeups.
Device-side polling techniques might be required in future to get more
performance.

Cheers,
Rusty.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2013-03-07  8:22 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-06  5:15 [PATCH 0/6] virtio_add_buf replacement Rusty Russell
2013-03-06  5:19 ` [PATCH 1/6] virtio_ring: virtqueue_add_sgs, to add multiple sgs Rusty Russell
2013-03-06  5:20 ` [PATCH 2/6] virtio_ring: don't count elements twice for add_buf path Rusty Russell
2013-03-06  5:22 ` [PATCH 3/6] virtio_ring: inline internal vring functions more aggressively Rusty Russell
2013-03-06 10:24   ` Michael S. Tsirkin
2013-03-06 23:02     ` Rusty Russell
2013-03-06  5:23 ` [PATCH 4/6] virtio_ring: virtqueue_add_outbuf / virtqueue_add_inbuf Rusty Russell
2013-03-06  8:37   ` Asias He
2013-03-07  0:33     ` Rusty Russell
2013-03-07  8:15       ` Asias He
2013-03-06  5:24 ` [PATCH 5/6] tools/virtio: make vringh_test use inbuf/outbuf Rusty Russell
2013-03-06  5:24 ` [PATCH 6/6] virtio_scsi: use virtqueue_add_inbuf() for virtscsi_kick_event Rusty Russell
2013-03-06  8:09 ` [PATCH 0/6] virtio_add_buf replacement Asias He
2013-03-07  0:35   ` Rusty Russell
2013-03-07  8:22     ` Asias He

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).