Bruno Haible <br...@clisp.org> writes:

> Collin Funk wrote:
>> I created the virtual machine with 8 cores and 8 GB memory.
>
> Ah, this explains why I never saw this: I create most of my VMs with 1 CPU
> (so that I can run a dozen of them in parallel).

Haha. I use a different strategy I guess. One virtual machine running at
a time with around half the resources of my host machine.

> The first step towards investigating this one is to compare with the
> results of (in a testdir of modules lock, pthread_once, call-once):
>
>   $ time ./test-pthread-once1
>   $ time ./test-pthread-once2
>   $ time ./test-call_once1
>   $ time ./test-call_once2
>
> Then, you might see whether setting ENABLE_DEBUGGING to 1 in the test's
> code reveals a pattern...

Thanks for the advice. I'll do some experimenting and let you know what
I find.

Collin

Reply via email to