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!

vdbench reported error with “out of memory, java heap space”,How to solve it thoroughly?

User_UOMN4Mar 24 2022 — edited Mar 24 2022

Hello, everyone, I have encountered a problem related to vdbench testing tools. I hope you can help us to see how to solve it.
I used four servers to test SAN storage devices. The first test tool ran for less than one day and stopped abnormally. The test tool output "out of memory, java heap space". The problem was that "max 455.5 current 361.5 used 351.99" was printed. After the problem occurred, the Xmx and Xms parameters of vdbench script were modified according to online methods as shown in the figure below:
image.png
In the second test, after running for a week, the vdbench tool still stopped abnormally, and still output "out of memory, java heap space". The problem was that "max 4551.5 current 3619 used 3604" was printed. I want to ask why the vdbench tool consumes so much memory, and is this a defect of the vdbench tool?
1、The operating system of the test server is CentOS8.2, and the java version of this system is 1.0.8_242.
2、Vdbench test tool version is 50406.
3、The following is the test model of my settings.
hd=default,jvms=8,vdbench=/root/vdbench50406,user=root,shell=ssh
hd=hd1,system=172.25.101.101
hd=hd2,system=172.25.101.103
hd=hd3,system=172.25.101.104
hd=hd4,system=172.25.101.105

sd=default,openflags=o_direct,hitarea=1g,threads=12
sd=sd1,host=hd1,lun=/dev/dm-4
sd=sd2,host=hd1,lun=/dev/dm-5
sd=sd3,host=hd1,lun=/dev/dm-6
sd=sd4,host=hd1,lun=/dev/dm-7
sd=sd5,host=hd1,lun=/dev/dm-9
sd=sd6,host=hd1,lun=/dev/dm-10
sd=sd7,host=hd1,lun=/dev/dm-11
sd=sd8,host=hd1,lun=/dev/dm-12
sd=sd9,host=hd1,lun=/dev/dm-13

sd=sd10,host=hd2,lun=/dev/dm-4
sd=sd11,host=hd2,lun=/dev/dm-5
sd=sd12,host=hd2,lun=/dev/dm-6
sd=sd13,host=hd2,lun=/dev/dm-7
sd=sd14,host=hd2,lun=/dev/dm-9
sd=sd15,host=hd2,lun=/dev/dm-10
sd=sd16,host=hd2,lun=/dev/dm-11
sd=sd17,host=hd2,lun=/dev/dm-12
sd=sd18,host=hd2,lun=/dev/dm-13

sd=sd19,host=hd3,lun=/dev/dm-4
sd=sd20,host=hd3,lun=/dev/dm-5
sd=sd21,host=hd3,lun=/dev/dm-6
sd=sd22,host=hd3,lun=/dev/dm-7
sd=sd23,host=hd3,lun=/dev/dm-8
sd=sd24,host=hd3,lun=/dev/dm-9
sd=sd25,host=hd3,lun=/dev/dm-10
sd=sd26,host=hd3,lun=/dev/dm-11
sd=sd27,host=hd3,lun=/dev/dm-12

sd=sd28,host=hd4,lun=/dev/dm-4
sd=sd29,host=hd4,lun=/dev/dm-5
sd=sd30,host=hd4,lun=/dev/dm-6
sd=sd31,host=hd4,lun=/dev/dm-7
sd=sd32,host=hd4,lun=/dev/dm-8
sd=sd33,host=hd4,lun=/dev/dm-9
sd=sd34,host=hd4,lun=/dev/dm-10
sd=sd35,host=hd4,lun=/dev/dm-11
sd=sd36,host=hd4,lun=/dev/dm-12

sd=sd37,host=hd1,lun=/dev/dm-8
sd=sd38,host=hd2,lun=/dev/dm-8
sd=sd39,host=hd3,lun=/dev/dm-13
sd=sd40,host=hd4,lun=/dev/dm-13

wd=wd1,sd=sd*,rhpct=50,rdpct=100,xfersize=8k,skew=20
wd=wd2,sd=sd*,seekpct=100,rdpct=100,xfersize=4k,skew=45
wd=wd3,sd=sd*,seekpct=100,rdpct=0,xfersize=8k,skew=15
wd=wd4,sd=sd*,seekpct=0,rdpct=100,xfersize=64k,skew=10
wd=wd5,sd=sd*,seekpct=0,rdpct=0,xfersize=64k,skew=10

wd=wdsnap1,sd=(sd1-sd36),rhpct=50,rdpct=100,xfersize=8k,skew=20
wd=wdsnap2,sd=(sd1-sd36),seekpct=100,rdpct=100,xfersize=4k,skew=45
wd=wdsnap3,sd=(sd1-sd36),seekpct=100,rdpct=0,xfersize=8k,skew=15
wd=wdsnap4,sd=(sd1-sd36),seekpct=0,rdpct=100,xfersize=64k,skew=10
wd=wdsnap5,sd=(sd1-sd36),seekpct=0,rdpct=0,xfersize=64k,skew=10

rd=rd1,wd=(wd1-wd5),iorate=200000,elapsed=518400,interval=5,warmup=30
rd=rd2,wd=(wdsnap1-wdsnap5),iorate=200000,elapsed=7200,interval=5,warmup=30
rd=rd3,wd=(wd1-wd5),iorate=200000,elapsed=518400,interval=5,warmup=30
rd=rd4,wd=(wdsnap1-wdsnap5),iorate=200000,elapsed=7200,interval=5,warmup=30
rd=rd5,wd=(wd1-wd5),iorate=200000,elapsed=158400,interval=5,warmup=30

Comments
Post Details
Added on Mar 24 2022
0 comments
1,175 views