RE: [xep-support] images performance issue

From: Janean Angeles <janeana@wirestone.com>
Date: Wed Sep 27 2006 - 07:57:33 PDT

I found significant speed benefits when increasing the amount of memory
assigned to the java process. I've set my xep.bat file to:

if x%OS%==xWindows_NT goto WINNT
"C:\Program Files\Java\jre1.5.0_06\bin\java" -Xmx512m -classpath "%CP%"
com.renderx.xep.XSLDriver "-DCONFIG=C:\Program
Files\RenderX\XEP\xep.xml" %1 %2 %3 %4 %5 %6 %7 %8 %9
goto END

:WINNT
"C:\Program Files\Java\jre1.5.0_06\bin\java" -Xmx512m -classpath "%CP%"
com.renderx.xep.XSLDriver "-DCONFIG=C:\Program
Files\RenderX\XEP\xep.xml" %*

My machine has 1gb or memory, but on a second machine which only had
512mb of ram I set it to 400m and it works fine and is just slightly
slower then the first machine.

The catalog I'm outputting is over 300pgs with tiff's and imbedded
fonts. For both machines we currently have the images stored locally.
Average runtime is 30-60 seconds on first machine, 60-90 seconds on
second.

Don't know if that helps...

Janean T. Angeles
Application Developer
Wirestone
858509-1125 ext. 433
-----Original Message-----
From: owner-xep-support@renderx.com
[mailto:owner-xep-support@renderx.com] On Behalf Of Volodymyr Mykhailyk
Sent: Wednesday, September 27, 2006 6:55 AM
To: xep-support@renderx.com
Subject: Re: [xep-support] images performance issue

During this test we also perform monitoring of system params.
With graphic
CPU load 1%-10%
Free memory about 200mb

Without graphic
CPU load 50%-100%
Lot of free memory.

I am not sure this because of memory, we also run this build on Laptop,
with 512Mb and slower processor. It takes about 2min to generate the
same PDF.

Probably the memory on this machine can be slower, but I can't imagine
what speed it should have to increase build time from 30 seconds to
30minutes.
Thats why I am asking what can cause such slowdown.

--
Intelliarts
Volodymyr.Mykhailyk
Jirka Kosek wrote:
> Volodymyr Mykhailyk wrote:
>> Hi,
>> We run Ant build which performs two XSLT transformations and renders 
>> XSL FO into PDF... PDF is a 24 pages booklet with a lot of graphics 
>> in various formats (TIFF, JPG, SVG). Result PDF about 3-5Mb, Fo file 
>> - 300Kb.
>> XSLT transformation takes several second (2-10s).
>>
>> PC #1 local machine
>> P4 - 2.4GHz, 1GB RAM, IDE HDD
>> Fedora Core 3, JVM 1.4.2_02, Ant 1.6.5
>>
>> PC #2 dedicated server (there is no other proceses except this Xep
task)
>> P4 - 2.4GHz, 512MB RAM, SCSI HDD
>> Fedora Core 5, JVM 1.5.0_08, Ant 1.6.5
>>
>> Build time with graphics:
>> PC#1 - 35-37 seconds
>> PC#2 - 15-30 minutes(!)
>>
>> Build time without graphics (images folder is renamed, so XEP prints 
>> error messages about missing images to console):
>> PC#1 - 14 seconds
>> PC#2 - 8 seconds
>>
>> Question is, why in PC#2 build with graphic takes so much time 
>> (15-30min)? What might be a reason?
>
> I suppose that Java is short of memory on second machine, starts 
> swapping to disk, and then, you know...
>
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service
http://www.renderx.com/terms-of-service.html
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Wed Sep 27 08:04:20 2006

This archive was generated by hypermail 2.1.8 : Wed Sep 27 2006 - 08:04:21 PDT