cancel
Showing results for 
Search instead for 
Did you mean: 

vdbench on HPUX 11iv3

 
chindi
Respected Contributor

vdbench on HPUX 11iv3

root #/home/vdbench/vdbench-50402 >sh -x vdbench
+ dirname vdbench
+ export dir=.
+ export cp=./:./classes:./vdbench.jar
+ export java=java
+ == SlaveJvm
vdbench[35]: : Execute permission denied.
+ java -d64 -Xmx512m -Xms64m -cp ./:./classes:./vdbench.jar Vdb.Vdbmain
Error: Could not find or load main class Vdb.Vdbmain
+ exit
root #/home/vdbench/vdbench-50402 >

4 REPLIES

Re: vdbench on HP-UX 11.31

>+ == SlaveJvm
vdbench[35]: : Execute permission denied.

 

What's on line 35 of vdbench?  Is it SlaveJvm?

What does "file SlaveJvm" show?

chindi
Respected Contributor

Re: vdbench on HP-UX 11.31

Team,

We are trying to run vdbench in our setup.
But we are facing below issue while running the same for hpux 11iv3 Itanium host ;

./vdbench runs fine as shown below;

root #/home/tejachau/vdbench50402 >./vdbench
16:56:23.411
16:56:23.417  usage:
16:56:23.417  ./vdbench [compare] [-f xxx] [-o xxx] [-e nn] [-i nn] [-j] [-jr] [-v] [-vq] [-s] [-k] [- "parmfile parameters"]
16:56:23.417
16:56:23.417  '-f xxx': Workload parameter file name(s). Default 'parmfile' in current directory
16:56:23.417  '-o xxx': Output directory for reporting. Default 'output' in current directory
16:56:23.417  '-e nn':  Override elapsed=seconds.
16:56:23.417  '-i nn':  Override interval=seconds.
16:56:23.417  '-v':     Activate Data validation.
16:56:23.418  '-vq':    Activate Data validation, validate lba and data key (saves cpu)
16:56:23.418  '-j':     Activate Data validation with Journaling.
16:56:23.418  '-jr':    Recover existing Journal, Validate data and run workload
16:56:23.418  '-s':     Simulate execution. Do everything but I/O.
16:56:23.418  '-k':     Solaris only: Report kstat statistics on console.
16:56:23.418
16:56:23.418
16:56:23.418
16:56:23.418 *example 1 parameter file contents, execute 'vdbench -f example1'
16:56:23.418 *Single raw disk, 100% random read of 4k records at i/o rate of 100 for 10 seconds
16:56:23.418
16:56:23.418 *SD:    Storage Definition
16:56:23.419 *WD:    Workload Definition
16:56:23.419 *RD:    Run Definition
16:56:23.419 *
16:56:23.419 sd=sd1,lun=/dev/rdsk/cxt0d0s0
16:56:23.419 wd=wd1,sd=sd1,xfersize=4096,readpct=100
16:56:23.419 rd=run1,wd=wd1,iorate=100,elapsed=10,interval=1
16:56:23.419
16:56:23.419
16:56:23.419
16:56:23.419 *example 2 parameter file contents, execute 'vdbench -f example2'
16:56:23.419 *Two raw disks:
16:56:23.419 *sd1 does 80 i/o's per second, read-to-write ratio 4:1, 4k records.
16:56:23.420 *sd2 does 120 i/o's per second, 100% write at 8k records.
16:56:23.420
16:56:23.420 sd=sd1,lun=/dev/rdsk/cxt0d0s0
16:56:23.420 sd=sd2,lun=/dev/rdsk/cxt0d1s0
16:56:23.420 wd=wd1,sd=sd1,xfersize=4k,readpct=80,skew=40
16:56:23.420 wd=wd2,sd=sd2,xfersize=8k,readpct=0
16:56:23.420 rd=run1,wd=wd*,iorate=200,elapsed=10,interval=1
16:56:23.420
16:56:23.420
16:56:23.420 For documentation, browse file 'vdbench.pdf'
16:56:23.423
16:56:23.423 No input parameters specified
16:56:23.423
java.lang.RuntimeException: No input parameters specified
        at Vdb.common.failure(common.java:306)
        at Vdb.Vdbmain.main(Vdbmain.java:509)



But when we are trying to run ./vdbench -t  ; below error is coming 

root #/home/tejachau/vdbench50402 >./vdbench -t


Vdbench distribution: vdbench50402
For documentation, see 'vdbench.pdf'.

16:57:23.800 input argument scanned: '-f/var/tmp/parmfile'
16:57:23.985 Starting slave: /home/tejachau/vdbench50402/vdbench SlaveJvm -m localhost -n localhost-10-150302-16.57.23.717 -l localhost-0 -p 5570
16:57:25.252
16:57:25.252 Slave localhost-0 prematurely terminated.
16:57:25.252 Look at file localhost-0.stdout.html for more information.
16:57:25.253
16:57:25.253 Slave localhost-0 prematurely terminated.
16:57:25.253
java.lang.RuntimeException: Slave localhost-0 prematurely terminated.
        at Vdb.common.failure(common.java:306)
        at Vdb.SlaveStarter.startSlave(SlaveStarter.java:179)
        at Vdb.SlaveStarter.run(SlaveStarter.java:50)


PFA localhost-0.stdout.txt its actually .html file .


root #/home/tejachau/vdbench50402 >./vdbench -f example1


Vdbench distribution: vdbench50402
For documentation, see 'vdbench.pdf'.

18:24:14.422 input argument scanned: '-fexample1'
18:24:14.608 Starting slave: /home/tejachau/vdbench50402/vdbench SlaveJvm -m localhost -n localhost-10-150302-18.24.14.358 -l localhost-0 -p 5570
18:24:15.842
18:24:15.842 Slave localhost-0 prematurely terminated.
18:24:15.843 Look at file localhost-0.stdout.html for more information.
18:24:15.843
18:24:15.843 Slave localhost-0 prematurely terminated.
18:24:15.843
java.lang.RuntimeException: Slave localhost-0 prematurely terminated.
        at Vdb.common.failure(common.java:306)
        at Vdb.SlaveStarter.startSlave(SlaveStarter.java:179)
        at Vdb.SlaveStarter.run(SlaveStarter.java:50)
You have mail in /var/mail/root
root #/home/tejachau/vdbench50402 >cat example1

*
* Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
*

*
* Author: Henk Vandenbergh.
*


*Example 1: Single run, one raw disk

*SD:    Storage Definition
*WD:    Workload Definition
*RD:    Run Definition
*
sd=sd1,lun=/dev/rdisk/disk486
wd=wd1,sd=sd1,xfersize=4096,rdpct=100
rd=run1,wd=wd1,iorate=100,elapsed=10,interval=1

*Single raw disk, 100% random read of 4k records at i/o rate of 100 for 10 seconds

Re: vdbench on HP-UX 11.31

>16:57:25.252 Slave localhost-0 prematurely terminated.

>    localhost-0.stdout.txt ‏6 KB:

A fatal error has been detected by the Java Runtime Environment:

16:57:24.356 # 16:57:24.356 # SIGSEGV (11) at pc=d0e39fd0, pid=20005, tid=1

 

Looks like you have some sort of java error.

chindi
Respected Contributor

Re: vdbench on HP-UX 11.31

Hi Guys,

I have found the solution.

PFA library module needed for the same.

Not able to attach library here :(