AVX-512 Is an Intel Gimmick To Win Benchmarks and should die a painful death
Click here to post a comment for AVX-512 Is an Intel Gimmick To Win Benchmarks and should die a painful death on our message forum
Gomez Addams
mbk1969
https://en.wikipedia.org/wiki/Protection_ring). Kernel code being executed in ring 0 can call any instructions. User code being executed not in ring 0 can execute only unprivileged instructions. That`s to my understanding. Do you imply that kernel can switch the access to CPU instructions on the fly?
If you make a cryptography a part of the OS kernel - that`s a bad design in my eyes. But of course, I am not Torvalds.
Also it can be that the term "OS kernel" is overused and even misused in the link you provided. Because OS kernel - is the core of OS, and cryptography doesn`t look like a part of OS core: part of OS, but not part of the kernel.
How?
There are CPU instructions called privileged - these instructions can be executed only from the ring 0 (mbk1969
TieSKey
bobblunderton
Beamng.drive uses all floating point numbers to run the entire game, from the constant 2000hz physics on each vehicle (which is hundreds or thousands of different points or nodes/beams), to the rendering engine and even object placement. AVX can save time IF the processor you're using has it.
Floating point has been used for games ever since Doom, heck even Tank Wars might use it - though I'm not 100% sure (was a free 'worms' / scorched earth clone). Yes I still play Tank Wars (and Doom) is Dos on at-least a monthly basis.
Thus far VERY FEW processors except some XEON workstation and server processors and HEDT (79xx ~ 10xxx X and XE series on x299) have it.
So if you don't have market penetration to a significant degree - because intel artificially segmented the market due to GREED, never mind the excess heat it generates (you almost NEED liquid cooling to really use it for extended periods), no one will use it if there's next to no market penetration for it / almost no one has it.
So while AVX2 is a god-send if you use a lot of floating point operations and can use AVX to accelerate it further, if there's only 1~3% (max!) market penetration (of AVX-512) and even less than that with the ability to cool the chip properly while using it for extended computation/runs, there's never going to be a use for it.
That'd be like owning a flying car but never being allowed to get it off the ground legally. It's not like MMX, SSE, or 3DNOW! extensions which actually helped because they started putting them on everything after a certain date.
Looked great on paper, but until it goes mainstream, it's unlikely anyone will write code to feed it properly/efficiently. If intel doesn't see to include it on mainstream chips, it's never going to go anywhere - same with AMD.
Look how many years it took quad cores to get to be the sweet spot for gaming!
TieSKey
mbk1969
I found the answer:
And before that:
But still - that`s one place in the kernel scheduler. I mean it should not spread across whole OS kernel source code.
PS Context saving code should be in HAL (behind HAL?), most probably...
schmidtbag
Carfax
Mineria
https://en.wikipedia.org/wiki/AVX-512
Since Linux also is used for latency sensitive HPC workloads, Linus has no choice but to add support for it, he is probably just venting since there is quite an amount of extensions he had to cover.
Mineria
Gomez Addams
Gomez Addams
Carfax
Carfax
mbk1969
Noisiv
JamesSneed
Carfax
Source
AVX has 256 bit support, but it's restricted to floating point only. AVX2 added 256 bit support for integers, and also added FMA for double throughput.
mbk1969