mersenneforum.org  

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

Reply
 
Thread Tools
Old 2023-05-01, 20:34   #1
haruka
 
Feb 2023

510 Posts
Default Unusually low P4 equiv for EPYC in VM?

I'm utilizing some free computational resource of a server with EPYC 7313, and the CPU is shown as:

Model AMD EPYC 7313 16-Core Processor
Features 16-core, hyperthreaded, Prefetch,SSE,SSE2,SSE4,AVX,AVX2,FMA,
Speed 2.999 GHz (2.775 GHz P4 effective equivalent)
L1 Cache 64 KB
L2 Cache 512 KB
L3 Cache 16,384 KB

on the CPU page.

The cache amount is incorrect because this is running in a VM, but I've optimized the settings so there is very little performance penalty for that.

However, the P4 equivalent seems completely wrong with only 2.775 GHz, which hints that one CPU core is even slower than a P4. (I know "Hours per day" affects this, but it's currently set as 24 hours.)

I suppose this would negatively affect what kind of work my machine will receive automatically and I would need to manually select PRP work if I want to run it?

How is the equivalent calculated anyway? This figure just feels way too off, and I'd like to know more about the logic behind that.
haruka is offline   Reply With Quote
Old 2023-05-02, 01:11   #2
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013
https://pedan.tech/

24·199 Posts
Default

You'll get better performance if a worker uses only a single chiplet.

That number is very low. Was the server busy at the time?

Note that even though mprime runs niced, its memory bandwidth consumption can create massive latency for other things running on the same CPU.
Mark Rose is offline   Reply With Quote
Old 2023-05-02, 01:24   #3
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

100000010101112 Posts
Default

This AMD CPU has been identified as Bulldozer architecture. Bulldozer was horrible.
If this CPU is actually based on Zen architecture, I'll need to know the family code and model code as returned by CPUID. Not sure which program might easily output this. Prime95 has a hidden code to do that -- I can look that up if you need it.
Prime95 is offline   Reply With Quote
Old 2023-05-02, 06:10   #4
haruka
 
Feb 2023

510 Posts
Default

Quote:
Originally Posted by Mark Rose View Post
Note that even though mprime runs niced, its memory bandwidth consumption can create massive latency for other things running on the same CPU.
That's a great point, I'll need to do more testing on that later.

Quote:
Originally Posted by Prime95 View Post
This AMD CPU has been identified as Bulldozer architecture. Bulldozer was horrible.
If this CPU is actually based on Zen architecture, I'll need to know the family code and model code as returned by CPUID. Not sure which program might easily output this. Prime95 has a hidden code to do that -- I can look that up if you need it.
I decided to write a program to output the raw values:

Code:
#include <stdio.h>

int main() {
    volatile int a = 1;
    __asm__ (
        ".intel_syntax noprefix \n"
        "mov eax, 1 \n"
        "cpuid \n"
        "mov %0, eax \n"
        ".att_syntax \n"
        : "=r" (a)
        :
        : "eax"
    );
    int family = (a & (0b1111 << 8)) >> 8;
    int model = (a & (0b1111 << 4)) >> 4;
    int exfamily = (a & (0b11111111 << 20)) >> 20;
    int exmodel = (a & (0b1111 << 16)) >> 16;
    printf("f = %d\nxf = %d\nm = %d\nxm = %d\n", family, exfamily, model, exmodel);
    return 0;
}
which outputs:

Code:
f = 15
xf = 10
m = 1
xm = 0
However, it seems p95 should think this is Zen:

Code:
		else if (family_code == 15 && (extended_family == 8 || extended_family == 10))
			CPU_ARCHITECTURE = CPU_ARCHITECTURE_AMD_ZEN;
haruka is offline   Reply With Quote
Old 2023-05-02, 15:20   #5
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

17·487 Posts
Default

My bad, the P4 equivalent number is determined by the server. The server has no access to the CPUID information. All the server has to go on is: "Model AMD EPYC 7313 16-Core Processor". I'll see if I can change the server to assume EPYC's are zen based.

I don't think your P4 equiv value will affect the assignments you get but I could be wrong (again).
Prime95 is offline   Reply With Quote
Old 2023-05-02, 16:11   #6
slandrum
 
Jan 2021
California

24×5×7 Posts
Default

Quote:
Originally Posted by Prime95 View Post
I don't think your P4 equiv value will affect the assignments you get but I could be wrong (again).
According to the assignment rules page https://www.mersenne.org/thresholds/ it can limit what assignments you can get.

Last fiddled with by slandrum on 2023-05-02 at 16:11
slandrum is offline   Reply With Quote
Old 2023-05-02, 20:38   #7
haruka
 
Feb 2023

5 Posts
Default

Looks good now:

Speed 2.999 GHz (11.000 GHz P4 effective equivalent)
haruka is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
amd EPYC (server) firejuggler Hardware 2 2017-06-29 15:15
Basic Number Theory 8: equiv. relations and Fermat's little theorem Nick Number Theory Discussion Group 0 2016-11-10 23:10
unusually low P-1 bounds ixfd64 PrimeNet 9 2011-04-02 18:45
Counting the unusually anal way. lavalamp Puzzles 9 2009-12-02 11:27
Unusually quiet xilman Lounge 14 2008-12-30 23:21

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


Fri Jul 7 16:09:24 UTC 2023 up 323 days, 13:37, 0 users, load averages: 1.58, 1.38, 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.

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