Adam Tauno Williams
2009-06-02 20:24:12 UTC
We use openSUSE for our Intranet web servers, which frequently convert
documents to PDF using a2ps/ps2pdf. Under openSUSE 10.3 (GS 8.15.4-3.2)
this process is very fast. Unfortunately after upgrading to openSUSE
11.1 (GS 8.62-31.43.1) we find the process to be excruciatingly slow.
With just a 135KB PDF, containing no images, we see times like:
openSUSE 10.3: real 0m1.5s user 0m0.4s sys 0m1.1s
openSUSE 11.1: real 0m5.2s user 0m1.6s sys 0m3.6s
so that is quite a bit slower proportionally. But run a 632 page
postscript file (again, no images) and...
openSUSE 10.3: real 0m4.680s user 0m3.912s sys 0m0.768s
openSUSE 11.1: effectively never finishes
This is the time for running the following command:
/usr/bin/gs -dSAFER -dCompatibilityLevel=1.2 -q -dNOPAUSE -dBATCH
-sDEVICE=pdfwrite -sOutputFile=file.pdf -dSAFER -c .setpdfwrite -f file.ps
openSUSE 10.3:
ghostscript-fonts-std-8.15.4-3.2
ghostscript-library-8.15.4-3.2
openSUSE 11.1
ghostscript-library-8.62-31.43.1.i586
ghostscript-fonts-std-8.62-31.43.1.i586
ghostscript-x11-8.62-31.43.1.i586
ghostscript-fonts-other-8.62-31.43.1.i586
ghostscript-omni-8.62-31.43.1.i586
I've tried removing ghostscript-omni to no effect. I've watched with
"strace -c" and it doesn't appear to be spending all it's time in system
calls, so it is Ghostscript itself. During the run time the gs process
pegs the CPU.
Any suggestions would be very appreciated.
-----
OpenGroupware developer: ***@whitemice.org
<http://whitemiceconsulting.blogspot.com/>
OpenGroupare & Cyrus IMAPd documenation @
<http://docs.opengroupware.org/Members/whitemice/wmogag/file_view>
documents to PDF using a2ps/ps2pdf. Under openSUSE 10.3 (GS 8.15.4-3.2)
this process is very fast. Unfortunately after upgrading to openSUSE
11.1 (GS 8.62-31.43.1) we find the process to be excruciatingly slow.
With just a 135KB PDF, containing no images, we see times like:
openSUSE 10.3: real 0m1.5s user 0m0.4s sys 0m1.1s
openSUSE 11.1: real 0m5.2s user 0m1.6s sys 0m3.6s
so that is quite a bit slower proportionally. But run a 632 page
postscript file (again, no images) and...
openSUSE 10.3: real 0m4.680s user 0m3.912s sys 0m0.768s
openSUSE 11.1: effectively never finishes
This is the time for running the following command:
/usr/bin/gs -dSAFER -dCompatibilityLevel=1.2 -q -dNOPAUSE -dBATCH
-sDEVICE=pdfwrite -sOutputFile=file.pdf -dSAFER -c .setpdfwrite -f file.ps
openSUSE 10.3:
ghostscript-fonts-std-8.15.4-3.2
ghostscript-library-8.15.4-3.2
openSUSE 11.1
ghostscript-library-8.62-31.43.1.i586
ghostscript-fonts-std-8.62-31.43.1.i586
ghostscript-x11-8.62-31.43.1.i586
ghostscript-fonts-other-8.62-31.43.1.i586
ghostscript-omni-8.62-31.43.1.i586
I've tried removing ghostscript-omni to no effect. I've watched with
"strace -c" and it doesn't appear to be spending all it's time in system
calls, so it is Ghostscript itself. During the run time the gs process
pegs the CPU.
Any suggestions would be very appreciated.
-----
OpenGroupware developer: ***@whitemice.org
<http://whitemiceconsulting.blogspot.com/>
OpenGroupare & Cyrus IMAPd documenation @
<http://docs.opengroupware.org/Members/whitemice/wmogag/file_view>
--
To unsubscribe, e-mail: opensuse+***@opensuse.org
For additional commands, e-mail: opensuse+***@opensuse.org
To unsubscribe, e-mail: opensuse+***@opensuse.org
For additional commands, e-mail: opensuse+***@opensuse.org