[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #34010 [Core Tor/Tor]: Use io_uring when available
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs