4 ms·
That's not how it works on modern CPUs. Power draw at "100%" utilization can vary widely depending on what part of the core is being utilized. The SIMD units ar
by silotis 3y ago
That's not how it works on modern CPUs. Power draw at "100%" utilization can vary widely depending on what part of the core is being utilized. The SIMD units are typically the most power hungry part of the CPU by a large margin so just because a job finishes in less time doesn't mean total energy is necessarily lower.
- wmf 3y agoI'm assuming that both SHA256 and Blake3 are using integer SIMD.
- api 3y agoIn some CPUs that may be true, but in many there are dedicated SHA instructions that amount to a SHA ASIC in the CPU. AES units are even more common. Most non-tiny CPUs have them these days.
- wmf 3y agoThe AES and SHA instructions are part of the vector units so their energy will be similar to other integer SIMD instructions. The overhead of issuing the instruction is higher than the work that it does so the details don't matter.