-
-
Save lightyrs/7aad7cd086afd4e8a0d0 to your computer and use it in GitHub Desktop.
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
fsync = off | |
synchronous_commit = off | |
full_page_writes = off |
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
Install 1.9.3 with perf patch | |
https://gist.github.com/burke/1688857 |
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
## Speed up 1.9.3 | |
export RUBY_GC_MALLOC_LIMIT=100000000 | |
export RUBY_HEAP_MIN_SLOTS=40000 | |
export RUBY_FREE_MIN=500000 | |
## Speed up 2.1.0 | |
export RUBY_GC_MALLOC_LIMIT=100000000 | |
export RUBY_GC_HEAP_INIT_SLOTS=40000 | |
export RUBY_GC_HEAP_FREE_SLOTS=500000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment