Skip to content
代码片段 群组 项目
提交 d991ea6d 编辑于 作者: Stan Hu's avatar Stan Hu
浏览文件

Improve memory performance by reducing dirty pages after fork()

The nakayoshi_fork gem works around the lack of a Ruby compacting
garbage collecting by calling GC.start a few times to "promote" the age
of young objects to the maximum age 3. This reduces the number of dirty
pages and consequently improves copy-on-write behavior with unicorn
and other forking Web application servers.
上级 29d8179b
No related branches found
No related tags found
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册