<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Gentoo Optimizations Benchmarked &#8211; Part 2</title>
	<atom:link href="http://www.linux-mag.com/id/7715/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linux-mag.com/id/7715/</link>
	<description>Open Source, Open Standards</description>
	<lastBuildDate>Sat, 05 Oct 2013 13:48:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: Erik</title>
		<link>http://www.linux-mag.com/id/7715/#comment-1227557</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Tue, 17 Sep 2013 20:51:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7715/#comment-1227557</guid>
		<description>I&#039;d be interested to see this comparison with AMD.  I suspect that AMD&#039;s contributions to the GCC compiler may result in more substantial benefits on AMD architectures.  Intel, I suspect, focused more on their Intel compiler.</description>
		<content:encoded><![CDATA[<p>I&#8217;d be interested to see this comparison with AMD.  I suspect that AMD&#8217;s contributions to the GCC compiler may result in more substantial benefits on AMD architectures.  Intel, I suspect, focused more on their Intel compiler.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uduogah</title>
		<link>http://www.linux-mag.com/id/7715/#comment-7915</link>
		<dc:creator>uduogah</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7715/#comment-7915</guid>
		<description>&lt;p&gt;Great article. Being a gentoo and ubuntu lover, the article certainly provides some insights worth bearing in mind. It\&#039;s also interesting to see those hardware specs are hackintosh-friendly! I\&#039;m pretty sure those components lead a double life!!
&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Great article. Being a gentoo and ubuntu lover, the article certainly provides some insights worth bearing in mind. It\&#8217;s also interesting to see those hardware specs are hackintosh-friendly! I\&#8217;m pretty sure those components lead a double life!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hrudy</title>
		<link>http://www.linux-mag.com/id/7715/#comment-7916</link>
		<dc:creator>hrudy</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7715/#comment-7916</guid>
		<description>&lt;p&gt;Great article.  I\&#039;ve always wondered what the performance benefits , if any, you could gain from a source based distribution like Gentoo.&lt;br /&gt;
Not to wish any work on anyone, it would be interesting to see what the advantages would be of using the Intel compiler. Intel has a long history with this compiler, I believe that it even predates gcc.
&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Great article.  I\&#8217;ve always wondered what the performance benefits , if any, you could gain from a source based distribution like Gentoo.<br />
Not to wish any work on anyone, it would be interesting to see what the advantages would be of using the Intel compiler. Intel has a long history with this compiler, I believe that it even predates gcc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ewildgoose</title>
		<link>http://www.linux-mag.com/id/7715/#comment-7917</link>
		<dc:creator>ewildgoose</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7715/#comment-7917</guid>
		<description>&lt;blockquote&gt;&lt;p&gt;I\&#039;ve always wondered what the performance benefits , if any, you could gain from a source based distribution like Gentoo.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;The answer being that this is the wrong question...&lt;/p&gt;
&lt;p&gt;In fact my guess would be that the fastest binaries would be generated by carefully benchmarking each bit of software to determine the best compile options and then distributing the compiled binaries...&lt;/p&gt;
&lt;p&gt;..However, that gets us back to a \&quot;normal\&quot; binary distribution again (rpm/deb, etc), plus all the associated dependency hell that goes with it&lt;/p&gt;
&lt;p&gt;In my opinion (gentoo on a dozen servers), the point of a source based distro is good control over dependencies and ability to stay as bleading edge or stable as you need to.  So I can have one server running an antique glibc with a cutting edge mysql and another server running a cutting edge glibc with some old version of nginx (or whatever)&lt;/p&gt;
&lt;p&gt;Additionally it\&#039;s very easy to update a bunch of servers over long periods of time without suffering the downtime of a full \&quot;upgrade\&quot;. Show me a Centos system installed 4 years ago and yet still running bang up to date glibc/mysql/apache, etc.&lt;/p&gt;
&lt;p&gt;Finally, given a build template to create SomeSoftware-V1, it\&#039;s usually fairly trivial to bump the template to create SomeSoftware-V1.1 and hence usually source distros can help you stay up to date with bleeding edge more easily.  Now someone will shout that this is inappropriate for servers, but even there sometimes you want to track some new and fast moving utility, eg my MySql servers are pinned to some known version, but I track bleeding edge Maatkit mysql tools (since they are in fast development mode right now)&lt;/p&gt;
&lt;p&gt;More related to Gentoo, and less to source distro\&#039;s in general, but gentoo makes it very easy to have machine \&quot;profiles\&quot; which mandate software versions, optional features (USE flags), compile options and even base packages which must/must not be installed.  So for example I have a web server template which requires a modern gcc to be used, hardened compiler flags to be used, certain versions of nginx to be installed, again with various default modules that nginx should support.  So in many ways something like Kickstart for Redhat...  But the cool thing is I can update the template right now and then all my machines pull in the changes and rebuild whatever is required to get to the end result!&lt;/p&gt;
&lt;p&gt;The penalty of source based distros is package generation time (essentially gentoo still needs a binary package, it just builds it on demand instead of it being pre-built).  However, for my needs I mitigate this by keeping all my servers \&quot;similar\&quot; and then my package repository is automatically re-used after the first machine updates.&lt;/p&gt;
&lt;p&gt;So my usual update procedure is to copy one of my virtual servers, test the upgrade in the copy, if all goes well then run the upgrades on the live server(s) (takes only seconds per package).&lt;/p&gt;
&lt;p&gt;Gentoo is not likely suitable for the majority audience, but if you have strong admin skills then it\&#039;s a great fit and will allow you to very easily run lots of servers with variable configs, all very easily
&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<blockquote><p>I\&#8217;ve always wondered what the performance benefits , if any, you could gain from a source based distribution like Gentoo.</p>
</blockquote>
<p>The answer being that this is the wrong question&#8230;</p>
<p>In fact my guess would be that the fastest binaries would be generated by carefully benchmarking each bit of software to determine the best compile options and then distributing the compiled binaries&#8230;</p>
<p>..However, that gets us back to a \&#8221;normal\&#8221; binary distribution again (rpm/deb, etc), plus all the associated dependency hell that goes with it</p>
<p>In my opinion (gentoo on a dozen servers), the point of a source based distro is good control over dependencies and ability to stay as bleading edge or stable as you need to.  So I can have one server running an antique glibc with a cutting edge mysql and another server running a cutting edge glibc with some old version of nginx (or whatever)</p>
<p>Additionally it\&#8217;s very easy to update a bunch of servers over long periods of time without suffering the downtime of a full \&#8221;upgrade\&#8221;. Show me a Centos system installed 4 years ago and yet still running bang up to date glibc/mysql/apache, etc.</p>
<p>Finally, given a build template to create SomeSoftware-V1, it\&#8217;s usually fairly trivial to bump the template to create SomeSoftware-V1.1 and hence usually source distros can help you stay up to date with bleeding edge more easily.  Now someone will shout that this is inappropriate for servers, but even there sometimes you want to track some new and fast moving utility, eg my MySql servers are pinned to some known version, but I track bleeding edge Maatkit mysql tools (since they are in fast development mode right now)</p>
<p>More related to Gentoo, and less to source distro\&#8217;s in general, but gentoo makes it very easy to have machine \&#8221;profiles\&#8221; which mandate software versions, optional features (USE flags), compile options and even base packages which must/must not be installed.  So for example I have a web server template which requires a modern gcc to be used, hardened compiler flags to be used, certain versions of nginx to be installed, again with various default modules that nginx should support.  So in many ways something like Kickstart for Redhat&#8230;  But the cool thing is I can update the template right now and then all my machines pull in the changes and rebuild whatever is required to get to the end result!</p>
<p>The penalty of source based distros is package generation time (essentially gentoo still needs a binary package, it just builds it on demand instead of it being pre-built).  However, for my needs I mitigate this by keeping all my servers \&#8221;similar\&#8221; and then my package repository is automatically re-used after the first machine updates.</p>
<p>So my usual update procedure is to copy one of my virtual servers, test the upgrade in the copy, if all goes well then run the upgrades on the live server(s) (takes only seconds per package).</p>
<p>Gentoo is not likely suitable for the majority audience, but if you have strong admin skills then it\&#8217;s a great fit and will allow you to very easily run lots of servers with variable configs, all very easily</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: csmart</title>
		<link>http://www.linux-mag.com/id/7715/#comment-7918</link>
		<dc:creator>csmart</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7715/#comment-7918</guid>
		<description>&lt;p&gt;Well said, ewildgoose. Source based distros are really about flexibility and control. You can decide what the system will be, down to the very core libraries, \&quot;optimizations\&quot; and make it your own. Binary distros make a whole bunch of decisions for you, including basic things such as features, dependencies, even configuring applications and daemons.&lt;/p&gt;
&lt;p&gt;Gentoo provides a flexible framework for you to do whatever it is you want, yourself.&lt;/p&gt;
&lt;p&gt;-c
&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Well said, ewildgoose. Source based distros are really about flexibility and control. You can decide what the system will be, down to the very core libraries, \&#8221;optimizations\&#8221; and make it your own. Binary distros make a whole bunch of decisions for you, including basic things such as features, dependencies, even configuring applications and daemons.</p>
<p>Gentoo provides a flexible framework for you to do whatever it is you want, yourself.</p>
<p>-c</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ewildgoose</title>
		<link>http://www.linux-mag.com/id/7715/#comment-7919</link>
		<dc:creator>ewildgoose</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7715/#comment-7919</guid>
		<description>&lt;p&gt;For example I just updated one of my linux-vservers from:&lt;br /&gt;
- gcc 3.4 -&gt; 4.3&lt;br /&gt;
- glibc 2.9 -&gt; 2.10&lt;br /&gt;
- mysql jumped from some older release to 5.0.84&lt;br /&gt;
- nginx jumped from 0.6 to 0.7&lt;/p&gt;
&lt;p&gt;No particular issues to note from upgrading...  &lt;/p&gt;
&lt;p&gt;On the other hand I have some CentOs box running my phone system and it drives me nuts that I remain pinned to antique versions of stuff I would like to upgrade, but I either need to ditch the centos packages and roll my own, or some other equally painful path&lt;/p&gt;
&lt;p&gt;However, Gentoo likely does NOT suit the average punter who does not need that level of control. There is quite a significant complexity over head to get to grips with.  So it comes down to the old adage of choosing the best tool for the job...
&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>For example I just updated one of my linux-vservers from:<br />
- gcc 3.4 -&gt; 4.3<br />
- glibc 2.9 -&gt; 2.10<br />
- mysql jumped from some older release to 5.0.84<br />
- nginx jumped from 0.6 to 0.7</p>
<p>No particular issues to note from upgrading&#8230;  </p>
<p>On the other hand I have some CentOs box running my phone system and it drives me nuts that I remain pinned to antique versions of stuff I would like to upgrade, but I either need to ditch the centos packages and roll my own, or some other equally painful path</p>
<p>However, Gentoo likely does NOT suit the average punter who does not need that level of control. There is quite a significant complexity over head to get to grips with.  So it comes down to the old adage of choosing the best tool for the job&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lescoke</title>
		<link>http://www.linux-mag.com/id/7715/#comment-7920</link>
		<dc:creator>lescoke</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7715/#comment-7920</guid>
		<description>&lt;p&gt;I\&#039;m not certain what this article was trying to prove.  Testing code compiled for older processors on a newer processor just shows how design changes in newer processors support using older instructions.&lt;/p&gt;
&lt;p&gt;If I build an embedded system using a 486 class processor, I would want everything compiled for that processor.  The same holds true that if I build a newer system, I would want everything compiled to take advantage of new specialized instructions.&lt;/p&gt;
&lt;p&gt;Binary packages can only be compiled to take advantage of a common subset of features found on the oldest supported processor for a given build.  Hence some distro\&#039;s have separate builds for x86, I386, I686,...&lt;/p&gt;
&lt;p&gt;Building from source does take time, but with the proper compile options selected, you can make better use of CPU features.  The gains may be small, but they can help.  Gentoo does offer the ability to install using binaries instead of source if desired.&lt;/p&gt;
&lt;p&gt;It may be baptism by fire, but anyone who really wants to understand how everything works in Linux needs to build at least one system from scratch using a distro like Gentoo.
&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I\&#8217;m not certain what this article was trying to prove.  Testing code compiled for older processors on a newer processor just shows how design changes in newer processors support using older instructions.</p>
<p>If I build an embedded system using a 486 class processor, I would want everything compiled for that processor.  The same holds true that if I build a newer system, I would want everything compiled to take advantage of new specialized instructions.</p>
<p>Binary packages can only be compiled to take advantage of a common subset of features found on the oldest supported processor for a given build.  Hence some distro\&#8217;s have separate builds for x86, I386, I686,&#8230;</p>
<p>Building from source does take time, but with the proper compile options selected, you can make better use of CPU features.  The gains may be small, but they can help.  Gentoo does offer the ability to install using binaries instead of source if desired.</p>
<p>It may be baptism by fire, but anyone who really wants to understand how everything works in Linux needs to build at least one system from scratch using a distro like Gentoo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: robng15</title>
		<link>http://www.linux-mag.com/id/7715/#comment-7921</link>
		<dc:creator>robng15</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7715/#comment-7921</guid>
		<description>&lt;p&gt;I would be interested to see the effect that using \&quot;-march=native -ftree-vectorize\&quot; has on the benchmarks, as this would more properly allow gcc to make full use of the particular processor, which is the definite benefit of using Gentoo or other source based distributions.&lt;/p&gt;
&lt;p&gt;Most certainly makes a difference on 64bit code, not so sure on the effect on 32bit code.&lt;/p&gt;
&lt;p&gt;It is also possible to specify per-package CFLAGS/CXXFLAGS which allows tuning of individual packages if there is anything that requires maximum performance, rather than just the generic system CFLAGS/CXXFLAGS.
&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I would be interested to see the effect that using \&#8221;-march=native -ftree-vectorize\&#8221; has on the benchmarks, as this would more properly allow gcc to make full use of the particular processor, which is the definite benefit of using Gentoo or other source based distributions.</p>
<p>Most certainly makes a difference on 64bit code, not so sure on the effect on 32bit code.</p>
<p>It is also possible to specify per-package CFLAGS/CXXFLAGS which allows tuning of individual packages if there is anything that requires maximum performance, rather than just the generic system CFLAGS/CXXFLAGS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: golding</title>
		<link>http://www.linux-mag.com/id/7715/#comment-7922</link>
		<dc:creator>golding</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7715/#comment-7922</guid>
		<description>&lt;p&gt;&gt;&gt;It is also possible to specify per-package CFLAGS/CXXFLAGS which allows tuning of individual packages&lt;&lt;&lt;br /&gt;
Who will do this for the 15 hundred or so individual packages on an average system?  I have noticed that while some ebuilds do specify CFLAGS/CXXFLAGS, most don\&#039;t.&lt;/p&gt;
&lt;p&gt;I\&#039;ve been a Gentoo\&#039;st for around 6 to 7 years and have been best served by using the minimal flags, just \&quot;-march=(arch) O2 -pipe\&quot;. &lt;/p&gt;
&lt;p&gt;However, USE flags are another matter.  I think these make large differences in the system build, and while the USE flags in my make.conf are very few, I do have a very large packages.use file. Nearly a rule for every package on my system.&lt;/p&gt;
&lt;p&gt;Regards, Rob
&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>&gt;&gt;It is also possible to specify per-package CFLAGS/CXXFLAGS which allows tuning of individual packages&lt;&lt;<br />
Who will do this for the 15 hundred or so individual packages on an average system?  I have noticed that while some ebuilds do specify CFLAGS/CXXFLAGS, most don\&#8217;t.</p>
<p>I\&#8217;ve been a Gentoo\&#8217;st for around 6 to 7 years and have been best served by using the minimal flags, just \&#8221;-march=(arch) O2 -pipe\&#8221;. </p>
<p>However, USE flags are another matter.  I think these make large differences in the system build, and while the USE flags in my make.conf are very few, I do have a very large packages.use file. Nearly a rule for every package on my system.</p>
<p>Regards, Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: robng15</title>
		<link>http://www.linux-mag.com/id/7715/#comment-7923</link>
		<dc:creator>robng15</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7715/#comment-7923</guid>
		<description>&lt;p&gt;Couldn\&#039;t agree more golding, hence the words \&quot;possible to\&quot;... I personally run with \&quot;-march=native -O2 -ftree-vectorize -pipe\&quot;... or at least have done so since gcc-4.4.0 (now on gcc-4.4.3)... previously had no \&quot;-ftree-vectorize\&quot;...&lt;/p&gt;
&lt;p&gt;If you are going to do a lot of video/audio work, then I would be tempted to look at per=package optimisations for some of the video/audio codecs, indeed I am experimenting with hugin and it\&#039;s dependencies, mainly just for the sake of curiosity, using some of the new graphite flags. BUT I wouldn\&#039;t use them for the whole system.&lt;/p&gt;
&lt;p&gt;USE flags are amazing, and indeed, the main reason for using gentoo. I think I probably took the opposite approach to yourself, as I have a large number, mainly video/audio/image flags in my /etc/make.conf, but I do have some overrides in /etc/portage/packages.use.&lt;/p&gt;
&lt;p&gt;Rob.
&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Couldn\&#8217;t agree more golding, hence the words \&#8221;possible to\&#8221;&#8230; I personally run with \&#8221;-march=native -O2 -ftree-vectorize -pipe\&#8221;&#8230; or at least have done so since gcc-4.4.0 (now on gcc-4.4.3)&#8230; previously had no \&#8221;-ftree-vectorize\&#8221;&#8230;</p>
<p>If you are going to do a lot of video/audio work, then I would be tempted to look at per=package optimisations for some of the video/audio codecs, indeed I am experimenting with hugin and it\&#8217;s dependencies, mainly just for the sake of curiosity, using some of the new graphite flags. BUT I wouldn\&#8217;t use them for the whole system.</p>
<p>USE flags are amazing, and indeed, the main reason for using gentoo. I think I probably took the opposite approach to yourself, as I have a large number, mainly video/audio/image flags in my /etc/make.conf, but I do have some overrides in /etc/portage/packages.use.</p>
<p>Rob.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: korin43</title>
		<link>http://www.linux-mag.com/id/7715/#comment-7924</link>
		<dc:creator>korin43</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7715/#comment-7924</guid>
		<description>&lt;p&gt;You should try this test with an ATI video card and robng15\&#039;s suggestions. It would be very interesting.
&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>You should try this test with an ATI video card and robng15\&#8217;s suggestions. It would be very interesting.</p>
]]></content:encoded>
	</item>
</channel>
</rss>