<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.eiffelroom.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>eiffelroom - garbage collection - Comments</title>
 <link>http://www.eiffelroom.org/tag/garbage_collection</link>
 <description>Comments for &quot;garbage collection&quot;</description>
 <language>en</language>
<item>
 <title>The real issue is CPU caches</title>
 <link>http://www.eiffelroom.org/blog/aleitner/garbage_collection_and_virtual_memory#comment-403</link>
 <description>&lt;p&gt;The feeling I have is that page faults and virtual memory are not really the issue. The main issue is locality of memory and since a GC cycle may traverse a lot of memory, you are penalized if it is not done sequentially by having a lot of cache misses. This slows down the performance of the garbage collection, but not really of the application per say when you ignore the GC.&lt;/p&gt;

&lt;p&gt;Therefore the optimization should be done at the GC level by reducing its intervention for system using a lot of memory.&lt;/p&gt;

</description>
 <pubDate>Thu, 06 Dec 2007 17:33:00 -0800</pubDate>
 <dc:creator>manus_eiffel</dc:creator>
 <guid isPermaLink="false">comment 403 at http://www.eiffelroom.org</guid>
</item>
<item>
 <title>I would say virtual memory</title>
 <link>http://www.eiffelroom.org/blog/aleitner/garbage_collection_and_virtual_memory#comment-402</link>
 <description>&lt;p&gt;I would say virtual memory needs to be improved to not have paging when not needed. I can&#039;t speak of Windows, but on Linux the number of page faults have largely decreased since the first releases. For example compiling EiffelStudio 5.0 would trigger 200,000 page faults, and compiling 5.6 only 3795. This was on the same machine but using a different version of the linux kernel (See $EIFFEL_SRC/Eiffel/doc/benchmarks/).&lt;/p&gt;

</description>
 <pubDate>Tue, 04 Dec 2007 07:47:21 -0800</pubDate>
 <dc:creator>manus_eiffel</dc:creator>
 <guid isPermaLink="false">comment 402 at http://www.eiffelroom.org</guid>
</item>
<item>
 <title>Obviously not</title>
 <link>http://www.eiffelroom.org/blog/aleitner/garbage_collection_and_virtual_memory#comment-401</link>
 <description>&lt;p&gt;Well I can answer my own question - since the bookmarking collector requires a modification to Linux, obviously no exisitng GCs can be using this technique. Colin Adams&lt;/p&gt;

</description>
 <pubDate>Tue, 04 Dec 2007 03:42:09 -0800</pubDate>
 <dc:creator>colin-adams</dc:creator>
 <guid isPermaLink="false">comment 401 at http://www.eiffelroom.org</guid>
</item>
<item>
 <title>A previous article</title>
 <link>http://www.eiffelroom.org/blog/aleitner/garbage_collection_and_virtual_memory#comment-400</link>
 <description>&lt;p&gt;The comments reference a previous article, which is interesting:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://lambda-the-ultimate.org/node/2391&quot;&gt;Garbage collecting without paging&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I presume the ISE GC does not use such techniques. What about the Boehm collector (as used in gec)?&lt;/p&gt;

&lt;p&gt;In my youth, I was an MVS systems programmer. Assembler programs (I don&#039;t know about HLL programs) could call a system service that would fix pages in memory (so they weren&#039;t subject to paging). Doing this would be a simple solution to the problem, but I assume that Windows, MacOSX, Linux etc. don&#039;t provide such a service. But maybe I&#039;m wrong.&lt;/p&gt;

&lt;p&gt;Colin Adams&lt;/p&gt;

</description>
 <pubDate>Tue, 04 Dec 2007 03:35:31 -0800</pubDate>
 <dc:creator>colin-adams</dc:creator>
 <guid isPermaLink="false">comment 400 at http://www.eiffelroom.org</guid>
</item>
</channel>
</rss>
