64-bit performance problem?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Sesshomurai

64-bit performance problem?

Post 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,
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: 64-bit performance problem?

Post 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?
Sesshomurai

Re: 64-bit performance problem?

Post 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.
Post Reply