4 ms·
Please pardon my inexperience, but at what scale does this become significant? Where I've worked readability/clarity/technical-debt have always taken more prima
by techbio 8y ago
Please pardon my inexperience, but at what scale does this become significant? Where I've worked readability/clarity/technical-debt have always taken more primary positions as relates to expected costs.
Would you mind linking a reference or example describing the trade-offs in this?
- deleted 8y ago[deleted]
- the8472 8y agoA great effort was untertaken to wean kernels from relying on regular ticks[0][1]. This benefits power consumption on mobile devices but also makes it easier to dedicate some cores 100% to latency-sensitive tasks. Specifically on windows applications have been optimized to make less use of the QueryPerformanceCounter API because it causes the kernel to wake up cores more frequently, again increasing power consumption. Browsers also clamp the frequency of timer wakeups in background tabs to reduce wasted CPU cycles. A javascript in a browser waking up once a second doesn't matter much. But hundreds of browser scripts and smartphone apps all waking up once a second at different offsets effectively means waking up every few milliseconds. [0] https://lwn.net/Articles/549580/ https://lwn.net/Articles/549580/ [1] https://en.wikipedia.org/wiki/Tickless_kernel https://en.wikipedia.org/wiki/Tickless_kernel