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 409B8264C for ; Tue, 3 May 2011 16:15:47 +0000 (UTC) Received: (qmail 86182 invoked by uid 500); 3 May 2011 16:15:44 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 86142 invoked by uid 500); 3 May 2011 16:15:44 -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 86094 invoked by uid 99); 3 May 2011 16:15:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2011 16:15:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2011 16:15:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8CD9CBFFB3 for ; Tue, 3 May 2011 16:15:03 +0000 (UTC) Date: Tue, 3 May 2011 16:15:03 +0000 (UTC) From: "Peter Schuller (JIRA)" To: commits@cassandra.apache.org Message-ID: <2075414123.19058.1304439303573.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1949295150.19053.1304439303414.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Assigned] (CASSANDRA-2594) run cassandra under numactl --interleave=all MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-2594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Peter Schuller reassigned CASSANDRA-2594: ----------------------------------------- Assignee: Peter Schuller > run cassandra under numactl --interleave=all > -------------------------------------------- > > Key: CASSANDRA-2594 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2594 > Project: Cassandra > Issue Type: Improvement > Reporter: Peter Schuller > Assignee: Peter Schuller > Priority: Minor > Attachments: CASSANDRA-2594-trunkk.txt > > > By default, Linux attempts to be smart about memory allocations such that data is close to the NUMA node on which it runs. For big database type of applications, this is not the best thing to do if the priority is to avoid disk I/O. In particular with Cassandra, we're heavily multi-threaded anyway and there is no particular reason to believe that one NUMA node is "better" than another. > Consequences of allocating unevenly among NUMA nodes can include excessive page cache eviction when the kernel tries to allocate memory - such as when restarting the JVM. > With that briefly stated background, I propse the following patch to make the Cassandra script run Cassandra with numactl --interleave=all if numactl seems to be available. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira