3 ms·
> If you add up an optimization of just a nanosecond in like openSSH, how much would that do globally? I believed optimizations like that at a global scale wil
by georgyo 5y ago
> If you add up an optimization of just a nanosecond in like openSSH, how much would that do globally?
I believed optimizations like that at a global scale will not have any impact.
Lets say that this nanosecond will be saved trillions of time a day. Resulting in minutes to an hour a day saved globally.
* Not a single user will notice.
* In 99.99% of cases the CPU will not be fully pegged and thus that one nanosecond of compute will not be used to do something else at all.
* CPU throttling isn't that fast so, you won't even save that much power.
If we bump it up by 6 orders of magnitude to a millisecond that all remains true. Even though you are potentially saving 100s of years of computing time a day. Extremely small gains distributed across very large number of machines don't tend to be as impactful as you would hope on a global scale.
This is not to say that small gains are worthless. Many small gains added together can be substantial.
- DudeInBasement 5y agoIt's not the through put, but the fact when the CPU is idle it is sleeping saving power. This is true on mobile, not for servers as internally they'll poll their ethernet phys.
- gameswithgo 5y agoIf you make a bicycle one second faster over 40 kilometers, the user does not notice. But the user does win the race by 1 second instead of losing it. That is, things can be of enormous utility even when the user doesn't notice.