[Zope] Re: Zope + Apache on Quad Debian machine

Tres Seaver tseaver at palladion.com
Wed Mar 15 19:38:41 EST 2006


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

Hugo Ramos wrote:
> Yes... But I'm looking for more specific answers about how to create
> the affinity between 1 of the zope processes and the CPU n.2, for
> example...
> How to make that a permanent choice?

That question is not Zope specific -- you would need to modify the start
scripts for your appservers to make whatever kernel / libc-specific
calls are needed (on Solaris, it would be invoking the 'pbind' command).
In the worst case, you would end up writing a wrapper binary which set
the affinity mask and then exec'ed Python.

I don't know what facilities the kernel in your Linux provides for doing
that (and haven't tried on any recent kernels of my own, either).



Tres.
- --
===================================================================
Tres Seaver          +1 202-558-7113          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEGLOR+gerLs4ltQ4RAhMQAJ0bYJ+0Acnbpg011jVsBBivFF3zJACg2hIK
Nw1h0QVMbFr8WqjY/v/v558=
=a1fo
-----END PGP SIGNATURE-----



More information about the Zope mailing list