From: Jay Rolette <rolette@infiniteio.com>
To: DPDK <dev@dpdk.org>
Subject: [dpdk-dev] More KNI performance
Date: Fri, 5 Jun 2015 10:27:21 -0500 [thread overview]
Message-ID: <CADNuJVok_rqMs4da4=NUSpyFQ5mBZzvp1V6bytc4-moZW+AzXw@mail.gmail.com> (raw)
Follow-up to my long email about KNI performance so we don't have
chapter-length quotes in any discussion...
Increasing HZ to 1000 helped, but I'd really like a way to wake the KNI
kernel thread up on demand. I'm hoping someone with more Linux kernel
experience than I have might have some ideas.
Is there some mechanism available that the KNI kernel thread could sleep
periodically, but somehow be awoken from user space?
Basically looking for something to simulate the HW interrupt that network
drivers normally rely on. When KNI packet rates are relatively low, that
1-4 ms latency from the KNI kernel thread sleeping becomes painfully
obvious. If my DPDK app knows that KNI traffic is light, it would be nice
to "kick" the KNI kernel thread to get to work.
So far it looks like adding a syscall is about the only path to let a
user-space app kick a kernel thread. I haven't gotten as far as figuring
out the details to make sure this all works in practice.
Any suggestions or guidance here would be welcome.
Thanks,
Jay
next reply other threads:[~2015-06-05 15:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-05 15:27 Jay Rolette [this message]
2015-06-05 17:00 ` Matthew Hall
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='CADNuJVok_rqMs4da4=NUSpyFQ5mBZzvp1V6bytc4-moZW+AzXw@mail.gmail.com' \
--to=rolette@infiniteio.com \
--cc=dev@dpdk.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;
as well as URLs for NNTP newsgroup(s).