mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware

Reply
 
Thread Tools
Old 2023-03-13, 01:22   #1
Chuck
 
Chuck's Avatar
 
May 2011
Orange Park, FL

16408 Posts
Default Raptor Lake AVX?

I have a new Core i9 13900K on which I am running double checks. I know this cpu does not support AVX-512. It does support AVX and AVX2 (see attached cpuid data). Prime95 (30.8b17) says it is "unknown Intel". It is using an FMA3 FFT instead of AVX.

I tried putting CpuSupportsAVX=1 and CpuSupportsAVX2=1 in local.txt, but it made no difference and the program still used an FMA3 FFT.

Is this something that might be addressed in the future?
Attached Thumbnails
Click image for larger version

Name:	cpuid.jpg
Views:	44
Size:	192.1 KB
ID:	28127   Click image for larger version

Name:	prime1.jpg
Views:	40
Size:	95.5 KB
ID:	28128   Click image for larger version

Name:	prime2.jpg
Views:	44
Size:	209.6 KB
ID:	28129  
Chuck is offline   Reply With Quote
Old 2023-03-13, 01:58   #2
sdbardwick
 
sdbardwick's Avatar
 
Aug 2002
North San Diego Coun

821 Posts
Default

What needs to be addressed?
sdbardwick is offline   Reply With Quote
Old 2023-03-13, 02:12   #3
Chuck
 
Chuck's Avatar
 
May 2011
Orange Park, FL

11101000002 Posts
Default

That it is not using AVX.
Chuck is offline   Reply With Quote
Old 2023-03-13, 02:27   #4
sdbardwick
 
sdbardwick's Avatar
 
Aug 2002
North San Diego Coun

821 Posts
Default

Current order of performance:
AVX-512>FMA3>AVX>SSE x>legacy instructions (x87, MMX 3dNOW! ?)

There might be some sub-steps as well; IIRC there is a K9 (AMD) implementation wedged in there somewhere

Last fiddled with by sdbardwick on 2023-03-13 at 02:53 Reason: K9 info
sdbardwick is offline   Reply With Quote
Old 2023-03-13, 02:30   #5
Chuck
 
Chuck's Avatar
 
May 2011
Orange Park, FL

3A016 Posts
Default

Thanks, my bad. I thought AVX was faster. Prime95 still says "unknown Intel".
Chuck is offline   Reply With Quote
Old 2023-03-13, 02:36   #6
sdbardwick
 
sdbardwick's Avatar
 
Aug 2002
North San Diego Coun

821 Posts
Default

I think P95 gets the CPU name/flags/etc. from HWLOC, so updating that library might resolve the naming issue.

Last fiddled with by sdbardwick on 2023-03-13 at 02:40
sdbardwick is offline   Reply With Quote
Old 2023-03-13, 02:44   #7
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

17·487 Posts
Default

Unknown Intel is harmless. The info is derived from family code returned by CPUID. New architectures need there family code added to prime95 source code.
Prime95 is offline   Reply With Quote
Old 2023-03-13, 03:06   #8
Andrew Usher
 
Dec 2022

3·132 Posts
Default

In other words, FMA3 is what you and most people call AVX2. I believe that CPUID (or whatever) will properly report the type of AVX supported even if the CPU isn't explicitly recognised, and Prime95 should use the best FFT as it is doing here.
Andrew Usher is offline   Reply With Quote
Old 2023-03-13, 12:59   #9
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Liverpool (GMT/BST)

3·23·89 Posts
Default

Quote:
Originally Posted by Andrew Usher View Post
In other words, FMA3 is what you and most people call AVX2. I believe that CPUID (or whatever) will properly report the type of AVX supported even if the CPU isn't explicitly recognised, and Prime95 should use the best FFT as it is doing here.
Strictly speaking they are different instruction sets although intel introduced them at the same time. I believe AMD supported FMA before AVX2(and the failed FMA4 before that). It wouldn't surprise me if only FMA+AVX2 code was added at the time as AMD performance at that time was terrible.
henryzz is offline   Reply With Quote
Old 2023-03-13, 14:35   #10
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013
https://pedan.tech/

C7016 Posts
Default

Quote:
Originally Posted by henryzz View Post
Strictly speaking they are different instruction sets although intel introduced them at the same time. I believe AMD supported FMA before AVX2(and the failed FMA4 before that). It wouldn't surprise me if only FMA+AVX2 code was added at the time as AMD performance at that time was terrible.
AMD Piledriver and Steamroller supported FMA3 but not AVX2.
Mark Rose is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rocket Lake speculation? Xyzzy Hardware 19 2021-04-07 16:33
Cascade lake AP henryzz Hardware 16 2019-05-23 00:24
Kaby Lake Memory Speed airsquirrels Hardware 12 2017-06-22 14:48
Kaby Lake processors: bor-ing ! tServo Hardware 11 2016-12-18 10:32
Kaby Lake chip Prime95 Hardware 0 2016-10-26 23:23

All times are UTC. The time now is 16:09.


Fri Jul 7 16:09:06 UTC 2023 up 323 days, 13:37, 0 users, load averages: 1.83, 1.40, 1.21

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔