<?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/15394/Key_Porting_Differences_from_LinuxThreads_to_NPTL</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>Wed, 22 May 2013 00:08:19 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>man</title>
			<link>http://www.osnews.com/thread?149349</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?149349</guid>
			<description>I wish I were a dev. I would really get off on this article if I were but sadly it flies right over my head. I love DeveloperWorks website though, fantastic source of info!!!</description>
			<pubDate>Sat, 05 Aug 2006 02:26:00 GMT</pubDate>
			<author>donotreply@osnews.com (deanlinkous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: man</title>
			<link>http://www.osnews.com/thread?149355</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?149355</guid>
			<description>Nah.  Soon you would be as bitter as the rest of us that 2 packages with the same API work in subtly different ways.  Ways that always seem to require &quot;workarounds&quot; that suck.</description>
			<pubDate>Sat, 05 Aug 2006 03:30:00 GMT</pubDate>
			<author>donotreply@osnews.com (bservies)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: man</title>
			<link>http://www.osnews.com/thread?149388</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?149388</guid>
			<description>Welcome the world of standards.  How many OS's or threads packages are there that are fully POSIX compliant, anyway?</description>
			<pubDate>Sat, 05 Aug 2006 11:04:00 GMT</pubDate>
			<author>donotreply@osnews.com (Vanders)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[3]: man</title>
			<link>http://www.osnews.com/thread?149400</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?149400</guid>
			<description>Well, if you could find one, it would probably be pretty useless in a lot of cases. Most of the 'non-compliant' extensions to the POSIX standard was because of lacking functionality....<br />
<br />
It is all the standard's fault <img src="/images/emo/tongue.gif" alt=";)" /></description>
			<pubDate>Sat, 05 Aug 2006 14:20:00 GMT</pubDate>
			<author>donotreply@osnews.com (Ithamar)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[4]: man</title>
			<link>http://www.osnews.com/thread?149407</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?149407</guid>
			<description>Hey! We did the best we could <img src="/images/emo/wink.gif" alt=";)" /> <br />
<br />
You try getting the hard realtime community, the threads as a programming model community, and the threads for SMP community to agree on a set of semantics some time.<br />
<br />
Once NPTL is fully deployed, Linux will have half a threading system. Linus says it'll never have the other half, but I've got a bet that it will by 2015, if it's still around then.</description>
			<pubDate>Sat, 05 Aug 2006 16:19:00 GMT</pubDate>
			<author>donotreply@osnews.com (Cloudy)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[5]: man</title>
			<link>http://www.osnews.com/thread?149408</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?149408</guid>
			<description>Actually, I have been pretty happy with NPTL.  I don't think it is quite as solid as, say, Solaris threading, but it hasn't had as much time to cook, either.</description>
			<pubDate>Sat, 05 Aug 2006 16:24:00 GMT</pubDate>
			<author>donotreply@osnews.com (bservies)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[5]: man</title>
			<link>http://www.osnews.com/thread?149416</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?149416</guid>
			<description>Could you elaborate on that last statement?</description>
			<pubDate>Sat, 05 Aug 2006 17:48:00 GMT</pubDate>
			<author>donotreply@osnews.com (rayiner)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[6]: man</title>
			<link>http://www.osnews.com/thread?149421</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?149421</guid>
			<description>I'd presume he means an M:N threading model but I might be wrong.Browser: Mozilla/5.0 (Danger hiptop 2.0; U; AvantGo 3.2)</description>
			<pubDate>Sat, 05 Aug 2006 19:32:00 GMT</pubDate>
			<author>donotreply@osnews.com (anevilyak)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[6]: man</title>
			<link>http://www.osnews.com/thread?149422</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?149422</guid>
			<description>For maximum efficiency across all SMP threaded workloads, you need the option of an M:N thread package with both kernel level and library level scheduling.<br />
<br />
Linus and I have debated this off and on since 2000 and he says that Linux will never have M:N threads.  But then, in 2000 he thought it would never have Posix threads. <img src="/images/emo/wink.gif" alt=";)" /></description>
			<pubDate>Sat, 05 Aug 2006 19:33:00 GMT</pubDate>
			<author>donotreply@osnews.com (Cloudy)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[7]: man</title>
			<link>http://www.osnews.com/thread?149423</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?149423</guid>
			<description>i did. you're right. <img src="/images/emo/wink.gif" alt=";)" /></description>
			<pubDate>Sat, 05 Aug 2006 19:34:00 GMT</pubDate>
			<author>donotreply@osnews.com (Cloudy)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>M:N is just too complicated</title>
			<link>http://www.osnews.com/thread?149450</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?149450</guid>
			<description>The problem with an M:N approach is that it is just too complicated.  I prefer the KISS approach and it seems to work well when it comes to threading, at least for Linux.  Userspace/Kernelspace synchronization becomes such a hassle with M:N that it is not even worth it.<br />
<br />
I prefer NPTL over something like NGPT which had an M:N threading model.  In fact NPTL beat the pants off of NGPT and that's why NPTL was chosen over NGPT.  We have Ingo Molnar to thank for that as he was the one that improved Linux scheduling to the point that NPTL became more viable than an M:N approach like NGPT.<br />
<br />
I have used NPTL for quite some time now but I experimented with NGPT at one time because it was available for Redhat.  In my not so scientific experience NGPT could not keep up with NPTL and real benchmarks show the same.</description>
			<pubDate>Sat, 05 Aug 2006 23:46:00 GMT</pubDate>
			<author>donotreply@osnews.com (abraxas)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>m:n</title>
			<link>http://www.osnews.com/thread?149459</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?149459</guid>
			<description>If userspace/kernelspace synchronization becomes a hassle with your m:n thread model, you need to fix the model, because it doesn't have to be.<br />
<br />
A properly done m:n thread model is transparent to user space applications, has precisely the same performance as a 1:1 model for applications where m:n doesn't matter, and has better performance in those cases where it does.<br />
<br />
The Cray m:n model in Unicos on the X/MP and Y/MP series is an existance proof of such an implementation.</description>
			<pubDate>Sun, 06 Aug 2006 01:55:00 GMT</pubDate>
			<author>donotreply@osnews.com (Cloudy)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[5]: man</title>
			<link>http://www.osnews.com/thread?149487</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?149487</guid>
			<description>&gt; You try getting the hard realtime community, *the threads as a programming model community*, and the threads for SMP community to agree on a set of semantics some time.<br />
<br />
The &quot;threads as a programming model&quot; community :] (a.k.a. the crack smokers).</description>
			<pubDate>Sun, 06 Aug 2006 07:38:00 GMT</pubDate>
			<author>donotreply@osnews.com (corentin)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>1:1 is the best real-world practical solution.</title>
			<link>http://www.osnews.com/thread?149509</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?149509</guid>
			<description>Solaris had MxX threading but replaced it with a 1:1 implementation (<a href="http://www.sun.com/software/whitepapers/solaris9/multithread.pdf" rel="nofollow">http://www.sun.com/software/whitepapers/solaris9/multithread.pdf</a>),  and FreeBSD seems to be going in the same direction (<a href="http://thread.gmane.org/gmane.os.freebsd.devel.threading/3515/focus=3515" rel="nofollow">http://thread.gmane.org/gmane.os.freebsd.devel.threading/3515/focus...</a>).</description>
			<pubDate>Sun, 06 Aug 2006 10:42:00 GMT</pubDate>
			<author>donotreply@osnews.com (Yoke)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: m:n</title>
			<link>http://www.osnews.com/thread?149666</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?149666</guid>
			<description>A properly done m:n thread model is transparent to user space applications, has precisely the same performance as a 1:1 model for applications where m:n doesn't matter, and has better performance in those cases where it does.<br />
<br />
If you can find or code an M:N threading model for Linux that outperforms NPTL I would love to see it.  The inherent complexity just begs for bugs, and IMHO isn't worth the effort unless significant performance increases can be attained.</description>
			<pubDate>Sun, 06 Aug 2006 22:41:00 GMT</pubDate>
			<author>donotreply@osnews.com (abraxas)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: 1:1 is the best real-world practical solution.</title>
			<link>http://www.osnews.com/thread?149729</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?149729</guid>
			<description>The Sun whitepaper starts with a note &quot;this paper does not discuss the relative merits of MxN and 1:1 threading models.&quot;<br />
<br />
It is possible that the constraints of the Solaris design prohibit implementing a good thread model, or that the constraints of Sun's business do.<br />
<br />
As far as I know, the FreeBSD discussion ended inconclusively, again, and really hinged on the issue of make FBSD more Linux-like and not on the choice of MxN versus 1:1.</description>
			<pubDate>Mon, 07 Aug 2006 06:03:00 GMT</pubDate>
			<author>donotreply@osnews.com (Cloudy)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: m:n</title>
			<link>http://www.osnews.com/thread?149730</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?149730</guid>
			<description>If you can find or code an M:N threading model for Linux that outperforms NPTL I would love to see it. The inherent complexity just begs for bugs, and IMHO isn't worth the effort unless significant performance increases can be attained.<br />
<br />
Tempting, but no, thanks.  I'm not up to the up-hill battle it'd take to get Linus to change his mind.<br />
<br />
Maybe next year at this time, after I finish my current embedded OS project.</description>
			<pubDate>Mon, 07 Aug 2006 06:10:00 GMT</pubDate>
			<author>donotreply@osnews.com (Cloudy)</author>
			<category>Comments</category>
		</item>
	</channel>
</rss>
