Hmm, you see the same performance delta that I see.
I think this is something worth looking into for
the follow-on to 2.4.3. Now that hyperthreading and
multi-core processing is here on the PC it would be
nice to see the performance in PDL. Thanks for trying
it out.

--Chris

Sisyphus wrote:
>
> ----- Original Message -----
> From: "Chris Marshall" <[EMAIL PROTECTED]>
> .
> .
> >
> > Some of the reading I did suggested that the
> > pthreads library must come before the c library or
> > that it could be loaded dynamically. I assumed it
> > was being pulled in somehow---because of my initial
> > success with the 2X performance increase.
>
> Once I managed to get the PDL build process to
> link to the pthread library (via a couple of minor
> amendments to Basic/Core/Makefile.PL) then setting
> WITH_POSIX_THREADS => 1 was all I needed to do on
> linux. Running 'perl -Mblib t/pthread.t' revealed
> that threaded and unthreaded took the same amount of
> time (within a few percent).
>
> Cheers,
> Rob
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to