public static class BenchmarkJournalWriteRate.BenchmarkBlockBasedOptimium extends BenchmarkJournalWriteRate.AbstractBenchmarkOptimium
Writes the same amount of data using large blocks on a pre-extended file using pure sequential IO. This case should produce the "best-case" optimium throughput to disk for block-oriented IO. In order for the journal to approach this best case scenario, you need to be writing large blocks. Note that the btree does exactly this, but the limiting factor for throughput is the write on the btree data structures (mostly key search) rather than the writes on the journal and their consequent IO.
Note: This overrides several methods in the base class in order to conduct a test without the use of a journal.
TestCase2.MyProperties, TestCase2.RandomType
_randomType, log
Constructor and Description |
---|
BenchmarkJournalWriteRate.BenchmarkBlockBasedOptimium() |
Modifier and Type | Method and Description |
---|---|
int |
getRecordSize()
8k
|
doOptimiumWriteRateTest, getFilename, getInitialExtent, setUp, tearDown, testNoIsolation
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsWithinUlps, assertSameArray, assertSameArray, assertSameBigDecimal, assertSameBigDecimal, assertSameBigInteger, assertSameBigInteger, assertSameIterator, assertSameIterator, assertSameIteratorAnyOrder, assertSameIteratorAnyOrder, assertSameValue, assertSameValue, assertZeroUlps, assertZeroUlps, fail, getInnerCause, getNormalInt, getProjectBuildPath, getProperties, getRandomObject, getRandomObject, getRandomOrder, getRandomString, getTestInputStream, getTestResource, getTestResource, getUlps, getUlps, isDEBUG, isDEBUG, isINFO, isINFO, isInnerCause, logProperties
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
public BenchmarkJournalWriteRate.BenchmarkBlockBasedOptimium()
public int getRecordSize()
getRecordSize
in class BenchmarkJournalWriteRate.AbstractBenchmarkOptimium
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.