logoalt Hacker News

wannabe44today at 10:19 AM5 repliesview on HN

This. I don't want your browser engine to use all my cores. I want the rest of my cores to be compiling C++.


Replies

fifiluratoday at 10:36 AM

It is not really about reserving cores.

Just that - even if you distribute work to a number of cores (that itself limited), you still need to sync the execution. So unless you have some bigger chunks of computation, the performance increase will be very small.

And yes, there are bigger chunks of work when rendering a web page, but that is typically already outside the css engine and can be distributed without having to rewrite the core engine.

But my comments are a bit generic here, so I am open to comments regarding this particular project.

show 1 reply
theandrewbaileytoday at 11:32 AM

I want all my software to use all my cores, because I'll have twice as many within 5 years.

show 1 reply
skavitoday at 10:24 AM

that's something you, the user, are free to enforce with priorities, pinning, etc.

speed_spreadtoday at 12:07 PM

It's more efficient to use all the cores briefly and go back to whatever background task than have long running mixed load. This also matches performance expectations, you generally want the web page displayed _now_ and the compile to finish ASAP while accepting it will take _some_ time.

show 1 reply
poly2ittoday at 10:23 AM

Thanks to the scheduler, you can do both!