httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <>
Subject Re: Accept locking test code strangeness
Date Wed, 10 Oct 2001 18:56:29 GMT
On Wed, Oct 10, 2001 at 11:41:18AM -0700, Justin Erenkrantz wrote:
> > Anyway, Justin, thanks for the warning that pthread locking on linux doesn't
> > actually work. It would have led me astray to no end.
> One suggestion I might make is to use Aaron's testlockperf in APR under
> the test directory.  You may have less problems with that if you want
> to test raw locking performance.

Those are really just a clone of the Richard Stevens tests ported to
the two APR lock APIs, which IIRC Sander was going to run those also.
Make sure to try testlockperf with and without pthread_setconcurrency()
to make sure you aren't starving the other CPUs.


View raw message