Author: Remi Meier <[email protected]> Branch: extradoc Changeset: r5070:2ffa39561b95 Date: 2013-10-14 16:48 +0200 http://bitbucket.org/pypy/extradoc/changeset/2ffa39561b95/
Log: work on stm blog post diff --git a/blog/draft/stm-sept2013.rst b/blog/draft/stm-oct2013.rst rename from blog/draft/stm-sept2013.rst rename to blog/draft/stm-oct2013.rst --- a/blog/draft/stm-sept2013.rst +++ b/blog/draft/stm-oct2013.rst @@ -12,11 +12,11 @@ But that is not all. Right after the sprint, we were able to squeeze the last obvious bugs in the STM-JIT combination. However, the performance -was nowhere near what we want. So until now, we fixed some of the most +was nowhere near to what we want. So until now, we fixed some of the most obvious issues. Many come from RPython erring on the side of caution and e.g. making a transaction inevitable even if that is not strictly necessary, thereby limiting parallelism. -**XXX any interesting details?** +**XXX any interesting details? transaction breaks maybe? guard counters?** There are still many performance issues of various complexity left to tackle. So stay tuned or contribute :) @@ -24,23 +24,42 @@ show you some numbers that are indicative of things to come. Our set of STM benchmarks is very small unfortunately (something you can help us out with), so this is -not representative of real-world performance. +not representative of real-world performance. We tried to +minimize the effect of JIT warm-up in the benchmark results. + **Raytracer** from `stm-benchmarks <https://bitbucket.org/Raemi/stm-benchmarks/src>`_: -Render times for a 1024x1024 image using 6 threads +Render times in seconds for a 1024x1024 image using 8 threads: +-------------+----------------------+ | Interpeter | Time (no-JIT / JIT) | +=============+======================+ -| PyPy-2.1 | ... / ... | +| PyPy-2.1 | 148 / 2.56 | +-------------+----------------------+ -| CPython | ... / - | +| CPython | 73.4 / - | +-------------+----------------------+ -| PyPy-STM | ... / ... | +| PyPy-STM | 87.0 / 10.8 | +-------------+----------------------+ -**XXX same for Richards** +For comparison, the 3 interpreters in their best settings running +single-threaded: 2.47, 81.1, 50.2 +**Richards** from `PyPy repository on the stmgc-c4 +branch <https://bitbucket.org/pypy/pypy/commits/branch/stmgc-c4>`_: +Average time per iteration in milliseconds using 8 threads: + ++-------------+----------------------+ +| Interpeter | Time (no-JIT / JIT) | ++=============+======================+ +| PyPy-2.1 | 492 / 15.4 | ++-------------+----------------------+ +| CPython | 237 / - | ++-------------+----------------------+ +| PyPy-STM | 538 / 116 | ++-------------+----------------------+ + +For comparison, the 3 interpreters in their best settings running +single-threaded: 15.6, 239, 371 All this can be found in the `PyPy repository on the stmgc-c4 branch <https://bitbucket.org/pypy/pypy/commits/branch/stmgc-c4>`_. @@ -50,3 +69,5 @@ You can also download a prebuilt binary frome here: **XXX** + + _______________________________________________ pypy-commit mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-commit
