From: Sage Weil Subject: RE: RocksDB tuning Date: Fri, 10 Jun 2016 13:55:05 -0400 (EDT) Message-ID: References: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: Received: from mx1.redhat.com ([209.132.183.28]:52747 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751225AbcFJRyj (ORCPT ); Fri, 10 Jun 2016 13:54:39 -0400 In-Reply-To: Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Allen Samuels Cc: Somnath Roy , Mark Nelson , Manavalan Krishnan , Ceph Development On Fri, 10 Jun 2016, Allen Samuels wrote: > Oh, and use 16-bit checksums :) csum_type xxhash32, 0.576609s seconds, 4655.42 MB/sec csum_type xxhash64, 0.306633s seconds, 8754.29 MB/sec csum_type crc32c, 0.176754s seconds, 15187 MB/sec csum_type crc32c_16, 0.172195s seconds, 15589 MB/sec csum_type crc32c_8, 0.137655s seconds, 19500.6 MB/sec csum_type crc16, 8.32507s seconds, 322.442 MB/sec csum_type crc16_8, 8.29444s seconds, 323.633 MB/sec on my dev box. See https://github.com/ceph/ceph/pull/9632 (This is based on other stuff that's not merged; only the last few patches there are relevant). I think we should drop the crc16 and just stick with low bits of crc32c, since it's way faster... I'm pretty sure even without the intel instructions. sage