Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-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 026B8FEE5 for ; Sun, 28 Apr 2013 21:50:26 +0000 (UTC) Received: (qmail 90896 invoked by uid 500); 28 Apr 2013 21:50:23 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 90791 invoked by uid 500); 28 Apr 2013 21:50:23 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 90781 invoked by uid 99); 28 Apr 2013 21:50:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Apr 2013 21:50:23 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of john@disqus.com designates 209.85.210.171 as permitted sender) Received: from [209.85.210.171] (HELO mail-ia0-f171.google.com) (209.85.210.171) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Apr 2013 21:50:19 +0000 Received: by mail-ia0-f171.google.com with SMTP id r13so4975289iar.2 for ; Sun, 28 Apr 2013 14:49:58 -0700 (PDT) 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=hMAUh+hrdAFvLo7fkmD0dMYkNULth1lS/rDKJDmLtIg=; b=le8vhVK0Zz+Vsd25Sm0kdpoaTE6HT/QH+Mg87jSKHs5L8LshyYSclNpqQBelq7AIzW LBBtkeZ1Uw2XaTxrYFZwewlUN7D6Darzc7TZBkOWJMeKf1w70WMvnuncsTnSWzbx4R0c UPSqg6F0/UKJruSoaw6ZrSDS6q/kasQHZpDLZ7DOJ9D8wxD5CRj6cvvh7sGZmNal8SY7 hWPXPEQ3rNGsjG+b63IYHbdlKDQuNBjH9fewwkL2/gTogksGk1HELgir60R8ms8VUXYI ZLtQY0kAjZ9Ww6cCyCl1CILJARZJq7jJ8kADcUjGb1ayqbxYA8rIBmYHSidobtRAu4v8 rBtw== MIME-Version: 1.0 X-Received: by 10.42.168.198 with SMTP id x6mr11425999icy.45.1367185798686; Sun, 28 Apr 2013 14:49:58 -0700 (PDT) Received: by 10.64.13.243 with HTTP; Sun, 28 Apr 2013 14:49:58 -0700 (PDT) In-Reply-To: References: Date: Sun, 28 Apr 2013 14:49:58 -0700 Message-ID: Subject: Re: setcompactionthroughput and setstreamthroughput have no effect From: John Watson To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=90e6ba6e8a20df95a004db72bf51 X-Gm-Message-State: ALoCoQn8TKjiaPiS1G8vbuelLYEUdejuyLqoK8hUSSZuMHzZ6uTWXPJA+tZaVH47wJACrjdZMTwK X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba6e8a20df95a004db72bf51 Content-Type: text/plain; charset=UTF-8 The help command says 0 to disable: setcompactionthroughput - Set the MB/s throughput cap for compaction in the system, or 0 to disable throttling. setstreamthroughput - Set the MB/s throughput cap for streaming in the system, or 0 to disable throttling. I also set both to 1000 and it also had no effect (just in case the documentation was incorrect.) On Sun, Apr 28, 2013 at 2:43 PM, Edward Capriolo wrote: > Out of curiosity. Why did you decide to set it to 0 rather then 99999. > Does any documentation anywhere say that setting to 0 disables the feature? > I have set streamthroughput higher and seen node join improvements. The > features do work however they are probably not your limiting factor. > Remember for stream you are setting Mega Bytes per second but network cards > are measured in Mega Bits per second. > > > On Sun, Apr 28, 2013 at 5:28 PM, John Watson wrote: > >> Running these 2 commands are noop IO wise: >> nodetool setcompactionthroughput 0 >> nodetool setstreamtrhoughput 0 >> >> If trying to recover or rebuild nodes, it would be super helpful to get >> more than ~120mbit/s of streaming throughput (per session or ~500mbit >> total) and ~5% IO utilization in (8) 15k disk RAID10 (per cf). >> >> Even enabling multithreaded_compaction gives marginal improvements (1 >> additional thread doesn't help all that much and was only measurable in CPU >> usage). >> >> I understand that these processes should take lower priority to servicing >> reads and writes. However, in emergencies it would be a nice feature to >> have a switch to recover a cluster ASAP. >> >> Thanks, >> >> John >> > > --90e6ba6e8a20df95a004db72bf51 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
The help command says 0 to disable:
=C2=A0 setcom= pactionthroughput <value_in_mb> - Set the MB/s throughput cap for com= paction in the system, or 0 to disable throttling.
=C2=A0 setstre= amthroughput =C2=A0<value_in_mb> - Set the MB/s throughput cap for st= reaming in the system, or 0 to disable throttling.

I also set both to 1000 and it also had no = effect (just in case the documentation was incorrect.)

=


O= n Sun, Apr 28, 2013 at 2:43 PM, Edward Capriolo <edlinuxguru@gmail.com= > wrote:
Out of curiosity. Why did y= ou decide to set it to 0 rather then 99999. Does any documentation anywhere= say that setting to 0 disables the feature? I have set streamthroughput hi= gher and seen node join improvements. The features do work however they are= probably not your limiting factor. Remember for stream you are setting Meg= a Bytes per second but network cards are measured in Mega Bits per second.<= br>

On Sun, Apr 28, 2013 at 5:28 PM, John Wats= on <john@disqus.com> wrote:
Running these 2 commands are noop IO wise:
=C2=A0 node= tool setcompactionthroughput 0
=C2=A0 nodetool setstreamtrhoughpu= t 0

If trying to recover or rebuild nodes, it woul= d be super helpful to get more than ~120mbit/s of streaming throughput (per= session or ~500mbit total) and ~5% IO utilization in (8) 15k disk RAID10 (= per cf).

Even enabling=C2=A0multithreaded_compaction gives margi= nal improvements (1 additional thread doesn't help all that much and wa= s only measurable in CPU usage).

I understand that these processes should take lower priority to servicing r= eads and writes. However, in emergencies it would be a nice feature to have= a switch to recover a cluster ASAP.

Thanks,

John


--90e6ba6e8a20df95a004db72bf51--