Hi,

I just wanted to let you know the numbers I got on a 32 core server.

1 thread: 3280 ms
4 threads: 2665 ms
8 threads: 2976 ms
16 threads: 2878 ms
32 threads: 2714 ms

Chris

On Thu, Feb 16, 2012 at 3:58 PM, Armin Rigo <ar...@tunes.org> wrote:

> Hi all,
>
> An update for STM: today I managed to build a pypy using the new "stm
> gc".  It runs richards.py on tannit:
>
> in 1 thread: 2320 ms per iteration
> in 2 threads: 1410 ms per iteration
> in 4 threads: 785 ms per iteration
> in 8 threads: 685 ms per iteration
>
> The small gap between 4 and 8 threads is due to tannit having only 4
> "real" cpus, each one hyperthreaded.  The additional gain is thus
> smaller than expected.
>
> For comparison, a "pypy --jit off" runs at 650ms per iteration.  So
> the single-threaded performance is already at only 3.6x worse, and
> moreover there are still a few easy big-win optimizations.  I will
> confirm it in a few days, but I would say that this shows it's working
> quite well. :-)
>
> At least, it's fun to see in "top" a single pypy process using 397% cpu :-)
>
> For people interested, it is in the "stm-gc" branch; at least
> bba9b03f5e70 works.  Linux-only for now:  " translate.py -O1 --stm
> targetpypystandalone --no-allworkingmodules --withmod-transaction
> --withmod-select --withmod-_socket ".  The modified version of
> richards.py I use is in pypy/translator/stm/test/.
>
>
> A bientôt,
>
> Armin.
> _______________________________________________
> pypy-dev mailing list
> pypy-dev@python.org
> http://mail.python.org/mailman/listinfo/pypy-dev
>
>
> --
> BEGIN-ANTISPAM-VOTING-LINKS
> ------------------------------------------------------
>
> Teach CanIt if this mail (ID 616300255) is spam:
> Spam:
> https://www.spamtrap.odu.edu/b.php?i=616300255&m=343fb35e7bff&t=20120216&c=s
> Not spam:
> https://www.spamtrap.odu.edu/b.php?i=616300255&m=343fb35e7bff&t=20120216&c=n
> Forget vote:
> https://www.spamtrap.odu.edu/b.php?i=616300255&m=343fb35e7bff&t=20120216&c=f
> ------------------------------------------------------
> END-ANTISPAM-VOTING-LINKS
>
>
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to