httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: [PATCH] make SVSEM default on Solaris
Date Tue, 04 Nov 1997 08:32:45 GMT
It occured to me that we could make sysvsem do the same signal
blocking/catching as I'm proposing for pthreads, and doing that we could
skip the SEM_UNDO and get rid of the failure.  So here's timings with this
change:

[35]manganese:~/ap/apachen6/src/test% ./time-SEM 200 10000
      39.912311
[36]manganese:~/ap/apachen6/src/test% ./time-PTHREAD 200 10000
      12.555036
[37]manganese:~/ap/apachen6/src/test% ./time-SEM 100 10000
      19.330466
[38]manganese:~/ap/apachen6/src/test% ./time-PTHREAD 100 10000
       6.575176

It's still a win to do PTHREAD.  This is on the single cpu ultra-1 200Mhz,
256Mb RAM running 2.5.

Oh, weird.  On this 2.5 box I can run 200 children using SEM_UNDO.  I
can't do that on the 2.5.1 box.  Oh joy.  This is seriously crazy. 

Dean


Mime
View raw message