4 ms·
It only has to happen once.
by ahupp 6y ago
It only has to happen once.
- wtallis 6y agoOnce per process. I doubt operating systems will start modifying executables and libraries on-disk to tag them as using relevant instruction set extensions. And generally speaking, when an application first starts issuing SIMD instructions, that's probably not the a great time to be interrupting it even if it only needs to happen once.
- loeg 6y agoYou could imagine it as an ELF note of some kind. It's not a direction I've love to go in, and catching illegal exception traps seems fast enough that the more complicated design doesn't seem worthwhile.
- gpderetta 6y agoonce per process is perfectly fine. the issue is that once you have an active process using a feature only available on the larger cores, you can't shut off the larger cores to save power without paying a large latency to wake up that process.
- saagarjha 6y agoWell, once when it's about to try to wring maximum performance out of the processor, and if you only do it once you're ensured that your smaller cores never get used…