<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000066">
<font size="-1"><font face="Verdana">Just reading along...<br>
<br>
At the OS view, would dual cores balance the Linux overhead on one CPU
and python/zope on the other, based on resources required.&nbsp; <br>
<br>
In other words, would the second core allow python to go faster, not
having to deal with the various OS and distro tools (apache, squid,
pound, mailman, etc.)&nbsp; overhead items.&nbsp; Does the mechanism governing
multiple cores separate/allocate processes by resources needed?&nbsp; ...
and does a python/zope process get evaluated as a "heavyweight"
process, maybe getting allocated the lion's share of a single core.<br>
<br>
It seems that the whole world of&nbsp; multiple cores CPUs will be upon us
very quickly now.&nbsp; The ZEO Server on one, ZEO Client on the other is a
good answer.&nbsp; Just wondering if there are any other advantages of
python being the way it is, in the mix.<br>
<br>
Great discussion for me, thanks,<br>
<br>
-Jon<br>
<br>
<br>
</font></font><br>
Alec Mitchell wrote:
<blockquote
 cite="mid365118370601102028x2ca6bab9n59987c91b8db35ff@mail.gmail.com"
 type="cite">
  <pre wrap="">On 1/9/06, Andreas Jung <a class="moz-txt-link-rfc2396E" href="mailto:lists@andreas-jung.com">&lt;lists@andreas-jung.com&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">
--On 9. Januar 2006 21:38:15 -0800 David H <a class="moz-txt-link-rfc2396E" href="mailto:bluepaul@earthlink.net">&lt;bluepaul@earthlink.net&gt;</a> wrote:

    </pre>
    <blockquote type="cite">
      <pre wrap="">Hi list,

Im just wondering what the wisdom is about Zope performance and various
CPU types.  I'm running Zope on Linux (Ubuntu). I notice that Dell is
selling  a "dual-core" Pentium unit.  But I have no idea if something
like "dual core"  is advantegous to Zope, python execution or one's
favorite RDMS.


      </pre>
    </blockquote>
    <pre wrap="">A single Python process also a multi-threaded Python application can never
run on multiple CPUs. Multiple CPUs, cores etc. together with Python make
only sense when you run multiple Python processes e.g. multiple ZEO clients
or ZEO client + ZEO server. For standalone Zope instance dual-core  CPU
give you nothing.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I'm probably stating the obvious here, but a ZEO server + at least one
ZEO client is generally advisable at the very least for debugging
purposes, in which case dual CPUs/cores can be somewhat helpful
(though the zeo server is not terribly processor intesive in my
experience).  Even with a non-ZEO setup, dual cores could obviously be
helpful if you were running other cpu intensive processes like an
RDBMS on the same system.

Alec
_______________________________________________
Zope maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:Zope@zope.org">Zope@zope.org</a>
<a class="moz-txt-link-freetext" href="http://mail.zope.org/mailman/listinfo/zope">http://mail.zope.org/mailman/listinfo/zope</a>
**   No cross posts or HTML encoding!  **
(Related lists - 
 <a class="moz-txt-link-freetext" href="http://mail.zope.org/mailman/listinfo/zope-announce">http://mail.zope.org/mailman/listinfo/zope-announce</a>
 <a class="moz-txt-link-freetext" href="http://mail.zope.org/mailman/listinfo/zope-dev">http://mail.zope.org/mailman/listinfo/zope-dev</a> )

  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Jonathan Cyr
<a class="moz-txt-link-freetext" href="http://www.cyr.info">http://www.cyr.info</a>
<a class="moz-txt-link-freetext" href="http://www.weddingweblog.com">http://www.weddingweblog.com</a>
<a class="moz-txt-link-abbreviated" href="mailto:cyrj@cyr.info">cyrj@cyr.info</a></pre>
</body>
</html>