[ 
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)

Reply via email to