Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A5CFD200CDE for ; Tue, 8 Aug 2017 17:19:44 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A28BA1676DA; Tue, 8 Aug 2017 15:19:44 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E5EBF1676D9 for ; Tue, 8 Aug 2017 17:19:43 +0200 (CEST) Received: (qmail 78542 invoked by uid 500); 8 Aug 2017 15:19:42 -0000 Mailing-List: contact dev-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list dev@cassandra.apache.org Received: (qmail 78529 invoked by uid 99); 8 Aug 2017 15:19:41 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Aug 2017 15:19:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id A9A451A0436 for ; Tue, 8 Aug 2017 15:19:40 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2 X-Spam-Level: ** X-Spam-Status: No, score=2 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 8M9MoO4PJCti for ; Tue, 8 Aug 2017 15:19:38 +0000 (UTC) Received: from smtp-sp201-96.kinghost.net (smtp-sp201-96.kinghost.net [177.185.201.96]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 456745F3CE for ; Tue, 8 Aug 2017 15:19:37 +0000 (UTC) Received: from smtp-node-07-farm64.kinghost.net (smtp-node-07-farm64.kinghost.net [127.0.0.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-sp201-96.kinghost.net (Postfix) with ESMTPS id 90FB714C4CA for ; Tue, 8 Aug 2017 12:19:29 -0300 (BRT) Received: from mail-oi0-f41.google.com (mail-oi0-f41.google.com [209.85.218.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: lucas@maurobenevides.com.br) by smtp-node-07-farm64.kinghost.net (Postfix) with ESMTPSA id 45F33AEC50386 for ; Tue, 8 Aug 2017 12:19:28 -0300 (BRT) Received: by mail-oi0-f41.google.com with SMTP id f11so20666041oic.0 for ; Tue, 08 Aug 2017 08:19:28 -0700 (PDT) X-Gm-Message-State: AHYfb5jzH74W2i9R0VkDxBDBEsZEAODf3dPoApXTdq6H36tvxvOYxLts nb63/4cd6EMHkw+GMdp0yQo4BIsrag== X-Received: by 10.202.177.11 with SMTP id a11mr4582434oif.166.1502205567060; Tue, 08 Aug 2017 08:19:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.125.81 with HTTP; Tue, 8 Aug 2017 08:19:26 -0700 (PDT) In-Reply-To: <0e966ff2-3eec-743d-2f84-7e944a4c1cc4@pbandjelly.org> References: <0e966ff2-3eec-743d-2f84-7e944a4c1cc4@pbandjelly.org> From: Lucas Benevides Date: Tue, 8 Aug 2017 12:19:26 -0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Cassandra Stress Tool - Insert data in a pace To: dev@cassandra.apache.org Content-Type: multipart/alternative; boundary="001a113ce76a34522f05563f7d84" X-SND-ID: 12zRU/I8iubrBlSt99YQkdRX2saw67MiWaWV0gtFlu7TvGIpZiXfVSyAC7xq f1ljiyPhyeI0PM/3CQg5l+YW12eOGrc3foNfOHkt5z0uO3XfC6gYZ+aqwQHs TZ0EuH1LPNamZ/sEVmGlgn9A+Q8hPvvJhsksBgGC+BM32m7F+yyIkqNG8Gg3 0AD8Rxq1kz6GMF/ixA+g5eBrFPoSt9X9CdrR7foqEd59tz6+ou9jZrGaCkk4 IKLLTklu6cSQsyBHHL/Fo+Er+iZjIguMXH1cm5S2MHXvJBmI5xYM7Ll75zwX 32bkFR8nDVNjQYrlDcQhRJBpmViMMtmMZzAsVyG2sKi+wkvQQ5MGNh9tPe1u dcaorBubJUk8mixhDWp5jslhdhDSEiS7/VOK/yQqf8UGHQgsD7Xh35j7soEp /A08f3MAhvJWe0rGKxT85PXoPni+/mLaHC8Ruc0X3sjqtwZy2Hx9Sg9LWOYz Nan4/6t2tK8svk1fQUMQnk+bWM9ME7Nn archived-at: Tue, 08 Aug 2017 15:19:44 -0000 --001a113ce76a34522f05563f7d84 Content-Type: text/plain; charset="UTF-8" Thank you Michael Schuler, The option "-rate throttle" is not in the documentation so I didn't find it. It has replaced the old "-rate limit" since the 3.8 version (so it is written in the NEWS.txt) I am running the trunk version, so it is already available to me. Thank you very much, Lucas Benevides 2017-08-07 13:20 GMT-03:00 Michael Shuler : > On 08/04/2017 01:16 PM, Lucas Benevides wrote: > > I want to test, in a lab, the behavior of the compaction strategies. I > > found Cassandra Stress Tool very useful, but it does not have an option > to > > insert data in a chosen pace, i. e. insert data along a period, with > just a > > certain amount of data in each interval (e.g. minute). I suggest to > create > > that improvement. > > I think these options exist in recent versions. Looking at the following > help in trunk, it appears I'm able to construct something that emulates > a set rate over duration time: > > `cassandra-stress help` > `cassandra-stress help write` > `cassandra-stress help -rate` > > Run 2 threads at 100 inserts per second for 10 minutes: > > `cassandra-stress write duration=10m -rate threads=2 throttle=100/s` > > You did not mention what version you were running. The throttle= option > doesn't appear to be available in 3.0, so use 3.11 or trunk (4.0) > cassandra-stress. > > -- > Kind regards, > Michael > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org > For additional commands, e-mail: dev-help@cassandra.apache.org > > --001a113ce76a34522f05563f7d84--