Hi, This is my first message to the list... I'm currently running Zope 2.1.6 + Apache 1.3.12 (with proxycache). The system is a Solaris 5.6 on a E450 with 2GB Ram and 2 X 450mhz... The Zope is running with Apache, using the ProxyCache and SiteAccess to convert all requests from port 8080 to 80. My problem is: The system is *too slowly*! Does anyone know how to optimize the Zope to run quicker? Is there anything wrong with this configuration?? Thanks a lot, Christiano Anderson
Hi Christiano (nice first message... :) ) First of all, lets define slow. What does slow mean? Have you tested it with AB (apachebench)? You sure it is not your connection? Watched it in TOP? My guess is that with 2.1.6 (straight) on that system you should be able to get about 200 requests per second which is not SLOW at all. Check your Apache, Proxycache and SiteAccess my guess it is there. Turn off debugging. Upgrade to 2.2.1 (60% faster on dual processors). Take a look at http://www.zope.org/Members/BwanaZulia/benchmarks.html to get an idea of what you system should be doing. Just some suggestions. J
From: Christiano Anderson <neptune@zaz.com.br> Date: Thu, 17 Aug 2000 11:12:00 -0300 (BRT) To: zope@zope.org Subject: [Zope] Zope is very slow!
Hi,
This is my first message to the list...
I'm currently running Zope 2.1.6 + Apache 1.3.12 (with proxycache). The system is a Solaris 5.6 on a E450 with 2GB Ram and 2 X 450mhz...
The Zope is running with Apache, using the ProxyCache and SiteAccess to convert all requests from port 8080 to 80.
My problem is: The system is *too slowly*!
Does anyone know how to optimize the Zope to run quicker? Is there anything wrong with this configuration??
Thanks a lot,
Christiano Anderson
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Upgrade to 2.2.1 (60% faster on dual processors).
Really? I didnt see anything about this in the Changes file... has something else changed I didnt see? I noticed that 2.1.6 wasnt making the best use of dual processors. -- Andy McKay, Developer, ActiveState http://www.ActiveState.com Programming for the People
Andy McKay wrote:
Upgrade to 2.2.1 (60% faster on dual processors).
Really? I didnt see anything about this in the Changes file... has something else changed I didnt see? I noticed that 2.1.6 wasnt making the best use of dual processors.
I thought only ZEO would make good use fo dual processors? Chris
I am pretty sure (61%) that in the original release of 2.2.0 there was something about a speed increase. One talked about on single processor (20-40%) and the other was dual processor (60-80%). It partly has to do with that "one line of magic code" in the z2.py. Ethan? Paul? DC? Care to shed some light? J
From: Chris Withers <chrisw@nipltd.com> Organization: New Information Paradigms Date: Thu, 17 Aug 2000 17:15:57 +0100 To: Andy McKay <AndyM@activestate.com> Cc: "J. Atwood" <jatwood@bwanazulia.com>, zope@zope.org Subject: Re: [Zope] Zope is very slow!
Andy McKay wrote:
Upgrade to 2.2.1 (60% faster on dual processors).
Really? I didnt see anything about this in the Changes file... has something else changed I didnt see? I noticed that 2.1.6 wasnt making the best use of dual processors.
I thought only ZEO would make good use fo dual processors?
Chris
We did some pretty heavy performance testing of a particar application comparing 2.1.6 and 2.2.0 and 2.2.0 was slower in most cases. The testing was done on a Celeron533 128Meg RAM running RH6.1. terry "J. Atwood" wrote:
I am pretty sure (61%) that in the original release of 2.2.0 there was something about a speed increase. One talked about on single processor (20-40%) and the other was dual processor (60-80%). It partly has to do with that "one line of magic code" in the z2.py.
Ethan? Paul? DC? Care to shed some light?
J
From: Chris Withers <chrisw@nipltd.com> Organization: New Information Paradigms Date: Thu, 17 Aug 2000 17:15:57 +0100 To: Andy McKay <AndyM@activestate.com> Cc: "J. Atwood" <jatwood@bwanazulia.com>, zope@zope.org Subject: Re: [Zope] Zope is very slow!
Andy McKay wrote:
Upgrade to 2.2.1 (60% faster on dual processors).
Really? I didnt see anything about this in the Changes file... has something else changed I didnt see? I noticed that 2.1.6 wasnt making the best use of dual processors.
I thought only ZEO would make good use fo dual processors?
Chris
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Terry Kerr (terry@adroit.net) Adroit Internet Solutions Pty Ltd (www.adroit.net) Phone: +613 9563 4461 Fax: +613 9563 3856 Mobile: +61 414 938 124 ICQ: 79303381
How many processors? -- Andy McKay, Developer, ActiveState http://www.ActiveState.com Programming for the People ----- Original Message ----- From: "Terry Kerr" <terry@adroit.net> To: "J. Atwood" <jatwood@bwanazulia.com>; <zope@zope.org> Sent: Thursday, August 17, 2000 4:14 PM Subject: Re: [Zope] Zope is very slow!
We did some pretty heavy performance testing of a particar application comparing 2.1.6 and 2.2.0 and 2.2.0 was slower in most cases. The testing was done on a Celeron533 128Meg RAM running RH6.1.
terry
"J. Atwood" wrote:
I am pretty sure (61%) that in the original release of 2.2.0 there was something about a speed increase. One talked about on single processor (20-40%) and the other was dual processor (60-80%). It partly has to do with that "one line of magic code" in the z2.py.
Ethan? Paul? DC? Care to shed some light?
J
From: Chris Withers <chrisw@nipltd.com> Organization: New Information Paradigms Date: Thu, 17 Aug 2000 17:15:57 +0100 To: Andy McKay <AndyM@activestate.com> Cc: "J. Atwood" <jatwood@bwanazulia.com>, zope@zope.org Subject: Re: [Zope] Zope is very slow!
Andy McKay wrote:
Upgrade to 2.2.1 (60% faster on dual processors).
Really? I didnt see anything about this in the Changes file... has
something
else changed I didnt see? I noticed that 2.1.6 wasnt making the best use of dual processors.
I thought only ZEO would make good use fo dual processors?
Chris
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Terry Kerr (terry@adroit.net) Adroit Internet Solutions Pty Ltd (www.adroit.net) Phone: +613 9563 4461 Fax: +613 9563 3856 Mobile: +61 414 938 124 ICQ: 79303381
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
one! Andy McKay wrote:
How many processors?
-- Andy McKay, Developer, ActiveState http://www.ActiveState.com Programming for the People
----- Original Message ----- From: "Terry Kerr" <terry@adroit.net> To: "J. Atwood" <jatwood@bwanazulia.com>; <zope@zope.org> Sent: Thursday, August 17, 2000 4:14 PM Subject: Re: [Zope] Zope is very slow!
We did some pretty heavy performance testing of a particar application comparing 2.1.6 and 2.2.0 and 2.2.0 was slower in most cases. The testing was done on a Celeron533 128Meg RAM running RH6.1.
terry
"J. Atwood" wrote:
I am pretty sure (61%) that in the original release of 2.2.0 there was something about a speed increase. One talked about on single processor (20-40%) and the other was dual processor (60-80%). It partly has to do with that "one line of magic code" in the z2.py.
Ethan? Paul? DC? Care to shed some light?
J
From: Chris Withers <chrisw@nipltd.com> Organization: New Information Paradigms Date: Thu, 17 Aug 2000 17:15:57 +0100 To: Andy McKay <AndyM@activestate.com> Cc: "J. Atwood" <jatwood@bwanazulia.com>, zope@zope.org Subject: Re: [Zope] Zope is very slow!
Andy McKay wrote:
Upgrade to 2.2.1 (60% faster on dual processors).
Really? I didnt see anything about this in the Changes file... has
something
else changed I didnt see? I noticed that 2.1.6 wasnt making the best use of dual processors.
I thought only ZEO would make good use fo dual processors?
Chris
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Terry Kerr (terry@adroit.net) Adroit Internet Solutions Pty Ltd (www.adroit.net) Phone: +613 9563 4461 Fax: +613 9563 3856 Mobile: +61 414 938 124 ICQ: 79303381
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Terry Kerr (terry@adroit.net) Adroit Internet Solutions Pty Ltd (www.adroit.net) Phone: +613 9563 4461 Fax: +613 9563 3856 Mobile: +61 414 938 124 ICQ: 79303381
Hi J, Thanks a lot for replying my message! :) Do you have any example of the best Apache and ProxyCache configuration to running zope? My configuration looks like this: <IfModule mod_proxy.c> ProxyRequests On #ProxyReceiveBufferSize 65536 ProxyReceiveBufferSize 0 CacheRoot "/www/proxycache" CacheSize 5000 CacheGcInterval 1 CacheMaxExpire 48 CacheLastModifiedFactor 0.1 CacheDefaultExpire 5 ProxyPass /paginas/ http://200.xxx.xxx.xxx:8080/ ProxyPass /p_/ http://200.xxx.xxx.xxx:8080/p_/ ProxyPass /misc_/ http://200.xxx.xxx.xxx:8080/misc_/ ProxyPassReverse /paginas/ http://200.xxx.xxx.xxx:8080/ ProxyPassReverse /p_/ http://200.xxx.xxx.xxx:8080/p_/ ProxyPassReverse /misc_/ http://200.xxx.xxx.xxx:8080/misc_/ The TOP result is: Memory: 2048M real, 524M free, 7184K swap in use, 2041M swap free PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND 8035 nobody 11 31 0 13M 13M cpu0 174:10 29.70% python Only the Zope pages are slowly... The Apache is working properly... Thanks a lot for any help, Christiano On Thu, 17 Aug 2000, J. Atwood wrote:
Hi Christiano (nice first message... :) )
First of all, lets define slow. What does slow mean? Have you tested it with AB (apachebench)? You sure it is not your connection? Watched it in TOP? My guess is that with 2.1.6 (straight) on that system you should be able to get about 200 requests per second which is not SLOW at all.
Check your Apache, Proxycache and SiteAccess my guess it is there.
Turn off debugging.
Upgrade to 2.2.1 (60% faster on dual processors).
Take a look at
http://www.zope.org/Members/BwanaZulia/benchmarks.html to get an idea of what you system should be doing.
Just some suggestions.
J
From: Christiano Anderson <neptune@zaz.com.br> Date: Thu, 17 Aug 2000 11:12:00 -0300 (BRT) To: zope@zope.org Subject: [Zope] Zope is very slow!
Hi,
This is my first message to the list...
I'm currently running Zope 2.1.6 + Apache 1.3.12 (with proxycache). The system is a Solaris 5.6 on a E450 with 2GB Ram and 2 X 450mhz...
The Zope is running with Apache, using the ProxyCache and SiteAccess to convert all requests from port 8080 to 80.
My problem is: The system is *too slowly*!
Does anyone know how to optimize the Zope to run quicker? Is there anything wrong with this configuration??
Thanks a lot,
Christiano Anderson
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
I have limited experience with ProxyPass. I have many Zope installations (2.1.4, 2.1.6, 2.2.0b2, 2.2.0) on all sorts of different hardware configurations (all RH Linux) and non of them are slow. Most are running just plain ZServer but one (and the most hit) is running behind Apache with Zope.cgi. I suggest trying that and seeing if it makes a difference. J
From: Christiano Anderson <neptune@zaz.com.br> Date: Thu, 17 Aug 2000 14:36:42 -0300 (BRT) To: "J. Atwood" <jatwood@bwanazulia.com> Cc: zope@zope.org Subject: Re: [Zope] Zope is very slow!
Hi J,
Thanks a lot for replying my message! :)
Do you have any example of the best Apache and ProxyCache configuration to running zope?
My configuration looks like this:
<IfModule mod_proxy.c> ProxyRequests On #ProxyReceiveBufferSize 65536 ProxyReceiveBufferSize 0 CacheRoot "/www/proxycache" CacheSize 5000 CacheGcInterval 1 CacheMaxExpire 48 CacheLastModifiedFactor 0.1 CacheDefaultExpire 5 ProxyPass /paginas/ http://200.xxx.xxx.xxx:8080/ ProxyPass /p_/ http://200.xxx.xxx.xxx:8080/p_/ ProxyPass /misc_/ http://200.xxx.xxx.xxx:8080/misc_/ ProxyPassReverse /paginas/ http://200.xxx.xxx.xxx:8080/ ProxyPassReverse /p_/ http://200.xxx.xxx.xxx:8080/p_/ ProxyPassReverse /misc_/ http://200.xxx.xxx.xxx:8080/misc_/
The TOP result is:
Memory: 2048M real, 524M free, 7184K swap in use, 2041M swap free
PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND 8035 nobody 11 31 0 13M 13M cpu0 174:10 29.70% python
Only the Zope pages are slowly... The Apache is working properly...
Thanks a lot for any help,
Christiano
On Thu, 17 Aug 2000, J. Atwood wrote:
Hi Christiano (nice first message... :) )
First of all, lets define slow. What does slow mean? Have you tested it with AB (apachebench)? You sure it is not your connection? Watched it in TOP? My guess is that with 2.1.6 (straight) on that system you should be able to get about 200 requests per second which is not SLOW at all.
Check your Apache, Proxycache and SiteAccess my guess it is there.
Turn off debugging.
Upgrade to 2.2.1 (60% faster on dual processors).
Take a look at
http://www.zope.org/Members/BwanaZulia/benchmarks.html to get an idea of what you system should be doing.
Just some suggestions.
J
From: Christiano Anderson <neptune@zaz.com.br> Date: Thu, 17 Aug 2000 11:12:00 -0300 (BRT) To: zope@zope.org Subject: [Zope] Zope is very slow!
Hi,
This is my first message to the list...
I'm currently running Zope 2.1.6 + Apache 1.3.12 (with proxycache). The system is a Solaris 5.6 on a E450 with 2GB Ram and 2 X 450mhz...
The Zope is running with Apache, using the ProxyCache and SiteAccess to convert all requests from port 8080 to 80.
My problem is: The system is *too slowly*!
Does anyone know how to optimize the Zope to run quicker? Is there anything wrong with this configuration??
Thanks a lot,
Christiano Anderson
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Christiano Anderson wrote:
The TOP result is:
Memory: 2048M real, 524M free, 7184K swap in use, 2041M swap free
PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND 8035 nobody 11 31 0 13M 13M cpu0 174:10 29.70% python
30% seems qutie high to me. What are your Zope pages doing and how many people are hitting them? Cheers, Chris
30% is not bad... depends on what it is doing and for how much time. My experience is that it can pop up to as much as 90% (on a slower CPU like 166 Mhz) but only for a split second. At idle (no one doing anything) it should be using no CPU. PID USER PRI NI TSIZE SIZE SWAP RSS SHARE STAT LIB %CPU %MEM CTIME COMMAND 23344 nobody 0 0 403 58876 1284 56M 1280 S 0 0.0 22.3 22:33 python 23347 nobody 0 0 403 58876 1284 56M 1280 S 0 0.0 22.3 0:00 python 23348 nobody 0 0 403 58876 1284 56M 1280 S 0 0.0 22.3 23:46 python 23349 nobody 0 0 403 58876 1284 56M 1280 S 0 0.0 22.3 16:47 python 23350 nobody 0 0 403 58876 1284 56M 1280 S 0 0.0 22.3 28:55 python 23351 nobody 0 0 403 58876 1284 56M 1280 S 0 0.0 22.3 12:24 python Like that. J
From: Chris Withers <chrisw@nipltd.com> Organization: New Information Paradigms Date: Thu, 17 Aug 2000 18:54:17 +0100 To: Christiano Anderson <neptune@zaz.com.br> Cc: "J. Atwood" <jatwood@bwanazulia.com>, zope@zope.org Subject: Zope appears to be busy ;-)
Christiano Anderson wrote:
The TOP result is:
Memory: 2048M real, 524M free, 7184K swap in use, 2041M swap free
PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND 8035 nobody 11 31 0 13M 13M cpu0 174:10 29.70% python
30% seems qutie high to me.
What are your Zope pages doing and how many people are hitting them?
Cheers,
Chris
Christiano Anderson wrote:
Do you have any example of the best Apache and ProxyCache configuration to running zope?
My configuration looks like this:
<IfModule mod_proxy.c> ProxyRequests On #ProxyReceiveBufferSize 65536 ProxyReceiveBufferSize 0 CacheRoot "/www/proxycache" CacheSize 5000 CacheGcInterval 1 CacheMaxExpire 48 CacheLastModifiedFactor 0.1 CacheDefaultExpire 5 ProxyPass /paginas/ http://200.xxx.xxx.xxx:8080/ ProxyPass /p_/ http://200.xxx.xxx.xxx:8080/p_/ ProxyPass /misc_/ http://200.xxx.xxx.xxx:8080/misc_/ ProxyPassReverse /paginas/ http://200.xxx.xxx.xxx:8080/ ProxyPassReverse /p_/ http://200.xxx.xxx.xxx:8080/p_/ ProxyPassReverse /misc_/ http://200.xxx.xxx.xxx:8080/misc_/
afaik this is far larger than you need. First, i've started using rewrite rules as i find it far more flexible. For Zope.org, in lieu of ProxyPass & ProxyPassReverse I just use: RewriteRule / http://www.zope.org:xxxx [L,P] If you've got the SiteAccess set up correctly (i.e. it reads http://xxx.xxx.xxx/paginas/ ) then you should have no problems. ProxyPassReverse is, as far as I can discern from the apache docs, completely superfluous for Zope. Hope that helps, -- ethan mindlace fremen Zopatista Community Liason Abnegate I!
participants (6)
-
Andy McKay -
Chris Withers -
Christiano Anderson -
ethan mindlace fremen -
J. Atwood -
Terry Kerr