Re: [Zope-dev] Performance enhancements, ZCatalog

2000-12-20 Thread Martijn Pieters

On Wed, Dec 20, 2000 at 12:56:36AM +, 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 )




[Zope-dev] Performance enhancements, ZCatalog

2000-12-19 Thread Jason Spisak

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.

My company is being shopped around and if we get bought I want to convince
the new company that Zope and python and Linux are the way to go.  I need
all the help I can get.

All my best,

Jason Spisak
CIO
__ ___   ____
   / // (_)_/_  __/__ / /  ___  ___  __ _
  / _  / / __/ -_) / / -_) __/ _ \(_-_/ __/ _ \/  ' \
 /_//_/_/_/  \__/_/  \__/\__/_//_/___(_)__/\___/_/_/_/

6151 West Century Boulevard
Suite 900
Los Angeles, CA 90045
P. 310.665.3444
F. 310.665.3544

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.

___
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 )