[parisc-linux] nanosleep

Berthold Gunreben b.gunreben@web.de
Fri, 8 Nov 2002 12:16:56 +0100


Hi List,    
    
I tried to compile glibc2.3.1, and have some problems with the threading support there.     
When using perl with the new glibc on a C240, things seem to work without problems. On    
a 715/33, I get (probably) endless loops with lots of sched_yield() calls.    
    
In the Internet, I found the following site:    
http://sources.redhat.com/ml/libc-alpha/2000-02/msg00057.html   
where Andrea Arcangeli fixed a kernel problem with nanosleep on kernel 2.2 and 2.3, and  
also provided a testprogram. Here are the results of my test:  
  
C240: (2.4.19-pa20)  
# ./nanotest & sleep 4; killall nanotest  
[1] 8455  
userspace             15 sec 778496030 nsec  
kernel                15 sec 800000000 nsec  
[1]+  Done                    ./nanotest  
  
715/33: (2.4.17-32)  
# ./nanotest & sleep 4; killall nanotest  
[1] 1840  
userspace             15 sec 422651030 nsec  
kernel                15 sec 450000000 nsec  
[1]+  Done                    ./nanotest  
  
Intel based for reference: (2.4.19)  
# ./nanotest & sleep 4 ; killall nanotest  
[1] 19648  
userspace             15 sec 984455030 nsec  
kernel                15 sec 984477030 nsec  
[1]+  Done                    ./nanotest  
  
Is there a bugfix missing for parisc? 
 
Berthold 
________________________________________________________________
Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! 
Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13