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 0842A1CD9 for ; Tue, 19 Apr 2011 13:10:11 +0000 (UTC) Received: (qmail 52225 invoked by uid 500); 19 Apr 2011 12:42:10 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 52157 invoked by uid 500); 19 Apr 2011 12:42:10 -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 52147 invoked by uid 99); 19 Apr 2011 12:42:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Apr 2011 12:42:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of izquierdo@strands.com designates 217.116.18.226 as permitted sender) Received: from [217.116.18.226] (HELO mail.strands.com) (217.116.18.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Apr 2011 12:42:02 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.strands.com (Postfix) with ESMTP id A17D4300099 for ; Tue, 19 Apr 2011 14:41:41 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at strands.com X-Spam-Score: -9.5 X-Spam-Level: Received: from mail.strands.com ([127.0.0.1]) by localhost (mail.strands.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uhw7WEwtA2fx for ; Tue, 19 Apr 2011 14:41:41 +0200 (CEST) Received: from [172.16.180.24] (unknown [109.70.35.10]) (using SSLv3 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: izquierdo) by mail.strands.com (Postfix) with ESMTPSA id 64894884 for ; Tue, 19 Apr 2011 14:41:31 +0200 (CEST) Subject: Re: How to warm up a cold node From: =?ISO-8859-1?Q?H=E9ctor?= Izquierdo Seliva To: user@cassandra.apache.org In-Reply-To: References: <1302876886.2128.24.camel@Avalon> Content-Type: text/plain; charset="UTF-8" Date: Tue, 19 Apr 2011 14:41:20 +0200 Message-ID: <1303216880.1906.9.camel@mierdi-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 8bit X-Old-Spam-Flag: NO X-Old-Spam-Status: No, score=-9.5 required=5.1 tests=[ALL_TRUSTED=-5.5, BAYES_00=-4] autolearn=ham Shouldn't the dynamic snitch take into account response times and ask a slow node for less requests? It seems that at node startup, only a handfull of requests arrive to the node and it keeps up well, but there's moment where there's more than it can handle with a cold cache and starts droping messages like crazy. Could it be the transition from slow node to ok node is to steep? El vie, 15-04-2011 a las 16:19 +0200, Peter Schuller escribió: > > Hi everyone, is there any recommended procedure to warm up a node before > > bringing it up? > > Currently the only out-of-the-box support for warming up caches is > that implied by the key cache and row cache, which will pre-heat on > start-up. Indexes will be indirectly preheated by index sampling, to > the extent that they operating system retains them in page cache. > > If you're wanting to pre-heat sstables there's currently no way to do > that (but it's a useful feature to have). Pragmatically, you can > script something that e.g. does "cat path/to/keyspace/* > /dev/null" > or similar. But that only works if the total database size fits > reasonably well in page cache. > > Pre-heating sstables on a per-cf basis on start-up would be a nice > feature to have. >