-
Notifications
You must be signed in to change notification settings - Fork 123
Updates to data serving #447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
BugraEryilmaz
wants to merge
7
commits into
parsa-epfl:main
Choose a base branch
from
BugraEryilmaz:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+122
−2
Open
Changes from 4 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
30fbf7d
Enable row cache, change GC to G1, and add debugging parameters
BugraEryilmaz 0481a12
fix java options
BugraEryilmaz 1ba83e7
jvm11 options fix
BugraEryilmaz 2cd6acf
added doc
BugraEryilmaz 8894bb9
added more explanations
BugraEryilmaz a3a7d86
Update setup_tables.txt
BugraEryilmaz 431081f
Update docker-entrypoint.py
BugraEryilmaz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
########################################################################### | ||
# jvm11-server.options # | ||
# # | ||
# See jvm-server.options. This file is specific for Java 11 and newer. # | ||
########################################################################### | ||
|
||
################# | ||
# GC SETTINGS # | ||
################# | ||
|
||
|
||
|
||
### CMS Settings | ||
#-XX:+UseConcMarkSweepGC | ||
#-XX:+CMSParallelRemarkEnabled | ||
#-XX:SurvivorRatio=8 | ||
#-XX:MaxTenuringThreshold=1 | ||
#-XX:CMSInitiatingOccupancyFraction=75 | ||
#-XX:+UseCMSInitiatingOccupancyOnly | ||
#-XX:CMSWaitDuration=10000 | ||
#-XX:+CMSParallelInitialMarkEnabled | ||
#-XX:+CMSEdenChunksRecordAlways | ||
## some JVMs will fill up their heap when accessed via JMX, see CASSANDRA-6541 | ||
#-XX:+CMSClassUnloadingEnabled | ||
|
||
|
||
|
||
### G1 Settings | ||
## Use the Hotspot garbage-first collector. | ||
-XX:+UseG1GC | ||
-XX:+ParallelRefProcEnabled | ||
|
||
# | ||
## Have the JVM do less remembered set work during STW, instead | ||
## preferring concurrent GC. Reduces p99.9 latency. | ||
#-XX:G1RSetUpdatingPauseTimePercent=5 | ||
# | ||
## Main G1GC tunable: lowering the pause target will lower throughput and vise versa. | ||
## 200ms is the JVM default and lowest viable setting | ||
## 1000ms increases throughput. Keep it smaller than the timeouts in cassandra.yaml. | ||
#-XX:MaxGCPauseMillis=500 | ||
|
||
## Optional G1 Settings | ||
# Save CPU time on large (>= 16GB) heaps by delaying region scanning | ||
# until the heap is 70% full. The default in Hotspot 8u40 is 40%. | ||
#-XX:InitiatingHeapOccupancyPercent=70 | ||
|
||
# For systems with > 8 cores, the default ParallelGCThreads is 5/8 the number of logical cores. | ||
# Otherwise equal to the number of cores when 8 or less. | ||
# Machines with > 10 cores should try setting these to <= full cores. | ||
#-XX:ParallelGCThreads=16 | ||
# By default, ConcGCThreads is 1/4 of ParallelGCThreads. | ||
# Setting both to the same value can reduce STW durations. | ||
#-XX:ConcGCThreads=16 | ||
|
||
|
||
### JPMS | ||
|
||
-Djdk.attach.allowAttachSelf=true | ||
--add-exports java.base/jdk.internal.misc=ALL-UNNAMED | ||
--add-exports java.base/jdk.internal.ref=ALL-UNNAMED | ||
--add-exports java.base/sun.nio.ch=ALL-UNNAMED | ||
--add-exports java.management.rmi/com.sun.jmx.remote.internal.rmi=ALL-UNNAMED | ||
--add-exports java.rmi/sun.rmi.registry=ALL-UNNAMED | ||
--add-exports java.rmi/sun.rmi.server=ALL-UNNAMED | ||
--add-exports java.sql/java.sql=ALL-UNNAMED | ||
|
||
--add-opens java.base/java.lang.module=ALL-UNNAMED | ||
--add-opens java.base/jdk.internal.loader=ALL-UNNAMED | ||
--add-opens java.base/jdk.internal.ref=ALL-UNNAMED | ||
--add-opens java.base/jdk.internal.reflect=ALL-UNNAMED | ||
--add-opens java.base/jdk.internal.math=ALL-UNNAMED | ||
--add-opens java.base/jdk.internal.module=ALL-UNNAMED | ||
--add-opens java.base/jdk.internal.util.jar=ALL-UNNAMED | ||
--add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED | ||
|
||
|
||
### GC logging options -- uncomment to enable | ||
|
||
# Java 11 (and newer) GC logging options: | ||
# See description of https://bugs.openjdk.java.net/browse/JDK-8046148 for details about the syntax | ||
# The following is the equivalent to -XX:+PrintGCDetails -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=10M | ||
#-Xlog:gc=info,heap*=trace,age*=debug,safepoint=info,promotion*=trace:file=/var/log/cassandra/gc.log:time,uptime,pid,tid,level:filecount=10,filesize=10485760 | ||
|
||
# Notes for Java 8 migration: | ||
# | ||
# -XX:+PrintGCDetails maps to -Xlog:gc*:... - i.e. add a '*' after "gc" | ||
# -XX:+PrintGCDateStamps maps to decorator 'time' | ||
# | ||
# -XX:+PrintHeapAtGC maps to 'heap' with level 'trace' | ||
# -XX:+PrintTenuringDistribution maps to 'age' with level 'debug' | ||
# -XX:+PrintGCApplicationStoppedTime maps to 'safepoint' with level 'info' | ||
# -XX:+PrintPromotionFailure maps to 'promotion' with level 'trace' | ||
# -XX:PrintFLSStatistics=1 maps to 'freelist' with level 'trace' | ||
|
||
### Netty Options | ||
|
||
# On Java >= 9 Netty requires the io.netty.tryReflectionSetAccessible system property to be set to true to enable | ||
# creation of direct buffers using Unsafe. Without it, this falls back to ByteBuffer.allocateDirect which has | ||
# inferior performance and risks exceeding MaxDirectMemory | ||
-Dio.netty.tryReflectionSetAccessible=true | ||
|
||
### Preserve Frame pointer for flamegraph | ||
-XX:+PreserveFramePointer | ||
|
||
# The newline in the end of file is intentional | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.