[pypy-issue] [issue884] Diabolical Multicore Thread Performance

David Beazley tracker at bugs.pypy.org
Wed Sep 28 13:37:50 CEST 2011

David Beazley <dave at dabeaz.com> added the comment:

Attached is some benchmark code that can demonstrate the problem with some
socket messaging.

Run the program 'receiver.py' in one process.  Go to another process and run the
program 'sender.py'  (e.g., python sender.py 1000 1024) to blast messages at it.
 Again, the more cores, the worse it gets.

I get similar behavior on both OS-X (both on a quad-core MacPro and MacBook Pro)
and on Linux (8-core Amazon EC2 c1.xlarge instance).

status: unread -> chatting

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list