obrienlabs / benchmark

Benchmark code in Java, C, C++, XC
0 stars 0 forks source link

collatz benchmark IA65 and ARM64 #12

Open obriensystems opened 3 hours ago

obriensystems commented 3 hours ago

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 commented 3 hours ago

Mac Mini M4 pro 12 core 16 core gpu

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
obriensystems commented 3 hours ago

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 commented 3 hours ago

P1 Gen 6

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)