netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: "Zhangjie (HZ)" <zhangjie14@huawei.com>
Cc: Jason Wang <jasowang@redhat.com>,
	netdev@vger.kernel.org, davem@davemloft.net, kvm@vger.kernel.org,
	liuyongan@huawei.com, qinchuanyu@huawei.com
Subject: Re: [Questions]
Date: Wed, 20 Aug 2014 12:05:20 +0200	[thread overview]
Message-ID: <20140820100520.GA16698@redhat.com> (raw)
In-Reply-To: <53F46C3D.1030106@huawei.com>

On Wed, Aug 20, 2014 at 05:37:01PM +0800, Zhangjie (HZ) wrote:
> Hi MST,
> 
> I see "reduce networking latency"
> from Networking Todo, the idea is to "allow handling short packets from softirq or VCPU context".
> If from softirq context, how could softirq copy skb to guest memory? If the method is to use mmstruct of Qemu,
> would it be expensive?

I have some very rough patches to explain this part of the idea.
Will dig them out for you.

> If from VCPU context, maybe the internal operation of the virtual machine will have a significant delay.

We'd have to find a good heuristic here.
Maybe for a small number of very short packets the delay won't be significant.

> Thanks!
> -- 
> Best Wishes!
> Zhang Jie

      reply	other threads:[~2014-08-20 10:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-20  9:37 [Questions] Zhangjie (HZ)
2014-08-20 10:05 ` Michael S. Tsirkin [this message]

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=20140820100520.GA16698@redhat.com \
    --to=mst@redhat.com \
    --cc=davem@davemloft.net \
    --cc=jasowang@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=liuyongan@huawei.com \
    --cc=netdev@vger.kernel.org \
    --cc=qinchuanyu@huawei.com \
    --cc=zhangjie14@huawei.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 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).