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 7522117572 for ; Mon, 6 Oct 2014 17:01:34 +0000 (UTC) Received: (qmail 80520 invoked by uid 500); 6 Oct 2014 17:01:34 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 80487 invoked by uid 500); 6 Oct 2014 17:01:34 -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 80435 invoked by uid 99); 6 Oct 2014 17:01:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2014 17:01:34 +0000 Date: Mon, 6 Oct 2014 17:01:34 +0000 (UTC) From: "Joshua McKenzie (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-7316) Windows: address potential JVM swapping 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-7316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14160506#comment-14160506 ] Joshua McKenzie commented on CASSANDRA-7316: -------------------------------------------- Updated branch [here|https://github.com/josh-mckenzie/cassandra/compare/pageFileUsage]. Added check for automatically configured page file usage as well since it wasn't returning from the other check, and suppressed convenience printing of size of page files if we got 0 back. Since I can't reproduce the 0 page file size problem [~philipthompson], please let me know how that part of it goes. The MaximumSize is [supposed to come back as a uint32|http://msdn.microsoft.com/en-us/library/aa394245(v=vs.85).aspx] so the current code *should* work with that. > Windows: address potential JVM swapping > --------------------------------------- > > Key: CASSANDRA-7316 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7316 > Project: Cassandra > Issue Type: Improvement > Reporter: Joshua McKenzie > Assignee: Joshua McKenzie > Priority: Minor > Labels: Windows, perfomance > Fix For: 2.1.1, 3.0 > > Attachments: 7316_v1.txt, 7316_v2.txt > > > Similar to mlockall() in CLibrary.java for linux, it would be nice to lock the virtual address space on Windows to prevent page faults. > One option: Reference API: http://msdn.microsoft.com/en-us/library/windows/desktop/aa366895(v=vs.85).aspx -- This message was sent by Atlassian JIRA (v6.3.4#6332)