<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Talk%3ANative_POSIX_Thread_Library</id>
	<title>Talk:Native POSIX Thread Library - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Talk%3ANative_POSIX_Thread_Library"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Talk:Native_POSIX_Thread_Library&amp;action=history"/>
	<updated>2026-10-26T14:01:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Talk:Native_POSIX_Thread_Library&amp;diff=1259018&amp;oldid=prev</id>
		<title>imported&gt;Qwerfjkl (bot): Implementing WP:PIQA (Task 26)</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Talk:Native_POSIX_Thread_Library&amp;diff=1259018&amp;oldid=prev"/>
		<updated>2024-02-16T01:17:21Z</updated>

		<summary type="html">&lt;p&gt;Implementing &lt;a href=&quot;/wiki143/index.php?title=WP:PIQA&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:PIQA (page does not exist)&quot;&gt;WP:PIQA&lt;/a&gt; (&lt;a href=&quot;https://en.wikipedia.org/wiki/Bots/Requests_for_approval/Qwerfjkl_(bot)_26&quot; class=&quot;extiw&quot; title=&quot;wikipedia:Bots/Requests for approval/Qwerfjkl (bot) 26&quot;&gt;Task 26&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{talkheader}}&lt;br /&gt;
{{WikiProject banner shell|class=Start|&lt;br /&gt;
{{WikiProject Computing|importance=Low}}&lt;br /&gt;
{{WikiProject Software|importance=Low}}&lt;br /&gt;
{{WikiProject Linux|importance=Low}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==I&amp;#039;m not sure==&lt;br /&gt;
I&amp;#039;m not sure that the threading experiment quoted on here is necessarily all that indicative of how good threading is in NPTL - after all, it&amp;#039;s a Java environment, so you&amp;#039;re more likely to be comparing how well threading is supported in the JVMs on the two platforms, than the thread library itself.&lt;br /&gt;
&lt;br /&gt;
Perhaps it should be removed and replaced with a benchmark comparison of NPTL and LinuxThreads, with perhaps a comparison to threads on Solaris too? [[User:Sigbusyff|Sigbusyff]]&lt;br /&gt;
&lt;br /&gt;
I think this comparison is meaningless. The result doesn&amp;#039;t entirely depends on the threading implementation. It has something to do with the implementation of JVM. However I am not tring to say that SUN produced a worse JVM for Linux.&lt;br /&gt;
[[User:Zhangle|Zhangle]]&lt;br /&gt;
&lt;br /&gt;
==Who is Edward Rice?==&lt;br /&gt;
Who is Edward Rice? Where is this research? If it isn&amp;#039;t available to be read anywhere, why is it referenced in this http://en.wikipedia.org/wiki/NPTL entry. Also, if the research isn&amp;#039;t available or is known to be faulty why is it still referenced? Considering these comments I believe it to be a better idea to remove the paragraph and wait for a decent study comparing LinuxThreads to NPTL which is more useful than a comparison to another Operating System.&lt;br /&gt;
Thanks,&lt;br /&gt;
Christopher Warner--[[User:64.61.118.58|64.61.118.58]] 15:31, 30 August 2005 (UTC)&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve removed the paragraph on NPTL and Windows threading in its entirety. Christopher Warner [[User:216.254.126.222|216.254.126.222]] 03:11, 13 September 2005 (UTC)&lt;br /&gt;
==Added a handy test==&lt;br /&gt;
Added a handy test for determining version from the command line (common knowledge). Also, I did some research on threading performance for Dr. Dobbs Magazine in May or June, and could add that in when I regain complete copyright. Big advantage is in thread creation; small advantage in handling thread contention.&lt;br /&gt;
--[[User:Bluejack|Bluejack]]&lt;br /&gt;
&lt;br /&gt;
I tested the &amp;#039;getconf GNU_LIBPTHREAD_VERSION&amp;#039; utility on a Redhat system and it returned: NPTL 2.3.4.  Interestingly enough, &amp;#039;&amp;#039;rpm -qa | grep nptl&amp;#039;&amp;#039; indicates that the system has the nonptl versions of many libraries installed.  The nptl libraries in /usr/lib/nptl do not exist on this system so it appears that the system defaults to using Linux threads.  I question the validity of the &amp;#039;&amp;#039;getconf GNU_LIBPTHREAD_VERSION&amp;#039;&amp;#039; test to determine whether NPTL is really supported on a system. --[[User:RandomTask|RandomTask]]&lt;br /&gt;
&lt;br /&gt;
The system is either using NPTL or it is not. This depends on the way GlibC is compiled, it&amp;#039;s one or the other, as there is no fallback system. So you should not need to question if it is really supported or not. Christopher Warner&lt;br /&gt;
: glibc is compiled twice, once for NPTL and once for LinuxThreads. The NPTL libs are installed to lib/tls and used by default. [[User:EdC|EdC]] 07:49, 14 March 2006 (UTC)&lt;br /&gt;
&lt;br /&gt;
The text says that 1x1 threading &amp;quot;is the simplest possible threading implementation&amp;quot;. However, most OS textbooks say that Nx1 threads (like GNU-Pth) can be considered simpler, because they are very easy to implement and need no kernel intervention. Thanks - Carlos Maziero, [[User:200.192.112.146|200.192.112.146]] 11:13, 4 April 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
The article implies NPTL requires kernel mods, but only mentions standard inclusion in glibc.  Could someone clarify this and update current level of adoption (i.e., is this standard in the 2.6 kernel? Is this in, e.g., Ubuntu now as well?)?  [[User:SimonFunk|SimonFunk]] 20:48, 20 July 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
The article also implies the LinuxThreads implementations require user-space context switches and that the kernel scheduler is not involed.  I fairly confident that this is not the case.  When clone is called on a process the child process is still managed by the kernel scheduler.  [[User:Beavix|Beavix]] 02:30, 10 August 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
== test with 100.000 threads ==&lt;br /&gt;
&lt;br /&gt;
The test mentioned in the text is from 2002. I think it should be removed and replaced by more up-to-date info if that is to be had. --[[User:MarSch|MarSch]] 09:35, 24 August 2006 (UTC)&lt;br /&gt;
&lt;br /&gt;
The test results mentioned here are also seen in an article on LinuxJournal [http://www.linuxjournal.com/article/6530#N0x850ca10.0x85d31e4 Introducing the 2.6 Kernel] published on Thu, 2003-05-01.&lt;br /&gt;
However, it is unclear if that is the source of the test results, or if that article is merely referring to test results reported elsewhere.&amp;lt;br /&amp;gt;&lt;br /&gt;
--[[User:ViM|ViM]] 11:42, 25 September 2006 (UTC)&lt;br /&gt;
&lt;br /&gt;
Any news on this ? I tried creating 20,000 threads on a 2.6.25 kernel with a 2.7 libc. The source is here http://patraulea.com/hacks/nptl-test/ . My numbers on an 8-cpu 64bit Xeon machine are:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! threads&lt;br /&gt;
! runtime (sec)&lt;br /&gt;
|-&lt;br /&gt;
| 5000&lt;br /&gt;
| 1.0&lt;br /&gt;
|-&lt;br /&gt;
| 10000&lt;br /&gt;
| 3.9&lt;br /&gt;
|-&lt;br /&gt;
| 20000&lt;br /&gt;
| 24.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Hardly anything like the numbers in nptl-design.pdf .  &amp;lt;small&amp;gt;—Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/195.37.79.197|195.37.79.197]] ([[User talk:195.37.79.197|talk]]) 20:39, 18 May 2008 (UTC)&amp;lt;/small&amp;gt;&amp;lt;!-- Template:UnsignedIP --&amp;gt; &amp;lt;!--Autosigned by SineBot--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Translation into Chinese Wikipedia ==&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/w/index.php?title=Native_POSIX_Thread_Library&amp;amp;oldid=251334196 The 13:30, 12 November 2008 Lightbot version] of this article is translated into [[:zh:Native POSIX Thread Library|Chinese Wikipedia]].--[[User:Wing|Wing]] ([[User talk:Wing|talk]]) 12:13, 13 December 2008 (UTC)&lt;br /&gt;
== Reference Out Of Date ==&lt;br /&gt;
The pdf document linked in the article ([http://people.redhat.com/drepper/nptl-design.pdf http://people.redhat.com/drepper/nptl-design.pdf]) has the following disclaimer:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
This document is completely, utterly out of date when it comes&lt;br /&gt;
to descriptions of the limitations of the current implementation.&lt;br /&gt;
Everybody referring to this document to document shortcomings&lt;br /&gt;
of NPTL is either a moron who hasn’t done her/his homework&lt;br /&gt;
and researched the issue, or is deliberately misleading people as&lt;br /&gt;
it happens too often with publications done by the Evil from the&lt;br /&gt;
North-West.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
[[User:QBasicer|QBasicer]] ([[User talk:QBasicer|talk]]) 00:54, 14 September 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== question ==&lt;br /&gt;
fork and vfork have always allowed &amp;quot;extra processes and possibly running on other cpu&amp;quot; in unix and linux (since i386 lets say) - and also parallel computing code was available before linux first release (though it was coded in applications not the kernel).  before kernel 2.6 there were pleanty of &amp;quot;ways&amp;quot; to cross talk betwen processes which could be light weight if desired.&lt;br /&gt;
&lt;br /&gt;
i can&amp;#039;t think of a reason tls would be &amp;quot;required&amp;quot; it contains ALLOT of assembler hacks special memory tagging special depends setup and this and that&lt;br /&gt;
&lt;br /&gt;
&amp;quot;is a thread not a process&amp;quot; doesn&amp;#039;t sound like a reasonable argument&lt;br /&gt;
&lt;br /&gt;
== incorrectnes  in article - microsoft trolling in article ==&lt;br /&gt;
&lt;br /&gt;
&amp;quot;something that Windows was known to do better at the time&amp;quot;&lt;br /&gt;
&lt;br /&gt;
ABSOLUTELY NOT.  at the time Windows crashed continuall if used for anything other than solitair. the libraries attacked the developers that bought them.&lt;br /&gt;
&lt;br /&gt;
Windows DID NOT HAVE pre-emtive multi-taksing before unix or linux.  Furthermore I have a published letter from intel informing Microsoft NOT to put intel chip in the mode they put it in (known to cause lock ups) - which microsoft refused to comply with.  (sybex - programming the intel i386)&lt;br /&gt;
&lt;br /&gt;
Windows was WELL KNOWN for freezing while reading a floppy  (and during other system events - often crashing the computer).&lt;/div&gt;</summary>
		<author><name>imported&gt;Qwerfjkl (bot)</name></author>
	</entry>
</feed>