Ongoing edits

This commit is contained in:
martinsumner 2017-02-02 15:06:15 +00:00
parent cc010b22f5
commit ae4404b6e4
4 changed files with 18 additions and 1 deletions

View file

@ -38,6 +38,19 @@ leveled Results | eleveldb Results
:-------------------------:|:-------------------------:
![](../test/volume/cluster_one/output/summary_leveled_5n_45t.png "LevelEd") | ![](../test/volume/cluster_one/output/summary_leveldb_5n_45t.png "LevelDB")
### Lies, damned lies etc
To a certain extent this should not be too expected - leveled is design to reduce write amplification, without write amplification the persistent write load gives leveled an advantage. The frequent periods of poor performance in leveldb appear to be coordinated with periods of very high await times on nodes during merge jobs, which may involve up to o(1GB) of write activity.
Also the 5:1 ratio of GET:UPDATE is not quite that as:
- each UPDATE requires an external Riak GET (as well as the internal GETs);
- the empty nature of the database at the test start means that there are no actual value fetches initially (just not-present response) and only 50% of fetches get a value by the end of the test (much less for leveldb as there is less volume put during the test).
When testing on a single node cluster (with a smaller ring size, and a smaller keyspace) the relative benefit of leveled appears to be much smaller. One big difference between the single node testing completed and multi-node testing is that between testing the disk was switched from using a single drive to using a mirrored pair. It is suspected that the amplified improvement between single-node test and multi-node tests is related in-part to the cost of software-based mirroring exaggerating write contention to disk.
Leveldb achieved more work in a sense during the test, as the test was run outside of the compaction window for leveled - so the on-disk size of the leveled store was higher as no replaced values had been compacted. Test 6 below will examine the impact of the comapaction window on throughput.
## Riak Cluster Test - 2