[Python-ideas] Exploration PEP : Concurrency for moderately massive (4 to 32 cores) multi-core architectures
rhamph at gmail.com
Thu Sep 20 00:27:04 CEST 2007
On 9/19/07, Jim Jewett <jimjjewett at gmail.com> wrote:
> On 9/19/07, Adam Olsen <rhamph at gmail.com> wrote:
> > On 9/19/07, Jim Jewett <jimjjewett at gmail.com> wrote:
> > > On 9/18/07, Brian Granger <ellisonbg.net at gmail.com> wrote:
> > > So far, no one has been able to make these changes without seriously
> > > mangling the C API and/or slowing things down a lot. The current
> > > refcount mechanism is so lightweight that it isn't clear this would
> > > even be possible.
> > Is 60-65% of normal CPython "a lot"?
> Yes, but I think it is still better than the last serious attempt, so
> it would be worth posting patches anyhow.
It's not even comparable to the last serious attempt. Even mere
atomic refcounting has *negative* scalability at two threads when
running pystones. My approach has 95-100% scalability.
Adam Olsen, aka Rhamphoryncus
More information about the Python-ideas