-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java 64 bit native long vs BigInteger performance - expected 9x slowdown but seeing 50x slowdown specific to IA64 over ARM64 #24
Comments
mac M4 Max BigInteger
reference m4 max long run
|
obriensystems
changed the title
Java 64 bit native long vs BigInteger performance - expected 10x slowdown but seeing 50x slowdown specific to IA64 over ARM64
Java 64 bit native long vs BigInteger performance - expected 9x slowdown but seeing 50x slowdown specific to IA64 over ARM64
Jan 2, 2025
macbook M1Max 8/2
|
Mac Mini M2 pro 6/2
|
p1gen6
|
M4 pro 8p4e
|
obriensystems
added a commit
that referenced
this issue
Jan 3, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Triage
Data
64 bit long (only went up to 32 bit start and 63 bit max)
native long 64 bit = 42 sec for 13900K 128g
m0: 1410123943 p: 770 m: 7125885122794452160 ms: 632 dur: 13
native long 64 bit = 50 sec for M4 Max 48g
m0: 1410123943 p: 770 m: 7125885122794452160 ms: 866 dur: 17
native long 64 bit = 80 sec for M4 Pro 8p4e 24g
m0: 1410123943 p: 770 m: 7125885122794452160 ms: 1291 dur: 25
BigInteger:
BigInteger 64 bit = 460 sec for M4 Max 48g (9x slower)
m0: 1410123943 p: 770 m: 7125885122794452160 ms: 7312 dur: 143
BigInteger 64 bit = 80 sec for M4 Pro 8p4e 24g (9x slower)
m0: 1410123943 p: 770 m: 7125885122794452160 ms: 11710 dur: 236
BigInteger 64 bit = sec for 13900K 128g 8p16e (56x slower)
m0: 1410123943 p: 770 m: 7125885122794452160 ms: 35617 dur: 705
Test results between runs of
long
#19
https://github.com/ObrienlabsDev/performance/blob/main/cpu/virtual/multithreaded/128bit/java-benchmark-128-cli/performance-nbi/src/main/java/dev/obrienlabs/performance/nbi/Collatz.java
BigInteger
#10
https://github.com/ObrienlabsDev/performance/blob/main/cpu/virtual/multithreaded/128bit/java-benchmark-128-cli/performance-nbi/src/main/java/dev/obrienlabs/performance/nbi/CollatzBigInteger.java
CPU and RAM profiles are the same at 100% and 6g heap
Intel
Apple
Will check PCore vs Ecore distribution
Chips are
M4 Max 16 thread (12p/4e) - 75:25
13900K 32 thread (8p/16e - 16p(ht)/16e) - 50/50
M1 Max (8p/2e) - 80:20
M4 Pro (8p/4e) - 66:33
M2 Pro (6p/2e) - 75:25
14900K (ht off) (8p/16e) - 33:66
check thermal throttling
The text was updated successfully, but these errors were encountered: