Hacker News new | ask | show | jobs
by HervalFreire 1195 days ago
Right, the scenario you describe is exactly WHAT I mentioned: Competing tasks for threads.

This article is NOT exactly about that. It's about allocating more threads to a thread pool. I'm addressing the pointlessness of using PID controllers for allocating new threads.

So your point is mistaken and redundant to mine.

1 comments

Not exactly about that? It's literally the example from the motivation. The first thing I do in the plan section is to say "Let's focus on a single stage of the pipeline to make things easier for ourselves." and in the contributing section "We've only looked at one stage in a pipeline, what happens if we have multiple stages? is it enough to control each individual stage separately or do we need more global control?".
The example is about allocating threads to threadpools.

It is not about utilizing existing threads in threadpools.

Thats where YOU are mistaken. Your example has threads preallocated to core affinity. Which is what Im saying when I say run all pistons on the engine even when idle.