On Wed, Dec 20, 2000 at 12:56:36AM +0000, Jason Spisak wrote:
> ZCatalog enthusiasts,
> 
> I just upgraded our zope installation from 2.1.6 to 2.2.4, and the ZCatalog
> performance is aweful.  Can someone remind me what the command for speeding
> up python on a dual processor machine is?  python -T?  I'm looking for any
> way to speed this up.  I have a text index with 47,000 objects and a search
> takes about 15-18 seconds, hardly what we were used to.  It used to be 2
> second tops.

That's z2.py -i:

  -i n

    Set the interpreter check interval. This integer value
    determines how often the interpreter checks for periodic things
    such as thread switches and signal handlers. The Zope default
    is 120, but you may want to experiment with other values that
    may increase performance in your particular environment.

Increase or decrease the number n and play with ab or some other load
testing tool....

-- 
Martijn Pieters
| Software Engineer  mailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
---------------------------------------------

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to