Skip to content
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

collatz benchmark IA64 and ARM64 #12

Open
obriensystems opened this issue Nov 18, 2024 · 16 comments
Open

collatz benchmark IA64 and ARM64 #12

obriensystems opened this issue Nov 18, 2024 · 16 comments
Assignees

Comments

@obriensystems
Copy link
Member

obriensystems commented Nov 18, 2024

conclusions

  • Curiously - running VMs are around 10-25% faster than running native (edit - may be differences on OpenJDK and commercial JDK 21)
  • 13900KS is still faster than the M4 for single core
  • M4 Max is more than double the throughput than the 32 thread 13900/13900
  • M4 Max 40 core GPU is around half the speed of a comparable NVidia RTX-3500 Ada generation mobile card - both of which have 5120 cores
  • collatz benchmark IA64 and ARM64 #12

summary

Multi-core, Multi-core threads/bits, Multi/core, Single core, Processor
2045, 5/17, , 25343, M4 Max 12/4 40gpu Macbook Pro 16 - no thermal throttling
2192, 4/14, , 25875, M4 Max 12/4 40gpu Macbook Pro 16 - thermal throttling
2535, 5/19, 23394, M4 Max 10(of 12)/0 VMWare Fusion Pro 13 - Ubuntu 24.04 VM - Macbook Pro 16
2950, 4/15, , 24910, M4 pro 12/16 Mac Mini
4987, 5, , 30678, M3 pro 14inch macbook /11
6603, 4/12, ,85224, M2 pro 6/4 mac mini
6656 5/18,, 21625, 13900KS d 5.5/5.9 GHZ
6692 5/21 - seg fault 13900b 4090x2
6989 5/18,, 22644, 13900KS d via HyperV ubuntu VM 8 vCores (43%) 5.5/5.9 GHZ - edit - may be differences on OpenJDK and commercial JDK 21
7577, 5/12, 32326, 13800H P1 gen 6
7674, 4/17m 27673, 14900K c AI tweaker (unstable)

8880, 6/20, 28036, 13900KS d
8887, 3/14, 27520, 13900K a
8916, , , 28842, 13900K b
9204, 22, , 102235, M1 Max 10/32 no thermal throttling
9645, 5, , 102235, M1 Max 10/32
10730, 4/18, , 101664, M1 pro 14 inch 6/2
138165, 2/22, , 162813, Raspberry PI 5 8g no thermal throttling
158322, 2/15, , 162813, Raspberry PI 5 8g thermal throttling

Macbook pro M1 Max 32core gpu

jdk 21.0.2
960 max proc
@mbp7 benchmark % java -cp org.obrienscience.collatz.server.ForkJoinCollatzServer.jar org.obrienscience.collatz.server.ForkJoinCollatzServer 4 5 1
ForkJoinCollatzServer forkJoinPool-power-start end runs (v 20161009)
availableProc	: 10
fjps threads	: 4,5
freeMemory()	: 538492088
maxMemory()	: 8589934592
totalMemory()	: 541065216

Range: bits	: 25
9204,4,22,922,8
14420,4,21,1421,16
14289,4,20,1420,32
13772,4,19,1319,64
13168,4,18,1318,128
12055,4,17,1217,256
12043,4,16,1216,512
11392,4,15,1115,1024
11125,4,14,1114,2048
10858,4,13,1013,4096
10866,4,12,1012,8192
10627,4,11,1011,16384
10481,4,10,1010,32768
10360,4,9,109,65536
10552,4,8,108,131072
10373,4,7,107,262144
10643,4,6,106,524288
12068,4,5,125,1048576
10298,4,4,104,2097152
12091,4,3,123,4194304
24097,4,2,242,8388608
53268,4,1,531,16777216
105721,4,0,1050,33554432
10999,5,22,1022,8
11103,5,21,1121,16
11101,5,20,1120,32
10867,5,19,1019,64
10872,5,18,1018,128
10530,5,17,1017,256
10483,5,16,1016,512
10046,5,15,1015,1024
10050,5,14,1014,2048
9980,5,13,913,4096
9978,5,12,912,8192
9954,5,11,911,16384
9883,5,10,910,32768
9954,5,9,99,65536
9957,5,8,98,131072
10015,5,7,107,262144
10365,5,6,106,524288
9916,5,5,95,1048576
9645,5,4,94,2097152
11483,5,3,113,4194304
23255,5,2,232,8388608
51259,5,1,511,16777216
102235,5,0,1020,33554432
@obriensystems obriensystems self-assigned this Nov 18, 2024
@obriensystems
Copy link
Member Author

obriensystems commented Nov 18, 2024

Mac Mini M4 pro 12 core 16 core gpu

73101  java         1055.4 05:16.59 174/4  1    415   1947M+ 0B     0B     73101 4252  running  *0[1]                  0.00000 0.00000    501  154887+    3253  44508+      22220+
129    WindowServer 16.1   04:22:16 21     5    3849+ 836M-  222M+  83M    129   1     sleeping *0[1]                  0.44772 0.68212    88   12226466+  3263  91899974+   97651386+
25712  Google Chrom 7.1    01:10.67 22     1    176   135M   0B     22M    2971  2971  sleeping *0[6]                  0.00000 0.00000    501  117342     2346  466311+     173186+


1150 max proc
(venv-metal) @mini08s-Mini benchmark % java -cp org.obrienscience.collatz.server.ForkJoinCollatzServer.jar org.obrienscience.collatz.server.ForkJoinCollatzServer 4 5 1
ForkJoinCollatzServer forkJoinPool-power-start end runs (v 20161009)
availableProc	: 12
fjps threads	: 4,5
freeMemory()	: 404076928
maxMemory()	: 6442450944
totalMemory()	: 406847488
Range: bits	: 25
3407,4,22,322,8
3223,4,21,321,16
3089,4,20,320,32
3088,4,19,319,64
3032,4,18,318,128
3026,4,17,317,256
3069,4,16,316,512
3126,4,15,315,1024
3157,4,14,314,2048
3197,4,13,313,4096
3148,4,12,312,8192
3202,4,11,311,16384
3238,4,10,310,32768
3260,4,9,39,65536
3309,4,8,38,131072
3338,4,7,37,262144
3472,4,6,36,524288
3813,4,5,35,1048576
3248,4,4,34,2097152
4039,4,3,43,4194304
7124,4,2,72,8388608
13128,4,1,131,16777216
25043,4,0,250,33554432
3183,5,22,322,8
3149,5,21,321,16
3187,5,20,320,32
3188,5,19,319,64
3212,5,18,318,128
3255,5,17,317,256
3295,5,16,316,512
3353,5,15,315,1024
3416,5,14,314,2048
3512,5,13,313,4096
3413,5,12,312,8192
3437,5,11,311,16384
3431,5,10,310,32768
3431,5,9,39,65536
3462,5,8,38,131072
3531,5,7,37,262144
3671,5,6,36,524288
3372,5,5,35,1048576
3518,5,4,34,2097152
4157,5,3,43,4194304
7308,5,2,72,8388608
13534,5,1,131,16777216
25331,5,0,250,33554432

3563,4,22,322,8
3275,4,21,321,16
3160,4,20,320,32
3057,4,19,319,64
3047,4,18,318,128
3063,4,17,317,256
2991,4,16,216,512
3005,4,15,315,1024
3060,4,14,314,2048
3025,4,13,313,4096
3060,4,12,312,8192
3115,4,11,311,16384
3122,4,10,310,32768
3154,4,9,39,65536
3194,4,8,38,131072
3198,4,7,37,262144
3356,4,6,36,524288
3670,4,5,35,1048576
3175,4,4,34,2097152
3895,4,3,33,4194304
7001,4,2,72,8388608
13242,4,1,131,16777216
24910,4,0,240,33554432

@obriensystems
Copy link
Member Author

macbook 14 pro M3 Pro 11 gpu
jdk 21.0.5
970 max core

 benchmark % java -cp org.obrienscience.collatz.server.ForkJoinCollatzServer.jar org.obrienscience.collatz.server.ForkJoinCollatzServer 4 5 1
ForkJoinCollatzServer forkJoinPool-power-start end runs (v 20161009)
availableProc	: 11
fjps threads	: 4,5
freeMemory()	: 303413632
maxMemory()	: 4831838208
totalMemory()	: 306184192
Range: bits	: 25
7705,4,22,722,8
7096,4,21,721,16
6921,4,20,620,32
6436,4,19,619,64
6182,4,18,618,128
6349,4,17,617,256
5630,4,16,516,512
5507,4,15,515,1024
5382,4,14,514,2048
5259,4,13,513,4096
5166,4,12,512,8192
5141,4,11,511,16384
5101,4,10,510,32768
5122,4,9,59,65536
5115,4,8,58,131072
5126,4,7,57,262144
5145,4,6,56,524288
5503,4,5,55,1048576
5076,4,4,54,2097152
5815,4,3,53,4194304
8578,4,2,82,8388608
16285,4,1,161,16777216
30649,4,0,300,33554432
7221,5,22,722,8
6874,5,21,621,16
6691,5,20,620,32
6480,5,19,619,64
6314,5,18,618,128
6074,5,17,617,256
5833,5,16,516,512
5647,5,15,515,1024
5426,5,14,514,2048
5294,5,13,513,4096
5220,5,12,512,8192
5120,5,11,511,16384
5065,5,10,510,32768
5078,5,9,59,65536
5087,5,8,58,131072
5078,5,7,57,262144
5154,5,6,56,524288
5034,5,5,55,1048576
4987,5,4,44,2097152
5699,5,3,53,4194304
8755,5,2,82,8388608
16222,5,1,161,16777216
30678,5,0,300,33554432

@obriensystems
Copy link
Member Author

obriensystems commented Nov 18, 2024

P1 Gen 6 13800H 20 core (12 core HT and 8 PC)

cpu 95-98%

micha@p1gen6 MINGW64 /c/wse_github/obrienlabs/benchmark (master)
$ java -cp org.obrienscience.collatz.server.ForkJoinCollatzServer.jar org.obrienscience.collatz.server.ForkJoinCollatzServer 4 7 2
ForkJoinCollatzServer forkJoinPool-power-start end runs (v 20161009)
availableProc   : 20
fjps threads    : 4,7
freeMemory()    : 1066694768
maxMemory()     : 17095983104
totalMemory()   : 1073741824
System.getEnv() : 
Range: bits     : 25
8152,4,22,822,8
7759,4,21,721,16
7995,4,20,720,32
7780,4,19,719,64
7734,4,18,718,128
7727,4,17,717,256
7759,4,16,716,512
7740,4,15,715,1024
7757,4,14,714,2048
7638,4,13,713,4096
7693,4,12,712,8192
7704,4,11,711,16384
7720,4,10,710,32768
7685,4,9,79,65536
7769,4,8,78,131072
7735,4,7,77,262144
7849,4,6,76,524288
8100,4,5,85,1048576
7709,4,4,74,2097152
8313,4,3,83,4194304
10812,4,2,102,8388608
18819,4,1,181,16777216
32446,4,0,320,33554432
7613,5,22,722,8
7591,5,21,721,16
7589,5,20,720,32
7591,5,19,719,64
7578,5,18,718,128
7580,5,17,717,256
7658,5,16,716,512
7629,5,15,715,1024
7631,5,14,714,2048
7624,5,13,713,4096
7577,5,12,712,8192
7601,5,11,711,16384
7612,5,10,710,32768
7623,5,9,79,65536
7910,5,8,78,131072
8147,5,7,87,262144
8287,5,6,86,524288
8185,5,5,85,1048576
8504,5,4,84,2097152
9505,5,3,93,4194304
11832,5,2,112,8388608
19342,5,1,191,16777216
34708,5,0,340,33554432
7655,6,22,722,8
7650,6,21,721,16
7695,6,20,720,32
7659,6,19,719,64
7655,6,18,718,128
7664,6,17,717,256
7676,6,16,716,512
8111,6,15,815,1024
8172,6,14,814,2048
8171,6,13,813,4096
8189,6,12,812,8192
8509,6,11,811,16384
8695,6,10,810,32768
8712,6,9,89,65536
8780,6,8,88,131072
8769,6,7,87,262144
8802,6,6,86,524288
8857,6,5,85,1048576
9208,6,4,94,2097152
9361,6,3,93,4194304
11831,6,2,112,8388608
19014,6,1,191,16777216
32369,6,0,320,33554432
7657,7,22,722,8
7636,7,21,721,16
7664,7,20,720,32
7663,7,19,719,64
7900,7,18,718,128
8158,7,17,817,256
8163,7,16,816,512
8178,7,15,815,1024
8467,7,14,814,2048
8605,7,13,813,4096
8717,7,12,812,8192
8714,7,11,811,16384
8734,7,10,810,32768
8764,7,9,89,65536
8778,7,8,88,131072
8793,7,7,87,262144
8811,7,6,86,524288
8837,7,5,85,1048576
8955,7,4,84,2097152
9157,7,3,93,4194304
11457,7,2,112,8388608
18956,7,1,181,16777216
32626,7,0,320,33554432

P1 Gen 6 13800H 6 core (HT and EC off)

20 % cpu other

@p1gen6 MINGW64 /c/wse_github/obrienlabs/benchmark (master)
$ java -cp org.obrienscience.collatz.server.ForkJoinCollatzServer.jar org.obrienscience.collatz.server.ForkJoinCollatzServer 4 5 1
ForkJoinCollatzServer forkJoinPool-power-start end runs (v 20161009)
availableProc   : 6
fjps threads    : 4,5
freeMemory()    : 1068708168
maxMemory()     : 17095983104
totalMemory()   : 1073741824
System.getEnv() : 
Range: bits     : 25
11558,4,22,1122,8
9016,4,21,921,16
8604,4,20,820,32
8763,4,19,819,64
8730,4,18,818,128
8664,4,17,817,256
8683,4,16,816,512
8781,4,15,815,1024
8753,4,14,814,2048
8910,4,13,813,4096
8880,4,12,812,8192
8761,4,11,811,16384
8780,4,10,810,32768
8704,4,9,89,65536
8686,4,8,88,131072
8796,4,7,87,262144
8931,4,6,86,524288
9192,4,5,95,1048576
8786,4,4,84,2097152
9132,4,3,93,4194304
10882,4,2,102,8388608
18950,4,1,181,16777216
33334,4,0,330,33554432
8521,5,22,822,8
8623,5,21,821,16
8812,5,20,820,32
8844,5,19,819,64
8624,5,18,818,128
8736,5,17,817,256
8798,5,16,816,512
8919,5,15,815,1024
8758,5,14,814,2048
8939,5,13,813,4096
8760,5,12,812,8192
8715,5,11,811,16384
8720,5,10,810,32768
8885,5,9,89,65536
8842,5,8,88,131072
8977,5,7,87,262144
9148,5,6,96,524288
9092,5,5,95,1048576
9285,5,4,94,2097152
9336,5,3,93,4194304
11149,5,2,112,8388608
19008,5,1,191,16777216
33082,5,0,330,33554432

micha@p1gen6 MINGW64 /c/wse_github/obrienlabs/benchmark (master)
$ java --version
java 21.0.5 2024-10-15 LTS
Java(TM) SE Runtime Environment (build 21.0.5+9-LTS-239)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.5+9-LTS-239, mixed mode, sharing)

@obriensystems obriensystems changed the title collatz benchmark IA65 and ARM64 collatz benchmark IA64 and ARM64 Nov 18, 2024
@obriensystems
Copy link
Member Author

13900KS d core
5.5-4.95G 24/32

michael@13900d MINGW64 /c/wse_github/obrienlabs/benchmark (master)
$ java --version
java 21.0.5 2024-10-15 LTS
Java(TM) SE Runtime Environment (build 21.0.5+9-LTS-239)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.5+9-LTS-239, mixed mode, sharing)

michael@13900d MINGW64 /c/wse_github/obrienlabs/benchmark (master)
$ java -cp org.obrienscience.collatz.server.ForkJoinCollatzServer.jar org.obrienscience.collatz.server.ForkJoinCollatzServer 4 6 1
ForkJoinCollatzServer forkJoinPool-power-start end runs (v 20161009)
availableProc   : 32
fjps threads    : 4,6
freeMemory()    : 2135403544
maxMemory()     : 31675383808
totalMemory()   : 2147483648
System.getEnv() : {PATH=C:\Users\michael\bin;C:\opt\git\mingw64\bin;C:\opt\git\usr\local\bin;C:\opt\git\usr\bin;C:\opt\git\usr\bin;C:\opt\git\mingw64\bin;C:\opt\git\usr\bin;C:\Users\michael\bin;C:\jdk210\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\libnvvp;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;C:\opt\git\cmd;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files\NVIDIA Corporation\Nsight Compute 2023.3.1;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\opt\mvn\bin;C:\Program Files\Docker\Docker\resources\bin;C:\opt\Python310\Scripts;C:\opt\Python310;C:\Users\michael\AppData\Local\Microsoft\WindowsApps;C:\Users\michael\AppData\Local\Programs\Microsoft VS Code\bin;C:\opt\git\usr\bin\vendor_perl;C:\opt\git\usr\bin\core_perl, USERDOMAIN_ROAMINGPROFILE=13900D, PKG_CONFIG_PATH=C:\opt\git\mingw64\lib\pkgconfig;C:\opt\git\mingw64\share\pkgconfig, MSYSTEM_PREFIX=C:/opt/git/mingw64, PROCESSOR_LEVEL=6, SYSTEMDRIVE=C:, CONFIG_SITE=C:/opt/git/etc/config.site, SESSIONNAME=Console, ALLUSERSPROFILE=C:\ProgramData, PROCESSOR_ARCHITECTURE=AMD64, MSYSTEM_CHOST=x86_64-w64-mingw32, PS1=\[\033]0;$TITLEPREFIX:$PWD\007\]\n\[\033[32m\]\u@\h \[\033[35m\]$MSYSTEM \[\033[33m\]\w\[\033[36m\]`__git_ps1`\[\033[0m\]\n$ , PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules, MVN_HOME=c:\opt\mvn, MAVEN_HOME=c:\opt\mvn, ORIGINAL_TEMP=C:/Users/michael/AppData/Local/Temp, PROGRAMFILES=C:\Program Files, ACSvcPort=17532, USERNAME=michael, PWD=C:/wse_github/obrienlabs/benchmark, TERM_PROGRAM_VERSION=3.6.4, ProgramFiles(x86)=C:\Program Files (x86), INFOPATH=C:\opt\git\mingw64\local\info;C:\opt\git\mingw64\share\info;C:\opt\git\usr\local\info;C:\opt\git\usr\share\info;C:\opt\git\usr\info;C:\opt\git\share\info, ACSetupSvcPort=23210, CUDA_PATH_V12_3=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3, PKG_CONFIG_SYSTEM_INCLUDE_PATH=C:/opt/git/mingw64/include, FPS_BROWSER_USER_PROFILE_STRING=Default, PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC, SHELL=C:\opt\git\usr\bin\bash.exe, DriverData=C:\Windows\System32\Drivers\DriverData, OneDriveConsumer=C:\Users\michael\OneDrive, ORIGINAL_TMP=C:/Users/michael/AppData/Local/Temp, OLDPWD=C:/wse_github/obrienlabs, TMPDIR=C:\Users\michael\AppData\Local\Temp, WINDIR=C:\Windows, ProgramData=C:\ProgramData, ProgramW6432=C:\Program Files, SSH_ASKPASS=C:/opt/git/mingw64/bin/git-askpass.exe, HOMEPATH=\Users\michael, PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 183 Stepping 1, GenuineIntel, PUBLIC=C:\Users\Public, MINGW_CHOST=x86_64-w64-mingw32, LC_CTYPE=en_US.UTF-8, =::=::\, EXEPATH=C:\opt\git, SHLVL=1, ZES_ENABLE_SYSMAN=1, LOCALAPPDATA=C:\Users\michael\AppData\Local, ORIGINAL_PATH=C:\opt\git\mingw64\bin;C:\opt\git\usr\bin;C:\Users\michael\bin;C:\jdk210\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\libnvvp;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;C:\opt\git\cmd;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files\NVIDIA Corporation\Nsight Compute 2023.3.1;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\opt\mvn\bin;C:\Program Files\Docker\Docker\resources\bin;C:\opt\Python310\Scripts;C:\opt\Python310;C:\Users\michael\AppData\Local\Microsoft\WindowsApps;C:\Users\michael\AppData\Local\Programs\Microsoft VS Code\bin, MANPATH=C:\opt\git\mingw64\local\man;C:\opt\git\mingw64\share\man;C:\opt\git\usr\local\man;C:\opt\git\usr\share\man;C:\opt\git\usr\man;C:\opt\git\share\man, MINGW_PACKAGE_PREFIX=mingw-w64-x86_64, USERDOMAIN=13900D, FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer, LOGONSERVER=\\13900D, JAVA_HOME=c:\jdk210, PLINK_PROTOCOL=ssh, TERM=xterm, RlsSvcPort=22112, MINGW_PREFIX=C:/opt/git/mingw64, DISPLAY=needs-to-be-defined, MSYSTEM=MINGW64, OneDrive=C:\Users\michael\OneDrive, APPDATA=C:\Users\michael\AppData\Roaming, SYSTEMROOT=C:\Windows, _=C:/jdk210/bin/java, OS=Windows_NT, TERM_PROGRAM=mintty, COMPUTERNAME=13900D, COMMONPROGRAMFILES=C:\Program Files\Common Files, COMSPEC=C:\Windows\system32\cmd.exe, CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3, PROCESSOR_REVISION=b701, CommonProgramW6432=C:\Program Files\Common Files, ACLOCAL_PATH=C:\opt\git\mingw64\share\aclocal;C:\opt\git\usr\share\aclocal, MSYSTEM_CARCH=x86_64, TEMP=C:\Users\michael\AppData\Local\Temp, HOSTNAME=13900d, HOMEDRIVE=C:, USERPROFILE=C:\Users\michael, TMP=C:\Users\michael\AppData\Local\Temp, CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files, NUMBER_OF_PROCESSORS=32, EFC_14352=1, HOME=C:\Users\michael, PKG_CONFIG_SYSTEM_LIBRARY_PATH=C:/opt/git/mingw64/lib}
Range: bits     : 25
9422,4,22,922,8
9007,4,21,921,16
8935,4,20,820,32
8927,4,19,819,64
8943,4,18,818,128
8922,4,17,817,256
8921,4,16,816,512
8917,4,15,815,1024
8916,4,14,814,2048
8915,4,13,813,4096
8916,4,12,812,8192
8917,4,11,811,16384
8921,4,10,810,32768
8934,4,9,89,65536
8928,4,8,88,131072
8951,4,7,87,262144
9019,4,6,96,524288
9131,4,5,95,1048576
8936,4,4,84,2097152
8997,4,3,83,4194304
9538,4,2,92,8388608
15300,4,1,151,16777216
28128,4,0,280,33554432
8934,5,22,822,8
8957,5,21,821,16
8949,5,20,820,32
8944,5,19,819,64
8940,5,18,818,128
8953,5,17,817,256
8933,5,16,816,512
8940,5,15,815,1024
8920,5,14,814,2048
8932,5,13,813,4096
8924,5,12,812,8192
8932,5,11,811,16384
9037,5,10,910,32768
9059,5,9,99,65536
9035,5,8,98,131072
8985,5,7,87,262144
9082,5,6,96,524288
8955,5,5,85,1048576
8985,5,4,84,2097152
9086,5,3,93,4194304
10225,5,2,102,8388608
15414,5,1,151,16777216
28036,5,0,280,33554432
8928,6,22,822,8
8901,6,21,821,16
8899,6,20,820,32
8895,6,19,819,64
8907,6,18,818,128
8889,6,17,817,256
8895,6,16,816,512
8892,6,15,815,1024
8892,6,14,814,2048
8891,6,13,813,4096
8892,6,12,812,8192
8896,6,11,811,16384
8906,6,10,810,32768
8910,6,9,89,65536
8909,6,8,88,131072
8911,6,7,87,262144
8922,6,6,86,524288
8930,6,5,85,1048576
9002,6,4,94,2097152
9100,6,3,93,4194304
10438,6,2,102,8388608
15313,6,1,151,16777216
29097,6,0,290,33554432

@obriensystems
Copy link
Member Author

obriensystems commented Nov 18, 2024

14900K c
5.9-5.04Ghz


Range: bits     : 25
8379,5,22,822,8
10348,5,21,1021,16


michael@14900c MINGW64 ~
$ java --version
java 21.0.5 2024-10-15 LTS
Java(TM) SE Runtime Environment (build 21.0.5+9-LTS-239)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.5+9-LTS-239, mixed mode, sharing)


michael@14900c MINGW64 /c/wse_github/obrienlabs/benchmark (master)
$ java -cp org.obrienscience.collatz.server.ForkJoinCollatzServer.jar org.obrienscience.collatz.server.ForkJoinCollatzServer 4 6 1
ForkJoinCollatzServer forkJoinPool-power-start end runs (v 20161009)
availableProc   : 32
fjps threads    : 4,6
freeMemory()    : 2135403544
maxMemory()     : 31675383808
totalMemory()   : 2147483648
System.getEnv() : Range: bits     : 25
10562,4,22,1022,8
10345,4,21,1021,16
10298,4,20,1020,32
10249,4,19,1019,64
10241,4,18,1018,128
10259,4,17,1017,256
10235,4,16,1016,512
10250,4,15,1015,1024
10254,4,14,1014,2048
10231,4,13,1013,4096
10250,4,12,1012,8192
10247,4,11,1011,16384
10253,4,10,1010,32768
10235,4,9,109,65536
10266,4,8,108,131072
10301,4,7,107,262144
10334,4,6,106,524288
10445,4,5,105,1048576
10280,4,4,104,2097152
10291,4,3,103,4194304
10866,4,2,102,8388608
15813,4,1,151,16777216
27760,4,0,270,33554432
10318,5,22,1022,8
10242,5,21,1021,16
10227,5,20,1020,32
10235,5,19,1019,64
10225,5,18,1018,128
10229,5,17,1017,256
10218,5,16,1016,512
10229,5,15,1015,1024
10225,5,14,1014,2048
10222,5,13,1013,4096
10232,5,12,1012,8192
10212,5,11,1011,16384
10226,5,10,1010,32768
10234,5,9,109,65536
10235,5,8,108,131072
10243,5,7,107,262144
10273,5,6,106,524288
10234,5,5,105,1048576
10298,5,4,104,2097152
10328,5,3,103,4194304
10891,5,2,102,8388608
16264,5,1,161,16777216
28034,5,0,280,33554432
10270,6,22,1022,8
10261,6,21,1021,16
10235,6,20,1020,32
10218,6,19,1019,64
10235,6,18,1018,128
10219,6,17,1017,256
10236,6,16,1016,512
10234,6,15,1015,1024
10223,6,14,1014,2048
10230,6,13,1013,4096
10234,6,12,1012,8192
10219,6,11,1011,16384
10237,6,10,1010,32768
10253,6,9,109,65536
10245,6,8,108,131072
10250,6,7,107,262144
10238,6,6,106,524288
10267,6,5,105,1048576
10340,6,4,104,2097152
10406,6,3,103,4194304
10938,6,2,102,8388608
15985,6,1,151,16777216
28454,6,0,280,33554432



michael@14900c MINGW64 /c/wse_github/obrienlabs/benchmark (master)
$ java -cp org.obrienscience.collatz.server.ForkJoinCollatzServer.jar org.obrienscience.collatz.server.ForkJoinCollatzServer 5 6 2
ForkJoinCollatzServer forkJoinPool-power-start end runs (v 20161009)
availableProc   : 32
fjps threads    : 5,6
freeMemory()    : 2133390168
maxMemory()     : 31675383808
totalMemory()   : 2147483648

Range: bits     : 25
10657,5,22,1022,8
10391,5,21,1021,16
10328,5,20,1020,32
10313,5,19,1019,64
10344,5,18,1018,128
10312,5,17,1017,256
10333,5,16,1016,512
10324,5,15,1015,1024
10316,5,14,1014,2048
10309,5,13,1013,4096
10313,5,12,1012,8192
10312,5,11,1011,16384
10321,5,10,1010,32768
10320,5,9,109,65536
10313,5,8,108,131072
10391,5,7,107,262144
10344,5,6,106,524288
10344,5,5,105,1048576
10411,5,4,104,2097152
10355,5,3,103,4194304
10985,5,2,102,8388608
16093,5,1,161,16777216
27673,5,0,270,33554432
10279,6,22,1022,8
10252,6,21,1021,16
10251,6,20,1020,32
10252,6,19,1019,64
10248,6,18,1018,128
10235,6,17,1017,256
10251,6,16,1016,512
10236,6,15,1015,1024
10232,6,14,1014,2048
10250,6,13,1013,4096
10229,6,12,1012,8192
10240,6,11,1011,16384
10255,6,10,1010,32768
10245,6,9,109,65536
10266,6,8,108,131072
10282,6,7,107,262144
10265,6,6,106,524288
10360,6,5,105,1048576
10469,6,4,104,2097152
10360,6,3,103,4194304
Exception in thread "main" java.lang.NullPointerException
        at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
        at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
        at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:542)
        at java.base/java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:567)
        at java.base/java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:653)
        at java.base/java.util.concurrent.ForkJoinPool.invoke(ForkJoinPool.java:2822)
        at org.obrienscience.collatz.server.ForkJoinCollatzServer.compute(ForkJoinCollatzServer.java:16)
        at org.obrienscience.collatz.server.ForkJoinCollatzServer.main(ForkJoinCollatzServer.java:53)
Caused by: java.lang.NullPointerException: Cannot read the array length because "mag" is null
        at java.base/java.math.BigInteger.shiftLeft(BigInteger.java:3473)
        at java.base/java.math.BigInteger.shiftLeft(BigInteger.java:3451)
        at org.obrienscience.collatz.server.ForkJoinUnitOfWork.computeNoFork(ForkJoinUnitOfWork.java:44)
        at org.obrienscience.collatz.server.ForkJoinUnitOfWork.compute(ForkJoinUnitOfWork.java:76)
        at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
        at java.base/java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:696)
        at org.obrienscience.collatz.server.ForkJoinUnitOfWork.compute(ForkJoinUnitOfWork.java:84)
        at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
        at java.base/java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:696)
        at org.obrienscience.collatz.server.ForkJoinUnitOfWork.compute(ForkJoinUnitOfWork.java:84)
        at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
        at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
        at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
        at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
        at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

michael@14900c MINGW64 /c/wse_github/obrienlabs/benchmark (master)
$ java -cp org.obrienscience.collatz.server.ForkJoinCollatzServer.jar org.obrienscience.collatz.server.ForkJoinCollatzServer 5 6 2
ForkJoinCollatzServer forkJoinPool-power-start end runs (v 20161009)
availableProc   : 32
fjps threads    : 5,6
freeMemory()    : 2135403544
maxMemory()     : 31675383808
totalMemory()   : 2147483648
 
Range: bits     : 25
10436,5,22,1022,8
10254,5,21,1021,16
10153,5,20,1020,32
10172,5,19,1019,64
10172,5,18,1018,128
10157,5,17,1017,256
10156,5,16,1016,512
10168,5,15,1015,1024
10162,5,14,1014,2048
10152,5,13,1013,4096
10166,5,12,1012,8192
10150,5,11,1011,16384
10172,5,10,1010,32768
10157,5,9,109,65536
10156,5,8,108,131072
10172,5,7,107,262144
10234,5,6,106,524288
10157,5,5,105,1048576
10250,5,4,104,2097152
10281,5,3,103,4194304
10829,5,2,102,8388608
15734,5,1,151,16777216
28047,5,0,280,33554432
10219,6,22,1022,8
10173,6,21,1021,16
10178,6,20,1020,32
10166,6,19,1019,64
10172,6,18,1018,128
10156,6,17,1017,256
10172,6,16,1016,512
10157,6,15,1015,1024
10172,6,14,1014,2048
10172,6,13,1013,4096
10170,6,12,1012,8192
10174,6,11,1011,16384
10156,6,10,1010,32768
10156,6,9,109,65536
10168,6,8,108,131072
10161,6,7,107,262144
10172,6,6,106,524288
10141,6,5,105,1048576
10219,6,4,104,2097152
10257,6,3,103,4194304
10790,6,2,102,8388608
15797,6,1,151,16777216
27767,6,0,270,33554432


@obriensystems
Copy link
Member Author

obriensystems commented Nov 18, 2024

b 13900K - 5.7-4.89 Ghz
dual 4090
jdk 17.0.8

michael@13900b MINGW64 /c/wse_github/obrienlabs/benchmark (master)
$ java -cp org.obrienscience.collatz.server.ForkJoinCollatzServer.jar org.obrienscience.collatz.server.ForkJoinCollatzServer 4 6 1
ForkJoinCollatzServer forkJoinPool-power-start end runs (v 20161009)
availableProc   : 32
fjps threads    : 4,6
freeMemory()    : 2139430224
maxMemory()     : 32178700288
totalMemory()   : 2147483648

Range: bits     : 25
9312,4,22,922,8
9067,4,21,921,16
9011,4,20,920,32
8948,4,19,819,64
8948,4,18,818,128
8943,4,17,817,256
8946,4,16,816,512
8939,4,15,815,1024
8937,4,14,814,2048
8939,4,13,813,4096
8941,4,12,812,8192
8940,4,11,811,16384
8946,4,10,810,32768
8939,4,9,89,65536
8950,4,8,88,131072
8941,4,7,87,262144
9072,4,6,96,524288
9079,4,5,95,1048576
8954,4,4,84,2097152
8971,4,3,83,4194304
9672,4,2,92,8388608
16274,4,1,161,16777216
29087,4,0,290,33554432
8972,5,22,822,8
8965,5,21,821,16
8932,5,20,820,32
8941,5,19,819,64
8927,5,18,818,128
8926,5,17,817,256
8924,5,16,816,512
8934,5,15,815,1024
8923,5,14,814,2048
8942,5,13,813,4096
8937,5,12,812,8192
8929,5,11,811,16384
8933,5,10,810,32768
8931,5,9,89,65536
8940,5,8,88,131072
8939,5,7,87,262144
9092,5,6,96,524288
8915,5,5,85,1048576
9005,5,4,94,2097152
9034,5,3,93,4194304
9640,5,2,92,8388608
15992,5,1,151,16777216
28842,5,0,280,33554432
8962,6,22,822,8
8931,6,21,821,16
8925,6,20,820,32
8921,6,19,819,64
8918,6,18,818,128
8918,6,17,817,256
8918,6,16,816,512
8918,6,15,815,1024
8921,6,14,814,2048
8920,6,13,813,4096
8923,6,12,812,8192
8943,6,11,811,16384
8930,6,10,810,32768
8932,6,9,89,65536
9020,6,8,98,131072
8973,6,7,87,262144
8961,6,6,86,524288
8965,6,5,85,1048576
9062,6,4,94,2097152
9125,6,3,93,4194304
9738,6,2,92,8388608
16285,6,1,161,16777216
29000,6,0,290,33554432

jdk 21.0.5

michael@13900b MINGW64 /c/wse_github/obrienlabs/benchmark (master)
$ java -cp org.obrienscience.collatz.server.ForkJoinCollatzServer.jar org.obrienscience.collatz.server.ForkJoinCollatzServer 4 6 1
ForkJoinCollatzServer forkJoinPool-power-start end runs (v 20161009)
availableProc   : 32
fjps threads    : 4,6
freeMemory()    : 2135403456
maxMemory()     : 31675383808
totalMemory()   : 2147483648

Range: bits     : 25
9279,4,22,922,8
9010,4,21,921,16
8946,4,20,820,32
8943,4,19,819,64
8939,4,18,818,128
8942,4,17,817,256
8940,4,16,816,512
8938,4,15,815,1024
8938,4,14,814,2048
8941,4,13,813,4096
8966,4,12,812,8192
8973,4,11,811,16384
8948,4,10,810,32768
8950,4,9,89,65536
8956,4,8,88,131072
8984,4,7,87,262144
9070,4,6,96,524288
9297,4,5,95,1048576
8951,4,4,84,2097152
8997,4,3,83,4194304
9692,4,2,92,8388608
16109,4,1,161,16777216
28957,4,0,280,33554432
8970,5,22,822,8
8943,5,21,821,16
8932,5,20,820,32
8925,5,19,819,64
8919,5,18,818,128
8921,5,17,817,256
8922,5,16,816,512
8917,5,15,815,1024
8918,5,14,814,2048
8916,5,13,813,4096
8918,5,12,812,8192
8920,5,11,811,16384
8923,5,10,810,32768
8930,5,9,89,65536
8920,5,8,88,131072
8934,5,7,87,262144
9017,5,6,96,524288
8945,5,5,85,1048576
8960,5,4,84,2097152
8998,5,3,83,4194304
9662,5,2,92,8388608
16102,5,1,161,16777216
29022,5,0,290,33554432
8960,6,22,822,8
8942,6,21,821,16
8933,6,20,820,32
8930,6,19,819,64
8929,6,18,818,128
8932,6,17,817,256
8927,6,16,816,512
8930,6,15,815,1024
8930,6,14,814,2048
8934,6,13,813,4096
8933,6,12,812,8192
8939,6,11,811,16384
8941,6,10,810,32768
8943,6,9,89,65536
8943,6,8,88,131072
8965,6,7,87,262144
8952,6,6,86,524288
8967,6,5,85,1048576
9023,6,4,94,2097152
9033,6,3,93,4194304
9742,6,2,92,8388608
16289,6,1,161,16777216
29283,6,0,290,33554432
(base)
michael@13900b MINGW64 /c/wse_github/obrienlabs/benchmark (master)
$ java --version
java 21.0.5 2024-10-15 LTS
Java(TM) SE Runtime Environment (build 21.0.5+9-LTS-239)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.5+9-LTS-239, mixed mode, sharing)

@obriensystems
Copy link
Member Author

13900KS d

jdk 21.0.1

michael@13900d MINGW64 /c/wse_github/obrienlabs/benchmark (master)
$ java -cp org.obrienscience.collatz.server.ForkJoinCollatzServer.jar org.obrienscience.collatz.server.ForkJoinCollatzServer 4 6 1
ForkJoinCollatzServer forkJoinPool-power-start end runs (v 20161009)
availableProc   : 32
fjps threads    : 4,6
freeMemory()    : 2135403544
maxMemory()     : 31675383808
totalMemory()   : 2147483648
System.getEnv() : {PATH=C:\Users\michael\bin;C:\opt\git\mingw64\bin;C:\opt\git\usr\local\bin;C:\opt\git\usr\bin;C:\opt\git\usr\bin;C:\opt\git\mingw64\bin;C:\opt\git\usr\bin;C:\Users\michael\bin;C:\jdk210\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\libnvvp;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;C:\opt\git\cmd;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files\NVIDIA Corporation\Nsight Compute 2023.3.1;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\opt\mvn\bin;C:\Program Files\Docker\Docker\resources\bin;C:\opt\Python310\Scripts;C:\opt\Python310;C:\Users\michael\AppData\Local\Microsoft\WindowsApps;C:\Users\michael\AppData\Local\Programs\Microsoft VS Code\bin;C:\opt\git\usr\bin\vendor_perl;C:\opt\git\usr\bin\core_perl, USERDOMAIN_ROAMINGPROFILE=13900D, PKG_CONFIG_PATH=C:\opt\git\mingw64\lib\pkgconfig;C:\opt\git\mingw64\share\pkgconfig, MSYSTEM_PREFIX=C:/opt/git/mingw64, PROCESSOR_LEVEL=6, SYSTEMDRIVE=C:, CONFIG_SITE=C:/opt/git/etc/config.site, SESSIONNAME=Console, ALLUSERSPROFILE=C:\ProgramData, PROCESSOR_ARCHITECTURE=AMD64, MSYSTEM_CHOST=x86_64-w64-mingw32, PS1=\[\033]0;$TITLEPREFIX:$PWD\007\]\n\[\033[32m\]\u@\h \[\033[35m\]$MSYSTEM \[\033[33m\]\w\[\033[36m\]`__git_ps1`\[\033[0m\]\n$ , PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules, MVN_HOME=c:\opt\mvn, MAVEN_HOME=c:\opt\mvn, ORIGINAL_TEMP=C:/Users/michael/AppData/Local/Temp, PROGRAMFILES=C:\Program Files, ACSvcPort=17532, USERNAME=michael, PWD=C:/wse_github/obrienlabs/benchmark, TERM_PROGRAM_VERSION=3.6.4, ProgramFiles(x86)=C:\Program Files (x86), INFOPATH=C:\opt\git\mingw64\local\info;C:\opt\git\mingw64\share\info;C:\opt\git\usr\local\info;C:\opt\git\usr\share\info;C:\opt\git\usr\info;C:\opt\git\share\info, ACSetupSvcPort=23210, CUDA_PATH_V12_3=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3, PKG_CONFIG_SYSTEM_INCLUDE_PATH=C:/opt/git/mingw64/include, FPS_BROWSER_USER_PROFILE_STRING=Default, PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC, SHELL=C:\opt\git\usr\bin\bash.exe, DriverData=C:\Windows\System32\Drivers\DriverData, OneDriveConsumer=C:\Users\michael\OneDrive, ORIGINAL_TMP=C:/Users/michael/AppData/Local/Temp, OLDPWD=C:/wse_github/obrienlabs, TMPDIR=C:\Users\michael\AppData\Local\Temp, WINDIR=C:\Windows, ProgramData=C:\ProgramData, ProgramW6432=C:\Program Files, SSH_ASKPASS=C:/opt/git/mingw64/bin/git-askpass.exe, HOMEPATH=\Users\michael, PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 183 Stepping 1, GenuineIntel, PUBLIC=C:\Users\Public, MINGW_CHOST=x86_64-w64-mingw32, LC_CTYPE=en_US.UTF-8, =::=::\, EXEPATH=C:\opt\git, SHLVL=1, ZES_ENABLE_SYSMAN=1, LOCALAPPDATA=C:\Users\michael\AppData\Local, ORIGINAL_PATH=C:\opt\git\mingw64\bin;C:\opt\git\usr\bin;C:\Users\michael\bin;C:\jdk210\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3\libnvvp;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;C:\opt\git\cmd;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files\NVIDIA Corporation\Nsight Compute 2023.3.1;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\opt\mvn\bin;C:\Program Files\Docker\Docker\resources\bin;C:\opt\Python310\Scripts;C:\opt\Python310;C:\Users\michael\AppData\Local\Microsoft\WindowsApps;C:\Users\michael\AppData\Local\Programs\Microsoft VS Code\bin, MANPATH=C:\opt\git\mingw64\local\man;C:\opt\git\mingw64\share\man;C:\opt\git\usr\local\man;C:\opt\git\usr\share\man;C:\opt\git\usr\man;C:\opt\git\share\man, MINGW_PACKAGE_PREFIX=mingw-w64-x86_64, USERDOMAIN=13900D, FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer, LOGONSERVER=\\13900D, JAVA_HOME=c:\jdk210, PLINK_PROTOCOL=ssh, TERM=xterm, RlsSvcPort=22112, MINGW_PREFIX=C:/opt/git/mingw64, DISPLAY=needs-to-be-defined, MSYSTEM=MINGW64, OneDrive=C:\Users\michael\OneDrive, APPDATA=C:\Users\michael\AppData\Roaming, SYSTEMROOT=C:\Windows, _=C:/jdk210/bin/java, OS=Windows_NT, TERM_PROGRAM=mintty, COMPUTERNAME=13900D, COMMONPROGRAMFILES=C:\Program Files\Common Files, COMSPEC=C:\Windows\system32\cmd.exe, CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.3, PROCESSOR_REVISION=b701, CommonProgramW6432=C:\Program Files\Common Files, ACLOCAL_PATH=C:\opt\git\mingw64\share\aclocal;C:\opt\git\usr\share\aclocal, MSYSTEM_CARCH=x86_64, TEMP=C:\Users\michael\AppData\Local\Temp, HOSTNAME=13900d, HOMEDRIVE=C:, USERPROFILE=C:\Users\michael, TMP=C:\Users\michael\AppData\Local\Temp, CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files, NUMBER_OF_PROCESSORS=32, EFC_14352=1, HOME=C:\Users\michael, PKG_CONFIG_SYSTEM_LIBRARY_PATH=C:/opt/git/mingw64/lib}
Range: bits     : 25
9262,4,22,922,8
9007,4,21,921,16
8978,4,20,820,32
8937,4,19,819,64
8976,4,18,818,128
8913,4,17,817,256
8922,4,16,816,512
8914,4,15,815,1024
8935,4,14,814,2048
8966,4,13,813,4096
9003,4,12,912,8192
8964,4,11,811,16384
8972,4,10,810,32768
8954,4,9,89,65536
8997,4,8,88,131072
8948,4,7,87,262144
8970,4,6,86,524288
9184,4,5,95,1048576
8988,4,4,84,2097152
9159,4,3,93,4194304
9555,4,2,92,8388608
15290,4,1,151,16777216
28064,4,0,280,33554432
8920,5,22,822,8
8904,5,21,821,16
8904,5,20,820,32
8923,5,19,819,64
8903,5,18,818,128
8881,5,17,817,256
8880,5,16,816,512
8887,5,15,815,1024
8881,5,14,814,2048
8882,5,13,813,4096
8883,5,12,812,8192
8889,5,11,811,16384
8925,5,10,810,32768
8898,5,9,89,65536
8904,5,8,88,131072
8900,5,7,87,262144
8937,5,6,86,524288
8895,5,5,85,1048576
9000,5,4,94,2097152
9080,5,3,93,4194304
9607,5,2,92,8388608
15370,5,1,151,16777216
27908,5,0,270,33554432
8920,6,22,822,8
8887,6,21,821,16
8888,6,20,820,32
8869,6,19,819,64
8869,6,18,818,128
8868,6,17,817,256
8865,6,16,816,512
8870,6,15,815,1024
8867,6,14,814,2048
8870,6,13,813,4096
8869,6,12,812,8192
8872,6,11,811,16384
8876,6,10,810,32768
8878,6,9,89,65536
8886,6,8,88,131072
8906,6,7,87,262144
8895,6,6,86,524288
8889,6,5,85,1048576
8949,6,4,84,2097152
9064,6,3,93,4194304
9552,6,2,92,8388608
15208,6,1,151,16777216
27525,6,0,270,33554432

@obriensystems
Copy link
Member Author

Macbook pro M1 Pro 14 inch 6/2 - 14gpu 770%

mpb6@mbp6 benchmark % java -cp org.obrienscience.collatz.server.ForkJoinCollatzServer.jar org.obrienscience.collatz.server.ForkJoinCollatzServer 4 6 1
ForkJoinCollatzServer forkJoinPool-power-start end runs (v 20161009)
availableProc	: 8
fjps threads	: 4,6
freeMemory()	: 267594272
maxMemory()	: 4294967296
totalMemory()	: 270532608

Range: bits	: 25
10114,4,22,1022,8
14367,4,21,1421,16
14249,4,20,1420,32
13632,4,19,1319,64
13523,4,18,1318,128
13114,4,17,1317,256
12710,4,16,1216,512
12804,4,15,1215,1024
12530,4,14,1214,2048
12828,4,13,1213,4096
12687,4,12,1212,8192
12583,4,11,1211,16384
12696,4,10,1210,32768
12555,4,9,129,65536
12924,4,8,128,131072
12968,4,7,127,262144
13070,4,6,136,524288
14141,4,5,145,1048576
12008,4,4,124,2097152
12265,4,3,123,4194304
22898,4,2,222,8388608
51936,4,1,511,16777216
111401,4,0,1110,33554432
13572,5,22,1322,8
13659,5,21,1321,16
13598,5,20,1320,32
13357,5,19,1319,64
13120,5,18,1318,128
12931,5,17,1217,256
12775,5,16,1216,512
12706,5,15,1215,1024
12693,5,14,1214,2048
12681,5,13,1213,4096
12780,5,12,1212,8192
12708,5,11,1211,16384
12703,5,10,1210,32768
12778,5,9,129,65536
12806,5,8,128,131072
12852,5,7,127,262144
13919,5,6,136,524288
12912,5,5,125,1048576
12220,5,4,124,2097152
12656,5,3,123,4194304
23626,5,2,232,8388608
49480,5,1,491,16777216
107834,5,0,1070,33554432
13856,6,22,1322,8
13940,6,21,1321,16
13923,6,20,1320,32
13693,6,19,1319,64
13572,6,18,1318,128
13411,6,17,1317,256
13279,6,16,1316,512
13263,6,15,1315,1024
13232,6,14,1314,2048
13259,6,13,1313,4096
13284,6,12,1312,8192
13293,6,11,1311,16384
13284,6,10,1310,32768
13242,6,9,139,65536
13231,6,8,138,131072
13235,6,7,137,262144
13302,6,6,136,524288
12895,6,5,125,1048576
12101,6,4,124,2097152
12684,6,3,123,4194304
23243,6,2,232,8388608
49988,6,1,491,16777216
101664,6,0,1010,33554432
mpb6@mbp6 benchmark % 
mpb6@mbp6 benchmark % java -cp org.obrienscience.collatz.server.ForkJoinCollatzServer.jar org.obrienscience.collatz.server.ForkJoinCollatzServer 4 6 1
ForkJoinCollatzServer forkJoinPool-power-start end runs (v 20161009)
availableProc	: 8
fjps threads	: 4,6
freeMemory()	: 267594272
maxMemory()	: 4294967296
totalMemory()	: 270532608

Range: bits	: 25
9321,4,22,922,8
12473,4,21,1221,16
12853,4,20,1220,32
12348,4,19,1219,64
12302,4,18,1218,128
11913,4,17,1117,256
11669,4,16,1116,512
11758,4,15,1115,1024
11909,4,14,1114,2048
12125,4,13,1213,4096
12138,4,12,1212,8192
12120,4,11,1211,16384
12297,4,10,1210,32768
12453,4,9,129,65536
12445,4,8,128,131072
12523,4,7,127,262144
13511,4,6,136,524288
15162,4,5,155,1048576
12529,4,4,124,2097152
12220,4,3,123,4194304
22603,4,2,222,8388608
47380,4,1,471,16777216
119748,4,0,1190,33554432
12821,5,22,1222,8
13179,5,21,1321,16
13023,5,20,1320,32
12351,5,19,1219,64
12235,5,18,1218,128
12046,5,17,1217,256
12079,5,16,1216,512
12312,5,15,1215,1024
12358,5,14,1214,2048
12554,5,13,1213,4096
12627,5,12,1212,8192
12755,5,11,1211,16384
12829,5,10,1210,32768
12851,5,9,129,65536
12860,5,8,128,131072
12996,5,7,127,262144
13241,5,6,136,524288
43267,5,5,435,1048576
12372,5,4,124,2097152
12923,5,3,123,4194304
394961,5,2,3942,8388608
424464,5,1,4241,16777216
1073256,5,0,10730,33554432
15658,6,22,1522,8
15827,6,21,1521,16
15780,6,20,1520,32
15107,6,19,1519,64
15021,6,18,1518,128
14638,6,17,1417,256
14498,6,16,1416,512
14665,6,15,1415,1024
14968,6,14,1414,2048
15119,6,13,1513,4096
15506,6,12,1512,8192
15827,6,11,1511,16384
16192,6,10,1610,32768
16558,6,9,169,65536
16730,6,8,168,131072
17420,6,7,177,262144
16945,6,6,166,524288
16922,6,5,165,1048576
16913,6,4,164,2097152
17686,6,3,173,4194304
927840,6,2,9272,8388608
1017415,6,1,10171,16777216
2724364,6,0,27240,33554432
mpb6@mbp6 benchmark % java -cp org.obrienscience.collatz.server.ForkJoinCollatzServer.jar org.obrienscience.collatz.server.ForkJoinCollatzServer 4 6 1
ForkJoinCollatzServer forkJoinPool-power-start end runs (v 20161009)
availableProc	: 8
fjps threads	: 4,6
freeMemory()	: 267594272
maxMemory()	: 4294967296
totalMemory()	: 270532608
Range: bits	: 25
10113,4,22,1022,8
12006,4,21,1221,16
11522,4,20,1120,32
11130,4,19,1119,64
10730,4,18,1018,128
10637,4,17,1017,256
10587,4,16,1016,512
10883,4,15,1015,1024
11413,4,14,1114,2048
11657,4,13,1113,4096
11762,4,12,1112,8192
12149,4,11,1211,16384
12033,4,10,1210,32768
12268,4,9,129,65536
12186,4,8,128,131072
12487,4,7,127,262144
13054,4,6,136,524288
13562,4,5,135,1048576
12446,4,4,124,2097152
12246,4,3,123,4194304
22622,4,2,222,8388608
46782,4,1,461,16777216
103477,4,0,1030,33554432
11930,5,22,1122,8
11840,5,21,1121,16
11720,5,20,1120,32
11209,5,19,1119,64
11035,5,18,1118,128
10854,5,17,1017,256
10967,5,16,1016,512
11298,5,15,1115,1024
11695,5,14,1114,2048
12077,5,13,1213,4096
12290,5,12,1212,8192
12436,5,11,1211,16384
12609,5,10,1210,32768
12801,5,9,129,65536
12816,5,8,128,131072
12731,5,7,127,262144
13368,5,6,136,524288
12937,5,5,125,1048576
12142,5,4,124,2097152
12425,5,3,123,4194304
22816,5,2,222,8388608
49295,5,1,491,16777216
103852,5,0,1030,33554432
11945,6,22,1122,8
11914,6,21,1121,16
11918,6,20,1120,32
11465,6,19,1119,64
11231,6,18,1118,128
11266,6,17,1117,256
11229,6,16,1116,512
11640,6,15,1115,1024
12079,6,14,1214,2048
12419,6,13,1213,4096
12657,6,12,1212,8192
12903,6,11,1211,16384
13031,6,10,1310,32768
13114,6,9,139,65536
13155,6,8,138,131072
13283,6,7,137,262144
13217,6,6,136,524288
12707,6,5,125,1048576
12100,6,4,124,2097152
12672,6,3,123,4194304
23589,6,2,232,8388608
52273,6,1,521,16777216
104280,6,0,1040,33554432

@obriensystems
Copy link
Member Author

13900 a

micha@13900a MINGW64 /c/wse_github/obrienlabs/benchmark (master)
$ java -cp org.obrienscience.collatz.server.ForkJoinCollatzServer.jar org.obrienscience.collatz.server.ForkJoinCollatzServer 3 7 1
ForkJoinCollatzServer forkJoinPool-power-start end runs (v 20161009)
availableProc   : 32
fjps threads    : 3,7
freeMemory()    : 2135403544
maxMemory()     : 31675383808
totalMemory()   : 2147483648

Range: bits     : 25
9186,3,22,922,8
9124,3,21,921,16
8918,3,20,820,32
8913,3,19,819,64
8904,3,18,818,128
8905,3,17,817,256
8900,3,16,816,512
8895,3,15,815,1024
8887,3,14,814,2048
8899,3,13,813,4096
8904,3,12,812,8192
8905,3,11,811,16384
8894,3,10,810,32768
8959,3,9,89,65536
8952,3,8,88,131072
8981,3,7,87,262144
9019,3,6,96,524288
9382,3,5,95,1048576
8906,3,4,84,2097152
8948,3,3,83,4194304
9752,3,2,92,8388608
15454,3,1,151,16777216
27760,3,0,270,33554432
8966,4,22,822,8
8951,4,21,821,16
8939,4,20,820,32
8951,4,19,819,64
8935,4,18,818,128
8932,4,17,817,256
8936,4,16,816,512
9054,4,15,915,1024
8947,4,14,814,2048
8942,4,13,813,4096
8939,4,12,812,8192
8938,4,11,811,16384
8942,4,10,810,32768
8932,4,9,89,65536
8971,4,8,88,131072
8950,4,7,87,262144
9014,4,6,96,524288
8981,4,5,85,1048576
8969,4,4,84,2097152
8937,4,3,83,4194304
9762,4,2,92,8388608
15402,4,1,151,16777216
27546,4,0,270,33554432
8945,5,22,822,8
8929,5,21,821,16
8923,5,20,820,32
8916,5,19,819,64
8914,5,18,818,128
8913,5,17,817,256
8910,5,16,816,512
8914,5,15,815,1024
8911,5,14,814,2048
8912,5,13,813,4096
8912,5,12,812,8192
8911,5,11,811,16384
8913,5,10,810,32768
8923,5,9,89,65536
8923,5,8,88,131072
8930,5,7,87,262144
9012,5,6,96,524288
8933,5,5,85,1048576
8984,5,4,84,2097152
8941,5,3,83,4194304
9762,5,2,92,8388608
15497,5,1,151,16777216
27520,5,0,270,33554432
8969,6,22,822,8
8949,6,21,821,16
8942,6,20,820,32
8943,6,19,819,64
8942,6,18,818,128
8937,6,17,817,256
8938,6,16,816,512
8937,6,15,815,1024
8938,6,14,814,2048
8942,6,13,813,4096
8943,6,12,812,8192
8942,6,11,811,16384
8947,6,10,810,32768
8950,6,9,89,65536
8951,6,8,88,131072
8981,6,7,87,262144
8963,6,6,86,524288
8961,6,5,85,1048576
9016,6,4,94,2097152
8981,6,3,83,4194304
9724,6,2,92,8388608
15479,6,1,151,16777216
27608,6,0,270,33554432
8986,7,22,822,8
8970,7,21,821,16
8964,7,20,820,32
8959,7,19,819,64
8964,7,18,818,128
8963,7,17,817,256
8969,7,16,816,512
8964,7,15,815,1024
8970,7,14,814,2048
8970,7,13,813,4096
8979,7,12,812,8192
8981,7,11,811,16384
8980,7,10,810,32768
8990,7,9,89,65536
8999,7,8,88,131072
8994,7,7,87,262144
8998,7,6,86,524288
8997,7,5,85,1048576
9085,7,4,94,2097152
9052,7,3,93,4194304
9841,7,2,92,8388608
15563,7,1,151,16777216
27732,7,0,270,33554432
(base)
micha@13900a MINGW64 /c/wse_github/obrienlabs/benchmark (master)
$ java --version
java 21.0.1 2023-10-17 LTS
Java(TM) SE Runtime Environment (build 21.0.1+12-LTS-29)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.1+12-LTS-29, mixed mode, sharing)
(base)
micha@13900a MINGW64 /c/wse_github/obrienlabs/benchmark (master)
$ java --version
java 21.0.5 2024-10-15 LTS
Java(TM) SE Runtime Environment (build 21.0.5+9-LTS-239)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.5+9-LTS-239, mixed mode, sharing)
(base)
micha@13900a MINGW64 /c/wse_github/obrienlabs/benchmark (master)
$ java -cp org.obrienscience.collatz.server.ForkJoinCollatzServer.jar org.obrienscience.collatz.server.ForkJoinCollatzServer 3 7 1
ForkJoinCollatzServer forkJoinPool-power-start end runs (v 20161009)
availableProc   : 32
fjps threads    : 3,7
freeMemory()    : 2135403456
maxMemory()     : 31675383808
totalMemory()   : 2147483648
\
Range: bits     : 25
9233,3,22,922,8
8982,3,21,821,16
8924,3,20,820,32
8915,3,19,819,64
8937,3,18,818,128
8920,3,17,817,256
8915,3,16,816,512
8919,3,15,815,1024
8909,3,14,814,2048
8944,3,13,813,4096
8902,3,12,812,8192
8923,3,11,811,16384
8911,3,10,810,32768
8938,3,9,89,65536
8915,3,8,88,131072
8931,3,7,87,262144
8983,3,6,86,524288
9086,3,5,95,1048576
9751,3,4,94,2097152
8963,3,3,83,4194304
9748,3,2,92,8388608
15594,3,1,151,16777216
27804,3,0,270,33554432
8981,4,22,822,8
8960,4,21,821,16
8953,4,20,820,32
8948,4,19,819,64
8948,4,18,818,128
8956,4,17,817,256
8946,4,16,816,512
8946,4,15,815,1024
8943,4,14,814,2048
8944,4,13,813,4096
8943,4,12,812,8192
8942,4,11,811,16384
8979,4,10,810,32768
8956,4,9,89,65536
8991,4,8,88,131072
8980,4,7,87,262144
8964,4,6,86,524288
8966,4,5,85,1048576
8967,4,4,84,2097152
8974,4,3,83,4194304
9755,4,2,92,8388608
15670,4,1,151,16777216
27770,4,0,270,33554432
8984,5,22,822,8
8967,5,21,821,16
8952,5,20,820,32
8955,5,19,819,64
8948,5,18,818,128
8950,5,17,817,256
8943,5,16,816,512
8946,5,15,815,1024
8941,5,14,814,2048
8942,5,13,813,4096
8949,5,12,812,8192
8944,5,11,811,16384
8951,5,10,810,32768
8967,5,9,89,65536
8959,5,8,88,131072
8961,5,7,87,262144
8956,5,6,86,524288
8961,5,5,85,1048576
8987,5,4,84,2097152
9005,5,3,93,4194304
9768,5,2,92,8388608
15667,5,1,151,16777216
27904,5,0,270,33554432
8994,6,22,822,8
8967,6,21,821,16
8960,6,20,820,32
8959,6,19,819,64
8957,6,18,818,128
8957,6,17,817,256
8955,6,16,816,512
8959,6,15,815,1024
8954,6,14,814,2048
8961,6,13,813,4096
8958,6,12,812,8192
8959,6,11,811,16384
9018,6,10,910,32768
8964,6,9,89,65536
8960,6,8,88,131072
8957,6,7,87,262144
8977,6,6,86,524288
8976,6,5,85,1048576
9009,6,4,94,2097152
8997,6,3,83,4194304
9825,6,2,92,8388608
15664,6,1,151,16777216
27969,6,0,270,33554432
8999,7,22,822,8
8978,7,21,821,16
8982,7,20,820,32
8967,7,19,819,64
8969,7,18,818,128
8974,7,17,817,256
8972,7,16,816,512
8976,7,15,815,1024
8980,7,14,814,2048
8978,7,13,813,4096
8984,7,12,812,8192
8989,7,11,811,16384
8996,7,10,810,32768
8991,7,9,89,65536
9018,7,8,98,131072
8999,7,7,87,262144
9059,7,6,96,524288
9002,7,5,95,1048576
9027,7,4,94,2097152
9077,7,3,93,4194304
9842,7,2,92,8388608
15732,7,1,151,16777216
28092,7,0,280,33554432
(base)

@obriensystems
Copy link
Member Author

obriensystems commented Nov 24, 2024

14900K ai tweaker on - no xmp
e cores off - no ht, 8 p cores

after starting gpu-z 10 to 7.7 sec


michael@14900c MINGW64 ~
$ cd /c/wse_github/obrienlabs/benchmark/

michael@14900c MINGW64 /c/wse_github/obrienlabs/benchmark (master)
$ java -cp org.obrienscience.collatz.server.ForkJoinCollatzServer.jar org.obrienscience.collatz.server.ForkJoinCollatzServer 5 6 1
ForkJoinCollatzServer forkJoinPool-power-start end runs (v 20161009)
availableProc   : 8
fjps threads    : 5,6
freeMemory()    : 2137416832
maxMemory()     : 31675383808
totalMemory()   : 2147483648
System.getEnv() : 
19611,5,22,1922,8
13471,5,21,1321,16
10143,5,20,1020,32
10128,5,19,1019,64
10143,5,18,1018,128
10172,5,17,1017,256


michael@14900c MINGW64 /c/wse_github/obrienlabs/benchmark (master)
$ java -cp org.obrienscience.collatz.server.ForkJoinCollatzServer.jar org.obrienscience.collatz.server.ForkJoinCollatzServer 4 6 2
ForkJoinCollatzServer forkJoinPool-power-start end runs (v 20161009)
availableProc   : 8
fjps threads    : 4,6
freeMemory()    : 2137416832
maxMemory()     : 31675383808
totalMemory()   : 2147483648
System.getEnv() : 
11614,4,22,1122,8
10237,4,21,1021,16
10143,4,20,1020,32
10128,4,19,1019,64
10142,4,18,1018,128
10127,4,17,1017,256
10126,4,16,1016,512
10128,4,15,1015,1024
10127,4,14,1014,2048
10127,4,13,1013,4096
10144,4,12,1012,8192
10127,4,11,1011,16384
10205,4,10,1010,32768
10174,4,9,109,65536
10159,4,8,108,131072
Exception in thread "main" java.lang.NullPointerException
        at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
        at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
        at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:542)
        at java.base/java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:567)
        at java.base/java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:653)
        at java.base/java.util.concurrent.ForkJoinPool.invoke(ForkJoinPool.java:2822)
        at org.obrienscience.collatz.server.ForkJoinCollatzServer.compute(ForkJoinCollatzServer.java:16)
        at org.obrienscience.collatz.server.ForkJoinCollatzServer.main(ForkJoinCollatzServer.java:53)
Caused by: java.lang.NullPointerException
        at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
        at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
        at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:542)
        at java.base/java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:567)
        at java.base/java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:706)
        at org.obrienscience.collatz.server.ForkJoinUnitOfWork.compute(ForkJoinUnitOfWork.java:84)
        at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
        at java.base/java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:696)
        at org.obrienscience.collatz.server.ForkJoinUnitOfWork.compute(ForkJoinUnitOfWork.java:84)
        at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
        at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
        at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
        at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
        at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
Caused by: java.lang.NullPointerException
        at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
        at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
        at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:542)
        at java.base/java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:567)
        at java.base/java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:706)
        ... 7 more
Caused by: java.lang.NullPointerException
        ... 13 more
Caused by: java.lang.NullPointerException
        ... 13 more
Caused by: java.lang.NullPointerException
        at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
        at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
        at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:542)
        at java.base/java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:567)
        at java.base/java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:706)
        at org.obrienscience.collatz.server.ForkJoinUnitOfWork.compute(ForkJoinUnitOfWork.java:84)
        at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
        at java.base/java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:696)
        ... 7 more
Caused by: java.lang.NullPointerException: Cannot read the array length because "mag" is null
        at java.base/java.math.BigInteger.shiftLeft(BigInteger.java:3473)
        at java.base/java.math.BigInteger.shiftLeft(BigInteger.java:3451)
        at org.obrienscience.collatz.server.ForkJoinUnitOfWork.computeNoFork(ForkJoinUnitOfWork.java:44)
        at org.obrienscience.collatz.server.ForkJoinUnitOfWork.compute(ForkJoinUnitOfWork.java:76)
        at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
        at java.base/java.util.concurrent.ForkJoinPool.helpJoin(ForkJoinPool.java:2076)
        at java.base/java.util.concurrent.ForkJoinTask.awaitDone(ForkJoinTask.java:423)
        at java.base/java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:704)
        ... 11 more

michael@14900c MINGW64 /c/wse_github/obrienlabs/benchmark (master)
$ java -cp org.obrienscience.collatz.server.ForkJoinCollatzServer.jar org.obrienscience.collatz.server.ForkJoinCollatzServer 4 6 2
ForkJoinCollatzServer forkJoinPool-power-start end runs (v 20161009)
availableProc   : 8
fjps threads    : 4,6
freeMemory()    : 2137416832
maxMemory()     : 31675383808
totalMemory()   : 2147483648
System.getEnv() : {PATH=C:\Users\michael\bin;C:\opt\git\mingw64\bin;C:\opt\git\usr\local\bin;C:\opt\git\usr\bin;C:\opt\git\usr\bin;C:\opt\git\mingw64\bin;C:\opt\git\usr\bin;C:\Users\michael\bin;C:\Program Files\Common Files\Oracle\Java\javapath;C:\opt\Python312\Scripts;C:\opt\Python312;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\libnvvp;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\opt\git\cmd;C:\opt\git\mingw64\bin;C:\opt\git\usr\bin;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files\NVIDIA Corporation\Nsight Compute 2024.1.0;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\soft\vscode\bin;C:\Program Files\Docker\Docker\resources\bin;C:\Users\michael\AppData\Local\Microsoft\WindowsApps;C:\Users\michael\AppData\Local\Programs\Ollama;C:\opt\git\usr\bin\vendor_perl;C:\opt\git\usr\bin\core_perl, USERDOMAIN_ROAMINGPROFILE=14900C, PKG_CONFIG_PATH=C:\opt\git\mingw64\lib\pkgconfig;C:\opt\git\mingw64\share\pkgconfig, MSYSTEM_PREFIX=C:/opt/git/mingw64, PROCESSOR_LEVEL=6, SYSTEMDRIVE=C:, CONFIG_SITE=C:/opt/git/etc/config.site, SESSIONNAME=Console, ALLUSERSPROFILE=C:\ProgramData, PROCESSOR_ARCHITECTURE=AMD64, MSYSTEM_CHOST=x86_64-w64-mingw32, PS1=\[\033]0;$TITLEPREFIX:$PWD\007\]\n\[\033[32m\]\u@\h \[\033[35m\]$MSYSTEM \[\033[33m\]\w\[\033[36m\]`__git_ps1`\[\033[0m\]\n$ , PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules, ORIGINAL_TEMP=C:/Users/michael/AppData/Local/Temp, PROGRAMFILES=C:\Program Files, USERNAME=michael, CUDA_PATH_V12_4=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4, PWD=C:/wse_github/obrienlabs/benchmark, TERM_PROGRAM_VERSION=3.7.0, ProgramFiles(x86)=C:\Program Files (x86), INFOPATH=C:\opt\git\mingw64\local\info;C:\opt\git\mingw64\share\info;C:\opt\git\usr\local\info;C:\opt\git\usr\share\info;C:\opt\git\usr\info;C:\opt\git\share\info, PKG_CONFIG_SYSTEM_INCLUDE_PATH=C:/opt/git/mingw64/include, FPS_BROWSER_USER_PROFILE_STRING=Default, PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW, SHELL=C:\opt\git\usr\bin\bash.exe, DriverData=C:\Windows\System32\Drivers\DriverData, OneDriveConsumer=C:\Users\michael\OneDrive, ORIGINAL_TMP=C:/Users/michael/AppData/Local/Temp, OLDPWD=C:/Users/michael, TMPDIR=C:\Users\michael\AppData\Local\Temp, WINDIR=C:\Windows, ProgramData=C:\ProgramData, ProgramW6432=C:\Program Files, SSH_ASKPASS=C:/opt/git/mingw64/bin/git-askpass.exe, HOMEPATH=\Users\michael, PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 183 Stepping 1, GenuineIntel, PUBLIC=C:\Users\Public, MINGW_CHOST=x86_64-w64-mingw32, LC_CTYPE=en_US.UTF-8, =::=::\, EXEPATH=C:\opt\git, SHLVL=1, ZES_ENABLE_SYSMAN=1, LOCALAPPDATA=C:\Users\michael\AppData\Local, ORIGINAL_PATH=C:\opt\git\mingw64\bin;C:\opt\git\usr\bin;C:\Users\michael\bin;C:\Program Files\Common Files\Oracle\Java\javapath;C:\opt\Python312\Scripts;C:\opt\Python312;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\libnvvp;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\opt\git\cmd;C:\opt\git\mingw64\bin;C:\opt\git\usr\bin;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files\NVIDIA Corporation\Nsight Compute 2024.1.0;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\soft\vscode\bin;C:\Program Files\Docker\Docker\resources\bin;C:\Users\michael\AppData\Local\Microsoft\WindowsApps;C:\Users\michael\AppData\Local\Programs\Ollama, MANPATH=C:\opt\git\mingw64\local\man;C:\opt\git\mingw64\share\man;C:\opt\git\usr\local\man;C:\opt\git\usr\share\man;C:\opt\git\usr\man;C:\opt\git\share\man, MINGW_PACKAGE_PREFIX=mingw-w64-x86_64, USERDOMAIN=14900C, FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer, LOGONSERVER=\\14900C, PLINK_PROTOCOL=ssh, TERM=xterm, MINGW_PREFIX=C:/opt/git/mingw64, DISPLAY=needs-to-be-defined, EFC_8668=1, MSYSTEM=MINGW64, OneDrive=C:\Users\michael\OneDrive, APPDATA=C:\Users\michael\AppData\Roaming, SYSTEMROOT=C:\Windows, _=C:/Program Files/Common Files/Oracle/Java/javapath_target_464192500/java, MSYS=disable_pcon, OS=Windows_NT, TERM_PROGRAM=mintty, COMPUTERNAME=14900C, COMMONPROGRAMFILES=C:\Program Files\Common Files, COMSPEC=C:\Windows\system32\cmd.exe, CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4, PROCESSOR_REVISION=b701, CommonProgramW6432=C:\Program Files\Common Files, ACLOCAL_PATH=C:\opt\git\mingw64\share\aclocal;C:\opt\git\usr\share\aclocal, MSYSTEM_CARCH=x86_64, TEMP=C:\Users\michael\AppData\Local\Temp, HOSTNAME=14900c, HOMEDRIVE=C:, USERPROFILE=C:\Users\michael, TMP=C:\Users\michael\AppData\Local\Temp, CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files, NUMBER_OF_PROCESSORS=8, HOME=C:\Users\michael, PKG_CONFIG_SYSTEM_LIBRARY_PATH=C:/opt/git/mingw64/lib}
Range: bits     : 25
10784,4,22,1022,8
10166,4,21,1021,16
7722,4,20,720,32
7673,4,19,719,64
7690,4,18,718,128
7674,4,17,717,256
7797,4,16,716,512
7783,4,15,715,1024
7751,4,14,714,2048
7721,4,13,713,4096
7720,4,12,712,8192
7721,4,11,711,16384
7751,4,10,710,32768
7752,4,9,79,65536
7675,4,8,78,131072
7691,4,7,77,262144
7766,4,6,76,524288
7922,4,5,75,1048576
7722,4,4,74,2097152
7706,4,3,73,4194304
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000002286b07e4cd, pid=8888, tid=6388
#
# JRE version: Java(TM) SE Runtime Environment (21.0.5+9) (build 21.0.5+9-LTS-239)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (21.0.5+9-LTS-239, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Problematic frame:
# J 219 c2 org.obrienscience.collatz.server.ForkJoinUnitOfWork.computeNoFork()V (186 bytes) @ 0x000002286b07e4cd [0x000002286b07e0a0+0x000000000000042d]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\wse_github\obrienlabs\benchmark\hs_err_pid8888.log
[167.760s][warning][os] Loading hsdis library failed
#
# If you would like to submit a bug report, please visit:
#   https://bugreport.java.com/bugreport/crash.jsp
#

105 base clock back to 100
11879,4,22,1122,8
11598,4,21,1121,16
10161,4,20,1020,32
10131,4,19,1019,64
10257,4,18,1018,128
10365,4,17,1017,256
10299,4,16,1016,512
10297,4,15,1015,1024
10223,4,14,1014,2048
10347,4,13,1013,4096
10113,4,12,1012,8192
10128,4,11,1011,16384
10112,4,10,1010,32768
10128,4,9,109,65536
10114,4,8,108,131072
10161,4,7,107,262144
10254,4,6,106,524288
10332,4,5,105,1048576
10113,4,4,104,2097152
10190,4,3,103,4194304
10954,4,2,102,8388608
16130,4,1,161,16777216
28144,4,0,280,33554432
10176,5,22,1022,8
10128,5,21,1021,16
10128,5,20,1020,32
10129,5,19,1019,64
10128,5,18,1018,128
10113,5,17,1017,256
10127,5,16,1016,512
10113,5,15,1015,1024
10160,5,14,1014,2048
10160,5,13,1013,4096
10161,5,12,1012,8192
10128,5,11,1011,16384
10145,5,10,1010,32768
10130,5,9,109,65536
10129,5,8,108,131072
10143,5,7,107,262144
10286,5,6,106,524288
10189,5,5,105,1048576
10175,5,4,104,2097152
10176,5,3,103,4194304
10956,5,2,102,8388608
16036,5,1,161,16777216
27926,5,0,270,33554432
10221,6,22,1022,8
10190,6,21,1021,16
10175,6,20,1020,32
10160,6,19,1019,64
10206,6,18,1018,128
10190,6,17,1017,256
10159,6,16,1016,512
10176,6,15,1015,1024
10159,6,14,1014,2048
10175,6,13,1013,4096
10174,6,12,1012,8192
10175,6,11,1011,16384
10175,6,10,1010,32768
10191,6,9,109,65536
10192,6,8,108,131072
10222,6,7,107,262144
10223,6,6,106,524288
10190,6,5,105,1048576
10176,6,4,104,2097152
10222,6,3,103,4194304
10925,6,2,102,8388608
16039,6,1,161,16777216
28473,6,0,280,33554432
10223,4,22,1022,8
10221,4,21,1021,16
10222,4,20,1020,32
10192,4,19,1019,64
10206,4,18,1018,128
10191,4,17,1017,256
10190,4,16,1016,512
10193,4,15,1015,1024
10175,4,14,1014,2048
10190,4,13,1013,4096
10177,4,12,1012,8192
10191,4,11,1011,16384
10191,4,10,1010,32768
10205,4,9,109,65536
10192,4,8,108,131072
10222,4,7,107,262144
10237,4,6,106,524288
10596,4,5,105,1048576
10239,4,4,104,2097152
10238,4,3,103,4194304
11001,4,2,112,8388608
16566,4,1,161,16777216
28314,4,0,280,33554432
10254,5,22,1022,8
10194,5,21,1021,16
10209,5,20,1020,32
10176,5,19,1019,64
10194,5,18,1018,128
10175,5,17,1017,256
10192,5,16,1016,512
10191,5,15,1015,1024
10177,5,14,1014,2048
10191,5,13,1013,4096
10177,5,12,1012,8192
10194,5,11,1011,16384
10193,5,10,1010,32768
10192,5,9,109,65536
10208,5,8,108,131072
10209,5,7,107,262144
10257,5,6,106,524288
10241,5,5,105,1048576
10193,5,4,104,2097152
10224,5,3,103,4194304
10892,5,2,102,8388608
15953,5,1,151,16777216
28079,5,0,280,33554432
10256,6,22,1022,8
10210,6,21,1021,16
10224,6,20,1020,32
10208,6,19,1019,64
10208,6,18,1018,128
10209,6,17,1017,256
10223,6,16,1016,512
10225,6,15,1015,1024
10239,6,14,1014,2048
10225,6,13,1013,4096
10209,6,12,1012,8192
10224,6,11,1011,16384
10239,6,10,1010,32768
10240,6,9,109,65536
10223,6,8,108,131072
10240,6,7,107,262144
10240,6,6,106,524288
10256,6,5,105,1048576
10224,6,4,104,2097152
10287,6,3,103,4194304
10985,6,2,102,8388608
16063,6,1,161,16777216
28140,6,0,280,33554432

@obriensystems
Copy link
Member Author

Macbook Pro 16 inch M4 Max 12/4 with 40 core GPU

(venv-metal) michaelobrien@Michaels-MBP benchmark % java --version
java 21.0.5 2024-10-15 LTS
Java(TM) SE Runtime Environment (build 21.0.5+9-LTS-239)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.5+9-LTS-239, mixed mode, sharing)
(venv-metal) michaelobrien@Michaels-MBP benchmark % java -cp org.obrienscience.collatz.server.ForkJoinCollatzServer.jar org.obrienscience.collatz.server.ForkJoinCollatzServer 4 7 1
ForkJoinCollatzServer forkJoinPool-power-start end runs (v 20161009)
availableProc	: 16
fjps threads	: 4,7
freeMemory()	: 809917760
maxMemory()	: 12884901888
totalMemory()	: 813694976

Range: bits	: 25
2692,4,22,222,8
2229,4,21,221,16
2110,4,20,220,32
2095,4,19,219,64
2172,4,18,218,128
2163,4,17,217,256
2311,4,16,216,512
2287,4,15,215,1024
2362,4,14,214,2048
2387,4,13,213,4096
2621,4,12,212,8192
2444,4,11,211,16384
2711,4,10,210,32768
2492,4,9,29,65536
2529,4,8,28,131072
2639,4,7,27,262144
2655,4,6,26,524288
2979,4,5,25,1048576
2381,4,4,24,2097152
3839,4,3,33,4194304
7007,4,2,72,8388608
13493,4,1,131,16777216
25875,4,0,250,33554432
2147,5,22,222,8
2133,5,21,221,16
2127,5,20,220,32
2138,5,19,219,64
2200,5,18,218,128
2183,5,17,217,256
2198,5,16,216,512
2224,5,15,215,1024
2263,5,14,214,2048
2298,5,13,213,4096
2322,5,12,212,8192
2377,5,11,211,16384
2371,5,10,210,32768
2415,5,9,29,65536
2410,5,8,28,131072
2435,5,7,27,262144
2593,5,6,26,524288
2458,5,5,25,1048576
2442,5,4,24,2097152
3902,5,3,33,4194304
7089,5,2,72,8388608
13452,5,1,131,16777216
25986,5,0,250,33554432
2253,6,22,222,8
2192,6,21,221,16
2221,6,20,220,32
2197,6,19,219,64
2216,6,18,218,128
2244,6,17,217,256
2312,6,16,216,512
2281,6,15,215,1024
2308,6,14,214,2048
2332,6,13,213,4096
2385,6,12,212,8192
2405,6,11,211,16384
2420,6,10,210,32768
2427,6,9,29,65536
2488,6,8,28,131072
2462,6,7,27,262144
2437,6,6,26,524288
2398,6,5,25,1048576
2494,6,4,24,2097152
3918,6,3,33,4194304
7236,6,2,72,8388608
13852,6,1,131,16777216
26296,6,0,260,33554432
2397,7,22,222,8
2436,7,21,221,16
2374,7,20,220,32
2342,7,19,219,64
2362,7,18,218,128
2373,7,17,217,256
2441,7,16,216,512
2487,7,15,215,1024
2528,7,14,214,2048
2555,7,13,213,4096
2603,7,12,212,8192
2648,7,11,211,16384
2683,7,10,210,32768
2693,7,9,29,65536
2750,7,8,28,131072
2776,7,7,27,262144
2768,7,6,26,524288
2745,7,5,25,1048576
2799,7,4,24,2097152
4278,7,3,43,4194304
7673,7,2,72,8388608
14095,7,1,141,16777216
26591,7,0,260,33554432
(venv-metal) michaelobrien@Michaels-MBP benchmark % 

@obriensystems
Copy link
Member Author

obriensystems commented Nov 30, 2024

CPU + GPU saturation

PID    COMMAND      %CPU   TIME     #TH     #WQ  #PORT MEM    PURG   CMPRS  PGRP  PPID  STATE    BOOSTS           %CPU_ME %CPU_OTHRS UID  FAULTS    COW    MSGSENT    MSGRECV    SYSBSD     SYSMACH
51005  java         1351.3 46:22.31 2170    1    4437+ 8569M+ 0B     0B     51005 2010  sleeping *0[1]            0.00000 0.00000    501  667902+   3256   222331+    111131+    1139356+   1465893+
51002  Python       73.5   03:03.20 68/1    6    161   3784M+ 112M-  0B     51002 50983 running  *0[1]            0.00000 0.00000    501  146972+   1263   7940016+   4554757+   9180610+   4779378+

Processes: 721 total, 5 running, 716 sleeping, 3590 threads                                                                                                                                            20:53:29
Load Avg: 20.41, 18.15, 12.35  CPU usage: 95.12% user, 3.18% sys, 1.68% idle  SharedLibs: 1073M resident, 200M data, 459M linkedit. MemRegions: 0 total, 0B resident, 0B private, 9993M shared.
PhysMem: 40G used (3468M wired, 28M compressor), 7717M unused. VM: 288T vsize, 5430M framework vsize, 0(0) swapins, 0(0) swapouts. Networks: packets: 2580613/3430M in, 380142/117M out.
Disks: 1680473/63G read, 17256009/267G written.

PID    COMMAND      %CPU   TIME     #TH     #WQ  #PORT MEM    PURG   CMPRS  PGRP  PPID  STATE    BOOSTS              %CPU_ME %CPU_OTHRS UID  FAULTS    COW    MSGSENT    MSGRECV    SYSBSD     SYSMACH
51074  java         1464.7 07:20.41 448/29  1    963   3626M+ 0B     0B     51074 2010  running  *0[1]               0.00000 0.00000    501  269291+   3256   56889+     28411+     297644+    392820+
51076  Python       70.4   00:10.00 66/1    4    147   2530M+ 204M+  0B     51076 50983 running  *0[1]               0.00000 0.00000    501  105734+   1251   48199+     26698+     909987+    81852+
440

@obriensystems
Copy link
Member Author

M2 Pro 6p4e 16 core

6871,4,22,622,8
8638,4,21,821,16
8236,4,20,820,32
7683,4,19,719,64
7129,4,18,718,128
6858,4,17,617,256
6794,4,16,616,512
7096,4,15,715,1024
6700,4,14,614,2048
6721,4,13,613,4096
6688,4,12,612,8192
6712,4,11,611,16384
6692,4,10,610,32768
6717,4,9,69,65536
6769,4,8,68,131072
6822,4,7,67,262144
7039,4,6,76,524288
7700,4,5,75,1048576
6860,4,4,64,2097152
7922,4,3,73,4194304
14730,4,2,142,8388608
31886,4,1,311,16777216
85224,4,0,850,33554432

@obriensystems
Copy link
Member Author

obriensystems commented Dec 7, 2024

VMWare on M4 Max

2535, 5/15, 23394, M4 Max 12/0 VMWare Fusion Pro 13 - Ubuntu 24.04 VM - Macbook Pro 16

^Cubuntu@ubuntu01:~/wse_github/obrienlabs/benchmark$ java -cp org.obrienscience.collatz.server.ForkJoinCollatzServer.jar org.obrienscience.collatz.server.ForkJoinCollatzServer 5 7 1
ForkJoinCollatzServer forkJoinPool-power-start end runs (v 20161009)
availableProc	: 12
fjps threads	: 5,7
freeMemory()	: 129490080
maxMemory()	: 2076180480
totalMemory()	: 132120576
System.getEnv()	: {LESSOPEN=| /usr/bin/lesspipe %s, SHLVL=1, XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop, SHELL=/bin/bash, XDG_SESSION_ID=3, SSH_TTY=/dev/pts/0, XDG_SESSION_CLASS=user, SSH_CLIENT=172.16.102.1 49538 22, HOME=/home/ubuntu, XDG_RUNTIME_DIR=/run/user/1000, OLDPWD=/home/ubuntu, SSH_CONNECTION=172.16.102.1 49538 172.16.102.128 22, PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin, TERM=xterm-256color, LESSCLOSE=/usr/bin/lesspipe %s %s, LOGNAME=ubuntu, USER=ubuntu, LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.crdownload=00;90:*.dpkg-dist=00;90:*.dpkg-new=00;90:*.dpkg-old=00;90:*.dpkg-tmp=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:*.swp=00;90:*.tmp=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:, XDG_SESSION_TYPE=tty, PWD=/home/ubuntu/wse_github/obrienlabs/benchmark, _=/usr/bin/java, DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus, LANG=en_US.UTF-8}
Range: bits	: 25
2909,5,22,222,8
2763,5,21,221,16
2662,5,20,220,32
2653,5,19,219,64
2688,5,18,218,128
2729,5,17,217,256
2748,5,16,216,512
2734,5,15,215,1024
2749,5,14,214,2048
2740,5,13,213,4096
2734,5,12,212,8192
2715,5,11,211,16384
2759,5,10,210,32768
2743,5,9,29,65536
2737,5,8,28,131072
2765,5,7,27,262144
2889,5,6,26,524288
2730,5,5,25,1048576
2868,5,4,24,2097152
3714,5,3,33,4194304
6756,5,2,62,8388608
12555,5,1,121,16777216
23626,5,0,230,33554432
2689,6,22,222,8
2669,6,21,221,16
2695,6,20,220,32
2746,6,19,219,64
2785,6,18,218,128
2826,6,17,217,256
2865,6,16,216,512
2903,6,15,215,1024
2908,6,14,214,2048
2902,6,13,213,4096
2951,6,12,212,8192
2968,6,11,211,16384
2974,6,10,210,32768
3009,6,9,39,65536
3008,6,8,38,131072
3067,6,7,37,262144
3044,6,6,36,524288
3065,6,5,35,1048576
3120,6,4,34,2097152
4065,6,3,43,4194304
7206,6,2,72,8388608
13182,6,1,131,16777216
23916,6,0,230,33554432
3121,7,22,322,8
3114,7,21,321,16
3155,7,20,320,32
3170,7,19,319,64
3356,7,18,318,128
3569,7,17,317,256
3750,7,16,316,512
3940,7,15,315,1024
4096,7,14,414,2048
4320,7,13,413,4096
4469,7,12,412,8192
4572,7,11,411,16384
4864,7,10,410,32768
5037,7,9,59,65536
5349,7,8,58,131072
5767,7,7,57,262144
5785,7,6,56,524288
5814,7,5,55,1048576
6029,7,4,64,2097152
6953,7,3,63,4194304
10259,7,2,102,8388608
16496,7,1,161,16777216
27466,7,0,270,33554432
ubuntu@ubuntu01:~/wse_github/obrienlabs/benchmark$ 

Range: bits	: 25
2819,5,22,222,8
2736,5,21,221,16
2555,5,20,220,32
2535,5,19,219,64
2584,5,18,218,128
2586,5,17,217,256
2616,5,16,216,512
2617,5,15,215,1024
2713,5,14,214,2048
2711,5,13,213,4096
2705,5,12,212,8192
2723,5,11,211,16384
2696,5,10,210,32768
2747,5,9,29,65536
2758,5,8,28,131072
2818,5,7,27,262144
2952,5,6,26,524288
2737,5,5,25,1048576
2834,5,4,24,2097152
3769,5,3,33,4194304
6786,5,2,62,8388608
12467,5,1,121,16777216
23394,5,0,230,33554432
2684,6,22,222,8
2681,6,21,221,16
2638,6,20,220,32
2652,6,19,219,64
2668,6,18,218,128
2729,6,17,217,256
2713,6,16,216,512
2723,6,15,215,1024
2768,6,14,214,2048
2775,6,13,213,4096
2773,6,12,212,8192
2793,6,11,211,16384
2827,6,10,210,32768
2837,6,9,29,65536
2839,6,8,28,131072
2965,6,7,27,262144
2915,6,6,26,524288
2918,6,5,25,1048576
3027,6,4,34,2097152
3912,6,3,33,4194304
7139,6,2,72,8388608
13008,6,1,131,16777216
23626,6,0,230,33554432
3080,7,22,322,8
3110,7,21,321,16
3137,7,20,320,32
3178,7,19,319,64
3287,7,18,318,128
3478,7,17,317,256
3710,7,16,316,512
3908,7,15,315,1024
4060,7,14,414,2048
4252,7,13,413,4096
4391,7,12,412,8192
4588,7,11,411,16384
4727,7,10,410,32768
4934,7,9,49,65536
5355,7,8,58,131072

@obriensystems
Copy link
Member Author

obriensystems commented Dec 13, 2024

6989 5/18,, 22644, 13900KS d via HyperV ubuntu VM 8 vCores (43%) 5.5/5.9 GHZ
edit - may be differences on OpenJDK and commercial JDK 21

Screenshot 2024-12-12 at 19 36 34 Screenshot 2024-12-13 at 08 48 01 Screenshot 2024-12-13 at 08 50 04

@obriensystems obriensystems changed the title collatz benchmark IA64 and ARM64 collatz benchmark IA64 and ARM64 - VMs are faster than native Dec 13, 2024
@obriensystems obriensystems changed the title collatz benchmark IA64 and ARM64 - VMs are faster than native collatz benchmark IA64 and ARM64 Dec 13, 2024
@obriensystems
Copy link
Member Author

obriensystems commented Dec 21, 2024

32 cores
13900KS d - 204 2x 4500

9129,5,22,922,8
6966,5,21,621,16
6838,5,20,620,32
6712,5,19,619,64
6719,5,18,618,128
6669,5,17,617,256
6690,5,16,616,512
6672,5,15,615,1024
6672,5,14,614,2048
6656,5,13,613,4096
6672,5,12,612,8192
6672,5,11,611,16384
6671,5,10,610,32768
6657,5,9,69,65536
6668,5,8,68,131072
6707,5,7,67,262144
6703,5,6,66,524288
6671,5,5,65,1048576
6720,5,4,64,2097152
6812,5,3,63,4194304
7234,5,2,72,8388608
11766,5,1,111,16777216
21625,5,0,210,33554432
6702,6,22,622,8
6689,6,21,621,16
6703,6,20,620,32
6734,6,19,619,64
6688,6,18,618,128
6672,6,17,617,256
6672,6,16,616,512
6671,6,15,615,1024
6672,6,14,614,2048
6688,6,13,613,4096
6921,6,12,612,8192
6641,6,11,611,16384
6640,6,10,610,32768
6644,6,9,69,65536
6645,6,8,68,131072
6672,6,7,67,262144
6641,6,6,66,524288
6672,6,5,65,1048576
6718,6,4,64,2097152
6766,6,3,63,4194304
7156,6,2,72,8388608
11859,6,1,111,16777216
21516,6,0,210,33554432

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant