Skip to content

Commit

Permalink
Merge branch 'master' of github.com:michaeledgar/ruby-patches
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Edgar committed Jul 20, 2011
2 parents b8b1d61 + 20bcaa0 commit e89ab58
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 6 additions & 6 deletions 1.9/ree_gc_tuning/README.md
Expand Up @@ -17,14 +17,14 @@ parameters, this patch exposes them as environment variables:
before a mandatory GC sweep begins. Setting this higher means more objects will be
allocated before a mandatory sweep.
**Default:** 8000000
**Suggested:** 45000000+ (45 million).
**Suggested:** 45000000+ (45 million).
* `RUBY_HEAP_MIN_SLOTS`: Specifies the minimum number of heap spots to allocate. This
increases at an exponential rate, but starts too low for a Rails app.
increases at an exponential rate, but starts too low for a Rails app.
**Default:** 10000
**Suggested:** 500000+ (500 thousand).
**Suggested:** 500000+ (500 thousand).
* `RUBY_FREE_MIN`: A required number of heap slots that are left over after GC runs. If
GC runs and this many slots are not open, then a new heap slab will be allocated.
**Default:** 4096
**Suggested:** 50000+ (50 thousand)
GC runs and this many slots are not open, then a new heap slab will be allocated.
**Default:** 4096
**Suggested:** 50000+ (50 thousand)

More information can be found in the [REE Documentation](http://www.rubyenterpriseedition.com/documentation.html#_garbage_collector_performance_tuning).
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -71,6 +71,9 @@ Special thanks to everyone on this list for making all these patches possible!
* Shugo Maeda
* Masaya Tarui
* Kurtis Rainbolt-Greene
* REE's Developers (for GC Tuning)
* skaes
* funny-falcon

Licensing
---------
Expand Down

0 comments on commit e89ab58

Please sign in to comment.