<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>codemonkey.org.uk &#187; linux</title>
	<atom:link href="http://www.codemonkey.org.uk/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codemonkey.org.uk</link>
	<description>Dave Jones' Linux &#38; opensource stuff.</description>
	<lastBuildDate>Sat, 03 Jul 2010 23:33:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>interesting windows 8 leaked info.</title>
		<link>http://www.codemonkey.org.uk/2010/06/28/interesting-windows-8-leaked-info/</link>
		<comments>http://www.codemonkey.org.uk/2010/06/28/interesting-windows-8-leaked-info/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 04:25:55 +0000</pubDate>
		<dc:creator>davej</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.codemonkey.org.uk/?p=281</guid>
		<description><![CDATA[I found this article interesting. The power management slides could be retitled &#8220;what Linux has done in the last three years&#8221;. So windows 7 didn&#8217;t ship with a dynamic timer tick ? Surprising. Linux isn&#8217;t perfect when it comes to power management, but we&#8217;re a lot better than we were, and it&#8217;s interesting to see [...]<p><a href="http://www.codemonkey.org.uk/2010/06/28/interesting-windows-8-leaked-info/">interesting windows 8 leaked info.</a> is a post from: <a href="http://www.codemonkey.org.uk">codemonkey.org.uk</a></p>



No related posts.]]></description>
			<content:encoded><![CDATA[<p>I found <a href="http://msftkitchen.com/2010/06/windows-8-plans-leaked-numerous-details-revealed.html">this article</a> interesting.  The power management slides could be retitled &#8220;what Linux has done in the last three years&#8221;.  So windows 7 didn&#8217;t ship with a dynamic timer tick ?  Surprising.   Linux isn&#8217;t perfect when it comes to power management, but we&#8217;re a lot better than we were, and it&#8217;s interesting to see Windows now planning on using some of the same innovations.</p>
<p>The &#8216;fast startup&#8217; slides are interesting too.  The &#8216;logoff &#038; hibernate&#8217; is the only real &#8216;new&#8217; feature there afaics.  It&#8217;s interesting to see terms used that have become passe in Linux like &#8216;cache prefetching&#8217; and &#8216;parallel startup&#8217;.</p>
<p><a href="http://www.codemonkey.org.uk/2010/06/28/interesting-windows-8-leaked-info/">interesting windows 8 leaked info.</a> is a post from: <a href="http://www.codemonkey.org.uk">codemonkey.org.uk</a></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.codemonkey.org.uk/2010/06/28/interesting-windows-8-leaked-info/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Linux Music Workflow: Switching from Mac OS X to Ubuntu with Kim Cascone</title>
		<link>http://www.codemonkey.org.uk/2009/08/04/linux-music-workflow-switching-mac-os-ubuntu-kim-cascone/</link>
		<comments>http://www.codemonkey.org.uk/2009/08/04/linux-music-workflow-switching-mac-os-ubuntu-kim-cascone/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 19:20:48 +0000</pubDate>
		<dc:creator>davej</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Kim Cascone]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.codemonkey.org.uk/?p=214</guid>
		<description><![CDATA[Create Digital Music has an interesting post up today by composer/musician Kim Cascone in which he details how he switched both his studio setup and his live performance machine from a Mac to a netbook running Ubuntu. It&#8217;s always good to see success stories, though there are a number of takeaway points from his write-up. [...]<p><a href="http://www.codemonkey.org.uk/2009/08/04/linux-music-workflow-switching-mac-os-ubuntu-kim-cascone/">Linux Music Workflow: Switching from Mac OS X to Ubuntu with Kim Cascone</a> is a post from: <a href="http://www.codemonkey.org.uk">codemonkey.org.uk</a></p>



No related posts.]]></description>
			<content:encoded><![CDATA[<p>Create Digital Music has <a href="http://createdigitalmusic.com/2009/08/04/linux-music-workflow-switching-from-mac-os-x-to-ubuntu-with-kim-cascone/">an interesting post up today</a> by composer/musician <a href="http://en.wikipedia.org/wiki/Kim_Cascone">Kim Cascone</a> in which he details how he switched both his studio setup and his live performance machine from a Mac to a netbook running Ubuntu.</p>
<p>It&#8217;s always good to see success stories, though there are a number of takeaway points from his write-up.  One obvious thing is that basically no distro gets JACK integration &#8216;just working&#8217; out of the box. I&#8217;m not advocating it be started always (except maybe in a &#8216;multimedia production&#8217; spin of Fedora maybe. After all, not every user is going to be an audio content creator. Regardless, a big step forward would be having it start on demand when programs that need it get launched for example. </p>
<p>Then there&#8217;s the real time kernel.   I&#8217;ve back and forth&#8217;d in email with Peter Kirn CDM&#8217;s editor quite a bit recently about the rt kernel.  It&#8217;s still a fairly large diff outside of the mainline kernel.  This has made it hard to integrate into Fedora.  We try to avoid packaging additional flavour of the kernel where we can avoid it, just due to the increased workload each build causes (increased buildtime, increased space on mirrors, increased bugs&#8230;)  Also, it occasionally lags behind mainline by a few weeks, which means it&#8217;s not really feasible for rawhide.<br />
Hopefully the -rt maintainers have a strategy for eventually getting all the remaining parts merged, but I don&#8217;t think it&#8217;s going to happen any time soon.  Until then, people who need -rt will find themselves either patching it in themselves, and foregoing kernel support from their distro, or choosing a distro which chooses to package it.</p>
<p>Anyway, I found it an interesting read, and was expecting it to be a lot more &#8220;linux fails&#8221; than it was, and ended up being pleasantly surprised.</p>
<p>I&#8217;ve a number of other thoughts on Linux as a music creation platform, which I&#8217;ll go into another time, as this post is starting to ramble.</p>
<p><a href="http://www.codemonkey.org.uk/2009/08/04/linux-music-workflow-switching-mac-os-ubuntu-kim-cascone/">Linux Music Workflow: Switching from Mac OS X to Ubuntu with Kim Cascone</a> is a post from: <a href="http://www.codemonkey.org.uk">codemonkey.org.uk</a></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.codemonkey.org.uk/2009/08/04/linux-music-workflow-switching-mac-os-ubuntu-kim-cascone/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>When acpi-cpufreq fails.</title>
		<link>http://www.codemonkey.org.uk/2009/07/21/acpicpufreq-fails/</link>
		<comments>http://www.codemonkey.org.uk/2009/07/21/acpicpufreq-fails/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 23:17:56 +0000</pubDate>
		<dc:creator>davej</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[acpi]]></category>
		<category><![CDATA[acpi-cpufreq]]></category>
		<category><![CDATA[bios]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[cpufreq]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.codemonkey.org.uk/?p=208</guid>
		<description><![CDATA[The majority of modern CPUs that support CPU scaling now use a common driver (acpi-cpufreq). Judging by the search queries that hit my blog, and the amount of mail I get on the subject, there is a failure mode of this driver that many people are hitting, that there isn&#8217;t a great deal of information [...]<p><a href="http://www.codemonkey.org.uk/2009/07/21/acpicpufreq-fails/">When acpi-cpufreq fails.</a> is a post from: <a href="http://www.codemonkey.org.uk">codemonkey.org.uk</a></p>



No related posts.]]></description>
			<content:encoded><![CDATA[<p>The majority of modern CPUs that support CPU scaling now use a common driver (acpi-cpufreq).  Judging by the search queries that hit my blog, and the amount of mail I get on the subject, there is a failure mode of this driver that many people are hitting, that there isn&#8217;t a great deal of information on.</p>
<p>The failure mode looks like this:</p>
<blockquote><p>
$ modprobe acpi-cpufreq<br />
FATAL: Error inserting (/lib/modules/&#8230;/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko): No such device
</p></blockquote>
<p>Not particularly informative.  We don&#8217;t spit out anything helpful to dmesg either. So what is the cause of this problem?<br />
In many cases, /proc/cpuinfo shows the cpu supports speedstep (the &#8216;est&#8217; flag). The answer in nearly all of these cases is.. The BIOS.  The ACPI tables in the BIOS list which P-states a particular CPU supports.  If your CPU was manufactured after your BIOS was written, you&#8217;re probably going to be out of luck.  Sometimes, there are BIOS updates on the motherboard manufacturers website that will add support for newer processors.  Sometimes we aren&#8217;t so lucky. In these cases, we&#8217;re out of luck, there&#8217;s nothing we can do.</p>
<p>There is another possibility for the error message above: kernel bugs.  We have introduced bugs in the ACPI interpretor in the past which have broken parsing of the P-states on some platforms.  These kinds of bugs tend to get noticed very quickly, and fixed in equally short time, but it&#8217;s worth making a point that it&#8217;s important to be running on the last kernel version before reporting bugs.</p>
<p><a href="http://www.codemonkey.org.uk/2009/07/21/acpicpufreq-fails/">When acpi-cpufreq fails.</a> is a post from: <a href="http://www.codemonkey.org.uk">codemonkey.org.uk</a></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.codemonkey.org.uk/2009/07/21/acpicpufreq-fails/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Pro audio apps and Linux.</title>
		<link>http://www.codemonkey.org.uk/2009/01/28/pro-audio-apps-linux/</link>
		<comments>http://www.codemonkey.org.uk/2009/01/28/pro-audio-apps-linux/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 06:10:56 +0000</pubDate>
		<dc:creator>davej</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[embedded]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[muse research]]></category>
		<category><![CDATA[native instruments]]></category>

		<guid isPermaLink="false">http://www.codemonkey.org.uk/?p=110</guid>
		<description><![CDATA[In the world of audio production, Native Instruments products are legendary. On Mac OSX, and Windows, their instruments work as standalone applications, or as VST/AudioUnit plugins. Some of them are extremely processor intensive, especially as more and more voices get used. To mitigate this, some innovative people have decided to offload these, and other instruments [...]<p><a href="http://www.codemonkey.org.uk/2009/01/28/pro-audio-apps-linux/">Pro audio apps and Linux.</a> is a post from: <a href="http://www.codemonkey.org.uk">codemonkey.org.uk</a></p>



Related posts:<ol><li><a href='http://www.codemonkey.org.uk/2009/08/04/linux-music-workflow-switching-mac-os-ubuntu-kim-cascone/' rel='bookmark' title='Permanent Link: Linux Music Workflow: Switching from Mac OS X to Ubuntu with Kim Cascone'>Linux Music Workflow: Switching from Mac OS X to Ubuntu with Kim Cascone</a> <small>Create Digital Music has an interesting post up today by...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>In the world of audio production, <a href="http://www.native-instruments.com/">Native Instruments</a> products are legendary. On Mac OSX, and Windows, their instruments work as standalone applications, or as VST/AudioUnit plugins.</p>
<p>Some of them are extremely processor intensive, especially as more and more voices get used. To mitigate this, some innovative people have decided to offload these, and other instruments to <a href="http://www.museresearch.com">dedicated hardware</a>.</p>
<p>The really awesome part, is that this hardware runs Linux.  The hardware doesn&#8217;t seem to be anything too exotic. It&#8217;s basically just a decent spec PC in a rack-mount case, with an LCD and some knobs, and probably a decent sound card with a boatload of input/output connectors.</p>
<blockquote><p>For example, Muse-Machine is built on top of Linux, the “industrial strength” operating system that is used by many of the world’s largest companies to run their servers, and the operating system that powers much of the Internet. Additional advantages that come from Linux include far more efficient memory usage, consuming as little as 5% of the available RAM compared with as much as 40% with other operating systems.</p></blockquote>
<p>I&#8217;m not entirely sure how it all works. Maybe running them under wine? But it is pretty cool to see Linux penetrating a field almost completely dominated by Mac/Windows.  I suspect there&#8217;s actually a lot more Linux in high end audio gear, but not all manufacturers are as smart as Muse and don&#8217;t think of marketing it as a feature.</p>
<p>All really neat stuff.  Like most high-end pro-audio gear though, these things don&#8217;t come for cheap.<a href="http://www.amazon.com/gp/product/B001HNDZCO?ie=UTF8&#038;tag=codemonkey07-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B001HNDZCO">Even the previous generation is over $2k.</a></p>
<p>A few days ago, Justin Forbes tipped me off that the 64studio people <a href="http://www.64studio.com/node/867">also got the NI apps working in Linux</a>.  Neat stuff. Still a lot of hoop jumping to get it all working, but a great step forwards for music production on Linux.</p>
<p><a href="http://www.codemonkey.org.uk/2009/01/28/pro-audio-apps-linux/">Pro audio apps and Linux.</a> is a post from: <a href="http://www.codemonkey.org.uk">codemonkey.org.uk</a></p>


<p>Related posts:<ol><li><a href='http://www.codemonkey.org.uk/2009/08/04/linux-music-workflow-switching-mac-os-ubuntu-kim-cascone/' rel='bookmark' title='Permanent Link: Linux Music Workflow: Switching from Mac OS X to Ubuntu with Kim Cascone'>Linux Music Workflow: Switching from Mac OS X to Ubuntu with Kim Cascone</a> <small>Create Digital Music has an interesting post up today by...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.codemonkey.org.uk/2009/01/28/pro-audio-apps-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Forthcoming p4-clockmod changes.</title>
		<link>http://www.codemonkey.org.uk/2009/01/18/forthcoming-p4clockmod/</link>
		<comments>http://www.codemonkey.org.uk/2009/01/18/forthcoming-p4clockmod/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 04:37:51 +0000</pubDate>
		<dc:creator>davej</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cpufreq]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[p4-clockmod]]></category>

		<guid isPermaLink="false">http://www.codemonkey.org.uk/?p=86</guid>
		<description><![CDATA[In 2.6.29, the p4-clockmod cpufreq driver has been changed so that it no longer exports a cpufreq interface to sysfs. This will no doubt have some people complaining that they can no longer change their CPU frequency. The thing is, they never could. From a recent posting to the cpufreq list: I have a laptop [...]<p><a href="http://www.codemonkey.org.uk/2009/01/18/forthcoming-p4clockmod/">Forthcoming p4-clockmod changes.</a> is a post from: <a href="http://www.codemonkey.org.uk">codemonkey.org.uk</a></p>



No related posts.]]></description>
			<content:encoded><![CDATA[<p>In 2.6.29, the p4-clockmod cpufreq driver has been changed so that it no longer exports a cpufreq interface to sysfs.<br />
This will no doubt have some people complaining that they can no longer change their CPU frequency.</p>
<p>The thing is, they never could.</p>
<p>From a recent posting to the cpufreq list:</p>
<blockquote><p>
I have a laptop (ASUS W7J) with an Intel Core2 T7200 2GHz.<br />
&#8230;<br />
When I use the p4-clockmod, I get:</p>
<p>available frequency steps: 250 MHz, 500 MHz, 750 MHz, 1.00 GHz, 1.25 GHz, 1.50 GHz, 1.75 GHz, 2.00 GHz<br />
&#8230;</p></blockquote>
<p>For every one of those &#8216;frequency&#8217; options, the CPU is actually running at 2GHz. It never changes speed. Not at all.<br />
The p4-clockmod driver abuses the cpufreq interface to expose a clock modulation feature that has been in processors for a long time. (Even the earlier pentiums had a variant of it).  The driver modulates the clock applied to the processor so that instead of every clock cycle meaning the processor gets do some work, only a percentage of the clocks make the CPU do real work.  The remainder of the time, the processor just sits there.</p>
<p>So the 1.00GHz &#8216;frequency&#8217; is actually &#8220;run at 2GHz, but only do work 50% of the time&#8221;.</p>
<p>On the surface, this sounds like a good idea.  The other 50%, the CPU is idle, so you&#8217;re saving power, right?<br />
Not so much.  In fact, you could be burning <b>more</b> power.  The reason for this is that when the processor is sitting there doing nothing, it isn&#8217;t lower frequency, and more importantly, it very likely isn&#8217;t entering C states. So you&#8217;re burning the same amount of power, but now you&#8217;re only doing work for 50% of the time. As a result of this, your workload takes twice as long to complete.</p>
<p>If it isn&#8217;t saving any power, what is the point of this at all ?<br />
A clue is revealed by reading the Intel programmers guide for this feature; it&#8217;s closely tied to the processors thermal monitoring feature.  The idea of this feature is that when the CPU overheats, it can &#8216;back off&#8217; a little, to prevent overheating. The temperature of a processor isn&#8217;t constant. When running flat out, it will generate more heat.  So by modulating the clock, the maximum amount of heat possible to generate decreases.</p>
<p>The changes merged into the 2.6.29rc kernel remove the user-visible interface, and replace it with direct calls from the ACPI code that gets triggered on thermal events.  It&#8217;s all entirely automatic now.</p>
<p><a href="http://www.codemonkey.org.uk/2009/01/18/forthcoming-p4clockmod/">Forthcoming p4-clockmod changes.</a> is a post from: <a href="http://www.codemonkey.org.uk">codemonkey.org.uk</a></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.codemonkey.org.uk/2009/01/18/forthcoming-p4clockmod/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
	</channel>
</rss>
