[Zope] Linux vs. UNIX vs. BSD

Oliver Bleutgen myzope@gmx.net
Wed, 21 Aug 2002 00:00:53 +0200


sean.upton@uniontrib.com wrote:


> Though we haven't used it yet, as I understand it, CPU affinity is important
> to Python performance on SMP machines.   I expect that we will write or find
> a simple user-space utility utilizing the new system calls to bind a group
> of processes to a single CPU.  I think, in theory, this will allow us to
> successfully run two Zope instances on an inexpensive 2CPU machine, each
> instance bound to a respective CPU.
> 
Heh, since I was looking at the page today, if you're talking about Robert Loves 

work, you can find it here:
http://www.kernel.org/pub/linux/kernel/people/rml/cpu-affinity/

Very nice, since they have a proc-interface, so all you need is echo.

I haven't tested it, but it sounds nice.

cheers,
oliver