<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Modartt user forum - Intel Bay Trail fully supported?]]></title>
	<link rel="self" href="https://forum.modartt.com/extern.php?action=feed&amp;tid=3397&amp;type=atom"/>
	<updated>2014-07-05T08:40:48Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.modartt.com/viewtopic.php?id=3397</id>
		<entry>
			<title type="html"><![CDATA[Re: Intel Bay Trail fully supported?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=933199#p933199"/>
			<content type="html"><![CDATA[<p>Hello Mossy,</p><p>with intel_pstate=disable the kernel falls back to the classical scaling_driver and governor &#039;ondemand&#039;:<br /></p><div class="codebox"><pre><code># cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver 
acpi-cpufreq

# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors 
userspace conservative powersave ondemand performance

# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies 
1827000 1826000 1660000 1494000 1328000 1162000 996000 830000 664000 498000</code></pre></div><p>Pianoteq is showing the up and down freq-scalings under Perf&gt;CPU then again.</p><p>The huge dropouts with the RT Kernel disappear with this scaling_driver and I&#039;m quite sure, with the acpi-based &#039;cpufrequtils&#039; it could be tweaked to performance too.</p><p>But for now, I&#039;ll stay with the standard (non-RT) Kernel and intel_pstate set to performance. It has a very good performance (powertop shows all 4 cores running at 2.2 GHz playing Pianoteq) and acpi-cpufreq seems to be deprecated on intel CPUs.</p><p>cheers</p>]]></content>
			<author>
				<name><![CDATA[groovy]]></name>
				<uri>https://forum.modartt.com/profile.php?id=1021</uri>
			</author>
			<updated>2014-07-05T08:40:48Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=933199#p933199</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Intel Bay Trail fully supported?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=933187#p933187"/>
			<content type="html"><![CDATA[<p>Glad i could help Mossy <i class="far fa-laugh smiley"></i></p>]]></content>
			<author>
				<name><![CDATA[delt]]></name>
				<uri>https://forum.modartt.com/profile.php?id=3623</uri>
			</author>
			<updated>2014-07-05T02:01:07Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=933187#p933187</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Intel Bay Trail fully supported?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=933186#p933186"/>
			<content type="html"><![CDATA[<p>I&#039;m using a C2750.&nbsp; All the governor options are usable.</p><p>Strange though -- it appears those governors SHOULD now be gone in Fedora 20 according to this thread:</p><p>* <a href="https://ask.fedoraproject.org/en/question/44434/where-is-ondemand-governor/">https://ask.fedoraproject.org/en/questi...-governor/</a></p><p>It&#039;s possible the Supermicro bios has intel_pstate disabled.</p><p>Try adding to your RT kernel boot parameters:</p><p>* intel_pstate=disable</p>]]></content>
			<author>
				<name><![CDATA[Mossy]]></name>
				<uri>https://forum.modartt.com/profile.php?id=3856</uri>
			</author>
			<updated>2014-07-05T01:03:06Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=933186#p933186</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Intel Bay Trail fully supported?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=933156#p933156"/>
			<content type="html"><![CDATA[<p>Hi Mossy,</p><p>this is not specific to RT or non-RT Debian-Kernel. Both have this two governors available:<br /></p><div class="codebox"><pre><code>more /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors 
performance powersave</code></pre></div><p>But there is a difference in usage: With the RT Kernel the scaling_governor is <strong>not</strong> writable:<br /></p><div class="codebox"><pre><code># echo performance &gt; /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor 
bash: echo: write error: Invalid argument</code></pre></div><p>I can only write it with the non-RT Kernel, as described in my previous posting.</p><p>What Bay Trail CPU are you running?</p>]]></content>
			<author>
				<name><![CDATA[groovy]]></name>
				<uri>https://forum.modartt.com/profile.php?id=1021</uri>
			</author>
			<updated>2014-07-04T08:52:29Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=933156#p933156</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Intel Bay Trail fully supported?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=933154#p933154"/>
			<content type="html"><![CDATA[<p>The governors are software modules so this sounds like whoever is building the Debian RT kernels decided not to include the usual range of governors.</p><p>On my Bay Trail server running Fedora 3.14.9-200.fc20.x86_64, I get:</p><p>&gt; more /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors <br />&gt; conservative userspace powersave ondemand performance</p>]]></content>
			<author>
				<name><![CDATA[Mossy]]></name>
				<uri>https://forum.modartt.com/profile.php?id=3856</uri>
			</author>
			<updated>2014-07-04T01:16:05Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=933154#p933154</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Intel Bay Trail fully supported?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=933114#p933114"/>
			<content type="html"><![CDATA[<p>Wonderful, your script works:</p><div class="codebox"><pre><code># governor performance
Setting core cpu0 to performance... 
Setting core cpu1 to performance... 
Setting core cpu2 to performance... 
Setting core cpu3 to performance...

# governor
Core cpu0 set to performance
Core cpu1 set to performance
Core cpu2 set to performance
Core cpu3 set to performance</code></pre></div><p>I have placed it in my /etc/rc.local now for autostart.</p><p>Thanks a lot, delt!</p>]]></content>
			<author>
				<name><![CDATA[groovy]]></name>
				<uri>https://forum.modartt.com/profile.php?id=1021</uri>
			</author>
			<updated>2014-07-03T07:30:12Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=933114#p933114</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Intel Bay Trail fully supported?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=933112#p933112"/>
			<content type="html"><![CDATA[<p>Here&#039;s a simple shell script i wrote to set the governor to all cores at once. You can easily save this to, say, /usr/bin/governor and then chmod +x that file.</p><p>Just running &quot;governor&quot; with no arguments will show you the current governor for each core. Running &quot;governor performance&quot; will set all cores to performance.<br /></p><div class="codebox"><pre><code>#!/bin/sh

cd /sys/devices/system/cpu
gov=&quot;$1&quot;

if [ &quot;$gov&quot; = &quot;&quot; ]; then
  for core in cpu?; do
    echo -n &quot;Core ${core} set to &quot;
    cat ${core}/cpufreq/scaling_governor
  done
else
  if [ &quot;`whoami`&quot; != &quot;root&quot; ]; then
    echo &quot;Root access is required for this operation. Trying sudo...&quot;
    exec sudo &quot;$0&quot; &quot;$@&quot;
  fi
  for core in cpu?; do
    echo &quot;Setting core ${core} to ${gov}... &quot;
    echo &quot;$gov&quot; &gt; ${core}/cpufreq/scaling_governor
  done
fi</code></pre></div>]]></content>
			<author>
				<name><![CDATA[delt]]></name>
				<uri>https://forum.modartt.com/profile.php?id=3623</uri>
			</author>
			<updated>2014-07-03T06:50:55Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=933112#p933112</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Intel Bay Trail fully supported?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=933110#p933110"/>
			<content type="html"><![CDATA[<p>Hi,</p><p>I found the bottleneck! Intel_pstate just knows two different &quot;governors&quot; on my platform:<br /></p><div class="codebox"><pre><code># cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors 
performance powersave</code></pre></div><p>Default ist &#039;powersave&#039;, but I changed that now quick &amp; dirty with<br /></p><div class="codebox"><pre><code>echo performance &gt; /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo performance &gt; /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo performance &gt; /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo performance &gt; /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor</code></pre></div><p>Used from /etc/rc.local it is bootfix.</p><p>Together with the mainstream kernel &#039;linux-image-3.14-1-amd64&#039; and ...<br /></p><div class="codebox"><pre><code>/etc/security/limits.conf:
@audio - rtprio 90
@audio - nice -10
@audio - memlock 500000</code></pre></div><p>... I have a crackle-free, low-latency system now.</p><p>48000 Hz Sample rate<br />64 samples Buffer size (1.3 ms)<br />48 Maximum polyphony<br />Delay and reverb off<br />20 Performance index<br />around 30% Audio load</p><p>And the best: No spinning/moving parts in this baytrail netbook! <i class="far fa-smile smiley"></i></p><p>cheers</p>]]></content>
			<author>
				<name><![CDATA[groovy]]></name>
				<uri>https://forum.modartt.com/profile.php?id=1021</uri>
			</author>
			<updated>2014-07-03T06:40:29Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=933110#p933110</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Intel Bay Trail fully supported?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=933101#p933101"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Mossy wrote:</cite><blockquote><div class="quotebox"><cite>groovy wrote:</cite><blockquote><p>Sounds plausibel. But even on a weak AMD APU E-350 (1.6 GHz) I had a RT kernel running without any glitches in the past. So it comes unexpected, that a modern Intel Quadcore with 4 x 2.60 GHz (?!) has these massive problems. Ok, thanks for your explanations again, I&#039;ll stay tuned ...</p></blockquote></div><p>Clock speed is only accurate when measuring the same CPU family.&nbsp; For example, a 2GHz BayTrail faster than a 1.5GHz BayTrail but a 2GHz Pineview Atom is 3X slower.&nbsp; In additional, you can split up CPU operations into multiple categories -- integer, floating point, SIMD, GPU (now since graphics are integrated in).&nbsp; A CPU architecture can be fast in one category but slow in others.</p></blockquote></div><p>Not to mention cache efficiency and pipelining. Modern CPUs rely heavily e.g. on pipelining: they load a whole string of instructions and try to run as many of them in parallel as possible (therefore even inside a single core you find parallel execution). This speeds up things considerably, since processor instructions can be quite different in terms of complexity (and thus many do not need a &#039;complete&#039; CPU core to themselves). Context switching (i.e. between kernel and application or between applications) effectively kills the pipeline every time, and some CPUs&#039; performance really sucks when this happens too often. Context switching also causes cache misses, making things worse. Then there is the register state that has to be saved/restored.</p><p>Long story short: context switching is trouble for the CPU and takes quite a lot of time. Because of all this, multitasking is a tradeoff: more frequent switching is more &#039;fair&#039; but reduces efficiency, while less switching is more efficient but increases latency. And some CPUs are more sensitive than others. <i class="far fa-smile smiley"></i></p>]]></content>
			<author>
				<name><![CDATA[kalessin]]></name>
				<uri>https://forum.modartt.com/profile.php?id=3808</uri>
			</author>
			<updated>2014-07-02T06:57:13Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=933101#p933101</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Intel Bay Trail fully supported?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=933096#p933096"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>groovy wrote:</cite><blockquote><p>Sounds plausibel. But even on a weak AMD APU E-350 (1.6 GHz) I had a RT kernel running without any glitches in the past. So it comes unexpected, that a modern Intel Quadcore with 4 x 2.60 GHz (?!) has these massive problems. Ok, thanks for your explanations again, I&#039;ll stay tuned ...</p></blockquote></div><p>Clock speed is only accurate when measuring the same CPU family.&nbsp; For example, a 2GHz BayTrail faster than a 1.5GHz BayTrail but a 2GHz Pineview Atom is 3X slower.&nbsp; In additional, you can split up CPU operations into multiple categories -- integer, floating point, SIMD, GPU (now since graphics are integrated in).&nbsp; A CPU architecture can be fast in one category but slow in others.</p><p>Historically, AMD has always been fast in integer + GPU but slow in floating point.&nbsp; For most people, integer doesn&#039;t matter that much -- your browser opens internet websites pretty much the same speed on an ultraslow Atom versus an i7.&nbsp; On the otherhand, floating point &amp; SIMD shows its hand in games which people notice immediately.</p><p>So it seems wrong that &quot;modern&quot; CPUs can be slower than older ones but this is the dilemna facing Intel/AMD.&nbsp; In the past, each new generation of CPUs would be 30% faster than the previous but they hit a single-threaded performance wall about 5 years ago so the fight has been moved to the bottom where the primary competition is ARM.&nbsp; As slow as Bay Trail is compared to your classic desktops, ARM chips are even slower so it&#039;s all about how to make Bay Trail use even less power to fit into smartphones &amp; tablets.</p><p>What this means is the E350 was only been &quot;weak&quot; compared to regular desktop CPUs.&nbsp; Compared to its competition (Intel Atom line), it was 3X faster but also used 3X more power.&nbsp; Basically, it&#039;s taken Intel 4 generations of Atom CPUs to match the overall performance of the E350 (specific integer/floating point/graphics/simd varying) while keeping the original 5W-8W power profile.&nbsp; The same story for AMD but from the opposite direction -- 4 generations to keep roughly the same performance while pushing power down (5W for Mullins).</p><p>BTW, nice job of explanations, Kalessin.&nbsp; Good thing I was asleep so you could write all the detailed replies before I saw the followup comments/questions. <i class="far fa-smile smiley"></i></p>]]></content>
			<author>
				<name><![CDATA[Mossy]]></name>
				<uri>https://forum.modartt.com/profile.php?id=3856</uri>
			</author>
			<updated>2014-07-02T01:23:00Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=933096#p933096</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Intel Bay Trail fully supported?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=933090#p933090"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>kalessin wrote:</cite><blockquote><div class="quotebox"><cite>groovy wrote:</cite><blockquote><p>... in my simple words: To do all those tricks, my computer comes under heavy load, which becomes so high, that all those tricks get worthless <i class="far fa-smile smiley"></i>. It just gets overloaded and *predictable* stutters <i class="far fa-smile-wink smiley"></i></p></blockquote></div><p>Precisely. <i class="far fa-smile-wink smiley"></i> The realtime patches mean that the kernel actually does a lot more things a lot more often, and this increases the overhead considerably. And when the machine is not very fast, the increased overhead can result in effectively overloading the machine. It could even be that the &#039;apparent&#039; CPU load is not that high, since kernel overhead is tricky to measure anyway... so it might not even look like the machine is under that heavy a load. When efficiency is important, the normal desktop kernel would be a better bet. The RT kernel is great when you pair it with a powerful machine: then you can use it to really minimise latency.</p></blockquote></div><p>Sounds plausibel. But even on a weak AMD APU E-350 (1.6 GHz) I had a RT kernel running without any glitches in the past. So it comes unexpected, that a modern Intel Quadcore with 4 x 2.60 GHz (?!) has these massive problems. Ok, thanks for your explanations again, I&#039;ll stay tuned ...</p>]]></content>
			<author>
				<name><![CDATA[groovy]]></name>
				<uri>https://forum.modartt.com/profile.php?id=1021</uri>
			</author>
			<updated>2014-07-01T23:14:41Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=933090#p933090</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Intel Bay Trail fully supported?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=933089#p933089"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>julien wrote:</cite><blockquote><div class="quotebox"><cite>groovy wrote:</cite><blockquote><p>The new Bay Trail celeron with 3.14.x-Kernel on the other hand does not have this file &#039;scaling_cur_freq&#039;. Maybe due to the new scaling_driver &#039;intel_pstate&#039;.</p></blockquote></div><p>It looks like you are right: <a href="https://bugzilla.kernel.org/show_bug.cgi?id=57141">https://bugzilla.kernel.org/show_bug.cgi?id=57141</a> . So right now there is no convenient way to read the cpu freq on linux.. scaling_cur_freq does not exist with the intel_pstate governor, and cpuinfo_cur_freq can only be read by root. That&#039;s a bit sad.</p></blockquote></div><p>Do not many modern CPUs use intel_pstate nowadays? I remember at least I saw this on a Samsung Notebook with Intel i5 ivy-bridge. If these internal frequency scalings are not so simple, as in the past any longer, it is maybe not so useful to show it in the frontend any longer. But the most important is, whether this has an hidden negative impact on the RT capabilities or not. I hope not ... <i class="far fa-smile smiley"></i></p>]]></content>
			<author>
				<name><![CDATA[groovy]]></name>
				<uri>https://forum.modartt.com/profile.php?id=1021</uri>
			</author>
			<updated>2014-07-01T22:53:45Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=933089#p933089</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Intel Bay Trail fully supported?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=933088#p933088"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>delt wrote:</cite><blockquote><p>groovy: on the same machine?</p></blockquote></div><p>No, the first one an old core2duo from Lenovo and the second one a new celeron N2930 (&quot;Bay Trail&quot;) from Acer.</p>]]></content>
			<author>
				<name><![CDATA[groovy]]></name>
				<uri>https://forum.modartt.com/profile.php?id=1021</uri>
			</author>
			<updated>2014-07-01T22:14:28Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=933088#p933088</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Intel Bay Trail fully supported?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=933087#p933087"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>groovy wrote:</cite><blockquote><p>... in my simple words: To do all those tricks, my computer comes under heavy load, which becomes so high, that all those tricks get worthless <i class="far fa-smile smiley"></i>. It just gets overloaded and *predictable* stutters <i class="far fa-smile-wink smiley"></i></p></blockquote></div><p>Precisely. <i class="far fa-smile-wink smiley"></i> The realtime patches mean that the kernel actually does a lot more things a lot more often, and this increases the overhead considerably. And when the machine is not very fast, the increased overhead can result in effectively overloading the machine. It could even be that the &#039;apparent&#039; CPU load is not that high, since kernel overhead is tricky to measure anyway... so it might not even look like the machine is under that heavy a load. When efficiency is important, the normal desktop kernel would be a better bet. The RT kernel is great when you pair it with a powerful machine: then you can use it to really minimise latency.</p>]]></content>
			<author>
				<name><![CDATA[kalessin]]></name>
				<uri>https://forum.modartt.com/profile.php?id=3808</uri>
			</author>
			<updated>2014-07-01T21:43:00Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=933087#p933087</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Intel Bay Trail fully supported?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=933085#p933085"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>groovy wrote:</cite><blockquote><p>The new Bay Trail celeron with 3.14.x-Kernel on the other hand does not have this file &#039;scaling_cur_freq&#039;. Maybe due to the new scaling_driver &#039;intel_pstate&#039;.</p></blockquote></div><p>It looks like you are right: <a href="https://bugzilla.kernel.org/show_bug.cgi?id=57141">https://bugzilla.kernel.org/show_bug.cgi?id=57141</a> . So right now there is no convenient way to read the cpu freq on linux.. scaling_cur_freq does not exist with the intel_pstate governor, and cpuinfo_cur_freq can only be read by root. That&#039;s a bit sad.</p>]]></content>
			<author>
				<name><![CDATA[julien]]></name>
				<uri>https://forum.modartt.com/profile.php?id=2</uri>
			</author>
			<updated>2014-07-01T21:09:27Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=933085#p933085</id>
		</entry>
</feed>
