Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 62F1B18A20 for ; Tue, 12 May 2015 19:29:00 +0000 (UTC) Received: (qmail 52847 invoked by uid 500); 12 May 2015 19:29:00 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 52804 invoked by uid 500); 12 May 2015 19:29:00 -0000 Mailing-List: contact commits-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 commits@cassandra.apache.org Received: (qmail 52792 invoked by uid 99); 12 May 2015 19:29:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 May 2015 19:29:00 +0000 Date: Tue, 12 May 2015 19:29:00 +0000 (UTC) From: "Brandon Williams (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-9364) Add a warning when a high setting for rpc_max_threads is specified for HSHA MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-9364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brandon Williams updated CASSANDRA-9364: ---------------------------------------- Attachment: 9364.txt Patch to warn when over cores * 2 + 1024, which covers all the cases of this I've seen. > Add a warning when a high setting for rpc_max_threads is specified for HSHA > --------------------------------------------------------------------------- > > Key: CASSANDRA-9364 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9364 > Project: Cassandra > Issue Type: Improvement > Reporter: Brandon Williams > Fix For: 2.0.15, 2.1.x > > Attachments: 9364.txt > > > In CASSANDRA-7594 we allowed configuring this. The problem is this was ignored for HSHA previously, so some people go through this scenario: > 1. start with sync and 4000 threads > 2. switch to HSHA, pre-7594 > 3. upgrade to a version after 7594, without changing this setting > 4. experience awful performance due to insane thread contention -- This message was sent by Atlassian JIRA (v6.3.4#6332)