From: 陈云星 <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: support suspend/resume SQPOLL on inflight io-uring instance
Date: Fri, 5 Jun 2020 11:38:35 +0800 [thread overview]
Message-ID: <CAP6wFtSZ1LOWsb=nXwnPGdcAWvpvwdHo_SUuMpnAcqbBdtfFRA@mail.gmail.com> (raw)
io-uring instance can be set flag : IO_URING_SETUP_SQPOLL to enable
kernel thread polling SQ. but some application have random io
behavior, for example:
a). a burst read/write for a while,
b). then many scatter small io operations.
during a) period, use sqpoll will be beneficial to performance.
but during b) period, use sqpoll will waste cpu time for empty busy poll.
If we can have a method to tell kernel start/stop poll sq when we
need, it is good for both of a) and b):
in a) period, io_uring_enter tell kernel. start to poll
after a) , io_uring_enter tell kernel stop polling and.
next reply other threads:[~2020-06-05 3:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-05 3:38 陈云星 [this message]
2020-06-05 13:13 ` support suspend/resume SQPOLL on inflight io-uring instance Jens Axboe
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='CAP6wFtSZ1LOWsb=nXwnPGdcAWvpvwdHo_SUuMpnAcqbBdtfFRA@mail.gmail.com' \
[email protected] \
[email protected] \
[email protected] \
/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