[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nptl] Re: SCHED_RR issue




> I just executed some additional tests on the 2x IA32 box:
> 
> (*) Suse 9 base (kernel 2.4.x, libpthreads = linuxthreads I think)
>  -> "./test 1 1" doesn't even start; have to kill with ctrl-c (won't
> timeout)
> 
> (*) Suse 9 (linuxthreads) + kernel 2.6.8.1
>  -> "./test 1 1" doesn't even start (same as previous)
> 
> (*) Suse 9 + kernel 2.6.8.1 + recent glibc (with NPTL)
>  -> Same results as with FC2 (i.e. timeout)

Hmm... with LinuxThreads things are a bit different because 
of the so-called manager thread. And the signalling stuff.
And the getpid() stuff... And surely many other stuffs, too.
Definitively need to look more closely at it!  


> So it looks like the distrib is not influent, only kernel + libc is
> important (I thought at first that only the kernel was influent).

Accordingly to: 
http://www-uxsup.csx.cam.ac.uk/suse/adminguide/ch02s02.html

NPTL is the default library on SuSE 9.1. You might switch back 
to LinuxThreads in a same fashion than on RH-based distro. 


A+
Loic.

-- 
--
// Sender address goes to /dev/null (!!) 
// Use my 32/64 bits, ANSI C89, compliant email-address instead:   

unsigned y[]=
{0,34432,26811,16721,41866,63119,61007,48155,26147,10986};
void x(z){putchar(z);}; unsigned t; 
main(i){if(i<10){t=(y[i]*47560)%65521;x(t>>8);x(t&255);main(++i);}}

NEU: GMX ProMail mit bestem Virenschutz http://www.gmx.net/de/go/mail
+++ Empfehlung der Redaktion +++ Internet Professionell 10/04 +++

Liste de diffusion nptl
Pour se désinscrire : mailto:nptl_request@bullopensource.org?subject=unsubscribe