https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112013-09-28T20:37:33ZRuby Issue Tracking SystemRuby master - Misc #8962: [DOC] add step to enable Generational GC merits in README.EXT*https://bugs.ruby-lang.org/issues/8962?journal_id=420692013-09-28T20:37:33Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/42069/diff?detail_id=30506">diff</a>)</li></ul> Ruby master - Misc #8962: [DOC] add step to enable Generational GC merits in README.EXT*https://bugs.ruby-lang.org/issues/8962?journal_id=424732013-10-16T00:10:22Zzzak (zzak _)
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Assigned</i></li></ul><p>Koichi, could you add some notes on this, maybe link to helpful RGenGC documentation.</p>
<p>I will bug you again at RubyConf :)</p> Ruby master - Misc #8962: [DOC] add step to enable Generational GC merits in README.EXT*https://bugs.ruby-lang.org/issues/8962?journal_id=432852013-12-01T00:53:39Ztad (Tadashi Saito)
<ul></ul><p>ping?</p>
<p>2013/10/16 zzak (Zachary Scott) <a href="mailto:e@zzak.io" class="email">e@zzak.io</a></p>
<blockquote>
<p>Issue <a class="issue tracker-5 status-5 priority-4 priority-default closed" title="Misc: [DOC] add step to enable Generational GC merits in README.EXT* (Closed)" href="https://bugs.ruby-lang.org/issues/8962">#8962</a> has been updated by zzak (Zachary Scott).</p>
<p>Status changed from Open to Assigned</p>
<p>Koichi, could you add some notes on this, maybe link to helpful RGenGC<br>
documentation.</p>
<a name="I-will-bug-you-again-at-RubyConf-"></a>
<h2 >I will bug you again at RubyConf :)<a href="#I-will-bug-you-again-at-RubyConf-" class="wiki-anchor">¶</a></h2>
<p>misc <a class="issue tracker-5 status-5 priority-4 priority-default closed" title="Misc: [DOC] add step to enable Generational GC merits in README.EXT* (Closed)" href="https://bugs.ruby-lang.org/issues/8962">#8962</a>: [DOC] add step to enable Generational GC merits in README.EXT*<br>
<a href="https://bugs.ruby-lang.org/issues/8962#change-42473" class="external">https://bugs.ruby-lang.org/issues/8962#change-42473</a></p>
<p>Author: tad (Tadashi Saito)<br>
Status: Assigned<br>
Priority: Normal<br>
Assignee: zzak (Zachary Scott)<br>
Category: doc<br>
Target version: current: 2.1.0</p>
<p>=begin</p>
<p>Is there any chance to reap the benefit of new Generational GC merits for<br>
C-extension library authors?</p>
<p>== Background</p>
<p>First of all: RGenGC is great. Ko1 showed that it could make significant<br>
performance improvement at RubyKaigi2013. (especially P82)<br>
((<RubyKaigi2013-ko1.pdf|URL:<br>
<a href="http://www.atdot.net/~ko1/activities/RubyKaigi2013-ko1.pdf%3E" class="external">http://www.atdot.net/~ko1/activities/RubyKaigi2013-ko1.pdf></a>))</p>
<p>I guess the improvement is triggered by marking most (or all?) of built-in<br>
classes as WB-protected struct to work with Generational GC.</p>
<p>== Motivation</p>
<p>As an extension library author, I want to try to get the performance merit.<br>
But there is no document or guide to enable it.</p>
<p>The PDF says "Inserting WBs step by step, and increase performance<br>
gradually",<br>
and I believe it is the greatest point of RGenGC, but there is no guide to<br>
proceed with the steps for now. It's sad.</p>
<p>== Subject</p>
<p>Could you write about it as a document, ko1 or anyone?<br>
I guess it's good to be written at ((%README.EXT*%)).<br>
(The case of ((%iseq.c%)) may be used as an example.)</p>
<p>I'm glad to see the documents are written before Ruby 2.1 release.</p>
<p>== Restriction</p>
<p>Sorry for the absence of my knowledge. Because I'm not good at<br>
RGenGC, I could't write the document by myself but could only request.</p>
<p>PS<br>
I guess this issue depends on <a class="issue tracker-1 status-6 priority-4 priority-default closed" title="Bug: TypedDataについてのドキュメントがない (Rejected)" href="https://bugs.ruby-lang.org/issues/3064">#3064</a> (sorry, in Japanse), the request of<br>
documenting (({RTypedData})), because there is no interface to specify<br>
(({FL_WB_PROTECTED})) flag with traditional (({RData})).</p>
<p>=end</p>
<p>--<br>
<a href="http://bugs.ruby-lang.org/" class="external">http://bugs.ruby-lang.org/</a></p>
</blockquote>
<p>--<br>
Tadashi Saito</p> Ruby master - Misc #8962: [DOC] add step to enable Generational GC merits in README.EXT*https://bugs.ruby-lang.org/issues/8962?journal_id=434462013-12-06T14:33:57Zzzak (zzak _)
<ul><li><strong>Assignee</strong> changed from <i>zzak (zzak _)</i> to <i>ko1 (Koichi Sasada)</i></li></ul><p>During the 2013-12-05 developers meeting[1] Koichi was given this assignment, and I will help him write the documentation.</p>
<p>1: <a href="http://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20131205Japan" class="external">http://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20131205Japan</a></p> Ruby master - Misc #8962: [DOC] add step to enable Generational GC merits in README.EXT*https://bugs.ruby-lang.org/issues/8962?journal_id=438632013-12-24T14:32:46Zko1 (Koichi Sasada)
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li></ul>