OPS performance problem

classic Classic list List threaded Threaded
8 messages Options
hcr
Reply | Threaded
Open this post in threaded view
|

OPS performance problem

hcr
Hi.
   I use OPS to develop a B/S Application. Then, I have a performance problem: The Application is slow, slow...
   The Application argument is that:
1. Record number: 30;
2. Filed number of each record: 40; (so, there are 1600 xforms:input or select)
3. Total Time:    20s
4. OPS init Time: <1s
5. Generator Busniess-Data: 2s
6. XForms epilogue.xpl and others: 17s
7. XForms Page Size: 40k
8. Generated HTML Page: 660k
9. Client and Server machine configuration, CPU: AMD 2000+ 1.5G, Memory: 1G  
 
   Throw a exception: java heap overflow, when open twice or third that page. 
 
   This perforance is badly. Is this OPS performance problem? Or, I can not use OPS with this method?
 



女 友 9 9 元 b u y 的 新 款 O N L Y
秋 冬 女 人 精 品 女 装 全 场 火 热 促 销 2 9 元 - 1 9 9 元 , 抢 呀 ( 图 )

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: OPS performance problem

Adrian Baker
How much memory are you allocating to the VM? If you're running out of memory you may just need to increase the VM size.

Also the very first time the the epilogue runs, there's a fairly noticeably delay which you don't see for subsequent requests (for any form).

Finally, 1600 inputs is a very large form! Bigger forms will be slower to display. Are these inputs really all on the screen at the same time?

Adrian

hechengrong wrote:
Hi.
   I use OPS to develop a B/S Application. Then, I have a performance problem: The Application is slow, slow...
   The Application argument is that:
1. Record number: 30;
2. Filed number of each record: 40; (so, there are 1600 xforms:input or select)
3. Total Time:    20s
4. OPS init Time: <1s
5. Generator Busniess-Data: 2s
6. XForms epilogue.xpl and others: 17s
7. XForms Page Size: 40k
8. Generated HTML Page: 660k
9. Client and Server machine configuration, CPU: AMD 2000+ 1.5G, Memory: 1G  
 
   Throw a exception: java heap overflow, when open twice or third that page. 
 
   This perforance is badly. Is this OPS performance problem? Or, I can not use OPS with this method?
 



女 友 9 9 元 b u y 的 新 款 O N L Y
秋 冬 女 人 精 品 女 装 全 场 火 热 促 销 2 9 元 - 1 9 9 元 , 抢 呀 ( 图 )

-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: OPS performance problem

Leonardo-6
In reply to this post by hcr
Hi, which is your application server?


Best reguards
Leonardo

hechengrong ha scritto:

> Hi.
> I use OPS to develop a B/S Application. Then, I have a performance
> problem: The Application is slow, slow...
> The Application argument is that:
> 1. Record number: 30;
> 2. Filed number of each record: 40; (so, there are 1600 xforms:input
> or select)
> 3. Total Time: 20s
> 4. OPS init Time: <1s
> 5. Generator Busniess-Data: 2s
> 6. XForms epilogue.xpl and others: 17s
> 7. XForms Page Size: 40k
> 8. Generated HTML Page: 660k
> 9. Client and Server machine configuration, CPU: AMD 2000+ 1.5G,
> Memory: 1G
> Throw a exception: java heap overflow, when open twice or third that
> page.
> This perforance is badly. Is this OPS performance problem? Or, I can
> not use OPS with this method?
>
>
>
> 女 友 9 9 元 b u y 的 新 款 O N L Y
> 秋 冬 女 人 精 品女 装 全 场 火 热 促 销 2 9 元 - 1 9 9 元 , 抢 呀 (
> 图 )
> <http://adtaobao.allyes.com/main/adfclick?db=adtaobao&bid=600,597,58&cid=29985,198,1&sid=32501&show=ignore&url=http://www.taobao.com/vertical/lady/body_24.php>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  

--
Ing. Leonardo Reale

QUIX S.r.l.

Strada Statale 413, 160/162
41019 - Soliera (MO)
Loc.Appalto - ITALY
Tel. 0039 059 565388
Fax. 0039 059 565322

[hidden email]
[hidden email]





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Beta

Øystein Efterdal
Where do I find the 3.5 package ? 
And what app server is best off JBoss and Tomcat ? 

Med vennlig hilsen
Øystein Efterdal

Inncom Riktig løsning - Rett pris
Din Ventelo/BlueCom forhandler

Direkte   : 93 41 90 70   Sentralbord : 69 24 29 50
Telefaks : 93 17 69 55   www.inncom.no




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Beta

Henrik Pettersen
Øystein,

use a nightly build instead:
http://www.orbeon.com/ops/doc/integration-development

JBoss is a fulll-fledged J2EE server and Tomcat is just a servlet
container, so comparing the two is a bit like comparing apples and
oranges. The answer is, it depends on the technology stack you choose
for your application.

Personally, I prefer Tomcat over a J2EE server:
1. Tomcat is a much smaller container/application than JBoss, and less
complicated.
2. Many features found in the J2EE technology stack, can also be found
in the Spring framework (http://www.springframework.org/) + Hibernate.

Hope this helps.

Henrik

On 12/6/06, Øystein Efterdal <[hidden email]> wrote:

> Where do I find the 3.5 package ?
> And what app server is best off JBoss and Tomcat ?
>
>
> Med vennlig hilsen
> Øystein Efterdal
>
> Inncom Riktig løsning - Rett pris
> Din Ventelo/BlueCom forhandler
>
> Direkte   : 93 41 90 70   Sentralbord : 69 24 29 50
> Telefaks : 93 17 69 55   www.inncom.no
>
>
>
> --
> You receive this message as a subscriber of the [hidden email]
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Beta

Erik Bruchez
Administrator
In reply to this post by Øystein Efterdal
Øystein Efterdal wrote:

> Where do I find the 3.5 package ?

Orbeon Forms 3.5 is not out yet. We have a milestone release, 3.5 M1,
which is available from here:

   http://forge.objectweb.org/project/showfiles.php?group_id=168

Or, you can use a nightly build:

   http://forge.objectweb.org/nightlybuilds/ops/ops/

> And what app server is best off JBoss and Tomcat ?

As Henrik explained, unless you really need JBoss, use the more
lightweight Tomcat.

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: OPS performance problem

Erik Bruchez
Administrator
In reply to this post by hcr
1600 inputs fields is quite a lot for a single page. Still, 17s is
very long!

First, check this page:

  http://www.orbeon.com/ops/doc/integration-tuning

Check your Java heap and make sure it is allowed to grow to a
reasonable size (500 MB, 1 GB). If your network bandwidth is small, be
sure to enable gzip compression in your servlet container or web
server. Use something like JMeter and make sure your VM is warmed up
before gathering numbers.

Are all the controls visible at the same time? We have recently been
working on an optimization for non-relevant controls which you can
enable with a property in recent builds:

  <property as="xs:boolean" name="oxf.xforms.optimize-relevance"
value="true"/>

Also try to reduce slightly the XPath cache, for example:

  <property as="xs:integer" name="oxf.cache.xpath.size" value="600"/>

Finally, you may have to run a Java profiler to figure out where the
time is spent.

-Erik

hechengrong wrote:

> Hi.
>    I use OPS to develop a B/S Application. Then, I have a performance
> problem: The Application is slow, slow...
>    The Application argument is that:
> 1. Record number: 30;
> 2. Filed number of each record: 40; (so, there are 1600 xforms:input or
> select)
> 3. Total Time:    20s
> 4. OPS init Time: <1s
> 5. Generator Busniess-Data: 2s
> 6. XForms epilogue.xpl and others: 17s
> 7. XForms Page Size: 40k
> 8. Generated HTML Page: 660k
> 9. Client and Server machine configuration, CPU: AMD 2000+ 1.5G, Memory:
> 1G
>
>    Throw a exception: java heap overflow, when open twice or third that
> page.
>
>    This perforance is badly. Is this OPS performance problem? Or, I can
> not use OPS with this method?

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
hcr
Reply | Threaded
Open this post in threaded view
|

Re: Re: OPS performance probl em

hcr
Hi,
   Thank you very much ! My VM argument is 512MB. My Application Server is Tomcat 5.0. There is same debug info:
[Http-Serializer, Begine]: Thu Dec 07 09:04:15 CST 2006
[====Next: apply theme===] [===Current Tims===Thu Dec 07 09:04:16 CST 2006]
[====Next: rewritten url===] [===Current Tims===Thu Dec 07 09:04:17 CST 2006]
[====Next: Qname converter===] [===Current Tims===Thu Dec 07 09:04:17 CST 2006]
[====Next: HTML-Converter===] [===Current Tims===Thu Dec 07 09:04:17 CST 2006]
[====Next: Http Serializer===] [===Current Tims===Thu Dec 07 09:04:18 CST 2006]
[Http-Serializer]: 3469  "This is HttpSerializerProessor.start() time"
[OPSServlet finally]: Thu Dec 07 09:04:18 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:19 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:19 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:19 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:19 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:19 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:19 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:19 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:19 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:19 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:19 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:19 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:20 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:20 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:20 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:20 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:20 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:20 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:20 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:21 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:21 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:21 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:21 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:28 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:28 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:28 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:29 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:29 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:29 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:29 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:29 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:29 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:29 CST 2006
[OPSServlet finally]: Thu Dec 07 09:04:30 CST 2006
 
  
 
 
 
 
在2006-12-07,"Erik Bruchez" <[hidden email]> 写道:
1600 inputs fields is quite a lot for a single page. Still, 17s is
very long!

First, check this page:

  http://www.orbeon.com/ops/doc/integration-tuning

Check your Java heap and make sure it is allowed to grow to a
reasonable size (500 MB, 1 GB). If your network bandwidth is small, be
sure to enable gzip compression in your servlet container or web
server. Use something like JMeter and make sure your VM is warmed up
before gathering numbers.

Are all the controls visible at the same time? We have recently been
working on an optimization for non-relevant controls which you can
enable with a property in recent builds:

  <property as="xs:boolean" name="oxf.xforms.optimize-relevance"
value="true"/>

Also try to reduce slightly the XPath cache, for example:

  <property as="xs:integer" name="oxf.cache.xpath.size" value="600"/>

Finally, you may have to run a Java profiler to figure out where the
time is spent.

-Erik

hechengrong wrote:
> Hi.
>    I use OPS to develop a B/S Application. Then, I have a performance
> problem: The Application is slow, slow...
>    The Application argument is that:
> 1. Record number: 30;
> 2. Filed number of each record: 40; (so, there are 1600 xforms:input or
> select)
> 3. Total Time:    20s
> 4. OPS init Time: <1s
> 5. Generator Busniess-Data: 2s
> 6. XForms epilogue.xpl and others: 17s
> 7. XForms Page Size: 40k
> 8. Generated HTML Page: 660k
> 9. Client and Server machine configuration, CPU: AMD 2000+ 1.5G, Memory:
> 1G
>
>    Throw a exception: java heap overflow, when open twice or third that
> page.
>
>    This perforance is badly. Is this OPS performance problem? Or, I can
> not use OPS with this method?


-- 
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/





女 友 9 9 元 b u y 的 新 款 O N L Y
秋 冬 女 人 精 品 女 装 全 场 火 热 促 销 2 9 元 - 1 9 9 元 , 抢 呀 ( 图 )

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws