[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220412202613.234896-1-axboe@kernel.dk>
Date: Tue, 12 Apr 2022 14:26:09 -0600
From: Jens Axboe <axboe@...nel.dk>
To: io-uring@...r.kernel.org, netdev@...r.kernel.org
Subject: [PATCHSET 0/4] Add support for no-lock sockets
Hi,
If we accept a connection directly, eg without installing a file
descriptor for it, or if we use IORING_OP_SOCKET in direct mode, then
we have a socket for recv/send that we can fully serialize access to.
With that in mind, we can feasibly skip locking on the socket for TCP
in that case. Some of the testing I've done has shown as much as 15%
of overhead in the lock_sock/release_sock part, with this change then
we see none.
Comments welcome!
--
Jens Axboe
Powered by blists - more mailing lists