[
https://issues.apache.org/jira/browse/CASSANDRA-7714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joshua McKenzie updated CASSANDRA-7714:
---------------------------------------
Attachment: 7714_v1.txt
These flags on Windows show no obvious performance regressions while stressing
on laptop. I expect the real performance benefit won't be apparent until this
is run on higher core-count / larger heap configurations with Windows.
Tested logic on 7u55, 7u60, and 8 and it appears to work as expected
w/PowerShell comparisons.
> Add new CMS GC flags to Windows startup scripts for JVM later than 1.7.0_60
> ---------------------------------------------------------------------------
>
> Key: CASSANDRA-7714
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7714
> Project: Cassandra
> Issue Type: Improvement
> Components: Packaging
> Reporter: Joshua McKenzie
> Assignee: Joshua McKenzie
> Labels: Windows
> Fix For: 2.1.1
>
> Attachments: 7714_v1.txt
>
>
> Replicate changes from CASSANDRA-7432.
> Relevant patch contents:
> {noformat}
> # note: bash evals '1.7.x' as > '1.7' so this is really a >= 1.7 jvm check
> +if { [ "$JVM_VERSION" \> "1.7" ] && [ "$JVM_VERSION" \< "1.8.0" ] && [
> "$JVM_PATCH_VERSION" -ge "60" ]; } || [ "$JVM_VERSION" \> "1.8" ] ; then
> + JVM_OPTS="$JVM_OPTS -XX:+CMSParallelInitialMarkEnabled
> -XX:+CMSEdenChunksRecordAlways"
> +fi
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)