View previous topic :: View next topic |
Should i switch to NPTL? |
Yes |
|
92% |
[ 279 ] |
No |
|
7% |
[ 24 ] |
|
Total Votes : 303 |
|
Author |
Message |
sickworm n00b
Joined: 08 Oct 2003 Posts: 45
|
Posted: Tue Apr 13, 2004 5:08 pm Post subject: Nptl - to be or not to be |
|
|
So, should i use Nptl ? Is it better? Why? What bugs did you have ? |
|
Back to top |
|
|
ett_gramse_nap Apprentice
Joined: 01 Oct 2003 Posts: 252 Location: Göteborg, Sweden
|
Posted: Tue Apr 13, 2004 5:14 pm Post subject: Re: Nptl - to be or not to be |
|
|
sickworm wrote: | So, should i use Nptl ? Is it better? Why? What bugs did you have ? |
I see no real reasons to not use it. Especially not if your coding a lot of Java. _________________ Don't bother! |
|
Back to top |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Tue Apr 13, 2004 7:14 pm Post subject: |
|
|
I've been running glibc with nptl for quite some time and have not had any problems with it. It is great when you use a lot of java applications. One process is started rather than numerous without nptl. Easier debugging also.
Erik _________________ 'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.' |
|
Back to top |
|
|
charlieg Advocate
Joined: 30 Jul 2002 Posts: 2149 Location: Manchester UK
|
Posted: Tue Apr 13, 2004 7:33 pm Post subject: |
|
|
I'll reiterate similar sentiments of a seemless experience here as well. Had nptl enabled for at least 6 months without issue.
And ps never looked so nice. _________________ Want Free games?
Free Gamer - open source games list & commentary
Open source web-enabled rich UI platform: Vexi |
|
Back to top |
|
|
Roguelazer Veteran
Joined: 10 Feb 2003 Posts: 1233 Location: San Francisco, CA
|
Posted: Tue Apr 13, 2004 9:42 pm Post subject: |
|
|
0 bugs so far. It's purty. _________________ Registered Linux User #263260 |
|
Back to top |
|
|
castorilo Apprentice
Joined: 25 Dec 2002 Posts: 157
|
Posted: Tue Apr 13, 2004 10:03 pm Post subject: I have some problems. |
|
|
On my laptop (P3 750Mhz) it works flawlessly.
On my desktop (dual P3 1Ghz) it does not work. As soon as I emerge glibc, some programs (perl most notably) crash with a floating point exception. It lets me reemerge glibc though.
There are other issues with nptl.
check here
|
|
Back to top |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Tue Apr 13, 2004 11:04 pm Post subject: Re: I have some problems. |
|
|
paulpach wrote: | On my laptop (P3 750Mhz) it works flawlessly.
On my desktop (dual P3 1Ghz) it does not work. As soon as I emerge glibc, some programs (perl most notably) crash with a floating point exception. It lets me reemerge glibc though.
There are other issues with nptl.
check here
|
Have you tried to re-emerge perl after compiling glibc with nptl?
Erik _________________ 'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.' |
|
Back to top |
|
|
Senso Apprentice
Joined: 17 Jun 2003 Posts: 250 Location: Montreal, Quebec
|
Posted: Tue Apr 13, 2004 11:41 pm Post subject: |
|
|
Is there any requirement to use nptl? I'm on a AMD Athlon XP, using gentoo-sources 2.4.22 (currently emerging 2.4.25). When I tried emerging glibc with nptl, it said my "kernel or architecture does not support nptl". Is it a kernel config option? |
|
Back to top |
|
|
wdreinhart Guru
Joined: 11 Jun 2003 Posts: 569 Location: 4QFJ12345678
|
Posted: Tue Apr 13, 2004 11:57 pm Post subject: |
|
|
I don't think there's a config option for it, but nptl requires kernel 2.6. |
|
Back to top |
|
|
Senso Apprentice
Joined: 17 Jun 2003 Posts: 250 Location: Montreal, Quebec
|
Posted: Wed Apr 14, 2004 12:21 am Post subject: |
|
|
Argh. I'm not switching to 2.6 any time soon - can't get my geForce card and sound card to work. Oh well, I'll have to wait before going to javahappyland. |
|
Back to top |
|
|
AngusYoung Retired Dev
Joined: 20 Dec 2002 Posts: 473 Location: Czech Republic
|
Posted: Wed Apr 14, 2004 12:47 am Post subject: Re: Nptl - to be or not to be |
|
|
sickworm wrote: | So, should i use Nptl ? Is it better? Why? What bugs did you have ? |
I didn't noticed any general improvements in "normal" applications (normal != java apps). Also, I'm having problems running/compiling valgrind. _________________ My blog
Twitter |
|
Back to top |
|
|
castorilo Apprentice
Joined: 25 Dec 2002 Posts: 157
|
Posted: Wed Apr 14, 2004 3:42 pm Post subject: Re: I have some problems. |
|
|
ebrostig wrote: |
Have you tried to re-emerge perl after compiling glibc with nptl?
Erik |
Yes I have, this is what I get:
Code: |
#emerge perl
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-lang/perl-5.8.2-r1 to /
...
Checking your choice of C compiler and flags for coherency...
Configure: line 4962: 11694 Floating point exception$sh -c "$run ./try" >>try.msg 2>&1
I've tried to compile and run the following simple program:
#include <stdio.h>
int main() { printf("Ok\n"); return(0); }
I used the command:
gcc -o try -O2 -march=pentium3 -pipe -mmmx -fstack-protector -fno-strict-aliasing -L/usr/local/lib try.c -lpthread -lbind -lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
./try
and I got the following output:
The program compiled OK, but exited with status 136.
You have a problem. Shall I abort Configure [y]
Ok. Stopping Configure.
!!! ERROR: dev-lang/perl-5.8.2-r1 failed.
!!! Function src_compile, Line 188, Exitcode 1
!!! Unable to configure
|
and emerge exits right there. |
|
Back to top |
|
|
GhePeU Guru
Joined: 12 Aug 2003 Posts: 549 Location: Mestre, Italy
|
Posted: Wed Apr 14, 2004 4:25 pm Post subject: |
|
|
some commercial software (for example matlab) doesn't work with glibc compiled enabling nptl
there are workarounds, but I don't like them _________________ That is not dead which can eternal lie,
and with strange aeons even death may die. |
|
Back to top |
|
|
Riftwing Apprentice
Joined: 06 Oct 2002 Posts: 293
|
Posted: Wed Apr 14, 2004 5:46 pm Post subject: |
|
|
Mplayer and xmms etc. seg fault for me when nptl is enabled. _________________ Good, bad, I'm the guy with the gun. - Ash, Army of Darkness |
|
Back to top |
|
|
IvanHoe l33t
Joined: 05 Oct 2002 Posts: 658
|
Posted: Wed Apr 14, 2004 7:30 pm Post subject: |
|
|
So, how do I get NPTL? Is there a special version of glibc I need to emerge? Is it a USE flag? A kernel option?
[edit] Oh, and what are the advantages of NPTL? |
|
Back to top |
|
|
AngusYoung Retired Dev
Joined: 20 Dec 2002 Posts: 473 Location: Czech Republic
|
Posted: Wed Apr 14, 2004 7:36 pm Post subject: |
|
|
IvanHoe wrote: | So, how do I get NPTL? Is there a special version of glibc I need to emerge? Is it a USE flag? A kernel option?
[edit] Oh, and what are the advantages of NPTL? |
This:
Code: | USE="nptl" emerge glibc |
_________________ My blog
Twitter |
|
Back to top |
|
|
MooktaKiNG Guru
Joined: 11 Nov 2002 Posts: 326 Location: London, UK
|
Posted: Wed Apr 14, 2004 10:05 pm Post subject: |
|
|
will nptl speed up other apps other then java?
Just wondering, becuase i'm about to install it
now where's that little script in "Tips & Tricks" section that shows all the apps that are installed with a given USE flag....... _________________ http://www.mooktakim.com
Athlon XP 2001, Giga-Byte GA-7VRXP MB, 640Mb DDR RAM 333MHz, MSI Geforce 4800SE 128Mb DDR, 40x12x48 Liteon CDRW drive, Flower Cooler, ADSL Router |
|
Back to top |
|
|
petrjanda Veteran
Joined: 05 Sep 2003 Posts: 1557 Location: Brno, Czech Republic
|
Posted: Wed Apr 14, 2004 11:37 pm Post subject: |
|
|
I honestly have not run into any problems with nptl. |
|
Back to top |
|
|
shm Advocate
Joined: 09 Dec 2002 Posts: 2380 Location: Atlanta, Universe
|
Posted: Wed Apr 14, 2004 11:43 pm Post subject: |
|
|
I don't use NPTL.. the one time I tried using it it, I managed to royally fuck up glibc, and I had to install it from stage3. A huge pain in the ass. |
|
Back to top |
|
|
MooktaKiNG Guru
Joined: 11 Nov 2002 Posts: 326 Location: London, UK
|
|
Back to top |
|
|
nevynxxx Veteran
Joined: 12 Nov 2003 Posts: 1123 Location: Manchester - UK
|
Posted: Thu Apr 15, 2004 2:41 pm Post subject: |
|
|
Riftwing wrote: | Mplayer and xmms etc. seg fault for me when nptl is enabled. |
These both work fine for me with NPTL. _________________ My Public Key
Wanted: Instructor in the art of Bowyery |
|
Back to top |
|
|
MooktaKiNG Guru
Joined: 11 Nov 2002 Posts: 326 Location: London, UK
|
Posted: Thu Apr 15, 2004 3:55 pm Post subject: |
|
|
i see lots of errors about glibc when i start xmms. But it work fine. I just get the errors in console.
I tried rreinstalling xmms. But it did not get rid of the errors.
Anyway, it works fine. but shows error. _________________ http://www.mooktakim.com
Athlon XP 2001, Giga-Byte GA-7VRXP MB, 640Mb DDR RAM 333MHz, MSI Geforce 4800SE 128Mb DDR, 40x12x48 Liteon CDRW drive, Flower Cooler, ADSL Router |
|
Back to top |
|
|
venkat Tux's lil' helper
Joined: 18 Sep 2003 Posts: 110 Location: USA
|
Posted: Thu Apr 15, 2004 8:54 pm Post subject: |
|
|
xmms runs fine without any errors displayed on console. this is not a nptl problem i guess. btw which glibc are you using? try the latest ~x86 one. i've been using it for months now without problems. i only re-emerged glibc with nptl in the USE flag. still using 2.4 headers.
my system has NPTL, ACPI, APIC uniprocessor support, CFQ scheduler, all enabled, runs KDE 3.2 on a 2.6.5-love4 kernel. it simply ROCKS! no real stability issues for months now. |
|
Back to top |
|
|
MooktaKiNG Guru
Joined: 11 Nov 2002 Posts: 326 Location: London, UK
|
Posted: Thu Apr 15, 2004 9:59 pm Post subject: |
|
|
venkat wrote: | my system has NPTL, ACPI, APIC uniprocessor support, CFQ scheduler, all enabled, ..... |
OK i've now added CFQ in grub and now i have everything that you have there.
Is there anything else i can do? i'm a performance junkie
I've got my whole system prelinked and using NPTL. i need more!!!!!! _________________ http://www.mooktakim.com
Athlon XP 2001, Giga-Byte GA-7VRXP MB, 640Mb DDR RAM 333MHz, MSI Geforce 4800SE 128Mb DDR, 40x12x48 Liteon CDRW drive, Flower Cooler, ADSL Router |
|
Back to top |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Fri Apr 16, 2004 5:23 am Post subject: |
|
|
MooktaKiNG wrote: | venkat wrote: | my system has NPTL, ACPI, APIC uniprocessor support, CFQ scheduler, all enabled, ..... |
OK i've now added CFQ in grub and now i have everything that you have there.
Is there anything else i can do? i'm a performance junkie
I've got my whole system prelinked and using NPTL. i need more!!!!!! |
4 disk sata raid0 array reiser4? _________________ Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer! |
|
Back to top |
|
|
|