From: David Xu <davidxu06@gmail.com>
To: kvm <kvm@vger.kernel.org>
Cc: mst@redhat.com
Subject: reduce networking latency
Date: Wed, 24 Sep 2014 14:40:53 -0400 [thread overview]
Message-ID: <CAGjowiQjF0HKkevZDCVAiOc9-nEQpxkQ+uiY2jkbiiU8n1PusQ@mail.gmail.com> (raw)
Hi Michael,
I found this interesting project from KVM TODO website:
allow handling short packets from softirq or VCPU context
Plan:
We are going through the scheduler 3 times
(could be up to 5 if softirqd is involved)
Consider RX: host irq -> io thread -> VCPU thread ->
guest irq -> guest thread.
This adds a lot of latency.
We can cut it by some 1.5x if we do a bit of work
either in the VCPU or softirq context.
Testing: netperf TCP RR - should be improved drastically
netperf TCP STREAM guest to host - no regression
Would you mind saying more about the work either in the vCPU or
softirq context? Why it is only for short packets handling? Thanks a
lot!
Regards,
Cong
next reply other threads:[~2014-09-24 18:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-24 18:40 David Xu [this message]
2014-09-29 9:04 ` reduce networking latency Michael S. Tsirkin
2014-10-15 18:30 ` David Xu
2014-10-22 20:35 ` David Xu
2014-10-23 4:15 ` Michael S. Tsirkin
-- strict thread matches above, loose matches on Subject: below --
2014-06-10 15:29 David Xu
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=CAGjowiQjF0HKkevZDCVAiOc9-nEQpxkQ+uiY2jkbiiU8n1PusQ@mail.gmail.com \
--to=davidxu06@gmail.com \
--cc=kvm@vger.kernel.org \
--cc=mst@redhat.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.