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 56B05ED18 for ; Fri, 8 Mar 2013 19:27:19 +0000 (UTC) Received: (qmail 30731 invoked by uid 500); 8 Mar 2013 19:27:16 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 30706 invoked by uid 500); 8 Mar 2013 19:27:16 -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 30698 invoked by uid 99); 8 Mar 2013 19:27:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Mar 2013 19:27:16 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.174.58.134] (HELO XEDGEA.nrel.gov) (192.174.58.134) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Mar 2013 19:27:09 +0000 Received: from XHUBA.nrel.gov (10.20.4.58) by XEDGEA.nrel.gov (192.174.58.134) with Microsoft SMTP Server (TLS) id 8.3.245.1; Fri, 8 Mar 2013 12:26:45 -0700 Received: from MAILBOX2.nrel.gov ([fe80::19a0:6c19:6421:12f]) by XHUBA.nrel.gov ([::1]) with mapi; Fri, 8 Mar 2013 12:26:48 -0700 From: "Hiller, Dean" To: "user@cassandra.apache.org" Date: Fri, 8 Mar 2013 12:26:54 -0700 Subject: has anyone used dynamic snitch at all Thread-Topic: has anyone used dynamic snitch at all Thread-Index: Ac4cMuCLJ1Yyt/s/SyWGRmnfyPe/OQ== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.1.130117 acceptlanguage: en-US Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Our test setup 4 nodes, RF=3D3, reads at CL=3DQUOROM and we tried CL=3DTWO Tell the network card to slow down every packet on node 2 After fixing astyanax to not go to node 2 anymore, we are still seeing cass= andra have issues as it seems to be involving node 2 somehow. If we take n= ode 2 down, it all speeds back up. We are trying to get this working such that a slow node in cassandra does n= ot impact our customers. We are in 1.2.2 and added the following properties=85.(our properties show = PropertyFileSnitch though I see the keyspace has org.apache.cassandra.locat= or.SimpleStrategy set probably because it was created through a tool instea= d of CLI=85shucks)=85.anyways, I still expected dynamic snitch to work=85. # controls how often to perform the more expensive part of host score # calculation dynamic_snitch: true dynamic_snitch_update_interval_in_ms: 100 # controls how often to reset all host scores, allowing a bad host to # possibly recover dynamic_snitch_reset_interval_in_ms: 600000 # if set greater than zero and read_repair_chance is < 1.0, this will allow # 'pinning' of replicas to hosts in order to increase cache capacity. # The badness threshold will control how much worse the pinned host has to = be # before the dynamic snitch will prefer other replicas over it. This is # expressed as a double which represents a percentage. Thus, a value of # 0.2 means Cassandra would continue to prefer the static snitch values # until the pinned host was 20% worse than the fastest. dynamic_snitch_badness_threshold: 0.1 Any help appreciated, Thanks, Dean