Poll

Which processor would you use to update your computer?

i9-10900K
5 (17.9%)
i7-10700K
6 (21.4%)
Ryzen 9 3900XT
12 (42.9%)
Ryzen 3300X
0 (0%)
Ryzen 3600XT
1 (3.6%)
Ryzen 3700X
4 (14.3%)

Total Members Voted: 27

Voting closed: August 18, 2020, 11:53:52 pm

Author Topic: New Processor Choice  (Read 23086 times)

0 Members and 1 Guest are viewing this topic.

Offline 0db

  • Frequent Contributor
  • **
  • Posts: 336
  • Country: zm
Re: New Processor Choice
« Reply #200 on: August 22, 2020, 12:18:08 pm »
That's pretty poor.

It's a Mame project. Lot of people complain about its slowness.
Which is the trick to speed-up the emulation of RISC-V CPUs?
Have you spent time on QEMU? And improved it specifically for RISC-V?
 

Offline brucehoult

  • Super Contributor
  • ***
  • Posts: 4403
  • Country: nz
Re: New Processor Choice
« Reply #201 on: August 22, 2020, 12:48:58 pm »
That's pretty poor.

It's a Mame project. Lot of people complain about its slowness.
Which is the trick to speed-up the emulation of RISC-V CPUs?

Mostly RISC-V is easy to emulate fast because it doesn't have condition codes. It's always a real b*tch to emulate condition codes between CPU families because they're never quite the same. But MIPS should be the same for that.

Quote
Have you spent time on QEMU? And improved it specifically for RISC-V?

I've done quite a lot of work on Spike (very slow ~100 to 200 MIPS interpretive RISC-V reference emulator) but not much on qemu. I submitted a few small bugfixes back in January 2017 when compressed instruction support was first being implemented. I think I just did those in an email thread, not even a proper pull request e.g. see https://github.com/qemu/qemu/commit/a52a1ca0666f0ff92e322007ca0beea29cad34b4
 
The following users thanked this post: 0db

Offline NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9184
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: New Processor Choice
« Reply #202 on: August 22, 2020, 04:28:45 pm »
Generally, old computer emulators not only have to emulate the CPU but also the peripherals, in some cases they have to emulate old analog audio hardware in such a way as to sound "correct".
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 
The following users thanked this post: MK14, 0db

Offline Mattjd

  • Regular Contributor
  • *
  • Posts: 230
  • Country: us
Re: New Processor Choice
« Reply #203 on: August 23, 2020, 03:13:50 pm »
For a time I liked the idea of using Intel so I had access to the AVX-512 instruction set for development work. However, Intel have made such a mess of AVX-512 it doesn't seem to be worth bothering with right now.

I haven't made it through the entire thread but have you see this?


https://www.pugetsystems.com/labs/hpc/How-To-Use-MKL-with-AMD-Ryzen-and-Threadripper-CPU-s-Effectively-for-Python-Numpy-And-Other-Applications-1637/


AVX-512 wont be enabled but you do get some of the AVX2 instructions.
 

Offline coppice

  • Super Contributor
  • ***
  • Posts: 9276
  • Country: gb
Re: New Processor Choice
« Reply #204 on: August 23, 2020, 03:19:41 pm »
For a time I liked the idea of using Intel so I had access to the AVX-512 instruction set for development work. However, Intel have made such a mess of AVX-512 it doesn't seem to be worth bothering with right now.

I haven't made it through the entire thread but have you see this?


https://www.pugetsystems.com/labs/hpc/How-To-Use-MKL-with-AMD-Ryzen-and-Threadripper-CPU-s-Effectively-for-Python-Numpy-And-Other-Applications-1637/


AVX-512 wont be enabled but you do get some of the AVX2 instructions.
I think the recent AMD chips all fully support AVX2. AVX2 has been around for a long time. It certainly should be supported now.
 

Offline Mattjd

  • Regular Contributor
  • *
  • Posts: 230
  • Country: us
Re: New Processor Choice
« Reply #205 on: August 23, 2020, 03:37:33 pm »
For a time I liked the idea of using Intel so I had access to the AVX-512 instruction set for development work. However, Intel have made such a mess of AVX-512 it doesn't seem to be worth bothering with right now.

I haven't made it through the entire thread but have you see this?


https://www.pugetsystems.com/labs/hpc/How-To-Use-MKL-with-AMD-Ryzen-and-Threadripper-CPU-s-Effectively-for-Python-Numpy-And-Other-Applications-1637/


AVX-512 wont be enabled but you do get some of the AVX2 instructions.
I think the recent AMD chips all fully support AVX2. AVX2 has been around for a long time. It certainly should be supported now.

It has been, but for the longest time if you were using AMD and was using the Intel MKL instead of say openBLAS you saw you huge performance drops because Intel was checking if you were a "Geniune Intel CPU" and then going down a different code path, basically blocking AVX2 instructions and other optimizations.


https://www.extremetech.com/computing/302650-how-to-bypass-matlab-cripple-amd-ryzen-threadripper-cpus

I got friends at The MathWorks who helped pushed the fix for this into core Matlab so AMD users aren't getting screwed out of their money due to TMW using Intel MKL.
« Last Edit: August 23, 2020, 03:40:37 pm by Mattjd »
 

Offline coppice

  • Super Contributor
  • ***
  • Posts: 9276
  • Country: gb
Re: New Processor Choice
« Reply #206 on: August 23, 2020, 06:22:44 pm »
It has been, but for the longest time if you were using AMD and was using the Intel MKL instead of say openBLAS you saw you huge performance drops because Intel was checking if you were a "Geniune Intel CPU" and then going down a different code path, basically blocking AVX2 instructions and other optimizations.


https://www.extremetech.com/computing/302650-how-to-bypass-matlab-cripple-amd-ryzen-threadripper-cpus

I got friends at The MathWorks who helped pushed the fix for this into core Matlab so AMD users aren't getting screwed out of their money due to TMW using Intel MKL.
Intel have been playing those tricks for years, not just with AVX2. They did it with some of the older instruction set enhancements too.
 

Offline KungFuJoshTopic starter

  • Super Contributor
  • ***
  • Posts: 2449
  • Country: us
  • TEAS is real.
Re: New Processor Choice
« Reply #207 on: August 26, 2020, 12:42:37 am »
I got the H115i Platinum cooler today. It's dead quiet, and the chip average temperatures are down by at least 10 degrees C.
"Right now I’m having amnesia and déjà vu at the same time. I think I’ve forgotten this before." - Steven Wright
 

Offline NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9184
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: New Processor Choice
« Reply #208 on: August 26, 2020, 02:22:19 am »
It has been, but for the longest time if you were using AMD and was using the Intel MKL instead of say openBLAS you saw you huge performance drops because Intel was checking if you were a "Geniune Intel CPU" and then going down a different code path, basically blocking AVX2 instructions and other optimizations.

https://www.extremetech.com/computing/302650-how-to-bypass-matlab-cripple-amd-ryzen-threadripper-cpus

I got friends at The MathWorks who helped pushed the fix for this into core Matlab so AMD users aren't getting screwed out of their money due to TMW using Intel MKL.
Intel have been playing those tricks for years, not just with AVX2. They did it with some of the older instruction set enhancements too.
As AMD gains market share, I wonder if Intel's "tricks" end up backfiring when benchmarks start to show open source compilers like GCC greatly outperforming Intel CC.

I also wonder if the kernel can be patched to intercept and spoof requests to identify the CPU, such that it would be difficult or impossible for the application to tell that it's being spoofed. I suppose it's not as straightforward as it might seem since I haven't heard of any distros specifically "tuned" for AMD in that way.
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 

Offline KungFuJoshTopic starter

  • Super Contributor
  • ***
  • Posts: 2449
  • Country: us
  • TEAS is real.
Re: New Processor Choice
« Reply #209 on: September 03, 2020, 03:07:25 pm »
Hmmm. Interesting results so far. AVS Video Converter did benefit from the extra threads. But so far I'm not impressed with Vegas Pro's performance. I upped the max threads to 24 in the settings, and it's still taking about 1 hour and 45 minutes to render an 8 minute 4K video.
"Right now I’m having amnesia and déjà vu at the same time. I think I’ve forgotten this before." - Steven Wright
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf