News for hackers. Stuff that matters.
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by molticrystal on Friday June 28, 2019 @03:22PM (#20307940)
Out of curiosity, has anybody had anything in the AMD Ryzen instruction set missing that required you to purchase an Intel 9xxx instead?

Any significant differences in regards to scientific applications or machine learning?

Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by devttyeu on Friday June 28, 2019 @04:02PM (#20308295)
The mozilla/rr debugger doesn't work on Ryzen CPUs - https://github.com/mozilla/rr/issues/2034

(rr stands for Record and Replay Framework, it's a gdb extension which allows for reverse execution)

Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by p_l on Saturday June 29, 2019 @09:58AM (#20312605)
Interesting that GDB had its own "time travel" support for longer that afaik works on AMD. Will have to see what rr brings to the table.
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by unmole on Saturday June 29, 2019 @10:17PM (#20315980)
GDB's recording is extremely limited. It doesn't even work on multi threaded programs.
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by roca on Tuesday July 02, 2019 @07:46PM (#20340395)
It's also about 1000x slowdown during recording, where rr is < 2x.
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by pella on Friday June 28, 2019 @03:47PM (#20308166)
in ZEN2:

"The key highlight improvement for floating point performance is full AVX2 support. AMD has increased the execution unit width from 128-bit to 256-bit, allowing for single-cycle AVX2 calculations, rather than cracking the calculation into two instructions and two cycles. This is enhanced by giving 256-bit loads and stores, so the FMA units can be continuously fed. AMD states that due to its energy aware scheduling, there is no predefined frequency drop when using AVX2 instructions (however frequency may be reduced dependent on temperature and voltage requirements, but that’s automatic regardless of instructions used)"

"In the floating point unit, the queues accept up to four micro-ops per cycle from the dispatch unit which feed into a 160-entry physical register file. This moves into four execution units, which can be fed with 256b data in the load and store mechanism.

Other tweaks have been made to the FMA units than beyond doubling the size – AMD states that they have increased raw performance in memory allocations, for repetitive physics calculations, and certain audio processing techniques.

Another key update is decreasing the FP multiplication latency from 4 cycles to 3 cycles. That is quite a significant improvement. AMD has stated that it is keeping a lot of the detail under wraps, as it wants to present it at Hot Chips is August. We’ll be running a full instruction analysis for our reviews on July 7th."

https://www.anandtech.com/print/14525/amd-zen-2-microarchite...

> Any significant differences in regards to scientific applications or machine learning?

The PCIe4.0 is good for Data Science ( NVMe Disk / GPU machine learning )

"Corsair MP600 SSDs will offer up to 4950 MB/s sequential read speed as well as up to 4250 MB/s sequential write speed when used with a PCIe 4.0 x4 interface, which is substantially faster when compared to modern PCIe 3.0 x4 drives."

https://www.anandtech.com/show/14584/corsair-mp600-pcie-4-ss...

Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by nsporillo on Friday June 28, 2019 @04:57PM (#20308732)
Darn, I just bought a Samsung 970 Pro 1TB NVMe drive for my new Ryzen zen2 build. I probably should have waited to buy this PCI4.0 drive instead. Thanks for sharing
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by driverdan on Friday June 28, 2019 @05:33PM (#20308947)
> Corsair MP600 SSDs will offer up to 4950 MB/s sequential read speed as well as up to 4250 MB/s sequential write speed when used with a PCIe 4.0 x4 interface

WOW! Looks like they haven't announced pricing yet. I wonder what those drives will cost.

Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by zamadatix on Friday June 28, 2019 @07:45PM (#20309774)
$250 for the 1 TB version and $450 for the 2 TB model, Corsai accidentally put the listings up early on Amazon a few days ago and then took them down
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by wil421 on Friday June 28, 2019 @04:09PM (#20308370)
Yes official and guaranteed support for ECC but it was an i3-8100 instead of an AMD equivalent. For a FreeNAS build. I will upgrade it to a Xeon E-21XX or whatever supports my Supermicro C246 motherboard in the future. AMD doesn’t test ECC on Ryzen but doesn’t turn it off. Server grade components are not as common either.

Threadrippers are tempting but I like to play with EXSI and Intel’s virtualization is handy. My next desktop might be a Threadripper but my i7-7700K and Intel QSV is good enough for Plex and 4K.

I would like have a 10gb backbone with SFP+ so I can play with Fiber, DAC, and 10gb Ethernet.

Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by AaronFriel on Friday June 28, 2019 @08:28PM (#20309998)
What precludes you from using ESXi and virtualization on AMD's platform? The virtualization extensions to x86 are common to both AMD and Intel. Even direct IO and IOMMU. Is there something missing?
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by p_l on Saturday June 29, 2019 @10:00AM (#20312620)
The virtualization extensions are actually different, but yeah, VMware supports both across all platforms. I think it's only AMD Hackintosh where you might have an issue?
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by scott00 on Friday June 28, 2019 @04:42PM (#20308636)
I use the TSC for high precision timing, and turning TSC ticks into nanoseconds requires interpreting model specific registers, so my timing code would need AMD specific patches to work properly on those processors. Not necessarily a deal-breaker, but it would definitely be an annoyance for me if I did decide to switch. Probably not super relevant to scientific computing or ML though.
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by TwoBit on Friday June 28, 2019 @07:28PM (#20309682)
How do you use the TSC for timing when the frequency is changing unpredictably?
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by wmf on Friday June 28, 2019 @07:45PM (#20309772)
Recent processors have invariant TSC.
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by miller_joe on Friday June 28, 2019 @05:39PM (#20308981)
There might be meaningful differences in the hardware encode/decode for video. In the Plex community for example it seems like Intel CPUs are the best bet. They support a lot of codecs and can service multiple transcode streams. Consumer Nvidia GPUs are limited to 2. I don't think Plex supports hardware transcoding on AMD Ryzen or discrete GPUs at all right now. I haven't really looked into why yet, and could likely just be a software support issue in Plex.

This, unfortunately, would be a deal breaker for my home-server use case, although I'm very happy AMD is finally competitive again, overall.

Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by toast0 on Friday June 28, 2019 @06:16PM (#20309218)
The Zen2 chips being released and discussed here don't have a GPU. The Ryzen 3000 series APUs being released soon are using last year's Zen+ CPU architecture; and are only 4 cores, so not super comparable to a $2000 Intel CPU :)
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by wmf on Friday June 28, 2019 @03:34PM (#20308052)
The rr debugger had problems with Ryzen. AMD doesn't have AVX512 but that's more of a performance difference; code shouldn't be written to require it.
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by bcaa7f3a8bbc on Friday June 28, 2019 @03:32PM (#20308033)
+1. I've heard some optimizations in scientific computing (e.g. Gaussian 16, from someone who does chemistry) is not available without AVX, but I'm not a practitioner of scientific computing, and know nothing about the current situation. Could anyone share your experience? Also, what is the performance figure of multimedia/encoding performance?
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by colechristensen on Friday June 28, 2019 @05:56PM (#20309090)
I have too frequently had problems with hardware support in OS outside Linux and Windows for non Intel chipsets.

One that sticks out is virtualization support in freebsd and others. I don't know if it's still true but the time risk isn't worth the cost benefit for me any more.

Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by vbezhenar on Friday June 28, 2019 @03:58PM (#20308269)
I'm considering Intel for my next workstation because I want to be able to run macOS at least in VirtualBox (or just run Hackintosh, did not decide yet). For some reason macOS does not like AMD CPUs.
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by petepete on Friday June 28, 2019 @04:52PM (#20308694)
There was a recent video on Linus Tech Tips where they set up a Threadripper workstation running macOS via KVM and it out-performed a top of the line iMac Pro.
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by vbezhenar on Friday June 28, 2019 @05:55PM (#20309080)
Does it work with VirtualBox? I want to run Windows.
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by petepete on Sunday June 30, 2019 @01:22PM (#20319274)
You can run Windows in KVM. I haven't used VirtualBox for years so my knowledge is out of date.
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by pella on Friday June 28, 2019 @04:03PM (#20308308)
> For some reason macOS does not like AMD CPUs.

Reddit:"Mojave, now on Ryzen!" https://www.reddit.com/r/hackintosh/comments/a95xlo/mojave_n...

Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by vbezhenar on Friday June 28, 2019 @06:02PM (#20309124)
Installing custom built kernel on a proprietary OS sounds like a recipe for disaster. It's likely to break on the first update. More like a proof of concept rather than stable solution.
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by remlov on Friday June 28, 2019 @04:40PM (#20308607)
With a little elbow grease this hasn't been true for Hackintosh builds nor virtualization for ages: https://amd-osx.com
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by TwoNineA on Friday June 28, 2019 @04:08PM (#20308353)
You can run MacOS through KVM easy on Ryzen. Even GPU passthrough works fine.
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by LeSaucy on Friday June 28, 2019 @04:45PM (#20308651)
iMessage and other features generally break when running amd macintoshes, intel ones are indistinguishable.
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by webmobdev on Friday June 28, 2019 @11:12PM (#20310590)
Why would they break if macOS itself runs fine on AMD? These softwares run on macOS and don't make any system calls directly by bypassing the OS, right?
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by mainlineman on Friday June 28, 2019 @11:53PM (#20310729)
They typically check for a network interface from a real Mac. Using a Hackintosh you can't spoof some of the NIC details that are detected and cause iCloud/iMessage to not work.
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by webmobdev on Saturday June 29, 2019 @10:03AM (#20312637)
Oh, wasn't aware of that. So does iCloud / iMessage work when macOS is run virtualised?
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by rubyn00bie on Friday June 28, 2019 @04:13PM (#20308403)
Oh man, my suggestion buy a used dual socket Xeon V2 (or V3 if you can afford it) server with room for a GPU. The price for performance is pretty unbelievable since you get a whole system, which you can run ESXi or whatever flavor of hypervisor you want.

V2/V3 Xeons are dirt cheap on ebay and if you don't mind a little risk the ES versions are mighty cheap for what you can get.

I just got Dual 2667 V2, 96GB of ram, dual 1200W PSUs, and room for 20 SAS2 HDs for less than $1,000 (replaced the 2637 V2s that came with the system). I'll note power consumption will be quite a bit higher, but power is pretty cheap where I live.

.... I'll be really stoked in a few years when the Rome chips are available used.

Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by Whinner on Friday June 28, 2019 @05:59PM (#20309108)
I have a Dell Precision T7600. The only thing I hate is the almost full minute to boot with a perc controller and other servery type checks
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by timtim51251 on Friday June 28, 2019 @10:21PM (#20310397)
It won't work in a virtual machine? Any reason why?
Re:$499 AMD Ryzen 9 3900X Almost as Fast as $2000 Intel Core... by mpfundstein on Friday June 28, 2019 @03:31PM (#20308017)
Also interested in this