News for hackers. Stuff that matters.
Re:Intel Discloses Lakefield CPUs Specifications by ww520 on Wednesday June 10, 2020 @05:40PM (#23482477)
Yes, even if the process has 1 avx2 instruction, it will be scheduled to run on the main CPU. I mean you could switch the process back to the small CPU when you detect a long stretch of opcode without the avx2 instruction, but the constant switching between the main CPU and small CPU probably is not good for performance.
Re:Intel Discloses Lakefield CPUs Specifications by pocak on Wednesday June 10, 2020 @06:03PM (#23482681)
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.
Re:Intel Discloses Lakefield CPUs Specifications by ww520 on Wednesday June 10, 2020 @10:54PM (#23484786)
Good to know the switching cost is low. Runtime profiling would be key to provide insight into when to switch back.