Re: Slow java on s390?

2018-10-03 Thread Frank M. Ramaekers
Better (after installing the IBM SDK):

$ time ./getinfo.rex

real96m9.540s
user77m1.404s
sys 1m45.491s

Frank M. Ramaekers Jr.

From: Frank M. Ramaekers
Sent: Wednesday, October 3, 2018 8:23 AM
To: 'Linux on 390 Port' 
Subject: Slow java on s390?

I'm porting applications from an iLinux to a zLinux and am experiencing 
performance problems on one particular process.  This process uses dscli (IBM 
Data Storage Command Line Interface) to our DS8870 to retrieve information and 
report statistics (allocation).

On an Intel Linux virtual machine, the process statistics:
$ time ./getinfo.rex

real54m57.647s
user9m16.209s
sys 0m38.034s

Compared to zLinux (ClefOS 7.4):
$ time ./getinfo.rex

real480m57.309s
user443m1.009s
sys 2m13.860s

I have had no performance problems with any other process that I've migrated to 
zLinux.  The process do use a different version of Java:

iLinux:
/usr/java/jdk1.6.0_03/bin/java 
-Dcom.ibm.storage.ess.cli.instbase=/opt/ibm/dscli ...

zLinux:
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.s390x/jre/bin/java 
-Dcom.ibm.storage.ess.cli.instbase=/opt/ibm/dscli ...

Are there performance issues with OpenJava?

Frank M. Ramaekers Jr. | Systems Programmer | Information Technology | American 
Income Life Insurance Company | 254-761-6649 (732-6649)

--
This message contains information which is privileged and confidential and is 
solely for the use of the intended recipient. If you are not the intended 
recipient, be aware that any review, disclosure, copying, distribution, or use 
of the contents of this message is strictly prohibited. If you have received 
this in error, please destroy it immediately and notify us at 
privacy...@torchmarkcorp.com.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Slow java on s390?

2018-10-03 Thread Neale Ferguson
Usually /opt/ibm:

$ ls /opt/ibm
java  java-s390x-80

On 10/3/18, 13:17, "Linux on 390 Port on behalf of Frank M. Ramaekers" 
 wrote:

Yeah, having problems with that as well.   Downloading from Windows wants 
to download it as text (since it starts with a script).   I got it downloaded 
in binary via lynx.

Okay running it I get to the point:  

Choose Install Folder
-

Where would you like to install?

  Default Install Folder: /root/download/IBMjdk/ibm-java-s390x-80

ENTER AN ABSOLUTE PATH, OR PRESS  TO ACCEPT THE DEFAULT
  :

To me this is unclear!   Where to install the install package or install 
java?   (the default was where the .bin file is)
So if it's installation location, where?   /usr?  /lib? /opt/IBM? 



--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Slow java on s390?

2018-10-03 Thread Frank M. Ramaekers
Yeah, having problems with that as well.   Downloading from Windows wants to 
download it as text (since it starts with a script).   I got it downloaded in 
binary via lynx.

Okay running it I get to the point:  

Choose Install Folder
-

Where would you like to install?

  Default Install Folder: /root/download/IBMjdk/ibm-java-s390x-80

ENTER AN ABSOLUTE PATH, OR PRESS  TO ACCEPT THE DEFAULT
  :

To me this is unclear!   Where to install the install package or install java?  
 (the default was where the .bin file is)
So if it's installation location, where?   /usr?  /lib? /opt/IBM? 

Frank M. Ramaekers Jr.


-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Neale 
Ferguson
Sent: Wednesday, October 3, 2018 11:48 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Slow java on s390?

It's in the EPEL repo. I think it would be easier to install the IBM JDK. It's 
v9 engine has support for all the latest instructions. 

On 10/3/18, 12:46, "Linux on 390 Port on behalf of Frank M. Ramaekers" 
 wrote:

Must be on a repo that I don't have:
No package java-9-openjdk.s390x available.

Frank M. Ramaekers Jr.


-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of 
Phillip Gramly
Sent: Wednesday, October 3, 2018 10:27 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Slow java on s390?

Frank - if this is ClefOS,
then this is what i did to get 1.9:

yum remove java
yum list installed |grep java
yum remove java-1.8.0-openjdk-headless.s390x yum install 
java-9-openjdk.s390x

now i get:
# java -version
openjdk version "9-ea"
OpenJDK Runtime Environment (build 9-ea+163) OpenJDK 64-Bit Server VM 
(build 9-ea+163, mixed mode)   <<---<<<<

--
Phillip Gramly
Systems Programmer
Communications Data Group
Champaign, Illinois


On Wed, 2018-10-03 at 10:20 -0500, Frank M. Ramaekers wrote:
> $ /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-
> 3.b13.el7_5.s390x/jre/bin/java -version
> openjdk version "1.8.0_181"
> OpenJDK Runtime Environment (build 1.8.0_181-b13)
> OpenJDK 64-Bit Zero VM (build 25.181-b13, interpreted mode)
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or 
visit

https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marist.edu_htbin_wlvindex-3FLINUX-2D390&d=DwIFAw&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=5oTKPMBR_LnfjKySIwMwiv1JlhMQSxTUHFJCS2iM26I&s=vMuYIBHBMd-o2PDaOFEqVeLX2bPeCiEmbkZ7qEuh8Sg&e=
--
For more information on Linux on System z, visit

https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.linuxvm.org_&d=DwIFAw&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=5oTKPMBR_LnfjKySIwMwiv1JlhMQSxTUHFJCS2iM26I&s=PM_m36XJUFwoc2z6PbnLKSqRJhLXGGLF_7nm981bfkc&e=

--
This message contains information which is privileged and confidential and 
is solely for the use of the intended recipient. If you are not the intended 
recipient, be aware that any review, disclosure, copying, distribution, or use 
of the contents of this message is strictly prohibited. If you have received 
this in error, please destroy it immediately and notify us at 
privacy...@torchmarkcorp.com.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or 
visit

https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marist.edu_htbin_wlvindex-3FLINUX-2D390&d=DwIGaQ&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=Nht_VPTcqjVgsaCcO4WS70Z36CiGp8kth3Id-DxMWCE&s=ABDptsTKWFl8D4gbVf8Coupn_ZkuE9vH8GI7x_aLZzo&e=
--
For more information on Linux on System z, visit

https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.linuxvm.org_&d=DwIGaQ&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=Nht_VPTcqjVgsaCcO4WS70Z36CiGp8kth3Id-DxMWCE&s=o5U2KbufSDGAcV3KFXUtUYAVwwZOwRAQ2wxYRAkbclg&e=



--
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu with the message

Re: Slow java on s390?

2018-10-03 Thread Neale Ferguson
It's in the EPEL repo. I think it would be easier to install the IBM JDK. It's 
v9 engine has support for all the latest instructions. 

On 10/3/18, 12:46, "Linux on 390 Port on behalf of Frank M. Ramaekers" 
 wrote:

Must be on a repo that I don't have:
No package java-9-openjdk.s390x available.

Frank M. Ramaekers Jr.


-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of 
Phillip Gramly
Sent: Wednesday, October 3, 2018 10:27 AM
To: LINUX-390@VM.MARIST.EDU
    Subject: Re: Slow java on s390?

Frank - if this is ClefOS,
then this is what i did to get 1.9:

yum remove java
yum list installed |grep java
yum remove java-1.8.0-openjdk-headless.s390x yum install 
java-9-openjdk.s390x

now i get:
# java -version
openjdk version "9-ea"
OpenJDK Runtime Environment (build 9-ea+163) OpenJDK 64-Bit Server VM 
(build 9-ea+163, mixed mode)   <<---<<<<

--
Phillip Gramly
Systems Programmer
Communications Data Group
Champaign, Illinois


On Wed, 2018-10-03 at 10:20 -0500, Frank M. Ramaekers wrote:
> $ /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-
> 3.b13.el7_5.s390x/jre/bin/java -version
> openjdk version "1.8.0_181"
> OpenJDK Runtime Environment (build 1.8.0_181-b13)
> OpenJDK 64-Bit Zero VM (build 25.181-b13, interpreted mode)
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or 
visit

https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marist.edu_htbin_wlvindex-3FLINUX-2D390&d=DwIFAw&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=5oTKPMBR_LnfjKySIwMwiv1JlhMQSxTUHFJCS2iM26I&s=vMuYIBHBMd-o2PDaOFEqVeLX2bPeCiEmbkZ7qEuh8Sg&e=
--
For more information on Linux on System z, visit

https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.linuxvm.org_&d=DwIFAw&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=5oTKPMBR_LnfjKySIwMwiv1JlhMQSxTUHFJCS2iM26I&s=PM_m36XJUFwoc2z6PbnLKSqRJhLXGGLF_7nm981bfkc&e=

--
This message contains information which is privileged and confidential and 
is solely for the use of the intended recipient. If you are not the intended 
recipient, be aware that any review, disclosure, copying, distribution, or use 
of the contents of this message is strictly prohibited. If you have received 
this in error, please destroy it immediately and notify us at 
privacy...@torchmarkcorp.com.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or 
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/



--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Slow java on s390?

2018-10-03 Thread Frank M. Ramaekers
Must be on a repo that I don't have:
No package java-9-openjdk.s390x available.

Frank M. Ramaekers Jr.


-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Phillip 
Gramly
Sent: Wednesday, October 3, 2018 10:27 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Slow java on s390?

Frank - if this is ClefOS,
then this is what i did to get 1.9:

yum remove java
yum list installed |grep java
yum remove java-1.8.0-openjdk-headless.s390x yum install java-9-openjdk.s390x

now i get:
# java -version
openjdk version "9-ea"
OpenJDK Runtime Environment (build 9-ea+163) OpenJDK 64-Bit Server VM (build 
9-ea+163, mixed mode)   <<---<<<<

--
Phillip Gramly
Systems Programmer
Communications Data Group
Champaign, Illinois


On Wed, 2018-10-03 at 10:20 -0500, Frank M. Ramaekers wrote:
> $ /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-
> 3.b13.el7_5.s390x/jre/bin/java -version
> openjdk version "1.8.0_181"
> OpenJDK Runtime Environment (build 1.8.0_181-b13)
> OpenJDK 64-Bit Zero VM (build 25.181-b13, interpreted mode)
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marist.edu_htbin_wlvindex-3FLINUX-2D390&d=DwIFAw&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=5oTKPMBR_LnfjKySIwMwiv1JlhMQSxTUHFJCS2iM26I&s=vMuYIBHBMd-o2PDaOFEqVeLX2bPeCiEmbkZ7qEuh8Sg&e=
--
For more information on Linux on System z, visit
https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.linuxvm.org_&d=DwIFAw&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=5oTKPMBR_LnfjKySIwMwiv1JlhMQSxTUHFJCS2iM26I&s=PM_m36XJUFwoc2z6PbnLKSqRJhLXGGLF_7nm981bfkc&e=

--
This message contains information which is privileged and confidential and is 
solely for the use of the intended recipient. If you are not the intended 
recipient, be aware that any review, disclosure, copying, distribution, or use 
of the contents of this message is strictly prohibited. If you have received 
this in error, please destroy it immediately and notify us at 
privacy...@torchmarkcorp.com.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Slow java on s390?

2018-10-03 Thread Phillip Gramly
Frank - if this is ClefOS, 
then this is what i did to get 1.9:

yum remove java
yum list installed |grep java
yum remove java-1.8.0-openjdk-headless.s390x
yum install java-9-openjdk.s390x

now i get:
# java -version
openjdk version "9-ea"
OpenJDK Runtime Environment (build 9-ea+163)
OpenJDK 64-Bit Server VM (build 9-ea+163, mixed mode)   <<---

-- 
Phillip Gramly
Systems Programmer
Communications Data Group
Champaign, Illinois


On Wed, 2018-10-03 at 10:20 -0500, Frank M. Ramaekers wrote:
> $ /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-
> 3.b13.el7_5.s390x/jre/bin/java -version
> openjdk version "1.8.0_181"
> OpenJDK Runtime Environment (build 1.8.0_181-b13)
> OpenJDK 64-Bit Zero VM (build 25.181-b13, interpreted mode)
--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Slow java on s390?

2018-10-03 Thread Frank M. Ramaekers
Hdoesn't look like it:

/bin/java -version
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-b13)
OpenJDK 64-Bit Zero VM (build 25.181-b13, interpreted mode)
[VSE@mflnxclef00 terrorist]$ 
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.s390x/jre/bin/java 
-version
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-b13)
OpenJDK 64-Bit Zero VM (build 25.181-b13, interpreted mode)

Frank M. Ramaekers Jr.


-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Jeffrey 
Barnard
Sent: Wednesday, October 3, 2018 8:41 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Slow java on s390?

Frank,

I would bet you do not have the IBM java installed.

What does the output from this command ... java --version show you?

The OpenJDK uses interpret mode while the IBM java has jit support.


Regards,
Jeff

--
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu with the message: INFO LINUX-390 or visit 
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.marist.edu_htbin_wlvindex-3FLINUX-2D390&d=DwICaQ&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=Rx1Xw_Qm4J2XEBPvN8FuDlWBKQaRuvdAN6ddGczEUgE&s=hpQY4zsN01WBQdMC2Ua6MmCmhi46KRcwWG4WGC3z4fk&e=
--
For more information on Linux on System z, visit 
https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.linuxvm.org_&d=DwICaQ&c=laxeQK7vPmHfouIIPNyCfbQd49eK3u00U8Jdo0RFvts&r=EOaM1MkMLG24_TOy4m7EdDoX0CP9-c0YJ2kTdeagcqQ&m=Rx1Xw_Qm4J2XEBPvN8FuDlWBKQaRuvdAN6ddGczEUgE&s=Vt1A6xk33ctC_zJC1JvfGQcoDPbLwlk0ZICCG5E9Uq4&e=

--
This message contains information which is privileged and confidential and is 
solely for the use of the intended recipient. If you are not the intended 
recipient, be aware that any review, disclosure, copying, distribution, or use 
of the contents of this message is strictly prohibited. If you have received 
this in error, please destroy it immediately and notify us at 
privacy...@torchmarkcorp.com.


--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Slow java on s390?

2018-10-03 Thread Neale Ferguson
The openjdk is not a JIT for s390x. java-9-openJDK adds a JIT capability (it's 
in the ClefOS EPEL repo). You should use the IBM Java SDK you'll be very 
pleasantly surprised by the improvement.

On 10/3/18, 09:24, "Linux on 390 Port on behalf of Frank M. Ramaekers" 
 wrote:

I'm porting applications from an iLinux to a zLinux and am experiencing 
performance problems on one particular process.  This process uses dscli (IBM 
Data Storage Command Line Interface) to our DS8870 to retrieve information and 
report statistics (allocation).

On an Intel Linux virtual machine, the process statistics:
$ time ./getinfo.rex

real54m57.647s
user9m16.209s
sys 0m38.034s

Compared to zLinux (ClefOS 7.4):
$ time ./getinfo.rex

real480m57.309s
user443m1.009s
sys 2m13.860s

I have had no performance problems with any other process that I've 
migrated to zLinux.  The process do use a different version of Java:

iLinux:
/usr/java/jdk1.6.0_03/bin/java 
-Dcom.ibm.storage.ess.cli.instbase=/opt/ibm/dscli ...

zLinux:
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.s390x/jre/bin/java 
-Dcom.ibm.storage.ess.cli.instbase=/opt/ibm/dscli ...

Are there performance issues with OpenJava?

Frank M. Ramaekers Jr. | Systems Programmer | Information Technology | 
American Income Life Insurance Company | 254-761-6649 (732-6649)

--
This message contains information which is privileged and confidential and 
is solely for the use of the intended recipient. If you are not the intended 
recipient, be aware that any review, disclosure, copying, distribution, or use 
of the contents of this message is strictly prohibited. If you have received 
this in error, please destroy it immediately and notify us at 
privacy...@torchmarkcorp.com.

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or 
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/



--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Slow java on s390?

2018-10-03 Thread Jeffrey Barnard

Frank,

I would bet you do not have the IBM java installed.

What does the output from this command ... java --version
show you?

The OpenJDK uses interpret mode while the IBM java has jit support.


Regards,
Jeff

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/