forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AMD vs Intel. Fight!

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General
View previous topic :: View next topic  
Author Message
DanRRight



Joined: 10 Mar 2008
Posts: 2235
Location: South Pole, Antarctica

PostPosted: Tue Jan 07, 2020 2:56 am    Post subject: AMD vs Intel. Fight! Reply with quote

Ian Cutress from Anandtech is preparing test of new AMD 64-core processor, see

"AMD’s 64-Core Threadripper 3990X, only $3990! Coming February 7th"

Let's prepare for him the test which we have tried here few years back where we used linear algebra AX=B dense matrix as an example (used MKL/Pardiso and LAIPE parallel libraries).

Now from ver 19 i think Intel MKL/Pardiso libraries support AVX512 and if AMD will beat Intel processors using Intel's own software the game for Intel with its 10x overpriced processors is over. AMD has huge chance doing that because its large caches even though it supports only SSE256. And the 8-channel memory on another 64core AMD cheaper than Intel processor called EPYC 7002 has chance to beat Intel even more

Here is an example mecej4 wrote for MKL library back then. We just need to compile it with new MKL library on any compiler which will support AVX512 and sent it to Ian

Code:

 implicit none
 integer :: i,j,neq,nrhs=1,lda,ldb, info
 real*8,allocatable :: A(:,:),b(:)
 integer, allocatable :: piv(:)
 Integer count_0, count_1, count_rate, count_max
 

 do neq=1000,21000,5000
    lda=neq; ldb=neq
    allocate(A(neq,neq),b(neq),piv(neq))
    call random_number(A)
    call random_number(b)
    Call system_clock(count_0, count_rate, count_max)
    CALL dgesv (nEq,nrhs,A,ldA,piv, b, ldb, info)
    Call system_clock(count_1, count_rate, count_max)
    Write (*, '(1x,A,i6,A,2x,F8.3,A)') 'nEqu = ',nEq,' ', &
         dble(count_1-count_0)/count_rate, ' s'
    deallocate(A,b,piv)

 end do
 end
Back to top
View user's profile Send private message
JohnCampbell



Joined: 16 Feb 2006
Posts: 2238
Location: Sydney

PostPosted: Tue Apr 21, 2020 8:10 am    Post subject: Reply with quote

Dan,

I am looking at the Ryzen 9 3900X as a comparison to the i9-10920X or i9-9900KS. Hopefully I might be able to test them to see how single thread and multi-thread performance compare. Yet to fine a test pc.
Back to top
View user's profile Send private message
DanRRight



Joined: 10 Mar 2008
Posts: 2235
Location: South Pole, Antarctica

PostPosted: Wed Apr 22, 2020 11:25 pm    Post subject: Reply with quote

Yes, would be nice if you play with this. Please use Intel MKL ver.19 or later. It has optimization for AWX512.

My MKL is older, i do not know if Intel distributing MKL for free or not, before for some period of time MKL was free.

After you compile the code with new MKL with and without AVX512 please send it to me, i will try to ask Anandtech dot com guys to run it on different processors which have AVX512.

I do not know if it is possible to activate AVX in AMD processors, they do not have AVX512, but some have AVX256 i think. Not all Intel processors have AVX512 too, but AVX could be a major improvement point with the linear algebra
Back to top
View user's profile Send private message
JohnCampbell



Joined: 16 Feb 2006
Posts: 2238
Location: Sydney

PostPosted: Thu Nov 12, 2020 3:08 am    Post subject: Reply with quote

Dan,

AMD appear to have hit the lead for desktop pc's. I will be trying to buy a Ryzen 5900X, possibly 5950X, when it is generally available. Threadripper looks to be a price point too high, although the extra memory channels may be my next step after this.

OpenMP with 24 threads with large arrays (GB's) looks to be a practical limitation for me at the moment. I am struggling to get AVX2 to work effectively and it is annoying me that I can't approach MKL quoted performance for large arrays. Either marketing spin or my ignorance !
(I would expect AVX512 will only work when arrays are in L1 cache, but again probably my ignorance !)
Back to top
View user's profile Send private message
DanRRight



Joined: 10 Mar 2008
Posts: 2235
Location: South Pole, Antarctica

PostPosted: Sun Nov 22, 2020 10:48 am    Post subject: Reply with quote

I do not know why, coronavirus or something else, but you can not buy recently anything from AMD or NVIDIA. Two months after releasing new graphics cards from NVIDIA 3080 and 3090, for example, which will be particularly good with OpenGL, and the only which work with 8k monitors, they are still shown as "sold out" in all shops. You can buy them on eBay but at 2x price. Hope they will appear at least on Black Friday this week. Do you have Black Fridays in Australia?
Back to top
View user's profile Send private message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2184
Location: Yateley, Hants, UK

PostPosted: Sun Nov 22, 2020 11:43 am    Post subject: Reply with quote

Dan,

Isn't the answer in your post - people have bought all the stock knowing that they can sell it on for 100% profit. Who can afford to? Someone with a lot of money. What's the betting that the funding comes from a rival with an inferior product?

Eddie
Back to top
View user's profile Send private message
DanRRight



Joined: 10 Mar 2008
Posts: 2235
Location: South Pole, Antarctica

PostPosted: Mon Nov 23, 2020 1:32 am    Post subject: Reply with quote

Good news is that AMD just made graphics card superior to NVIDIA. And INTEL last week showed samples of new processor which will beat AMD scheduled for first quarter of 2021. May be this will cool the craze with the reselling everything on Ebay.
Back to top
View user's profile Send private message
JohnCampbell



Joined: 16 Feb 2006
Posts: 2238
Location: Sydney

PostPosted: Tue Nov 24, 2020 3:35 am    Post subject: Reply with quote

Dan,

I am hoping to get a Zen 3 Ryzen when stocks become available. Hopefully it will perform well as claimed for large vector calculations. The big problem is availability !
I have read some of the Intel 11 Gen Rocket Lake info, but initially they appear to be limited to 8 cores. They may not be able to achieve "cool" as they are 14nm. Not sure I believe all their claims.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group