GitHub user kiszk opened a pull request:
https://github.com/apache/spark/pull/11893
[SPARK-14072][core] Show JVM version information when we run a benchmark
program
## What changes were proposed in this pull request?
This PR allows us to identify what JVM is used when someone ran a benchmark
program. In some cases, a JVM version may affect performance result. Thus, it
would be good to show processor information and JVM version information.
```
model name : Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz
JVM information : OpenJDK 64-Bit Server VM,
1.7.0_65-mockbuild_2014_07_14_06_19-b00
Int and String Scan: Best/Avg Time(ms) Rate(M/s) Per
Row(ns) Relative
-------------------------------------------------------------------------------------------
SQL Parquet Vectorized 981 / 994 10.7
93.5 1.0X
SQL Parquet MR 2518 / 2542 4.2
240.1 0.4X
```
```
model name : Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz
JVM information : IBM J9 VM, pxa6480sr2-20151023_01 (SR2)
String Dictionary: Best/Avg Time(ms) Rate(M/s) Per
Row(ns) Relative
-------------------------------------------------------------------------------------------
SQL Parquet Vectorized 693 / 740 15.1
66.1 1.0X
SQL Parquet MR 2501 / 2562 4.2
238.5 0.3X
```
## How was this patch tested?
Tested by using existing benchmark programs
(If this patch involves UI changes, please attach a screenshot; otherwise,
remove this)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kiszk/spark SPARK-14072
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/11893.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #11893
----
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]