[ 
https://issues.apache.org/jira/browse/CASSANDRA-7001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13978900#comment-13978900
 ] 

Joshua McKenzie commented on CASSANDRA-7001:
--------------------------------------------

h5. What works:
* added +x to all .bat files so it's more convenient on cygwin
* upped heap to 2G on legacy .bat startup
* runtime determination of cassandra-env.ps1 based on similar rules as used in 
cassandra on *nix
* background startup, no window popping up
* foreground startup
* pidfile watch and deletion
* -H for heap dump output
* -E for error file output
* -verbose to print startup JVM params
* new stop-server.bat to send control+c to running cassandra process for 
graceful shutdown
* heap and new-gen based on available system memory
* tested on Win8 and Win7

h5. What doesn't:
* numactl.  There's nothing analogous on Windows; We can look into winbase.h, 
WinNT.h and native access to kernel32.dll later if we feel this is worth 
pursuing (link: http://archive.msdn.microsoft.com/64plusLP)
* MALLOC_ARENA_MAX.  libc specific per-thread memory arena, nothing analogous 
on Windows.

h5. What wasn't tested:
* All the optional / commented out params in cassandra-env.ps1, gc etc.  
Default options for the JVM on Windows should be in parity with linux w/the 
current config.

h5. Performance:
* Got about a 8% bump on write, 5% on reads from the various startup changes.  
Still looks to be about 20% behind OSX on reads when forcing buffered I/O 
across the board on both.  On the plus side, write performance tested in parity 
on buffered I/O before the changes compared to OSX, 8% faster than OSX after.

> Windows launch feature parity - augment launch process using PowerShell to 
> match capabilities of *nix launching
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-7001
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7001
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Joshua McKenzie
>            Assignee: Joshua McKenzie
>             Fix For: 2.1 rc1
>
>         Attachments: 7001_v1.txt
>
>
> The current .bat-based launching has neither the logic nor robustness of a 
> bash or PowerShell-based solution.  In pursuit of making Windows a 1st-class 
> citizen for C*, we need to augment the launch-process using something like 
> PowerShell to get as close to feature-parity as possible with Linux.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to