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 4ACB910E09 for ; Tue, 10 Sep 2013 03:50:57 +0000 (UTC) Received: (qmail 41223 invoked by uid 500); 10 Sep 2013 03:50:51 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 41179 invoked by uid 500); 10 Sep 2013 03:50:51 -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 41171 invoked by uid 99); 10 Sep 2013 03:50:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Sep 2013 03:50:49 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tsato@cloudian.com designates 209.85.223.174 as permitted sender) Received: from [209.85.223.174] (HELO mail-ie0-f174.google.com) (209.85.223.174) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Sep 2013 03:50:44 +0000 Received: by mail-ie0-f174.google.com with SMTP id k10so6547510iea.19 for ; Mon, 09 Sep 2013 20:50:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=LUGBO7C3gwcEk7gPn16Nkymw6ENhtBsxXf1tHzLPqVE=; b=BtQ2Qx4cBByN6eH8x3o3cKfoiKxZFLCjhhmyBX6z692Ch2tpxb7N87v8TrayzIv6Vm /Ir+iCFkuxOPJi2Ew29ffdypag4Al2m89E+zBjCPQRz+gQYzJpTLKrYfPaCTfJCSRNAV tfAv5zUEWuhc/oOwZmrZ3x/QBdocweyQLV1JQJF0nzKGGJLjEW8wpIMPUvAMyfwt2w1m Ryl669cnfmrtPyxZEjctHfaHCFQe7nFNsKZ6MB+Am5epeOkxXrNtlXcrIqEen6HkSlDb GirtH7ZTcAv9wti5fKoSXEcjnF0I2kr/YLoiyEz1wKhVf7DlcYMaikvl8MSENm5jiI/o aJPQ== X-Gm-Message-State: ALoCoQnNaQtT5nV9eZm4EbucLDGixl11W2GXvatiswJDPERbqKR69Xaciui3iVjty2rBPh3zF8wV MIME-Version: 1.0 X-Received: by 10.50.83.70 with SMTP id o6mr10355797igy.12.1378785023515; Mon, 09 Sep 2013 20:50:23 -0700 (PDT) Received: by 10.64.17.70 with HTTP; Mon, 9 Sep 2013 20:50:23 -0700 (PDT) Date: Tue, 10 Sep 2013 12:50:23 +0900 Message-ID: Subject: /proc/sys/vm/zone_reclaim_mode From: Takenori Sato To: "user@cassandra.apache.org" Content-Type: multipart/alternative; boundary=089e011607788ca1f004e5ff67cb X-Virus-Checked: Checked by ClamAV on apache.org --089e011607788ca1f004e5ff67cb Content-Type: text/plain; charset=ISO-8859-1 Hi, I am investigating NUMA issues. I have been aware that bin/cassandra tries to use interleave all policy if available. https://issues.apache.org/jira/browse/CASSANDRA-2594 https://issues.apache.org/jira/browse/CASSANDRA-3245 So what about /proc/sys/vm/zone_reclaim_mode? Any recommendations? I didn't find any in respect to Cassandra. By default on Linux NUMA machine, this is set 1 that tries to reclaim some pages in a zone rather than acquiring others from the other zones. Explicitly disabling this sounds better. "It may be beneficial to switch off zone reclaim if the system is used for a file server and all of memory should be used for caching files from disk. In that case the caching effect is more important than data locality." https://www.kernel.org/doc/Documentation/sysctl/vm.txt Thanks! Takenori --089e011607788ca1f004e5ff67cb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,

I am investigating NUMA issue= s.

I have been aware that bin/cassandr= a tries to use interleave all policy if available.


So what about=A0/proc/sys/vm/zone_rec= laim_mode? Any recommendations? I didn't find any in respect to Cassand= ra.

By default on Linux NUMA machine, = this is set 1 that tries to reclaim some pages in a zone rather than acquir= ing others from the other zones.

Explicitly disabling this sounds better.

"It may be beneficial to switch off zone reclaim if = the system is = used for a file server and all of memory should be used for caching files <= /span>from disk. In t= hat case the caching effect is more important than=A0data locality."

Thanks!
Takenori
--089e011607788ca1f004e5ff67cb--