Skip to content

Navigation Menu

Sign up

Performance Results

Chiyoung Seo edited this page Jul 21, 2014 · 12 revisions

Introduction

We evaluate the performance of ForestDB with respect to initial loading time, read and write throughput, write amplification, and so forth, and compare them with LevelDB version 1.15, and RocksDB version 3.1. For fair comparisons, we have implemented a benchmark program generating Couchbase Server’s storage APIs, and API-wrapping layers for each DB are used to convert the operations into their own operations. Note that the results shown in this page are the first round of our benchmark tests, and we will share more results in various use cases later when they become available.

Evaluation Setup

The evaluation has been performed on a 64-bit machine running Centos 6.5 (Linux 2.6.32), equipped with Intel® Xeon® E5-2620 @ 2.00 GHz CPU (6 cores, 12 threads, 15 MB L3 cache), 32 GB RAM, and Crucial M4 512GB SSD (M4-CT512M4SSD2), where the disk is formatted using the Ext4 file system. We initialized each database using 100 million documents whose key size is 32 bytes and value size is approximately 1KB. The total working set size is around 90 GB, which is about 3x larger than the RAM capacity, thus the performance is mostly bounded by disk I/O.

Each database library is configured as follows (the rest of configurations are set up using their default values):

  • LevelDB
    • Snappy compression is disabled
    • Write buffer size: 256 MB (initial load), 4 MB (otherwise)
  • RocksDB
    • Snappy compression is disabled
    • Write buffer size: 256 MB (initial load), 4 MB (otherwise)
    • Maximum number of background compaction threads: 8
    • Maximum number of background memtable flushes: 8
    • Maximum number of write buffers: 8
  • ForestDB
    • Snappy compression is disabled
    • WAL size: 4,096 documents (corresponding to ~4 MB of write buffer size in LevelDB or RocksDB)
    • ForestDB’s own block cache size: 8 GB (Note that ForestDB’s block cache is not a high-level document cache, but just an alternative to the OS page cache. It caches data on a block (page) basis, thus differs from the cache structures in LevelDB or RocksDB.)

Evaluation Results

Initial Load

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /