[tor-bugs] #34010 [Core Tor/Tor]: Use io_uring when available
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun Apr 26 21:20:20 UTC 2020
#34010: Use io_uring when available
--------------------------+------------------------
Reporter: torry | Owner: (none)
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: io_uring | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+------------------------
Comment (by torry):
Reading the comments from the linked lwn thread:
''you can make use of IORING_OP_POLL_ADD to poll all 1,000 network
connections via the uring, and then use IORING_OP_READV to read only from
the connections that are ready, using a smaller number of buffers than
there are connections.
That's basically the same work level as epoll + read, but with both the
epoll and the read being done asynchronously.''
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/34010#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list