Issue Details (XML | Word | Printable)

Key: RVM-489
Type: Sub-task Sub-task
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Ian Rogers
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
RVM
RVM-484

Out-of-memory errors in particular during compiler for scimark benchmarks

Created: 09/May/08 05:34 PM   Updated: 15/Nov/08 08:25 PM
Component/s: Compiler: Optimizing
Affects Version/s: None
Fix Version/s: 3.1

Time Tracking:
Not Specified


 Description  « Hide
We fail scimark benchmarks with OOMs and sometimes opt compiler stack back traces:

Benchmark: scimark.lu.large
Run mode: timed run
Test type: multi
Threads: 2
Warmup: 120s
Iterations: 1
Run length: 240s

Warmup (120s) begins: Fri May 09 23:13:43 GMT+05:30 2008
GCWarning: Live ratio greater than 1: 1.00
Compiler ran out of memory during compilation of < SystemAppCL, Lspec/benchmarks/scimark/utils/Random; >.nextDouble ()D
Compiler ran out of memory during compilation of < SystemAppCL, Lspec/benchmarks/scimark/utils/kernel; >.RandomMatrix (IILspec/benchmarks/s
cimark/utils/Random[[D
org.jikesrvm.compilers.opt.OptimizingCompilerException: ERROR produced in module:Compiler
failure during compilation of < SystemAppCL, Lspec/benchmarks/scimark/utils/kernel; >.RandomMatrix (IILspec/benchmarks/scimark/utils/Ra
ndom[[D

at .<invisible method>(Unknown Source:0)
at java.lang.VMThrowable.fillInStackTrace(VMThrowable.java:49)
at java.lang.Throwable.fillInStackTrace(Throwable.java:498)
at java.lang.Throwable.<init>(Throwable.java:159)
at java.lang.Exception.<init>(Exception.java:78)
at java.lang.RuntimeException.<init>(RuntimeException.java:76)
at org.jikesrvm.compilers.opt.OptimizingCompilerException.<init>(OptimizingCompilerException.java:95)
at org.jikesrvm.compilers.opt.driver.OptimizingCompiler.fail(OptimizingCompiler.java:319)
at org.jikesrvm.compilers.opt.driver.OptimizingCompiler.compile(OptimizingCompiler.java:238)
at org.jikesrvm.compilers.common.VM_RuntimeCompiler.optCompile(VM_RuntimeCompiler.java:358)
at org.jikesrvm.compilers.common.VM_RuntimeCompiler.recompileWithOptOnStackSpecialization(VM_RuntimeCompiler.java:487)
at org.jikesrvm.osr.OSR_SpecialCompiler.optCompile(OSR_SpecialCompiler.java:200)
at org.jikesrvm.osr.OSR_SpecialCompiler.recompileState(OSR_SpecialCompiler.java:46)
at org.jikesrvm.adaptive.OSR_OnStackReplacementPlan.execute(OSR_OnStackReplacementPlan.java:119)
at org.jikesrvm.adaptive.recompilation.VM_CompilationThread.run(VM_CompilationThread.java:55)
Optimizing compiler (via recompileWithOptOnStackSpecialization): can't optimize "< SystemAppCL, Lspec/benchmarks/scimark/utils/kernel; >.Ra
ndomMatrix (IILspec/benchmarks/scimark/utils/Random[[D" (error was: org.jikesrvm.compilers.opt.OptimizingCompilerException: ERROR produce
d in module:Compiler
failure during compilation of < SystemAppCL, Lspec/benchmarks/scimark/utils/kernel; >.RandomMatrix (IILspec/benchmarks/scimark/utils/Ra
ndom[[D
)
java.lang.OutOfMemoryErrorCompiler ran out of memory during compilation of < SystemAppCL, Lspec/benchmarks/scimark/utils/kernel; >.RandomMa
trix (IILspec/benchmarks/scimark/utils/Random[[D
Warmup (120s) ends: Fri May 09 23:13:47 GMT+05:30 2008
Warmup (120s) result: *NOT VALID*

Benchmark scimark.lu.large failed. Aborting run.

SPECjvm2008 Base
Properties file: none
Benchmarks: scimark.sparse.large

WARNING: Run will not be compliant.
Not a compliant sequence of benchmarks for publication.
Property specjvm.run.checksum.validation must be true for publication.

— --- — --- — --- — --- —

Benchmark: scimark.sparse.large
Run mode: timed run
Test type: multi
Threads: 2
Warmup: 120s
Iterations: 1
Run length: 240s

Warmup (120s) begins: Fri May 09 23:19:01 GMT+05:30 2008
GCWarning: Live ratio greater than 1: 1.09
GCWarning: Live ratio greater than 1: 1.13
GCWarning: Live ratio greater than 1: 1.13
GCWarning: Live ratio greater than 1: 1.10
GCWarning: Live ratio greater than 1: 1.10
java.lang.OutOfMemoryErrorGCWarning: Live ratio greater than 1: 1.10
GCWarning: Live ratio greater than 1: 1.10
Compiler ran out of memory during compilation of < SystemAppCL, Lspec/benchmarks/scimark/utils/Random; >.nextDouble ()D
Warmup (120s) ends: Fri May 09 23:19:01 GMT+05:30 2008
Warmup (120s) result: *NOT VALID*

Errors in benchmark: scimark.sparse.large
[warmup] Harness interruped during measurement period.
[warmup][bt:1|op:1] java.lang.OutOfMemoryError: null
[warmup][bt:2|op:1] java.lang.OutOfMemoryError: null
Score on scimark.sparse.large: *NOT VALID*

Benchmark scimark.sparse.large failed. Aborting run.

Results are stored in:
/home/antigua/IanR/workspace/temp/jikesrvm/components/SPECjvm2008/1_00/results/SPECjvm2008.031/SPECjvm2008.031.raw
GCWarning: Live ratio greater than 1: 1.10
GCWarning: Live ratio greater than 1: 1.10
Error while creating report. Out of Memory.

— --- — --- — --- — --- —

WARNING! Known issue detected:

An Out of Memory Error has been thrown.
This is an unfortunate but expected error for some configurations.
The heap size needs to be increased or the amount of live data decreased.

In a peak run where tuning is allowed, use JVM argument -Xmx or equivalent.
In a base run, it is possible to configure the harness.
For more info, see ./docs/KnownIssues.html



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Andrew John Hughes added a comment - 15/Nov/08 08:25 PM
This seems JikesRVM specific. I don't see this with cacao. Maybe you just need to run the VM with a bigger heap?