Hacker News new | ask | show | jobs
by pocak 2204 days 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.
1 comments

Good to know the switching cost is low. Runtime profiling would be key to provide insight into when to switch back.