Re: test-lock taking a long time?

2012-03-06 Thread Eric Blake
On 01/25/2012 02:45 AM, Jim Meyering wrote: > Simon Josefsson wrote: > >> Has anyone noticed that test-lock takes a long time to complete on some >> systems? On my laptop it is fast: > ... >> However on a otherwise idle machine with 2xE5520's (resulting in 16 >> virtual CPUs), it takes much longe

Re: test-lock taking a long time?

2012-01-25 Thread Bruno Haible
Hi Simon, > Has anyone noticed that test-lock takes a long time to complete on some > systems? Yes, on Solaris 11 for example it is particularly slow. > Is there some scaling in the test that makes it take longer for > multi-cpu machines? I didn't see any from a quick look. No, the test has a

Re: test-lock taking a long time?

2012-01-25 Thread Simon Josefsson
Jim Meyering writes: > Hi Simon, > Yes, I have seen precisely that problem, and it prompted this change in iwhd: Thanks for confirmation, I've installed the same work-around in GnuTLS now. /Simon

Re: test-lock taking a long time?

2012-01-25 Thread Jim Meyering
Simon Josefsson wrote: > Has anyone noticed that test-lock takes a long time to complete on some > systems? On my laptop it is fast: ... > However on a otherwise idle machine with 2xE5520's (resulting in 16 > virtual CPUs), it takes much longer: > > jas@leo:~/gnutls-3.0.12/gl/tests$ time ./test-l

test-lock taking a long time?

2012-01-25 Thread Simon Josefsson
Has anyone noticed that test-lock takes a long time to complete on some systems? On my laptop it is fast: jas@latte:~/src/gnutls/gl/tests master$ time ./test-lock Starting test_lock ... OK Starting test_rwlock ... OK Starting test_recursive_lock ... OK Starting test_once ... OK real0m1.724s