Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: NPTL


Related Topics
SCP
Z3

  
  Native POSIX Thread Library - Wikipedia, the free encyclopedia
NPTL uses a similar approach to LinuxThreads, in that the primary abstraction known by the kernel is still a process, and new threads are created with the clone() system call (called from the NPTL library).
NPTL is a so-called 1×1 threads library, in that threads created by the user (via the pthread_create() library function) are in 1-1 correspondence with schedulable entities in the kernel (processes, in the Linux case).
NPTL has been part of Red Hat Enterprise Linux since version 3, and is now a fully integrated part of glibc.
en.wikipedia.org /wiki/NPTL   (626 words)

  
 Linux threading models compared: LinuxThreads and NPTL   (Site not responding. Last check: 2007-10-10)
NPTL, or Native POSIX Thread Library, is a new implementation of Linux threading that overcomes the disadvantages of LinuxThreads and also conforms to POSIX requirements.
With NPTL threading libraries along with the new kernel implementation, the synchronization of threads by means of signals was avoided.
Since in NPTL all threads have one parent process, the resource usages reported to the parent (like CPU and memory percentages) are reported for the entire process, not for just one thread.
www.ibm.com /developerworks/linux/library/l-threading.html   (2505 words)

  
 cvs commit: hints nptl.txt
Despite this, NPTL has +world-class performance, with thread-spawning speeds as much as 500x the speed +of traditional thread libs.
Currently, the +LFS build method is flawed, and often the use of NPTL instead of linuxthreads +will bring out the flaws, crashing hard either sooner or later.
NPTL has an extremely nasty habit of using + features that aren't yet in the releases, hence this is needed.
linuxfromscratch.org /pipermail/hints/2003-April/001603.html   (2345 words)

  
 Migrating to Linux kernel 2.6 -- Part 5: Migrating apps to the 2.6 kernel and NPTL
NPTL was developed as part of the 2.5 kernel development process and was integrated with Linux run-time elements such as glibc at that time.
NPTL also supports useful features such as mutexes that are shared among threads, simplifying resource sharing, conflict prevention, and increasing parallelism.
NPTL is a POSIX-compliant threading implementation, and therefore handles signals better both between processes and between all threads within those processes.
linuxdevices.com /articles/AT6753699732.html   (3026 words)

  
 NPTL Trace System Proposal
Tracing the NPTL is relevant in case of a multithreaded program using it is malfunctioning, or when a developer wants to check whether threads behave and synchronize as expected.
In this name, "NPTL" is not supposed to mean the system is for use with NPTL only, but it should be merely a name, avoiding a variable PTHREAD_TRACE that could be used by another pthread tracing convention.
At NPTL initialization, a function should check and obey the PTHREAD_NPTL_TRACE environment variable, load the requested handler shared object if there is one, attach trace hooks to its functions, and call a nptl_trace_init(char**) function of the handler, passing its parameters.
nptl.bullopensource.org /Trace/TraceDesign.v03.html   (3022 words)

  
 Pthreads Overview (for LC) UCRL-WEB-201477
NPTL was developed as a closely integrated part of the whole Linux run-time package, so it offers high-performance POSIX thread support.
NPTL is far more compliant with the POSIX standard, and it supports mutexes that are shared among threads (for simplier resource sharing and greater parallelism).
With NPTL you can send signals from one thread to another thread, not merely from one process to another process (although between-process signals often perform better as well).
www.llnl.gov /LCdocs/pthreads/index.jsp?show=s9.3   (643 words)

  
 HOWTO Migrate to NPTL - Gentoo Linux Wiki
Native POSIX Thread Library (NPTL) is a thread library which is, unlike previous attempts, a very thin layer on top of the kernel.
The major benefit of NPTL over linuxthreads from a users perspective is that it's faster (refer to the PDF for benchmarks).
Besides that NPTL also provides signal handling on a per thread basis rather than per process, also now with NPTL support you can send the arguments with the signals.
gentoo-wiki.com /NPTL   (710 words)

  
 A frog’s eye view of the world » Blog Archive » 2.6.0 + NPTL WORKING (for real this time)
I discovered that to get NPTL compiled into the core bits and pieces, you must be running a kernel that will support it at the time.
Now, just for a bit of background, NPTL is only supported by the 2.6.x kernel sources (ignoring the Red Hat backports) and the Gentoo livecd which I was using at the time boots a 2.4.x kernel; hence my problem.
NPTL makes a big performance diff to Java apps, a big one, hence the main reason I installed it (and I wanted to be on the “cutting edge”).
tim.littlebluefrog.com /?p=54   (744 words)

  
 Manual Lookup for 'pthreads.7'
If two threads handle signals on their shared alternate signal stack at the same time, unpredictable pro- gram failures are likely to occur.) NPTL With NPTL, all of the threads in a process are placed in the same thread group; all members of a thread groups share the same PID.
NPTL makes internal use of the first two real-time signals; these signals cannot be used in applications.
Some NPTL non-conformances only occur with older kernels: - The information returned by times(2) and getrusage(2) is per-thread rather than process-wide (fixed in kernel 2.6.9).
www.cse.unsw.edu.au /scripts/man-cgi?pthreads.7   (1126 words)

  
 NPTL: pid of a thread and gdb | Linux | Kernel
NPTL: pid of a thread and gdb
I am using the NPTL ilbrary to create a thread.
In NPTL the parent and the thread have the same pid.
www.gossamer-threads.com /lists/linux/kernel/538303   (159 words)

  
 HOWTO NPTL - Gentoo Linux Wiki
Native POSIX Thread Library (NPTL) es una librería de hilos (threads) que, al contrario que otras alternativas anteriores, es una fina capa sobre el kernel.
NPTL es un sustituto para la antigua librería linuxthreads que además de la citada mejora de rendimiento provee a los programadores del beneficio de que es más posix compliant como el propio nombre indica.
Si quieres usar NPTL desde el mismo momento en el que instales Gentoo, desde la versión 2005.0 no tienes que hacer nada especial salvo agregar la USE nptl a tu make.conf, en cambio si usas una versión anterior necesitarás usar bootstrap-2.6.sh al hacer el bootstrap, pero antes tendrás que realizar unos pasos previos.
es.gentoo-wiki.com /HOWTO_NPTL   (601 words)

  
 [No title]
Despite this, NPTL has world-class performance, with thread-spawning speeds as much as 500x the speed of traditional thread libs.
The very recent kernels have made the building of futexes optional, but it is required for NPTL to function.
This is required because NPTL uses features of Glibc that aren't yet in any released tarball.
inferno.slug.org /lfs-hints/nptl.txt   (866 words)

  
 A trace mechanism for NPTL
We have some basic ideas about the features to be provided and how it could be done, but we need your help for understanding the rules to follow and for defining the features, requirements and how to build that trace, in order to make necessary changes acceptable and widely usable.
They are interested in having more details about what NPTL internals are doing and probably which calls to the kernel were done.
This should reduce the performance impact of NPTL tracing: the chance to alter the behaviour of a multi-threaded application would be reduced.
www.redhat.com /archives/phil-list/2004-March/msg00006.html   (573 words)

  
 NPTL Support for uClibc - Notes   (Site not responding. Last check: 2007-10-10)
In order to finish the NPTL implementation, I have to implement all of the thread cancellation points for all of the functions and system calls that can be effected.
Also, due to complexities of the new thread model and compilation, the 'fork.c' from NPTL has to be compiled in with the C library, even though the code in it is not called until pthreads is linked in either dynamically by the loader or in a static binary.
I build a NPTL toolchain for the i686 target using the crosstools and a patch for NPTL support forward ported from an older release of crosstools.
www.realitydiluted.com /nptl-uclibc/notes.html   (10994 words)

  
 NPTL - Wikipedia, wolna encyklopedia
NPTL jest dostępna od wersji 2.6 jądra systemu Linux.
NPTL pojawiła się pierwszy raz w systemie Red Hat Linux 9.
NPTL wychodzi z założenia, że każdy wątek można zaprezentować jako proces.
pl.wikipedia.org /wiki/NPTL   (244 words)

  
 Red Hat Enterprise Linux 3.0 - Enterprise Applications - Network Computing
All three versions contain NPTL (native POSIX-compliant threading libraries), which give Linux a giant boost in its bid to compete with large Unix installations, where software requirements dictate that thousands of threads be managed by the operating system.
The NPTL open-source development effort was spearheaded by Red Hat.
NPTL was initially available in the 2.5 development seed of the Linux kernel, so distributions can incorporate back into the 2.4 source or use the 2.6 kernel.
www.networkcomputing.com /showArticle.jhtml?articleID=17501948   (719 words)

  
 CodeWeavers - Support - Ticket System - Ticket #37506: NPTL misdetection
After commenting in wine script: if (is_nptl()) { # Add nptl prefix to lib and dll paths # $dll_path = join(":", (map { $_ = "$_/nptl"; } split(/:/, $lib_path # $lib_path = join(":", map { $_ = "$_/nptl:$_"; } split(/:/, $lib_pat it installed and works OK. Below is what cxglibc-check tells.
Olaf, Sorry for the delay, I just wanted you to know that we are taking a look at this problem and that it's been a couple of days, but we should get back to you with something soon.
The NPTL detection is correct as it is, the problem is most likely one of the remaining bugs in the NPTL support.
www.codeweavers.com /support/tickets/browse/?ticket_id=37506   (309 words)

  
 NPTL Tests and Trace project
It will serve as a base to fix some remaining problems both in nptl and in the test suite.
The advantages of the NPTL interface is that the cancellation handling is faster (when -fexception is used, even in C code) and that the additional interfaces are now available without special compiler and linker parameters.
In the meantime, the website has been updated to include links to the PTT project (was previously known as NPTL Trace project).
nptl.bullopensource.org   (606 words)

  
 [ python-Bugs-1119860 ] Static library incompatible with nptl
If an application links against this library and is run on a newer system, ugly things will happen: only 12 bytes (+ the rest of the lock structure) is allocated, but the pthread functions will expect it to be 48 bytes...
The real problem is that, apparently, linuxthreads and NPTL are not binary-compatible.
So in fact, an installation with NPTL should be considered as a different operating system, and you cannot expect to move binaries from one operating system to another.
mail.python.org /pipermail/python-bugs-list/2005-February/027693.html   (488 words)

  
 HOWTO Gentoo 2004.2 for linux 2.6 and NPTL - Gentoo Linux Wiki
"You should see 'Native POSIX Threads' in the output." the NPTL libraries are moved to a new dir refer to the ebuild to see the command you need to run.
This is already covered in HOWTO Migrate to NPTL, however, for completeness, we will also discuss it in this article.
Grab the latest 2.6 kernel (NPTL support any version of the 2.6 kernel, gentoo-sources are used as an example).
gentoo-wiki.com /HOWTO_Gentoo_2004.2_for_linux_2.6_and_NPTL   (721 words)

  
 NPTL centerpiece of Red Hat Linux 9 release
Red Hat Inc. on Tuesday announced details of Red Hat Linux 9, which features a significant strategy shift: the Raleigh, N.C.-based distributor skipped all potential point releases and went straight to a new version number with this upgrade, which includes a new threading system and brings the latest features to low-end users.
The aspect of Red Hat Linux 9 likely to grab the most attention is the inclusion of the Native POSIX Threading Library (NPTL).
Linus Torvalds has already announced that NPTL will be included in the 2.6 version of the Linux kernel.
searchopensource.techtarget.com /originalContent/0,289142,sid39_gci888557,00.html   (962 words)

  
 MySQL Bugs: #868: on linux with NPTL, mysqld hangs under high load
case 2 On 'Lunar' linux after installing kernel 2.5.74, and glibc with the most recent NPTL thread library code (0.52) I experience what seemed to be the same problem, except that at loads on the order of 800 simultaneous clients the server would hang in in under 20 minutes.
I would *like* to be running/testing mysql fully in an NPTL enabled environment however thus far I've not had much success building mysql from source against NPTL headers and libraries.
Mysql(binary) does run a good bit faster on NPTL, and I assume that once it's compiled to specifically use NPTL the performance gain will be better.
bugs.mysql.com /bug.php?id=868   (1068 words)

  
 MySQL Bugs: #2173: MySQL's configure does not recognize NPTL
Well, if NPTL is not supported (which is preety bad because LinuxThreads are obsolete and not supported by glibc people) then still checking headers only is wrong thing.
Many Linux distributors provide currently glibc and libpthread in both versions - NPTL (and TLS) enabled in /lib/tls/ + LinuxThreads version in /lib _but_ headers in /usr/include/ are from LinuxThreads so your test will detect that there is LinuxThreads but in fact libpthread from /lib/tls (NPTL version) will be used.
It is unlikely that these should come with NPTL, so the header file check will not only work but also yield the correct response.) Note to users of 4.0: This patch is not backported into 4.0, as that release is considered too stable for this change.
bugs.mysql.com /2173   (750 words)

  
 Red Hat Linux 9 and Java 2 Platform, Standard Edition 1.4.2: A Winning Combination
The result for developers is that their applications will not only start faster, but will reliably scale to a larger number of threads than was previously possible.
The lightweight 1-on-1 implementation is fast, robust, and POSIX-compliant, allowing a Java runtime environment to use it as directly as possible, without the additional layers of code needed for other implementations.
Even though the NPTL threads library is relatively new, some applications have already shown considerable improvement when running J2SE 1.4.2 with Red Hat Linux 9 on single and dual SMP configurations, when compared with J2SE 1.4.1 and the old Linux thread library.
java.sun.com /developer/technicalArticles/JavaTechandLinux/RedHat   (1541 words)

  
 How to switch from linuxthreads to NPTL on Gentoo - Xaprb
Linuxthreads and NPTL are part of glibc, the GNU C Library.
The recommended threading library for GNU/Linux is now NPTL, not linuxthreads, even though the linuxthreads web page’s excerpt in Google says it’s “The recommended threads package for Linux, also included in glibc 2.0.” Development on linuxthreads stopped a while ago, and NPTL is now mature and should be used instead, as it has many advantages.
The NPTL version is installed to lib/tls and is still used by default.
xaprb.com /blog/2006/07/12/how-to-switch-from-linuxthreads-to-nptl-on-gentoo   (633 words)

  
 Carrier Grade Linux(CGL) for ARM/XScale based system
To enable nptl in one platfrom, three components need be touched: linux kernel, glibc, and nptl.
In the linux kernel, a thread register is simulated by an additional field(pd_addr) to thread_struct and two system calls(sys_get/set_thread_area()).
Moreover, some code related TLS in nptl is protected by the glibc macro USE_TLS.
xcgl-port.sourceforge.net /nptl.html   (195 words)

  
 NPTL Trace Tool Project
It aims to help users to analyze and debug multi-threaded applications using the NPTL under Linux systems.
He needs to easily switch from the original untraced NPTL to the traced library, and vice-versa, without recompiling his application.
a maintainer of the glibc wants to analyze the behaviour of NPTL and fix problems, which is not an easy task.
nptltracetool.sourceforge.net   (510 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.