Trading off safety and performance in the kernel
Trading off safety and performance in the kernel
Posted May 14, 2015 23:42 UTC (Thu) by dlang (guest, #313)In reply to: Trading off safety and performance in the kernel by mjg59
Parent article: Trading off safety and performance in the kernel
> Yes. Even the most shallow C state will unclock the core, and running at 0MHz is somewhat cheaper than running at 500MHz.
remember that switching C states isn't free (in either energy or time), so it may not be a win if you don't stay there very long.
We obviously have very different expectations in how the hardware is going to behave at the different states. But keep in mind that I'm not saying that reducing the clock speed is always the right thing to do, I am just unconvinced that it's never the right thing to do the way that you seem to be.
Posted May 14, 2015 23:56 UTC (Thu)
by mjg59 (subscriber, #23239)
[Link]
Posted May 15, 2015 4:46 UTC (Fri)
by marcH (subscriber, #57642)
[Link] (1 responses)
I had to waste 5 minutes reading the entire thread again to make sure I did not dream and that the exact opposite happened.
Posted May 15, 2015 19:55 UTC (Fri)
by bronson (subscriber, #4806)
[Link]
Posted May 15, 2015 4:51 UTC (Fri)
by mjg59 (subscriber, #23239)
[Link]
> But keep in mind that I'm not saying that reducing the clock speed is always the right thing to do, I am just unconvinced that it's never the right thing to do the way that you seem to be.
From https://lwn.net/Articles/644541/ (written by you)
> If you are saving the contents of RAM to disk, then you aren't going to finish any sooner at 5GHz clock than at 500MHz, the limiting factor is going to be your disk I/O performance. So if you can do this at 500MHz rather than 5GHz, you generate significantly less heat.
From https://lwn.net/Articles/644549/ (written by me)
> I'm not saying that it's impossible, but it's certainly not obvious.
…
Trading off safety and performance in the kernel
Trading off safety and performance in the kernel
Trading off safety and performance in the kernel
Trading off safety and performance in the kernel