From: Dmitry Sychov <[email protected]>
To: [email protected]
Subject: Any performance gains from using per thread(thread local) urings?
Date: Tue, 12 May 2020 23:20:57 +0300 [thread overview]
Message-ID: <CADPKF+ene9LqKTFPUTwkdgbEe_pccZsJGjcm7cNmiq=8P_ojbA@mail.gmail.com> (raw)
Hello,
I'am writing a small web + embedded database application taking
advantage of the multicore performance of the latest AMD Epyc (up to
128 threads/CPU).
Is there any performance advantage of using per thread uring setups?
Such as every thread will own its unique sq+cq.
My feeling is there are no gains since internally, in Linux kernel,
the uring system is represented as a single queue pickup thread
anyway(?) and sharing a one pair of sq+cq (through exclusive locks)
via all threads would be enough to achieve maximum throughput.
I want to squeeze the max performance out of uring in multi threading
clients <-> server environment, where the max number of threads is
always bounded by the max number of CPUs cores.
Regards, Dmitry
next reply other threads:[~2020-05-12 20:21 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-12 20:20 Dmitry Sychov [this message]
2020-05-13 6:07 ` Any performance gains from using per thread(thread local) urings? H. de Vries
2020-05-13 11:01 ` Dmitry Sychov
2020-05-13 11:56 ` Mark Papadakis
2020-05-13 13:15 ` Dmitry Sychov
2020-05-13 13:27 ` Mark Papadakis
2020-05-13 13:48 ` Dmitry Sychov
2020-05-13 14:12 ` Sergiy Yevtushenko
[not found] ` <CAO5MNut+nD-OqsKgae=eibWYuPim1f8-NuwqVpD87eZQnrwscA@mail.gmail.com>
2020-05-13 14:22 ` Dmitry Sychov
2020-05-13 14:31 ` Dmitry Sychov
2020-05-13 16:02 ` Pavel Begunkov
2020-05-13 19:23 ` Dmitry Sychov
2020-05-14 10:06 ` Pavel Begunkov
2020-05-14 11:35 ` Dmitry Sychov
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='CADPKF+ene9LqKTFPUTwkdgbEe_pccZsJGjcm7cNmiq=8P_ojbA@mail.gmail.com' \
[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