From: Mark McLoughlin <markmc@redhat.com>
To: Avi Kivity <avi@redhat.com>
Cc: Alex Williamson <alex.williamson@hp.com>, kvm@vger.kernel.org
Subject: Re: [PATCH] kvm:virtio-net: Run TX from the I/O thread
Date: Thu, 22 Jan 2009 12:48:28 +0000 [thread overview]
Message-ID: <1232628508.4533.16.camel@blaa> (raw)
In-Reply-To: <497862A7.8040408@redhat.com>
On Thu, 2009-01-22 at 14:12 +0200, Avi Kivity wrote:
> My worry with this change is that increases cpu utilization even more
> than it increases bandwidth, so that our bits/cycle measure decreases.
Yep, agreed it's important to watch out for this.
> The descriptors (and perhaps data) are likely on the same cache as the
> vcpu, and moving the transmit to the iothread will cause them to move to
> the iothread's cache.
We flush from the I/O thread right now.
We only ever flush from the vcpu thread when the ring fills up, which
rarely happens from what I've observed.
Cheers,
Mark.
next prev parent reply other threads:[~2009-01-22 12:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-21 23:08 [PATCH] kvm:virtio-net: Run TX from the I/O thread Alex Williamson
2009-01-22 12:12 ` Avi Kivity
2009-01-22 12:48 ` Mark McLoughlin [this message]
2009-01-22 18:36 ` Alex Williamson
2009-01-22 12:47 ` Mark McLoughlin
2009-01-22 13:41 ` Avi Kivity
2009-01-22 18:43 ` Anthony Liguori
2009-01-22 13:42 ` Avi Kivity
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=1232628508.4533.16.camel@blaa \
--to=markmc@redhat.com \
--cc=alex.williamson@hp.com \
--cc=avi@redhat.com \
--cc=kvm@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox