From: Mark Nelson Subject: Re: RocksDB tuning Date: Thu, 9 Jun 2016 08:37:46 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com ([209.132.183.28]:57125 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751168AbcFINhu (ORCPT ); Thu, 9 Jun 2016 09:37:50 -0400 In-Reply-To: Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Allen Samuels , Manavalan Krishnan , Ceph Development Hi Allen, On a somewhat related note, I wanted to mention that I had forgotten that chhabaremesh's min_alloc_size commit for different media types was committed into master: https://github.com/ceph/ceph/commit/8185f2d356911274ca679614611dc335e3efd187 IE those tests appear to already have been using a 4K min alloc size due to non-rotational NVMe media. I went back and verified that explicitly changing the min_alloc size (in fact all of them to be sure) to 4k does not change the behavior from graphs I showed yesterday. The rocksdb compaction stalls due to excessive reads appear (at least on the surface) to be due to metadata traffic during heavy small random writes. Mark On 06/08/2016 06:52 PM, Allen Samuels wrote: > Let's make a patch that creates actual Ceph parameters for these things so that we don't have to edit the source code in the future. > > > Allen Samuels > SanDisk |a Western Digital brand > 2880 Junction Avenue, San Jose, CA 95134 > T: +1 408 801 7030| M: +1 408 780 6416 > allen.samuels@SanDisk.com > > >> -----Original Message----- >> From: ceph-devel-owner@vger.kernel.org [mailto:ceph-devel- >> owner@vger.kernel.org] On Behalf Of Manavalan Krishnan >> Sent: Wednesday, June 08, 2016 3:10 PM >> To: Mark Nelson ; Ceph Development > devel@vger.kernel.org> >> Subject: RocksDB tuning >> >> Hi Mark >> >> Here are the tunings that we used to avoid the IOPs choppiness caused by >> rocksdb compaction. >> >> We need to add the following options in src/kv/RocksDBStore.cc before >> rocksdb::DB::Open in RocksDBStore::do_open opt.IncreaseParallelism(16); >> opt.OptimizeLevelStyleCompaction(512 * 1024 * 1024); >> >> >> >> Thanks >> Mana >> >> >>> >> >> PLEASE NOTE: The information contained in this electronic mail message is >> intended only for the use of the designated recipient(s) named above. If the >> reader of this message is not the intended recipient, you are hereby notified >> that you have received this message in error and that any review, >> dissemination, distribution, or copying of this message is strictly prohibited. If >> you have received this communication in error, please notify the sender by >> telephone or e-mail (as shown above) immediately and destroy any and all >> copies of this message in your possession (whether hard copies or >> electronically stored copies). >> -- >> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the >> body of a message to majordomo@vger.kernel.org More majordomo info at >> http://vger.kernel.org/majordomo-info.html > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >