Re:No More Callbacks: 10,000 Actors, 10,000 Threads, 10,000 ...
by pron on Wednesday October 16, 2013 @01:32PM
(#6560944)
We've experimented with reduction-based preemption but saw no perceivable performance benefit (you can look at the Fiber class code and see them commented out). We might bring it back if we find a good use for it.
[ Parent
| on HN ]
Re:No More Callbacks: 10,000 Actors, 10,000 Threads, 10,000 ...
by lmm on Thursday October 17, 2013 @08:32AM
(#6564903)
Does that mean this system is inappropriate for CPU-bound tasks?
Re:No More Callbacks: 10,000 Actors, 10,000 Threads, 10,000 ...
by pron on Thursday October 17, 2013 @08:37AM
(#6564925)
The spaceships demo is very much CPU bound.
But, at least for the time being I wouldn't run a long-running, CPU heavy computation in a fiber, but in a plain thread. Fibers work best when they block often.