Live data from Hacker News

Linus Torvalds on AVX512

phoronix.com

21–30 of 124 posts

Re: Linus Torvalds on AVX512

#21

The very wide AVX stuff with integer ops, like these from wiki: - AVX-512 Byte and Word Instructions (BW) – extends AVX-512 to cover 8-bit and 16-bit integer operations[3] - AVX-512 Integer Fused Multiply Add (IFMA) - fused multiply add of integers using 52-bit precision. could be very useful. I could have done with those recently. They also don't (AFAIK) cause cpu scaling (polite term for downclocking). He may well…

52 bit precision? typo?

Sounds suspiciously like integers in the float mantissa

Re: Linus Torvalds on AVX512

#23

What are the forces in chip design that are at play here? Over the last 10-15 years, fabs have continued to fit more and more logic gates per unit area, but haven't reduced the power consumption per gate as much. As a result, if you fill your modern chip with compute gates, you cannot use them all at once because the chip will melt. Or at least you can't have them all running at max clock rates. One solution is to in…

AVX is not a "special purpose block", it's Intel's answer to not adding special purpose blocks on customer demand, like you can do with ARM. Crypto or video decoding comes to mind, those would be much faster with dedicated silicon, but more general AVX instructions can get you halfway there. Well, maybe a quarter. People point out that AVX uses a lot of power, but they ignore that the same algorithm running instead o…

> but more general AVX instructions can get you halfway there

Maybe misunderstand you but there are some fairly non-general ops for encoding/decoding crypto

https://en.wikipedia.org/wiki/AVX-512#VAES

Re: Linus Torvalds on AVX512

#24
post #16
post #8

Earlier quoted context omitted.

Yes the future is probably ARM/RiscV with many cores + GPU + some AI/ML/FPGA/Whatever co-Processor.

So what Apple are doing then.

What the actual fastest Supercomputer (Fugaku) already did, and all the Smartphones before ;)

Re: Linus Torvalds on AVX512

#25

Are Intel just delaying the inevitable? Is it safe to say (even today) that a slow GPU will crunch big matrices faster than a fast CPU? And that's before we get to price/performance. So all that's left is the bottleneck around PCIe which, in theory, leaves the CPU with an advantage only for small datasets - which we don't really care about anyway (because they happen quickly). Maybe the tradeoff is somewhere interest…

CPUs does not win in smaller datasets but in small computations.

Re: Linus Torvalds on AVX512

#26

The very wide AVX stuff with integer ops, like these from wiki: - AVX-512 Byte and Word Instructions (BW) – extends AVX-512 to cover 8-bit and 16-bit integer operations[3] - AVX-512 Integer Fused Multiply Add (IFMA) - fused multiply add of integers using 52-bit precision. could be very useful. I could have done with those recently. They also don't (AFAIK) cause cpu scaling (polite term for downclocking). He may well…

52 bit precision? typo?

Well caught. But https://www.felixcloutier.com/x86/vpmadd52luq

Re: Linus Torvalds on AVX512

#27

The very wide AVX stuff with integer ops, like these from wiki: - AVX-512 Byte and Word Instructions (BW) – extends AVX-512 to cover 8-bit and 16-bit integer operations[3] - AVX-512 Integer Fused Multiply Add (IFMA) - fused multiply add of integers using 52-bit precision. could be very useful. I could have done with those recently. They also don't (AFAIK) cause cpu scaling (polite term for downclocking). He may well…

If he was right with FP, he'd know better than the business analysts at Intel. Instead, his opinion is based on what the market looked like thirty years ago. Nine years ago, AMD tested the hypothesis that really more "cores" and higher integer throughput were all that was needed and that FP performance didn't matter. The resulting architecture (Bulldozer) was a near-fatal disaster. It didn't even work out in the data…

AMD is currently giving intel great pain. So much for business analysts at Intel.

Re: Linus Torvalds on AVX512

#28

The very wide AVX stuff with integer ops, like these from wiki: - AVX-512 Byte and Word Instructions (BW) – extends AVX-512 to cover 8-bit and 16-bit integer operations[3] - AVX-512 Integer Fused Multiply Add (IFMA) - fused multiply add of integers using 52-bit precision. could be very useful. I could have done with those recently. They also don't (AFAIK) cause cpu scaling (polite term for downclocking). He may well…

52 bit precision? typo?

52 bits is the size of the mantissa in an IEEE 754 double precision floating point

Re: Linus Torvalds on AVX512

#29

What are the forces in chip design that are at play here? Over the last 10-15 years, fabs have continued to fit more and more logic gates per unit area, but haven't reduced the power consumption per gate as much. As a result, if you fill your modern chip with compute gates, you cannot use them all at once because the chip will melt. Or at least you can't have them all running at max clock rates. One solution is to in…

Jim Keller had an interesting talk recently [1] about ways of doing parallel processing to better us the billions of transistors we have - assuming the task is parallelizable. There's the scalar core (i.e the basic CPU) which is easy to program realtively. Then a scalar core with vector instructions - difficult to program efficiently. Then there are arrays of scalar cores, i.e. GPUs, so relatively easy to program again, and now a lot of startups with arrays of scalar cores each with vector engines, so expected to be most difficult to program. He didn't go into why vector instructions are hard to use efficiently, and hard for compiler writers, but I'd be interested if anyone here could explain that.

1. https://youtu.be/8eT1jaHmlx8

Re: Linus Torvalds on AVX512

#30

Earlier quoted context omitted.

If he was right with FP, he'd know better than the business analysts at Intel. Instead, his opinion is based on what the market looked like thirty years ago. Nine years ago, AMD tested the hypothesis that really more "cores" and higher integer throughput were all that was needed and that FP performance didn't matter. The resulting architecture (Bulldozer) was a near-fatal disaster. It didn't even work out in the data…

AMD is currently giving intel great pain. So much for business analysts at Intel.

AMD is doing well in the CPU market today _because_ they reversed course from the Bulldozer-based architectures.
Post reply on HN