<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:osnews="http://www.osnews.com/rss2#">
	<channel>
		<title>OSNews: </title>
		<link>http://www.osnews.com/story/24223/Alternative_to_the_200_Lines_Kernel_Patch_that_Does_Wonders_</link>
		<description>Exploring the Future of Computing</description>
		<language>en-us</language>
		<copyright>Copyright 2001-2013, David Adams</copyright>
		<webMaster>adam+nospam@osnews.com</webMaster>
		<lastBuildDate>Sat, 25 May 2013 01:59:59 GMT</lastBuildDate>
		<image>
			<url>http://www.osnews.com/images/osnews.gif</url>
			<title>OSNews.com</title>
			<link>http://www.osnews.com</link>
		</image>
		<item>
			<title>Comment by diegocg</title>
			<link>http://www.osnews.com/thread?456428</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?456428</guid>
			<description>It's how the feature was tested before being implemented as an automatism in the kernel, so it's not very surprising that it works.Edited 2011-01-08 00:19 UTC</description>
			<pubDate>Sat, 08 Jan 2011 00:19:00 GMT</pubDate>
			<author>donotreply@osnews.com (diegocg)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>...</title>
			<link>http://www.osnews.com/thread?456431</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?456431</guid>
			<description>Old.<br />
<br />
I read the same like 3 months ago.</description>
			<pubDate>Sat, 08 Jan 2011 00:29:00 GMT</pubDate>
			<author>donotreply@osnews.com (Hiev)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: ...</title>
			<link>http://www.osnews.com/thread?456434</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?456434</guid>
			<description>Yes, very old. The link is even dated <b>in the url</b>, and is plainly dated once you get there and read it (Nov 18th, 2010). Maybe it was never posted on osnews, I don't remember, but it certainly made the rounds everywhere else.Edited 2011-01-08 00:47 UTC</description>
			<pubDate>Sat, 08 Jan 2011 00:45:00 GMT</pubDate>
			<author>donotreply@osnews.com (galvanash)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: ...</title>
			<link>http://www.osnews.com/thread?456444</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?456444</guid>
			<description>and works with systemd only</description>
			<pubDate>Sat, 08 Jan 2011 01:11:00 GMT</pubDate>
			<author>donotreply@osnews.com (somebody)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: ...</title>
			<link>http://www.osnews.com/thread?456455</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?456455</guid>
			<description>yup (I think systemd 10+ only, in fact).</description>
			<pubDate>Sat, 08 Jan 2011 02:43:00 GMT</pubDate>
			<author>donotreply@osnews.com (AdamW)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: ...</title>
			<link>http://www.osnews.com/thread?456491</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?456491</guid>
			<description>So what if it's &quot;old&quot; news. <br />
Not all of us frequent dozens of IT sites.<br />
<br />
It's note worthy enough for archiving purposes alone.Edited 2011-01-08 12:33 UTC</description>
			<pubDate>Sat, 08 Jan 2011 12:31:00 GMT</pubDate>
			<author>donotreply@osnews.com (fran)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Works only for shell?</title>
			<link>http://www.osnews.com/thread?456518</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?456518</guid>
			<description>Hi, does this work only for programs started from the shell? What about for a regular GUI desktop environment?<br />
Thanks!</description>
			<pubDate>Sat, 08 Jan 2011 18:13:00 GMT</pubDate>
			<author>donotreply@osnews.com (sb56637)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: ...</title>
			<link>http://www.osnews.com/thread?456528</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?456528</guid>
			<description>Bull crap. cgroups has nothing to do with systemd. You have your dependencies backwards.</description>
			<pubDate>Sat, 08 Jan 2011 19:26:00 GMT</pubDate>
			<author>donotreply@osnews.com (FishB8)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Works only for shell?</title>
			<link>http://www.osnews.com/thread?456529</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?456529</guid>
			<description>The setup in the linked article is designed to create a new cgroup for each new shell (and their child processes).<br />
<br />
There is nothing to stop you from creating cgroups of your own design though.</description>
			<pubDate>Sat, 08 Jan 2011 19:32:00 GMT</pubDate>
			<author>donotreply@osnews.com (FishB8)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Something left in the dark</title>
			<link>http://www.osnews.com/thread?456763</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?456763</guid>
			<description>What I deplore is what I've always deplored with the Linux community in specific and the computing world in general: a simple explanation of what happens is nowhere to be found. Somehow, we are just supposed to be marveled at it if (and especially when) we don't know exactly what is going on.<br />
 <br />
 There isn't even a mention of what the &quot;200 lines&quot; in question do. I've seen the news item when posted here on OSnews, and I remember following the link and reading the linked article. That was some time ago. And now, you have to click links up to Phoronix before reading that the procedure is for enhancing the responsiveness of Linux.<br />
 <br />
 Anyway, the linked article sucks in my opinion as it reminds me of that &quot;leave'em in the dark&quot; or &quot;if you don't already know then it's not for you&quot; attitude.Edited 2011-01-10 11:28 UTC</description>
			<pubDate>Mon, 10 Jan 2011 11:28:00 GMT</pubDate>
			<author>donotreply@osnews.com (vodoomoth)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Something left in the dark</title>
			<link>http://www.osnews.com/thread?456780</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?456780</guid>
			<description>To find out what the &quot;200 lines&quot; patch did was easy, and I did it when the article was first published; you simply had to go to the LKML thread on the topic and read it. No understanding of C was required. You can go back and do that now, if you like.<br />
<br />
What's more, this shell script approach was brought up in that very same LKML thread at that time and how it works was described to some extent.<br />
<br />
Some understanding of CPU scheduling in general and Linux cgroups in particular is helpful to understand what's going on here. So...<br />
<br />
Official Kernel documentation on CGroups:<br />
<a href="http://www.mjmwired.net/kernel/Documentation/cgroups.txt" rel="nofollow">http://www.mjmwired.net/kernel/Documentation/cgroups.txt</a><br />
<br />
Not recommended as an introduction, but if you miss details elsewhere this is for you.<br />
<br />
Red Hat CGroups documentation:<br />
<a href="http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Resource_Management_Guide/ch01.html" rel="nofollow">http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/R...</a><br />
<br />
And from the simple end, wikipedia:<br />
<a href="http://en.wikipedia.org/wiki/Cgroups" rel="nofollow">http://en.wikipedia.org/wiki/Cgroups</a><br />
<br />
Now that you understand what cgroups are, let's get ni to the patch:<br />
<br />
Here's the LWN article covering the feature from the &quot;200 line&quot; patch, which explains it in some detail and the discussion around it:<br />
<a href="http://lwn.net/Articles/415740/" rel="nofollow">http://lwn.net/Articles/415740/</a><br />
<br />
Here's the original LKML thread, which by now is scarily-long. I still recommend it since it's the primary source:<br />
<a href="http://thread.gmane.org/gmane.linux.kernel/1050575" rel="nofollow">http://thread.gmane.org/gmane.linux.kernel/1050575</a><br />
<br />
Specifically, look at this post for the origin of the shell script version referenced by this very-late article:<br />
<a href="http://article.gmane.org/gmane.linux.kernel/1063263" rel="nofollow">http://article.gmane.org/gmane.linux.kernel/1063263</a><br />
<br />
Now you, too, can be in the loop!</description>
			<pubDate>Mon, 10 Jan 2011 13:43:00 GMT</pubDate>
			<author>donotreply@osnews.com (sorpigal)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: ...</title>
			<link>http://www.osnews.com/thread?456781</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?456781</guid>
			<description>This is the kind of news that should have been an addendum to the original article, or posted the next day. The alternative was posted on November 16th, which is the same day as the original OS News coverage, but several hours earlier.</description>
			<pubDate>Mon, 10 Jan 2011 13:47:00 GMT</pubDate>
			<author>donotreply@osnews.com (sorpigal)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: Something left in the dark</title>
			<link>http://www.osnews.com/thread?456793</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?456793</guid>
			<description>Thank you for this comprehensive post although I wasn't asking for references (but I will read them) but just pointing out the lack of reader-friendliness and immediate information. When I read the linked article and its comments, it felt obvious that some information was missing. Thanks.</description>
			<pubDate>Mon, 10 Jan 2011 15:03:00 GMT</pubDate>
			<author>donotreply@osnews.com (vodoomoth)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Comment Title</title>
			<link>http://www.osnews.com/thread?456856</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?456856</guid>
			<description>Old news to the propeller heads, new to me. If it's old news to you skip the article fgs. The first one to stay &quot;old news been there done that&quot; gets a gold star!</description>
			<pubDate>Mon, 10 Jan 2011 22:14:00 GMT</pubDate>
			<author>donotreply@osnews.com (Bringbackanonposting)</author>
			<category>Comments</category>
		</item>
	</channel>
</rss>
