Page 1 of 1

64-bit performance problem?

Posted: 2009-07-30T13:30:58-07:00
by Sesshomurai
Hi,
I am running convert on Ubuntu 8.10 server x64 on a PDF to tif.

Code: Select all

convert 11358a48-556d-41b4-a559-c07921c087c8/1748a2d8-52e0-4a5e-b493-8d80ba6023db.pdf  -type grayscale  -compress group4 -density 300 11358a48-556d-41b4-a559-c07921c087c8/d7e95c46-f19b-48f9-a862-44118ef42863.tif
The .pdf is over 2MB in size. On my Ubuntu 8.04 desktop (on a laptop) it takes about 2-3 seconds, but on my Ubuntu 8.10 server it takes like 3 minutes. My server is bare bones. I tried it on two different hardware configs and its still really slow.

I'm going to try and compile it from source on the x64 server and see if it makes a difference.

Why would I see this drastic difference?

thanks,

Re: 64-bit performance problem?

Posted: 2009-07-30T19:10:39-07:00
by magick
Add -debug cache to your command line. If the pixels are cached to disk instead of memory you would expect a dramatic slowdown. If both system should pixels are cached to memory, add --disable-openmp to your configure script command line and rebuilt / reinstall. Does that improve performance?

Re: 64-bit performance problem?

Posted: 2009-07-31T05:05:46-07:00
by Sesshomurai
Ok, let me give that a try. Not sure why the settings would be different since its the same version and package.

I also noticed it launches 'gs' and that seemed to be chewing up memory. I think one run I had, it ran forever and was consuming 8GB of RAM on a 2MB file.
So something is a bit off.

I'll let you know. Thank you for the reply.