4 ms·
Thread migration only costs on the order of 100 microseconds, including the effect of cold caches. If you keep the AVX thread on the big core for at least 100 m
by pocak 6y ago
Thread migration only costs on the order of 100 microseconds, including the effect of cold caches. If you keep the AVX thread on the big core for at least 100 milliseconds at a time, you only lose ~0.2% performance.
- ww520 6y agoGood to know the switching cost is low. Runtime profiling would be key to provide insight into when to switch back.