mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-03 00:00:05 +02:00
time: add alternative timer for better multicore scalability (#7467)
This change introduces per-worker timer wheels in the time subsystem to reduce the lock contention. Key changes: - Each worker now maintains a local timer wheel. - Timer insertions are performed locally. - Timer cancellations are forwarded via a dedicated cross-worker cancellation queue. Relevant RFC: https://github.com/tokio-rs/tokio/issues/7384 --------- Signed-off-by: ADD-SP <[email protected]>
This commit is contained in:
+4
-1
@@ -1,4 +1,4 @@
|
||||
308
|
||||
311
|
||||
&
|
||||
+
|
||||
<
|
||||
@@ -64,6 +64,7 @@ codec
|
||||
codecs
|
||||
combinator
|
||||
combinators
|
||||
condvar
|
||||
config
|
||||
Config
|
||||
connectionless
|
||||
@@ -163,6 +164,7 @@ Lauck
|
||||
libc
|
||||
lifecycle
|
||||
lifo
|
||||
LLVM
|
||||
lookups
|
||||
macOS
|
||||
MacOS
|
||||
@@ -307,3 +309,4 @@ Wakers
|
||||
wakeup
|
||||
wakeups
|
||||
workstealing
|
||||
ZST
|
||||
|
||||
Reference in New Issue
Block a user