<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; CFLAGS, оптимизация]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=21093</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=21093&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «CFLAGS, оптимизация».]]></description>
		<lastBuildDate>Mon, 28 May 2012 12:16:30 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: CFLAGS, оптимизация]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=277819#p277819</link>
			<description><![CDATA[<p>Ясно, спасибо!</p>]]></description>
			<author><![CDATA[null@example.com (Spawn047)]]></author>
			<pubDate>Mon, 28 May 2012 12:16:30 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=277819#p277819</guid>
		</item>
		<item>
			<title><![CDATA[Re: CFLAGS, оптимизация]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=277815#p277815</link>
			<description><![CDATA[<div class="quotebox"><cite>Spawn047 пишет:</cite><blockquote><p>Если я, к примеру, захочу подключать HDD к другим машинам, то какие настройки прописать?</p></blockquote></div><p>Если захотите подключать к другому компу, с таким же точно процессором, то &quot;-march=native&quot;, если какой будет процессор на другом компе неизвестно, то &quot;-march=i486 -mtune=genreic&quot;, иначе рискуете получить бинарники, которые на других камнях просто не будут выполняться.</p>]]></description>
			<author><![CDATA[null@example.com (bobr)]]></author>
			<pubDate>Mon, 28 May 2012 12:09:00 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=277815#p277815</guid>
		</item>
		<item>
			<title><![CDATA[Re: CFLAGS, оптимизация]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=277792#p277792</link>
			<description><![CDATA[<p>Спасибо!</p>]]></description>
			<author><![CDATA[null@example.com (Spawn047)]]></author>
			<pubDate>Mon, 28 May 2012 11:22:49 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=277792#p277792</guid>
		</item>
		<item>
			<title><![CDATA[Re: CFLAGS, оптимизация]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=277791#p277791</link>
			<description><![CDATA[<div class="quotebox"><cite>Spawn047 пишет:</cite><blockquote><p>Какой выбрать?</p></blockquote></div><div class="codebox"><pre><code>MAKEOPTS=&quot;-j5&quot;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Lupo Alberto)]]></author>
			<pubDate>Mon, 28 May 2012 11:21:28 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=277791#p277791</guid>
		</item>
		<item>
			<title><![CDATA[Re: CFLAGS, оптимизация]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=277789#p277789</link>
			<description><![CDATA[<p>Какой MAKEOPTS=&quot;?&quot; выбрать. В Hanbook написано количество ядер +1 (в моём случае MAKEOPTS=&quot;-j3&quot;). <a href="http://forums-web2.gentoo.org/viewtopic-t-804000-start-0.html">Здесь</a> пишут другое:</p><p>Also remember </p><p>Code:<br />&nbsp; &nbsp;MAKEOPTS=&quot;-j9&quot;&nbsp; (for Core i7) </p><p>&nbsp; or... </p><p>&nbsp; MAKEOPTS=&quot;-j5&quot;&nbsp; (for Core i5)</p><p>Какой выбрать?</p>]]></description>
			<author><![CDATA[null@example.com (Spawn047)]]></author>
			<pubDate>Mon, 28 May 2012 11:19:56 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=277789#p277789</guid>
		</item>
		<item>
			<title><![CDATA[Re: CFLAGS, оптимизация]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=277779#p277779</link>
			<description><![CDATA[<p>Спасибо!</p>]]></description>
			<author><![CDATA[null@example.com (Spawn047)]]></author>
			<pubDate>Mon, 28 May 2012 10:57:44 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=277779#p277779</guid>
		</item>
		<item>
			<title><![CDATA[Re: CFLAGS, оптимизация]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=277776#p277776</link>
			<description><![CDATA[<p>Лучшее — враг хорошего ©<br />Если не знаете, для чего это надо (как я, например), используйте:<br /></p><div class="codebox"><pre><code>CFLAGS=&quot;-march=native -O2 -pipe&quot;
CXXFLAGS=${CFLAGS}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Lupo Alberto)]]></author>
			<pubDate>Mon, 28 May 2012 10:49:25 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=277776#p277776</guid>
		</item>
		<item>
			<title><![CDATA[Re: CFLAGS, оптимизация]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=277773#p277773</link>
			<description><![CDATA[<p>Помогите с настройкой /mnt/gentoo/etc/make.conf.</p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header"><strong>+</strong>&nbsp;Информация о процессоре</div><div class="fancy_spoiler"><p>Gentoo-2012 ~ # cat /proc/cpuinfo <br />processor&nbsp; &nbsp; &nbsp; &nbsp;: 0<br />vendor_id&nbsp; &nbsp; &nbsp; &nbsp;: GenuineIntel<br />cpu family&nbsp; &nbsp; &nbsp; : 6<br />model&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 42<br />model name&nbsp; &nbsp; &nbsp; : Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz<br />stepping&nbsp; &nbsp; &nbsp; &nbsp; : 7<br />microcode&nbsp; &nbsp; &nbsp; &nbsp;: 0x14<br />cpu MHz&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 2294.747<br />cache size&nbsp; &nbsp; &nbsp; : 3072 KB<br />physical id&nbsp; &nbsp; &nbsp;: 0<br />siblings&nbsp; &nbsp; &nbsp; &nbsp; : 4<br />core id&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 0<br />cpu cores&nbsp; &nbsp; &nbsp; &nbsp;: 2<br />apicid&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 0<br />initial apicid&nbsp; : 0<br />fpu&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: yes<br />fpu_exception&nbsp; &nbsp;: yes<br />cpuid level&nbsp; &nbsp; &nbsp;: 13<br />wp&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : yes<br />flags&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid<br />bogomips&nbsp; &nbsp; &nbsp; &nbsp; : 4589.49<br />clflush size&nbsp; &nbsp; : 64<br />cache_alignment : 64<br />address sizes&nbsp; &nbsp;: 36 bits physical, 48 bits virtual<br />power management:</p><p>processor&nbsp; &nbsp; &nbsp; &nbsp;: 1<br />vendor_id&nbsp; &nbsp; &nbsp; &nbsp;: GenuineIntel<br />cpu family&nbsp; &nbsp; &nbsp; : 6<br />model&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 42<br />model name&nbsp; &nbsp; &nbsp; : Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz<br />stepping&nbsp; &nbsp; &nbsp; &nbsp; : 7<br />microcode&nbsp; &nbsp; &nbsp; &nbsp;: 0x14<br />cpu MHz&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 2294.747<br />cache size&nbsp; &nbsp; &nbsp; : 3072 KB<br />physical id&nbsp; &nbsp; &nbsp;: 0<br />siblings&nbsp; &nbsp; &nbsp; &nbsp; : 4<br />core id&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 1<br />cpu cores&nbsp; &nbsp; &nbsp; &nbsp;: 2<br />apicid&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 2<br />initial apicid&nbsp; : 2<br />fpu&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: yes<br />fpu_exception&nbsp; &nbsp;: yes<br />cpuid level&nbsp; &nbsp; &nbsp;: 13<br />wp&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : yes<br />flags&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid<br />bogomips&nbsp; &nbsp; &nbsp; &nbsp; : 4589.49<br />clflush size&nbsp; &nbsp; : 64<br />cache_alignment : 64<br />address sizes&nbsp; &nbsp;: 36 bits physical, 48 bits virtual<br />power management:</p><p>processor&nbsp; &nbsp; &nbsp; &nbsp;: 2<br />vendor_id&nbsp; &nbsp; &nbsp; &nbsp;: GenuineIntel<br />cpu family&nbsp; &nbsp; &nbsp; : 6<br />model&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 42<br />model name&nbsp; &nbsp; &nbsp; : Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz<br />stepping&nbsp; &nbsp; &nbsp; &nbsp; : 7<br />microcode&nbsp; &nbsp; &nbsp; &nbsp;: 0x14<br />cpu MHz&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 2294.747<br />cache size&nbsp; &nbsp; &nbsp; : 3072 KB<br />physical id&nbsp; &nbsp; &nbsp;: 0<br />siblings&nbsp; &nbsp; &nbsp; &nbsp; : 4<br />core id&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 0<br />cpu cores&nbsp; &nbsp; &nbsp; &nbsp;: 2<br />apicid&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 1<br />initial apicid&nbsp; : 1<br />fpu&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: yes<br />fpu_exception&nbsp; &nbsp;: yes<br />cpuid level&nbsp; &nbsp; &nbsp;: 13<br />wp&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : yes<br />flags&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid<br />bogomips&nbsp; &nbsp; &nbsp; &nbsp; : 4589.49<br />clflush size&nbsp; &nbsp; : 64<br />cache_alignment : 64<br />address sizes&nbsp; &nbsp;: 36 bits physical, 48 bits virtual<br />power management:</p><p>processor&nbsp; &nbsp; &nbsp; &nbsp;: 3<br />vendor_id&nbsp; &nbsp; &nbsp; &nbsp;: GenuineIntel<br />cpu family&nbsp; &nbsp; &nbsp; : 6<br />model&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 42<br />model name&nbsp; &nbsp; &nbsp; : Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz<br />stepping&nbsp; &nbsp; &nbsp; &nbsp; : 7<br />microcode&nbsp; &nbsp; &nbsp; &nbsp;: 0x14<br />cpu MHz&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 2294.747<br />cache size&nbsp; &nbsp; &nbsp; : 3072 KB<br />physical id&nbsp; &nbsp; &nbsp;: 0<br />siblings&nbsp; &nbsp; &nbsp; &nbsp; : 4<br />core id&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 1<br />cpu cores&nbsp; &nbsp; &nbsp; &nbsp;: 2<br />apicid&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 3<br />initial apicid&nbsp; : 3<br />fpu&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: yes<br />fpu_exception&nbsp; &nbsp;: yes<br />cpuid level&nbsp; &nbsp; &nbsp;: 13<br />wp&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : yes<br />flags&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid<br />bogomips&nbsp; &nbsp; &nbsp; &nbsp; : 4589.49<br />clflush size&nbsp; &nbsp; : 64<br />cache_alignment : 64<br />address sizes&nbsp; &nbsp;: 36 bits physical, 48 bits virtual<br />power management:</p></div></div><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header"><strong>+</strong>&nbsp;gcc</div><div class="fancy_spoiler"><p>Gentoo-2012 ~ # gcc -### -march=native -E /usr/include/stdlib.h 2&gt;&amp;1 | grep &quot;/usr/libexec/gcc/.*cc1&quot;<br /> &quot;/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.3/cc1&quot; &quot;-E&quot; &quot;-quiet&quot; &quot;/usr/include/stdlib.h&quot; &quot;-D_FORTIFY_SOURCE=2&quot; &quot;-march=core2&quot; &quot;-mcx16&quot; &quot;-msahf&quot; &quot;-mpclmul&quot; &quot;-mpopcnt&quot; &quot;-mavx&quot; &quot;--param&quot; &quot;l1-cache-size=32&quot; &quot;--param&quot; &quot;l1-cache-line-size=64&quot; &quot;--param&quot; &quot;l2-cache-size=3072&quot; &quot;-mtune=generic&quot;</p></div></div><p>Читал <a href="http://ru.gentoo-wiki.com/wiki/Safe_Cflags/Intel#Core_i7_.D0.B8_Core_i5.2C_Xeon_55xx">это</a>.</p><p>Если я, к примеру, захочу подключать HDD к другим машинам, то какие настройки прописать?</p>]]></description>
			<author><![CDATA[null@example.com (Spawn047)]]></author>
			<pubDate>Mon, 28 May 2012 10:44:46 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=277773#p277773</guid>
		</item>
		<item>
			<title><![CDATA[Re: CFLAGS, оптимизация]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=269383#p269383</link>
			<description><![CDATA[<p>Arch - Firefox 11, тот же комп, 2273 попугаев, вот такой он серый волк.... <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p>]]></description>
			<author><![CDATA[null@example.com (zenon)]]></author>
			<pubDate>Wed, 18 Apr 2012 22:09:54 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=269383#p269383</guid>
		</item>
		<item>
			<title><![CDATA[Re: CFLAGS, оптимизация]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=265867#p265867</link>
			<description><![CDATA[<p>столько нового в генте узнаешь, что аж в дрожь бросает.</p>]]></description>
			<author><![CDATA[null@example.com (virxak)]]></author>
			<pubDate>Wed, 04 Apr 2012 09:12:31 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=265867#p265867</guid>
		</item>
		<item>
			<title><![CDATA[Re: CFLAGS, оптимизация]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=265747#p265747</link>
			<description><![CDATA[<p>вообще-то многие ебилды фильтруют флаги<br />мало того - софт при сборке тоже может это делать</p>]]></description>
			<author><![CDATA[null@example.com (megabaks)]]></author>
			<pubDate>Tue, 03 Apr 2012 19:43:15 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=265747#p265747</guid>
		</item>
		<item>
			<title><![CDATA[Re: CFLAGS, оптимизация]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=265729#p265729</link>
			<description><![CDATA[<p>а что это обязон ставить? USE=&quot;custom-cflags custom-optimization&quot;<br />нельзя просто в make.conf отредактировать CFLAGS?</p>]]></description>
			<author><![CDATA[null@example.com (virxak)]]></author>
			<pubDate>Tue, 03 Apr 2012 18:08:31 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=265729#p265729</guid>
		</item>
		<item>
			<title><![CDATA[Re: CFLAGS, оптимизация]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=262659#p262659</link>
			<description><![CDATA[<div class="quotebox"><cite>newzenon пишет:</cite><blockquote><p><a href="http://itmages.ru/image/view/462524/eaa0b4b7"><span class="postimg"><img src="http://storage2.static.itmages.ru/i/12/0322/s_1332444372_4630594_eaa0b4b778.jpeg" alt="http://storage2.static.itmages.ru/i/12/0322/s_1332444372_4630594_eaa0b4b778.jpeg" /></span></a><br />........!!!!</p></blockquote></div><p>с 2.14 было 1598 попугаев <br />с 2.15 стало 1764 попугая<br />довольно годно</p>]]></description>
			<author><![CDATA[null@example.com (megabaks)]]></author>
			<pubDate>Sun, 25 Mar 2012 00:12:41 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=262659#p262659</guid>
		</item>
		<item>
			<title><![CDATA[Re: CFLAGS, оптимизация]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=262168#p262168</link>
			<description><![CDATA[<div class="quotebox"><cite>newzenon пишет:</cite><blockquote><p>что в выхлопе на<br />gcc -march=native -E -v - &lt;/dev/null 2&gt;&amp;1 | sed -n &#039;s/.* -v - //p&#039;<br />??</p></blockquote></div><p>вот что показала<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"><br />-march=core2 -mcx16 -msahf -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2<br /></div><br />но кэша L2 то 12 метров в процессоре (2x6mb)</p>]]></description>
			<author><![CDATA[null@example.com (virxak)]]></author>
			<pubDate>Fri, 23 Mar 2012 14:44:15 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=262168#p262168</guid>
		</item>
		<item>
			<title><![CDATA[Re: CFLAGS, оптимизация]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=262018#p262018</link>
			<description><![CDATA[<p><strong>newzenon</strong>, gratz!</p>]]></description>
			<author><![CDATA[null@example.com (virxak)]]></author>
			<pubDate>Fri, 23 Mar 2012 07:38:47 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=262018#p262018</guid>
		</item>
	</channel>
</rss>
