File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 55 If a thread runs out of fibers to run, it will try to take a fiber from the
66 queues of other threads. Threads also periodically consider taking fibers
77 from other threads to balance the number of fibers per thread. If threads
8- cannot find work, they will go to sleep. A separate heartbeat thread is used
9- to wake up threads periodically. All of this means that this scheduler
10- should act relatively fairly and work well for concurrent workloads and
11- workloads where fairness matters and that short bursts of parallelism should
12- not cause slowdowns. This scheduler also gives priority to fibers woken up
13- due to being canceled.
8+ cannot find work, they will go to sleep. A separate heartbeat thread wakes
9+ up threads periodically. All of this means that this scheduler should act
10+ relatively fairly and work well for concurrent workloads where fairness
11+ matters and that short bursts of parallelism should not cause slowdowns.
12+ This scheduler also gives priority to fibers woken up due to being canceled.
1413
1514 🐌 Due to mostly FIFO scheduling this scheduler performs poorly on CPU bound
1615 fine grained parallel workloads.
You can’t perform that action at this time.
0 commit comments