<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>Weiqi Gao&#039;s Observations - gentoo tag</title>
  <link>http://www.weiqigao.com/blog/tags/gentoo/</link>
  <description>Sharing My Experience...</description>
  <language>en</language>
  <copyright>Weiqi Gao</copyright>
  <lastBuildDate>Fri, 11 May 2012 12:48:36 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  <image>
    <url>http://pebble.sourceforge.net/common/images/powered-by-pebble.gif</url>
    <title>Weiqi Gao&#039;s Observations</title>
    <link>http://www.weiqigao.com/blog/</link>
  </image>
  
  
  <item>
    <title>QEMU: Gentoo Guest Performance</title>
    <link>http://www.weiqigao.com/blog/2006/05/21/qemu_gentoo_guest_performance.html</link>
    
      
        <description>
          &lt;p&gt;It took me 12 days (not months as I &lt;a href= &#034;http://www.weiqigao.com/blog/2006/05/02/qemu_just_how_fast_is_it.html#comment1146660074171&#034; &gt;previously guessed&lt;/a&gt;) but I have an instance of &lt;a href= &#034;http://www.gentoo.org/&#034; &gt;Gentoo&lt;/a&gt; installed as a &lt;a href= &#034;http://fabrice.bellard.free.fr/qemu/&#034; &gt;QEMU&lt;/a&gt; guest.  That includes the time of the initial installation of Gentoo, which went very smoothly due to their &lt;a href= &#034;http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&amp;chap=1&#034; &gt;superb documentation&lt;/a&gt;, the emergence of links the terminal mode web browser, which brought in more than 200 dependencies including the entire X Window System, and a failed attempt to emerge Gnome, which would have brought in another 250 packages but errored out when there are 100 to go.  (After the failed Gnome installation, I wanted to clean up a bit and retry.  One of the cleanup commands I used is &lt;tt&gt;emerge --depclean&lt;/tt&gt;, which wiped out the 150 packages already installed for Gnome.)&lt;/p&gt;

&lt;p&gt;And here&#039;s the benchmark result:&lt;/p&gt;

&lt;center&gt;
&lt;a href= &#034;./images/qemu-gentoo-2006.0.png&#034; &gt;
&lt;img src= &#034;./images/qemu-gentoo-2006.0.png&#034; title= &#034;Gentoo 2006.0 Under QEMU&#034; border=&#034;0&#034; /&gt;
&lt;/a&gt;
&lt;/center&gt;

&lt;p&gt;On the surface, Gentoo&#039;s index of 11.9 compares unfavorably against &lt;a href= &#034;http://www.weiqigao.com/blog/images/qemu-ubuntu-6.06.png&#034; &gt;Ubuntu&#039;s 56.0&lt;/a&gt;.  However, on close inspection, I discovered that the Ubuntu guest&#039;s clock is running much slower then the host&#039;s clock, which inflated Ubuntu&#039;s index.&lt;/p&gt;

&lt;p&gt;An rough estimate shows that Ubuntu&#039;s clock is running at one quarter of the regular clock speed.  So the Ubuntu number should be roughly 14.0, still better than the Gentoo number.  Incidentally, with the new lower number, the emulated QEMU system falls into the Pentium 200 category.&lt;/p&gt;

&lt;p&gt;So for all that long compile time, I get a Gentoo system that runs at 85% the speed of Ubuntu.  Apparently for the system emulated by QEMU, none of the optimizations that I hear Gentoo enthusiasts talking about matters.&lt;/p&gt;
        </description>
      
      
    
    
    
    <comments>http://www.weiqigao.com/blog/2006/05/21/qemu_gentoo_guest_performance.html#comments</comments>
    <guid isPermaLink="true">http://www.weiqigao.com/blog/2006/05/21/qemu_gentoo_guest_performance.html</guid>
    <pubDate>Sun, 21 May 2006 16:04:07 GMT</pubDate>
  </item>
  
  </channel>
</rss>

