{"id":1940,"date":"2015-05-22T17:50:27","date_gmt":"2015-05-22T17:50:26","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=1940"},"modified":"2023-08-29T16:22:10","modified_gmt":"2023-08-29T23:22:10","slug":"forestdb-benchmark","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/","title":{"rendered":"Step by Step : Installing ForestDB Benchmark on CentOS"},"content":{"rendered":"<p>A week ago, we have received official confirmation that our paper, <em>ForestDB: A Fast Key-Value Storage System for Variable-Length String Keys,<\/em> has been accepted for publication in IEEE Transactions on Computers &#8211; one of the top computer science journals.<\/p>\n<p>This is great news for Jung-Sang Ahn, Chiyoung Seo and the rest of the team &#8211; they\u2019ve invested more than two years of hard work on ForestDB. We\u2019re integrating ForestDB into both Couchbase Server and Couchbase Mobile, and this is an important milestone. ForestDB will not only improve read and write performance, it will lay the foundation for new capabilities.<\/p>\n<p>We\u2019re committed to open source.<\/p>\n<p>You can find the ForestDB on GitHub:<\/p>\n<p><a style=\"text-decoration: none\" href=\"https:\/\/github.com\/couchbase\/forestdb\"><u>https:\/\/github.com\/couchbase\/forestdb<\/u><\/a><\/p>\n<p>You can find a tool for benchmarking it on GitHub too:<\/p>\n<p><a style=\"text-decoration: none\" href=\"https:\/\/github.com\/couchbaselabs\/ForestDB-Benchmark\"><u>https:\/\/github.com\/couchbaselabs\/ForestDB-Benchmark<\/u><\/a>.<\/p>\n<p>This blog is a step by step guide on how to install ForestDB and benchmark it on CentOS.<\/p>\n<p><strong>1. Verify Dependencies<\/strong><\/p>\n<p>You need g++ 4.7 or higher to build ForestDB. When I tried to build ForestDB on CentOS 6.5, I ran into this <a style=\"text-decoration: none\" href=\"https:\/\/stackoverflow.com\/questions\/27341599\/cc1plus-error-unrecognized-command-line-option-std-c11\"><u>issue<\/u><\/a> and I had to <a style=\"text-decoration: none\" href=\"https:\/\/ask.xmodulo.com\/upgrade-gcc-centos.html\"><u>upgrade<\/u><\/a> g++ to fix it. So, please make sure you have g++ 4.7 or higher by running <em>g++ &#8211;version<\/em> before attempting to build ForestDB.<\/p>\n<p><strong>2. Install ForestDB<\/strong><\/p>\n<p>You have to build ForestDB before you can benchmark it. You can find detailed instructions <a style=\"text-decoration: none\" href=\"https:\/\/github.com\/couchbase\/forestdb\/blob\/master\/INSTALL.md\"><u>here<\/u><\/a>. We recommended installing ForestDB under \/usr\/local. In addition, we recommend running <em>make test<\/em> to verify the installation was successful.<\/p>\n<p><strong>3. Benchmark ForestDB<\/strong><\/p>\n<p>Now comes the exciting part! You can find detailed instructions for building and running the benchmark <a style=\"text-decoration: none\" href=\"https:\/\/github.com\/couchbaselabs\/ForestDB-Benchmark\/blob\/master\/INSTALL.md\"><u>here<\/u><\/a>. As mentioned in the installation guide, if you install ForestDB in a custom directory, you\u2019ll need to add it to the include path in the environment variables.<\/p>\n<ol>\n<li>Make sure your include path contains libforestdb.so and libsnappy.so.1<\/li>\n<li>Run the following command from the benchmark build directory: .\/fdb_bench<\/li>\n<li>The benchmark is up and running!<\/li>\n<\/ol>\n<p>A few caveats about the results. The results of <a href=\"https:\/\/www.couchbase.com\/benchmarks\/\">performance benchmarks<\/a> depend on the hardware they\u2019re run on: the amount of memory, the number of processors, and disk I\/O performance. So, your results may vary from mine. With the said, I\u2019m happy to show you what the benchmark looks like when it\u2019s up and running:<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/original-assets\/forestdb-benchmark\/screen-shot-2015-05-22-at-9.39.29-am.png\" align=\"middle\" \/><\/p>\n<p>By the way, you can change the benchmark parameters in this <a style=\"text-decoration: none\" href=\"https:\/\/github.com\/couchbaselabs\/ForestDB-Benchmark\/blob\/master\/bench_config.ini\"><u>file<\/u><\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A week ago, we have received official confirmation that our paper, ForestDB: A Fast Key-Value Storage System for Variable-Length String Keys, has been accepted for publication in IEEE Transactions on Computers &#8211; one of the top computer science journals. This [&hellip;]<\/p>\n","protected":false},"author":56,"featured_media":13873,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1],"tags":[],"ppma_author":[9029],"class_list":["post-1940","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.8 (Yoast SEO v25.8) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Step by Step : Installing ForestDB Benchmark on CentOS - The Couchbase Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Step by Step : Installing ForestDB Benchmark on CentOS\" \/>\n<meta property=\"og:description\" content=\"A week ago, we have received official confirmation that our paper, ForestDB: A Fast Key-Value Storage System for Variable-Length String Keys, has been accepted for publication in IEEE Transactions on Computers &#8211; one of the top computer science journals. This [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2015-05-22T17:50:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-29T23:22:10+00:00\" \/>\n<meta name=\"author\" content=\"Qi Zhu, Product Manager, Couchbase\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Qi Zhu, Product Manager, Couchbase\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/\"},\"author\":{\"name\":\"Qi Zhu, Product Manager, Couchbase\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/d6122e48349691bbfb05503179b9c8cf\"},\"headline\":\"Step by Step : Installing ForestDB Benchmark on CentOS\",\"datePublished\":\"2015-05-22T17:50:26+00:00\",\"dateModified\":\"2023-08-29T23:22:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/\"},\"wordCount\":395,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/\",\"name\":\"Step by Step : Installing ForestDB Benchmark on CentOS - The Couchbase Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"datePublished\":\"2015-05-22T17:50:26+00:00\",\"dateModified\":\"2023-08-29T23:22:10+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/#primaryimage\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"width\":1800,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.couchbase.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Step by Step : Installing ForestDB Benchmark on CentOS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"name\":\"The Couchbase Blog\",\"description\":\"Couchbase, the NoSQL Database\",\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"width\":218,\"height\":34,\"caption\":\"The Couchbase Blog\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/d6122e48349691bbfb05503179b9c8cf\",\"name\":\"Qi Zhu, Product Manager, Couchbase\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/69bcde245dd8f976f1b6dab5571d9ba2\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b88968a17a23ed09554cbd40bf39533dfd041061eed178fd3b01feae0bbc429c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b88968a17a23ed09554cbd40bf39533dfd041061eed178fd3b01feae0bbc429c?s=96&d=mm&r=g\",\"caption\":\"Qi Zhu, Product Manager, Couchbase\"},\"description\":\"Qi Zhu is a Technical Product Manager at Couchbase. Check out his 4 publications in distributed computing and software reliability.\",\"url\":\"https:\/\/www.couchbase.com\/blog\/author\/qi-zhu\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Step by Step : Installing ForestDB Benchmark on CentOS - The Couchbase Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/","og_locale":"en_US","og_type":"article","og_title":"Step by Step : Installing ForestDB Benchmark on CentOS","og_description":"A week ago, we have received official confirmation that our paper, ForestDB: A Fast Key-Value Storage System for Variable-Length String Keys, has been accepted for publication in IEEE Transactions on Computers &#8211; one of the top computer science journals. This [&hellip;]","og_url":"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/","og_site_name":"The Couchbase Blog","article_published_time":"2015-05-22T17:50:26+00:00","article_modified_time":"2023-08-29T23:22:10+00:00","author":"Qi Zhu, Product Manager, Couchbase","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Qi Zhu, Product Manager, Couchbase","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/"},"author":{"name":"Qi Zhu, Product Manager, Couchbase","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/d6122e48349691bbfb05503179b9c8cf"},"headline":"Step by Step : Installing ForestDB Benchmark on CentOS","datePublished":"2015-05-22T17:50:26+00:00","dateModified":"2023-08-29T23:22:10+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/"},"wordCount":395,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/","url":"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/","name":"Step by Step : Installing ForestDB Benchmark on CentOS - The Couchbase Blog","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","datePublished":"2015-05-22T17:50:26+00:00","dateModified":"2023-08-29T23:22:10+00:00","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","width":1800,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/forestdb-benchmark\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Step by Step : Installing ForestDB Benchmark on CentOS"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/blog\/#website","url":"https:\/\/www.couchbase.com\/blog\/","name":"The Couchbase Blog","description":"Couchbase, the NoSQL Database","publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"The Couchbase Blog","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","width":218,"height":34,"caption":"The Couchbase Blog"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/d6122e48349691bbfb05503179b9c8cf","name":"Qi Zhu, Product Manager, Couchbase","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/69bcde245dd8f976f1b6dab5571d9ba2","url":"https:\/\/secure.gravatar.com\/avatar\/b88968a17a23ed09554cbd40bf39533dfd041061eed178fd3b01feae0bbc429c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b88968a17a23ed09554cbd40bf39533dfd041061eed178fd3b01feae0bbc429c?s=96&d=mm&r=g","caption":"Qi Zhu, Product Manager, Couchbase"},"description":"Qi Zhu is a Technical Product Manager at Couchbase. Check out his 4 publications in distributed computing and software reliability.","url":"https:\/\/www.couchbase.com\/blog\/author\/qi-zhu\/"}]}},"authors":[{"term_id":9029,"user_id":56,"is_guest":0,"slug":"qi-zhu","display_name":"Qi Zhu, Product Manager, Couchbase","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/b88968a17a23ed09554cbd40bf39533dfd041061eed178fd3b01feae0bbc429c?s=96&d=mm&r=g","author_category":"","last_name":"Zhu","first_name":"Qi","job_title":"","user_url":"","description":"Qi Zhu is a Technical Product Manager at Couchbase. Check out his 4 publications in distributed computing and software reliability."}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/1940","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/users\/56"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/comments?post=1940"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/1940\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media\/13873"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media?parent=1940"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/categories?post=1940"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/tags?post=1940"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=1940"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}