Return-Path: X-Original-To: apmail-accumulo-user-archive@www.apache.org Delivered-To: apmail-accumulo-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 46FE9EB27 for ; Thu, 28 Feb 2013 14:26:35 +0000 (UTC) Received: (qmail 24129 invoked by uid 500); 28 Feb 2013 14:26:35 -0000 Delivered-To: apmail-accumulo-user-archive@accumulo.apache.org Received: (qmail 24078 invoked by uid 500); 28 Feb 2013 14:26:34 -0000 Mailing-List: contact user-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@accumulo.apache.org Delivered-To: mailing list user@accumulo.apache.org Received: (qmail 24064 invoked by uid 99); 28 Feb 2013 14:26:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2013 14:26:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.220.179] (HELO mail-vc0-f179.google.com) (209.85.220.179) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2013 14:26:27 +0000 Received: by mail-vc0-f179.google.com with SMTP id k1so1211844vck.24 for ; Thu, 28 Feb 2013 06:26:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:x-gm-message-state; bh=7O4voBqzY2bc623ivctG2FQQWkXNFXz6EtaaufT+BCQ=; b=aAd6+ad7XpSKKzQ3Ht0r0X2/Pi39XK9s7jq4ehtW6ie16P23jJ7rYmhmwFiR2quaIJ 5wv7sdtGHXb70s1vfp+c7PAoNbHIgNMJsRBXHcjiWDsxLYQGudjZA8D4DKG2Buv9jHOe lhPNRlcGlTKjvlGjTFn5w3EfaKNKtapEEAWEYzMi8f/f0gtYJnMX5o3IttDoYL7/e+Bl k0luAUEXx19uTYw9QRCuzRkKrES4yUQVDrCe8ujT/7Uj99FwuJhhsBg5ZTTVQ+jYlu3S 6g8utBqvMLkNGROAsCbK2lp8CtbkSLZsByF+l7Kn7DZKQKpfR0UzyKLGvCbf0cjiyps9 h4Dg== MIME-Version: 1.0 X-Received: by 10.220.39.69 with SMTP id f5mr2592076vce.45.1362061566521; Thu, 28 Feb 2013 06:26:06 -0800 (PST) Received: by 10.220.124.74 with HTTP; Thu, 28 Feb 2013 06:26:06 -0800 (PST) In-Reply-To: References: Date: Thu, 28 Feb 2013 09:26:06 -0500 Message-ID: Subject: Re: Throttle major compaction. From: Keith Turner To: user@accumulo.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkW9bYBWbCPWL3zD5x/TBo6xSjMmwKeJ1MekbMB7B6a2O1jvh/T7czTXYETRKaZMzKtuRk9 X-Virus-Checked: Checked by ClamAV on apache.org I thnk this could be done fairly easily with an iterator. An iterator configured for major compaction could rate limit data. On Thu, Feb 28, 2013 at 8:27 AM, Denis wrote: > Hi. > > Major compaction loads hard disks very hard, even with > tserver.compaction.major.concurrent.max=1 > > Besides nice peaks on the Load Average and IOstat graps during major > compaction, such high load also badly affects query performance and > latency. > > HBase and Cassandra both have settings to throttle major compaction > (Cassandra's default is 16 Mb/s which is about 1/3 of the peek values > I see during Accumulo's major compaction) > > But it looks like Accumulo does not have such setting and I have not > found relevant questions in the bugtracker and maillist archive. > > How do you deal with the major compaction and its performance effects?