Skip to Main Content

Hardware

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

EOF Error on VDBench 50405

3262973Jun 21 2016 — edited Jun 22 2016

Good Evening,

I'm running into an issue trying to get vdbench 50405 running on Fedora 23. I have JRE 1.8.0 installed and I modified vdbench to point to this version. I am able to successfully start a test vdbench run using -t. However when I attempt to start with a parm file, I receive the following error. Any help would be greatly appreciated! Thanks!

21:51:24.150 Unexpected EOF in parameter file.

21:51:24.150

java.lang.RuntimeException: Unexpected EOF in parameter file.

        at Vdb.common.failure(common.java:315)

        at Vdb.Vdb_scan.parms_split(Vdb_scan.java:721)

        at Vdb.FwdEntry.readParms(FwdEntry.java:95)

        at Vdb.Vdbmain.parseParameterLines(Vdbmain.java:675)

        at Vdb.Vdbmain.main(Vdbmain.java:567)

Here is the parm file

fsd=fsd1,anchor=/mnt/FSD1/fsd1,depth=2,width=2,files=10,size=4k

fwd=fwd1,fsd=fsd1,operation=read,xfersize=4k,fileio=sequential,fileselect=random,threads=2

Here is the vdbench file

#!/bin/bash

#

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

#

#

# Author: Henk Vandenbergh.

#

# Directory where script was started from:

dir=`dirname $0`

# If the first parameter equals -SlaveJvm then this means that

# the script must start vdbench with more memory.

# Since all the real work is done in a slave, vdbench itself can be

# started with just a little bit of memory, while the slaves must

# have enough memory to handle large amount of threads and buffers.

# Set classpath.

# $dir                 - parent of $dir/solaris/solx86/linux/aix/hp/mac subdirectory

# $dir/../classes      - for development overrides

# $dir/vdbench.jar     - everything, including vdbench.class

cp=$dir/:$dir/classes:$dir/vdbench.jar

# Proper path for java:

java=/usr/java/jre1.8.0_91/bin/java

# When out of memory, modify the first set of memory parameters. See above.

# '-client' is an option for Sun's Java. Remove if not needed.

#

# If you need to increase java heap size for Vdbench utilities like 'dsim',

# increase the value for 'Vdbmain'.

#

# When your version of java supports 64bit you may replace '-client' with '-d64'

if [ "$1" == "SlaveJvm" ]; then

  $java -client -Xmx35g -Xms4g -cp $cp Vdb.SlaveJvm $*

  exit $?

else

  $java -client -Xmx512m  -Xms64m  -cp $cp Vdb.Vdbmain $*

  exit $?

fi

And finally the java -version output

[root@s1 build]# /usr/java/jre1.8.0_91/bin/java -version

java version "1.8.0_91"

Java(TM) SE Runtime Environment (build 1.8.0_91-b14)

Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 20 2016
Added on Jun 21 2016
3 comments
1,830 views