Originally posted by davidbepo
View Post
Announcement
Collapse
No announcement yet.
Intel Adds AVX2/FMA Optimized Math Functions To Glibc 2.27
Collapse
X
-
- Likes 1
-
Originally posted by PuckPoltergeist View PostAdditionally, we're speaking about special math functions. Only few programs will take benefit from this, and there are already special libraries for this, with highly optimized code.
I'd like to disagree. Sure, scientific software uses specialised libraries for all its fancy maths needs. However, most software only needs some simple math. Almost everything on your typical Linux desktop system links against libm (often to get exactly these functions). We are talking about optimisations of the basic trigonometry functions (sin/cos, etc) here. These functions from the C standard library are used in many things, notably GUI toolkits, graphics libraries, games, codecs, pretty much anything graphics/multimedia related, etc ... I am sure it will make a difference in quite a few benchmarks.
- Likes 1
Comment
-
Originally posted by ermo View Post
I think the timing of this is fairly suspicious. AVX2 has been available since Haswell. Now Zen has landed and ThreadRipper is competing with Skylake-X in the lucrative HEDT market, intel suddenly decides to contribute code to glibc that boosts AVX2, with it being well-documented that this is one of the weaker spots on zenver1? Yeah, totally a coincidence...
- Likes 6
Comment
-
Originally posted by ermo View Post
I think the timing of this is fairly suspicious. AVX2 has been available since Haswell. Now Zen has landed and ThreadRipper is competing with Skylake-X in the lucrative HEDT market, intel suddenly decides to contribute code to glibc that boosts AVX2, with it being well-documented that this is one of the weaker spots on zenver1? Yeah, totally a coincidence...
(well half of them was a few more weeks ago)
HJ then made the code more pretty and upstreamed it into glibc.
I and others have been working on such optimizations via Clear Linux for over two years now (since the start of CL) well before Zen was known
- Likes 6
Comment
-
-
Originally posted by ermo View Post
I think the timing of this is fairly suspicious. AVX2 has been available since Haswell. Now Zen has landed and ThreadRipper is competing with Skylake-X in the lucrative HEDT market, intel suddenly decides to contribute code to glibc that boosts AVX2, with it being well-documented that this is one of the weaker spots on zenver1? Yeah, totally a coincidence...
Comment
-
Originally posted by tajjada View Post
Hey, an improvement is an improvement. Even if it benefits Intel more than AMD, both will likely benefit. Unlike the ICC controversy, this does not seem to be something that actually harms/boycotts AMD. Just sounds like some good competition from AMD motivated Intel to contribute some improvements, whereas before nobody bothered. This is a good thing for everybody. As a company, of course they are going to focus on things that benefit their products the most. Nothing wrong with it, as long as they are not intentionally sabotaging AMD like they did with ICC. Yes, AVX2 has existed since Haswell, but better late than never. Lots of software is continuously updated all the time to make better use of the capabilities of newer processors. If AMD CPUs are inferior to Intel's for these instructions/workloads, then ... well ... AMD should work on improving their CPUs.
Comment
-
Originally posted by tajjada View Post
I'd like to disagree. Sure, scientific software uses specialised libraries for all its fancy maths needs. However, most software only needs some simple math. Almost everything on your typical Linux desktop system links against libm (often to get exactly these functions). We are talking about optimisations of the basic trigonometry functions (sin/cos, etc) here. These functions from the C standard library are used in many things, notably GUI toolkits, graphics libraries, games, codecs, pretty much anything graphics/multimedia related, etc ... I am sure it will make a difference in quite a few benchmarks.
In other words this is a good thing but lets not get too excited about having mini Crays on our desk. The reference to Crays is a bit funny in that with the right section of components these days you can have the equivalent of many Crays on your desk, but that is another thread.
Comment
-
Originally posted by arjan_intel View Post
actually I was bored last weekend and saw these show up in profiles.... so I poked and optimized and stuck there result in Clear Linux.
(well half of them was a few more weeks ago)
HJ then made the code more pretty and upstreamed it into glibc.
I and others have been working on such optimizations via Clear Linux for over two years now (since the start of CL) well before Zen was known
- Likes 2
Comment
-
Originally posted by wizard69 View PostIn other words this is a good thing but lets not get too excited about having mini Crays on our desk. The reference to Crays is a bit funny in that with the right section of components these days you can have the equivalent of many Crays on your desk, but that is another thread.Last edited by torsionbar28; 19 August 2017, 10:51 PM.
Comment
Comment