[Twisted-Python] Spawning processes and multiple CPU's.

Cory Dodt corydodt at twistedmatrix.com
Wed Sep 1 14:42:11 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The invocation of an imagemagick process is certainly a candidate for the
kernel to put on a different CPU.  Indeed, that's one of the biggest
advantages of using spawnProcess instead of (well, lots of other things).

C


Matt Feifarek wrote:

| I'm using reactor.spawnProcess to perform some inherently-blocking
| code (imagemagick scripts).
|
| I'm curious if multiple CPU's would help me out. I know that a single
| python (and therefore a single reactor) cannot benefit from multiple
| CPU's, but since the spawn process is a kernel call, will it be sent
| to both processors?
|
| Thanks.
|
| _______________________________________________
| Twisted-Python mailing list
| Twisted-Python at twistedmatrix.com
| http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBNhgD3A5SrXAiHQcRAjWgAJ0R0rgaMRMGMKXKwUgjdS+dYKUozwCgho1c
aKEAcIv0yCee3dv/2IzHvPo=
=K95F
-----END PGP SIGNATURE-----




More information about the Twisted-Python mailing list