488 points · by pella · 7y ago · 337 comments
And that's just cheating anyway. Intel's libraries refuse to use some instructions on AMD's CPU that the CPU supports, and instead downgrade to slower legacy versions. Cite[0].
There are two problems here.
The first problem is that AMD does not provide versions of those libraries tuned for AMD hardware. The investment of AMD into software for their hardware is close to zero, and without software, hardware is irrelevant. AMD has this problem when competing against nvidia in the GPU space, and against intel in the CPU space.
The second problem is that buyers of AMD products demand that Intel would release their software optimized for AMD products as well, which is just nonsensical. First, Intel is not required to do this and have no reason to do so - if this software doesn't work for your hardware, either buy Intel, or use something else. Second, these people don't expect AMD to provide these libraries, and aren't willing to provide them themselves, so... combined with AMD culture of not investing in software, nothing will happen.
That link is 10 years old, but these issues are at least 10 years older. That is, AMD has had 20 years to fix this, and nothing has happened.
I mean, this might sound like captain obvious, but Intel and Nvidia have super good profilers for their hardware (VTune and Nsight). AMD provides uProf, which sucks, so if that is what their engineers are using for their libraries, it isn't a surprise that they don't perform good.
This helps quite a bit with Matlab (which uses MKL) as well.
For Blas/Lapack like libraries look for Blis and libFLAME.
Gcc-9.2.0 isn't bad, but if you want Zen2/Rome/Ryzen 3xxx optimizations I'd recommend AMD's AOCC, which is a tuned version of LLVM (including c, c++, and fortran).
If you need FFTs look at amd-fftw.
Basic low level math (pow, log, exp, exp2 and friends) library look at the "AMD Math library (libM).
It may be not-nice for Intel to use this form of "DRM" to lock their high-performance compiler to Intel chips, but they don't owe AMD users a high-performance compiler.
Now, if vendors are shipping pre-compiled software that has the enabled-for-Intel-only fast-paths and don't ofter AMD-optimized versions, those vendors are misbehaving (intentionally or not).
If AMD have made different choices about AVX implementation, then benchmarking becomes difficult.
Intel benchmarks for sustained AVX512 load (HPC measuring contests) cannot be used to extrapolate for normal mixed loads (single or or short bursts of AVX512 instructions).
Edit: are there better links on the true costs of AVX512?
[1] https://lemire.me/blog/2018/09/07/avx-512-when-and-how-to-us...
[2] https://news.ycombinator.com/item?id=21031905
Also see: https://blog.cloudflare.com/on-the-dangers-of-intels-frequen...
From the AnandTech review, 3D particle test was showing AVX512 effect nicely:
https://images.anandtech.com/graphs/graph15044/113590.png
10980XE had 3.9x speedup compared to 3970WX per core using AVX512.
So for some scientific computing purposes (maybe game physics?) AVX512 is worth it.
Example: Let's say that, for whatever reason, you have a vector struct containing 3 doubles, and another 64 bits of arbitrary data. Now, if you want to add those vectors together, keeping the arbitrary data of one element, that's quite difficult to do with AVX2. In AVX512, you can just set the bits of the mask to zero to exclude them from the operation, making it trivial.
It's useful for crypto. I haven't measured myself, but I expect AVX-512 roughly doubles the throughput of ChaCha20. (Not only do you have 2x as many lanes, you also have new bit rotation instructions.) Something similar applies if you use a tree hash like KangarooTwelve.
Whether your application is actually bottlenecked on crypto performance is another question of course.
Cloudflare's chip where they saw the problems, was the Xeon Silver 4116: https://en.wikichip.org/wiki/intel/xeon_silver/4116#Frequenc...
Note that for most AVX workloads, it's fine. AVX2 sees a very minimal clock speed drop until almost all cores are actively engaged in the work. It's also worth mentioning that since Haswell days, the CPU groups cores doing AVX work together, to reduce the likelihood of the downclock impacting non-AVX work (I am somewhat curious what the impact on L1 / L2 caching is from that). AVX-512 is where it can hurt, but it really depends on the workload. Lots of AVX-512 instructions and you're fine, the throughput of the AVX-512 instructions is higher than scalar or AVX2 instructions, even with the down-clock.
The important thing to note here, is that Cloudflare went with what amounts to a bargain basement server CPU. It's almost on the absolute bottom end of the range, and it's a chip not designed for AVX workloads (or indeed anything resembling high performance work). Just take a look at the product brief from when the family was launched (page 8): https://www.intel.com/content/dam/www/public/us/en/documents...
If they'd actually taken a chip range designed for the workload, even at the bottom end of that range, just $100 or so more than the one they did choose: https://en.wikichip.org/wiki/intel/xeon_gold/5115#Frequencie...
Notice that it can handle a fair level of AVX-512 instructions before it down-clocks, and even then it takes a while before the down-clocking amount is significant, and it can handle significant AVX2 workloads before the maximum frequency gets affected at all (at the point where AVX2 starts causing it to down=clock, you'd be more than reaping the benefits of the faster instructions).
For just a few hundred more dollars: https://en.wikichip.org/wiki/intel/xeon_gold/6126#Frequencie..., you can be utilising all the cores doing AVX-512 instructions and still be faster than the not-designed-for-the-workload chip that Cloudflare cheaped out on.
Note: These extra costs on CPUs are negligible when you take in to account depreciation, server lifetime etc. The biggest lifetime cost of a rack of servers in production is never the cost of the servers. It's your other OpEx. Cheaping out on server processors is a perfect example of what AWS employees call "Frupidity": Stupidity through Frugality. (Frugality is a leadership value in AWS, and sometimes it leads to the most phenomenally stupid things happening)
Shift up in to the slightly more premium range, towards the kinds of chips you're likely to be running on in cloud platforms: https://en.wikichip.org/wiki/intel/xeon_platinum/8124#Freque...
You can be using all cores with AVX-512 instructions, and see a drop of only 300Mhz, on the entry level platinum chip from that same year as Cloudflare's chip.
https://images.anandtech.com/doci/15044/3970X%20Task%20Manag...
https://youtu.be/fBxtS9BpVWs?t=200
Looks like Microsoft has already got 1000+ cores on Windows: https://techcommunity.microsoft.com/t5/Windows-Kernel-Intern...
Can we get Bruce Dawson[0] one of those? I wonder how many more bugs he'll run into.
Anyone? Got a spare one lying around?
See the diagram on page 6, they have a custom routing chip to link up 8 boards over UPI.
Knight's Landing supports 4-wide threading per core so you get 256 threads, which is exactly what it shows in task manager under "logical processors".
Oh yeah, especially because core affinities in Windows get all wonky once you go above 64 threads.
Can you elaborate? I haven't noticed any particular "wonkiness" happening?
The last Sun chips (Niagara / Ultrasparc Tx) also had pretty high count, IIRC they had 64 threads / socket, and were of course multi-socket systems. At 1.6GHz they were clocked pretty low for 2007 though.
Anyway, each of those lights was "on" when a core was utilized, and "off" when a core was off.
https://upload.wikimedia.org/wikipedia/commons/6/61/Frostbur...
https://en.wikipedia.org/wiki/FROSTBURG
https://en.wikipedia.org/wiki/Connection_Machine
Although this particular bout of verbalised obscenity did just make me change my default browser search engine to duck duck go as Google crossed out 'supercomputer' as missing from its query, which was annoying as it was 50% of my sodding query and, technically, the only correct bit. Google search is totally crap these days.
Oh, sorry for the typo. I just fixed it. It used to say "CX-5", I must have been thinking about Mazda cars or something when I wrote the post...
While it retained the LEDs, I don't think they had the same 1:1 correspondance to cores of the previous model: the CM1 and CM2 up to 65536 cores (the CM2 also had an FP coprocessor for 32 cores, for an additional 2048 special-purpose cores) whereas the CM5 had "only" 1056 processors.
sum of core % utilization
-------------------------
number of cores
In a system with hundreds of cores, (predominantly) single-threaded processes' CPU utilization will therefore appear to be identically zero.The "Processes" tab improves on this slightly by adding a single decimal digit, but this display still becomes less and less useful as core count increases because its precision remains inversely proportional to the number of (virtual) cores in the system.
This change means that Chrome's task manager can show CPU usage percentages that are higher than 100%, but that is fine. The percentage is simply the percentage of a logical processor that is being used and 200% means that two logical processors are being used. Simple, easy to understand and explain.
[EDIT: 256 threads in htop on ARM] https://www.servethehome.com/wp-content/uploads/2018/05/Cavi...
In the "HEDT" space, the media coverage and forum chitchat is mostly for users who by these cards for decorative purposes, not work purposes. People buying for real work need realistic test measurements on realistic workloads.
A good point for people looking to use this in their home server like I am. It’s going to be really hot if you’re getting your money out of it.
At some point there’s not an efficient way to cool these processors when the ambient room temperature rises too high. Anyone have suggestions for that? I’m in a weird position where power is cheap but I can’t AC my garage (where it’s located).
Super ghetto but actually pretty efficient at bringing the server's temperature down.
The cores start to throttle at 70C, which is far hotter than even the hottest garage.
Thermal dissipation however is proportional to delta-T (change in temperature).
A 25C ambient will provide delta-T of 45C, but a 35C ambient will provide a delta-T of 35C: so your 35C ambient garage will reduce performance by at least 22% compared to 25C.
----
Note that Intel chips can go all the way to 95C or 100C, making cooling a far easier problem. So you're already dealing with a lower Delta-T when you use these AMD chips that throttle at 70C. (To be fair: AMD and Intel's measurement systems are a bit different, so we can't compare them directly. But IIRC, most people have a slightly easier time cooling Intel chips).
AMD spent the extra few $ for a good thermal connection between the silicon and the heat spreader.
The new threadripper and Epyc chips are also physically quite large. It's much easier to cool the head spreader with 8 hot spots spread across the chip than a single smaller hot spot.
So generally it's easy to get 180 watts out of a threadripper/Epyc chips than the equivalent Intel. In fact some of the highest end chips are not considered feasible to cool on air. It's either water cooling of throttling, like in the new Intel based Frontera (don't confuse that with the AMD based Frontier cluster).
Basically keeping a dual socket Xeon 8280 cool without throttling is not practical on air.
Finding an AIO with a waterblock that will cover a Threadripper is very difficult though. It's one of the reasons why I'm sticking with an overclocked 12 core Ryzen.
AFAIK the Enermax TR4 is the only AIO that covers the TR4 but it has mold issues that cause it to degrade over a few months. It has 2 stars on Newegg right now.
Even if you left it on 24/7, it would take you a year and a half to make up the difference in price between the $2000 AMD and the $3000 Intel. If we assume both chips have identical performance, the Intel would cost $4350 to run over 5 years vs $3480 for the AMD (assuming 24/7 at all cores). The total cost of ownership for that Intel chip over 5 years seems to be around 2x that of the AMD chip.
I'd note we've been talking about 32 cores 24/7. If you're using 4 cores and 8 threads, you will be using half the power (about 140 watts). If your system is idling, it's using a bit less than 50 watts.
Let's say you leave your system on 24/7. You work 8 hours, play 4 hours (4 cores, 8 threads constantly running), and it idles the other 12 hours. We'll assume that you somehow max all cores for your entire workday and max 4 cores during play. You'd be well under half that price per month.
Change all-out time to a more reasonable, but still strenuous 4 hours with 8 moderate hours and shutting off your computer at night will get you down to less than $20 per month.
In CA there's also the issue of not having electricity in the first place sometimes though. So power _consumption_ seems kind of secondary.
These chips don't run at a fixed frequency. They dynamically adjust based on thermal limits and power limits.
You only have to burden most of the cores/ALUs to hit maximum power. Any load above that threshold uses the same amount of power, as frequencies nudge down to compensate.
Personally I'm not that interested in extreme power at the cost of extreme heat. I'm more interested in enough power with as little heat as possible. I find it hard to figure out which processor is the best fit for that these days, but I guess this one isn't it.
Pioneer had the best bang-for-the-buck the last time I checked.
I live in Idaho and keep my 24U rack in my office, total idle draw on it is now around 4A@110V and considering power tops out at $0.11/KWh during the summer there's no real reason to colo it somewhere else.
The downside is of course the price at >$5k for a 24U.
[1]: https://www.blackbox.com/en-us/store/Detail.aspx/ClimateCab-...
TL;DR: a short "geothermal" ground loop.
https://www.anandtech.com/show/15151/amd-preannounces-64-cor...
Consider adding Linux as the underlying platform for some of your tests. Not only it's usually easier to script repeatable developer-oriented workloads, but your reviews will be more comprehensive as well. The Linux scheduler is quite different and more advanced (as illustrated by vastly different Gen 2 Threadripper performance on Windows vs Linux), and your articles have not been capturing this.
I can see why Linux is not yet the mainstream for gamers, but this OS should be more popular among the HEDT crowd.
For example in articles like this where you include older chips are you just listing the numbers from previous benchmarks, or are all running on the same patch level/OS?
And golem.de (link in german, see table at the end of the page): https://www.golem.de/news/threadripper-3970x-3960x-im-test-a...
Pair one of these Threadrippers with a pair of the fastest NVMe SSD's out there, with plenty of high performance DDR4 memory and you've got a near supercomputer from recent past in terms of performance.
https://openbenchmarking.org/embed.php?i=1911248-HU-THREADRI...
Wouldn't count on it. I can't remember the specifics, but we're coming up on the end of the vague time range that AMD said they'd support the AM4 socket. They talked about how difficult and expensive it was to get the interposer to connect the new chiplets to the old pins on the socket. I think Lisa Su also implied in an interview that AM4 is nearing it's end. In any case, DDR5 is coming in the next year or two which would necessitate a new socket, so I'd guess one more generation on AM4 at most.
The Threadrippers are the same cpu with just more of them so I'm sure they do well also.
Even with a fast SSD on my lowly i7, I often wind up sitting at IO or lock contention instead of actual CPU bottlenecks (although it could be argued faster CPU = faster lock release = faster compilation).
So there's that. I'd give them a break with the fact they also had to produce the review for Intel's launch on the same day: https://www.anandtech.com/show/15039/the-intel-core-i9-10980...
On the other hand bench results have to be comparable and relevant (in time). Which is easy when you run the same still widely played GTA V year after year on every new CPU. But comparing compilation time for kernel version 3.11 (released at the same time as GTA V) seems a lot less relevant today.
AMD64 has 16 64 bit registers, but Ryzen actually has 168 behind the scenes so it can pipeline and reorder multiple instructions simultaneously. That's almost 1.5KBytes of memory, more than some microcontrollers have in ROM or RAM.
Incredible how cheap storage is now.
I mean I would also be afraid that Amd has a
> Manufacturing Process
> Performance
> Power Consumption
= IPC
Intel 10980XE: https://youtu.be/vuaiqcjf0bs
AMD 3970X/3960X: https://youtu.be/a8apEJ5Zt2s
Are they refusing or are they not able to produce them ?
Threadripper 3 doesn't offer any 16-core offering. The smallest Threadripper 3 is 24-cores (the 3960x).
Tangent, but is this really a play on words? And if so, what is the other meaning here?
I get the meaning where lots of cores are ripping through workload. But the other one I don't. The closest guess I have is that it's like a comic book hero (The Incredible Hulk) ripping through his clothes because he is so big and powerful. And I don't guess it refers to a seam ripper (the sewing tool).
Yes.
There is a tool that your grandmother probably used a lot called a seam ripper. You stick the end of it into a seam and pull down and it cuts all the threads that make the seam.
It's a clever play on words, in my opinion.
AMD started it with Ryzen. That name sounds like a character from the Lord of the Rings. And then we Threadripper - violent to say the least, and finally, EPYC - cheap play of the letters.
What happened to marketing like the IBM System 360? Elliot Noyes is rolling in his grave. I don't think the marketing teams are to be blamed, its the consumers and the Taiwanese influence around what a computer product should be marketed as such.
Ryzen also sounds like "rising", and even like "horizon", which are both pretty positive and non-gamer-y.
Ripping has other meanings too. It can mean going really fast or energetically, like "the driver ripped right past the race leader on that corner" or "let her rip" when you launch something at full speed. And a sawmill or woodworker uses a circular saw, band saw, etc. to rip wood, which means dividing it along the grain, the natural direction it wants to split. Which I suppose makes a good analogy for embarrassingly parallel compute problems.
Personally, I appreciate the optimism (correctly as it turned out) that it would be the line to turn AMD's fortunes around.
I think you've let your perception of the names be affected by the marketing. e.g. the X Box 360 could be the name for a boring server (maybe someone's tenth gen), but instead it's a game console. PS5 and Core are pretty descriptive name compared to the business product names previous.
> Tangent, but is this really a play on words? And if so, what is the other meaning here?
Perhaps the OP was thinking of a seam ripper? Which, to be fair, does rip threads https://en.wikipedia.org/wiki/Seam_ripper
But in general "Ripper" was 19th century slang for a murderer.
I'd love to recommend the AMD platform for customers with large databases, but there's is zero reputable information available on the Internet. The vendors can't be trusted, because they obviously cheat their ass off, such as Intel disabling security patches, using ludicrous hardware configurations, etc...
Don't forget that if comparing to old benchmarks, there's a bug with Intel's TSX now and the mitigations once again seem to take a nice hit if your database engine makes use of it.
That's partially due to good insulation in modern fridges. After all, if the insulation is perfect, you could run a fridge on 0W (assuming you don't open the doors).
EDIT: Wow, the TDP of that was only 115 watts[0]. I remember thinking it was just a monstrous power-sucker of a CPU.
0: https://ark.intel.com/content/www/us/en/ark/products/27492/p...
Building a PC these days is trivial, back in the day there was a lot more fiddling with bios, now things are simplified and its mostly plug and play.
I actually might build a computer and make a detailed written guide, but I would love to help if you decide to go this route.
Pre-builts usually have an over-specced CPU and and under-specced GPU, a bad memory configuration, crappy hard drives, and horrible power supplies + motherboards.
You can see how the dies themselves are laid out here: https://images.anandtech.com/doci/15151/amd_rome-678_678x452...
And you can see how physically huge the package is here compared to desktop CPUs you may be more familiar with: https://images.app.goo.gl/T5kpz8WyjGHV8Vqm8
The lid is made of copper and as you see there are additional layers. Plus the interfaces between the materials are also limiting thermal conductance. As far as material science goes there's a lot of room, it's just not practical to throw liquid nitrogen cooling or diamond substrates at the problem when you're making a mass market product.
With "280 watts" you can still use an off-the-shelf Noctua air cooler or any number of all-in-one water coolers.
It's nice to watch (and have) new CPUs pushing the available computing performance up, and bringing new features. With Ryzen 3000/EPYC Rome this finally happened in a meaningful way, and TR is(shortly will be) the most powerful CPU there is. _AND_ Intel is getting kicked in the ass, which is good.
But objectively, even if AMD is better value than Intel now, it still is overpriced.
The first problem is with the launch price. This kind of system maintains the top status for one year or so these days. Then it slips into mainstream level which can be got for 50%, 30% price. Look at what happened to 2950X, or EPYC Milan platforms. They were similarly expensive at launch and they are mainstream performance now, their prices have fallen dramatically as well. (If you want AMD, those are much better choice now.)
The second problem is, the TRX40 motherboards available now are simply underwhelming and disappointing, take a look:
https://www.pcmag.com/feature/372107/first-look-all-the-amd-...
You can get 16,24,32 cores for x $1000, but only 4 channels of memory and 3-4 PCIe slots and 2010-era networking? The Xeon workstation boards are so much better. Here is how you design a motherboard in this price range:
https://www.servethehome.com/supermicro-x11spa-t-motherboard...
It's like mobo manufacturers are thinking, the TR CPUs are cooler than Xeons, let's make a killing on expensive gamer-like motherboards.
If you're after nice punch performance on the cheap, go here, sort by performance, then look for rows with highest value.
https://www.cpubenchmark.net/CPU_mega_page.html
The result for me is, if you're after performance but clever with money, go for 3900X or 3700X on an B450 board, anything else is kind of stupid for most people.
If you're after solid workstation with ECC and 2020-level, connectivity, Intel Xeon W now or wait for better motherboards (unlikely to happen).
How far off are we from this possibility, assuming someone sat down and optimized existing solutions for this use case?
https://videocardz.com/83333/amd-ryzen-threadripper-3000-cas...
It's only barely useful to compare generations within one company's fab model.
What's a better measure to use? transistors / m^2 ?
Or at least to label properly as "7 AMD-nm" to avoid false comparison to "Intel-nm"?
https://en.wikichip.org/wiki/mtr-mm%C2%B2
There are lots of different transistor sizes on a chip, so it also specifies what kind of transistors to measure.