pan3793 commented on code in PR #54570:
URL: https://github.com/apache/spark/pull/54570#discussion_r2872287715


##########
core/benchmarks/PlatformBenchmark-jdk25-results.txt:
##########
@@ -0,0 +1,278 @@
+================================================================================================
+Platform Byte Access
+================================================================================================
+
+OpenJDK 64-Bit Server VM 25.0.2+10-LTS on Linux 6.14.0-1017-azure
+Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
+Byte Access:                              Best Time(ms)   Avg Time(ms)   
Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
+------------------------------------------------------------------------------------------------------------------------
+putByte: On-heap                                     59             59         
  0       1691.5           0.6       1.0X
+putByte: Off-heap                                    72             72         
  0       1392.7           0.7       0.8X
+getByte: On-heap                                     49             49         
  0       2034.1           0.5       1.2X
+getByte: Off-heap                                    38             38         
  0       2601.6           0.4       1.5X
+
+
+================================================================================================
+Platform Short Access
+================================================================================================
+
+OpenJDK 64-Bit Server VM 25.0.2+10-LTS on Linux 6.14.0-1017-azure
+Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
+Short Access:                             Best Time(ms)   Avg Time(ms)   
Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
+------------------------------------------------------------------------------------------------------------------------
+putShort: On-heap                                    60             60         
  1       1678.7           0.6       1.0X
+putShort: Off-heap                                   72             74         
  1       1379.8           0.7       0.8X
+getShort: On-heap                                    36             36         
  0       2757.6           0.4       1.6X
+getShort: Off-heap                                   40             40         
  0       2497.0           0.4       1.5X
+
+
+================================================================================================
+Platform Int Access
+================================================================================================
+
+OpenJDK 64-Bit Server VM 25.0.2+10-LTS on Linux 6.14.0-1017-azure
+Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
+Int Access:                               Best Time(ms)   Avg Time(ms)   
Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
+------------------------------------------------------------------------------------------------------------------------
+putInt: On-heap                                      59             63         
  2       1709.0           0.6       1.0X
+putInt: Off-heap                                     60             65         
  2       1654.6           0.6       1.0X
+getInt: On-heap                                      34             39         
  3       2908.1           0.3       1.7X
+getInt: Off-heap                                     45             49         
  1       2215.4           0.5       1.3X
+
+
+================================================================================================
+Platform Long Access
+================================================================================================
+
+OpenJDK 64-Bit Server VM 25.0.2+10-LTS on Linux 6.14.0-1017-azure
+Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
+Long Access:                              Best Time(ms)   Avg Time(ms)   
Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
+------------------------------------------------------------------------------------------------------------------------
+putLong: On-heap                                    102            104         
  1        977.3           1.0       1.0X
+putLong: Off-heap                                    87             91         
  8       1146.5           0.9       1.2X
+getLong: On-heap                                     63             70         
  4       1594.9           0.6       1.6X
+getLong: Off-heap                                    70             75         
  8       1420.2           0.7       1.5X
+
+
+================================================================================================
+Platform Float Access
+================================================================================================
+
+OpenJDK 64-Bit Server VM 25.0.2+10-LTS on Linux 6.14.0-1017-azure
+Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
+Float Access:                             Best Time(ms)   Avg Time(ms)   
Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
+------------------------------------------------------------------------------------------------------------------------
+putFloat: On-heap                                    62             66         
  2       1610.0           0.6       1.0X
+putFloat: Off-heap                                   61             66         
  2       1635.1           0.6       1.0X
+getFloat: On-heap                                   117            118         
  0        851.6           1.2       0.5X
+getFloat: Off-heap                                  117            118         
  0        853.2           1.2       0.5X
+
+
+================================================================================================
+Platform Double Access
+================================================================================================
+
+OpenJDK 64-Bit Server VM 25.0.2+10-LTS on Linux 6.14.0-1017-azure
+Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
+Double Access:                            Best Time(ms)   Avg Time(ms)   
Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
+------------------------------------------------------------------------------------------------------------------------
+putDouble: On-heap                                   74             76         
  1       1342.4           0.7       1.0X
+putDouble: Off-heap                                  75             76         
  1       1334.9           0.7       1.0X
+getDouble: On-heap                                  125            125         
  0        801.2           1.2       0.6X
+getDouble: Off-heap                                 124            124         
  0        808.2           1.2       0.6X
+
+
+================================================================================================
+Platform Boolean Access
+================================================================================================
+
+OpenJDK 64-Bit Server VM 25.0.2+10-LTS on Linux 6.14.0-1017-azure
+Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
+Boolean Access:                           Best Time(ms)   Avg Time(ms)   
Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
+------------------------------------------------------------------------------------------------------------------------
+putBoolean: On-heap                                  56             56         
  0       1795.4           0.6       1.0X
+putBoolean: Off-heap                                 55             55         
  0       1830.6           0.5       1.0X
+getBoolean: On-heap                                  58             58         
  0       1733.9           0.6       1.0X
+getBoolean: Off-heap                                 58             58         
  0       1721.7           0.6       1.0X
+
+
+================================================================================================
+Platform Bulk Operations 4k Ints
+================================================================================================
+
+OpenJDK 64-Bit Server VM 25.0.2+10-LTS on Linux 6.14.0-1017-azure
+Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
+Bulk Operations 4k Ints:                  Best Time(ms)   Avg Time(ms)   
Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
+------------------------------------------------------------------------------------------------------------------------
+copyMemory: Off-heap -> Off-heap                      0              0         
  0          4.7         211.3       1.0X
+copyMemory: Heap -> Off-heap                          0              0         
  0          4.9         202.3       1.0X
+copyMemory: Off-heap -> Heap                          0              0         
  0          4.8         206.3       1.0X
+copyMemory: Heap -> Heap                              0              0         
  0          4.8         206.4       1.0X
+manual: Heap -> Heap                                  0              0         
  0          0.8        1180.3       0.2X
+manual: Off-heap -> Heap                              0              0         
  0          1.4         735.3       0.3X
+setMemory: Off-heap                                   0              0         
  0          3.3         302.0       0.7X
+
+
+================================================================================================
+Platform Bulk Operations 16k Ints
+================================================================================================
+
+OpenJDK 64-Bit Server VM 25.0.2+10-LTS on Linux 6.14.0-1017-azure
+Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
+Bulk Operations 16k Ints:                 Best Time(ms)   Avg Time(ms)   
Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
+------------------------------------------------------------------------------------------------------------------------
+copyMemory: Off-heap -> Off-heap                      0              0         
  0          0.5        1843.0       1.0X
+copyMemory: Heap -> Off-heap                          0              0         
  0          0.7        1364.8       1.4X
+copyMemory: Off-heap -> Heap                          0              0         
  0          0.6        1804.0       1.0X
+copyMemory: Heap -> Heap                              0              0         
  0          0.5        1821.4       1.0X
+manual: Heap -> Heap                                  0              0         
  0          0.2        5038.3       0.4X
+manual: Off-heap -> Heap                              0              0         
  0          0.3        3695.2       0.5X
+setMemory: Off-heap                                   0              0         
  0          0.7        1481.5       1.2X
+
+
+================================================================================================
+Platform Bulk Operations 256k Ints
+================================================================================================
+
+OpenJDK 64-Bit Server VM 25.0.2+10-LTS on Linux 6.14.0-1017-azure
+Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
+Bulk Operations 256k Ints:                Best Time(ms)   Avg Time(ms)   
Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
+------------------------------------------------------------------------------------------------------------------------
+copyMemory: Off-heap -> Off-heap                      1              1         
  0          0.0       69322.4       1.0X
+copyMemory: Heap -> Off-heap                          1              1         
  0          0.0       70725.9       1.0X
+copyMemory: Off-heap -> Heap                          1              1         
  0          0.0       69300.8       1.0X
+copyMemory: Heap -> Heap                              1              1         
  0          0.0       75505.7       0.9X
+manual: Heap -> Heap                                  1              1         
  0          0.0       83502.7       0.8X
+manual: Off-heap -> Heap                              1              1         
  0          0.0       72048.1       1.0X
+setMemory: Off-heap                                   0              0         
  0          0.0       28129.8       2.5X
+
+
+================================================================================================
+Platform Bulk Operations 1m Ints
+================================================================================================
+
+OpenJDK 64-Bit Server VM 25.0.2+10-LTS on Linux 6.14.0-1017-azure
+Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
+Bulk Operations 1m Ints:                  Best Time(ms)   Avg Time(ms)   
Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
+------------------------------------------------------------------------------------------------------------------------
+copyMemory: Off-heap -> Off-heap                      3              3         
  0          0.0      263879.8       1.0X
+copyMemory: Heap -> Off-heap                          3              3         
  0          0.0      259286.5       1.0X
+copyMemory: Off-heap -> Heap                          3              3         
  0          0.0      259391.7       1.0X
+copyMemory: Heap -> Heap                              3              3         
  0          0.0      260818.4       1.0X
+manual: Heap -> Heap                                  3              3         
  0          0.0      315249.3       0.8X
+manual: Off-heap -> Heap                              3              3         
  0          0.0      294867.6       0.9X
+setMemory: Off-heap                                   2              2         
  0          0.0      162831.2       1.6X
+
+
+================================================================================================
+Platform Bulk Operations 8m Ints
+================================================================================================
+
+OpenJDK 64-Bit Server VM 25.0.2+10-LTS on Linux 6.14.0-1017-azure
+Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
+Bulk Operations 8m Ints:                  Best Time(ms)   Avg Time(ms)   
Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
+------------------------------------------------------------------------------------------------------------------------
+copyMemory: Off-heap -> Off-heap                     36             41         
  2          0.0     3623807.8       1.0X

Review Comment:
   they run on different CPU ...
   
   JDK 17 and 21 run on AMD EPYC 7763, JDK 25 runs on Intel(R) Xeon(R) Platinum 
8370C, so, "AMD, YES"?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to