Mailinglist Archive: opensuse (1468 mails)

< Previous Next >
Re: [opensuse] Ghostscript (PS->PDF) Terrible Performance Under 11.1 Compared To 10.3
  • From: "Dr. Werner Fink" <werner@xxxxxxx>
  • Date: Thu, 4 Jun 2009 11:16:39 +0200
  • Message-id: <20090604091639.GA885@xxxxxxxxxxxxx>
On Wed, Jun 03, 2009 at 04:26:37PM -0400, Adam Tauno Williams wrote:
looks like gs is writing out the resulting pdf and this seems
to take some time ... btw: how fast is your disk.
Both machines (10.3 vs 11.1) are identical; they are virtual machines
on ESX servers connected to an EMC SAN.
Try out to use /dev/null as OutputFile, does this go faster?
You may also replace
-c .setpdfwrite
with
-dCompressFonts=true -dMaxInlineImageSize=0 -c '.setpdfwrite 300000000
setvmthreshold'
if you have enough memory available in your system.
Will test.

I let -
time /usr/bin/gs -dSAFER -dCompatibilityLevel=1.2 -q -dNOPAUSE -dBATCH
-sDEVICE=pdfwrite -sOutputFile=file.pdf -dSAFER -dCompressFonts=true
-dMaxInlineImageSize=0 -c '.setpdfwrite 300000000 setvmthreshold' -f
file.ps
- run for 233 minutes, then I started (to /dev/null) -
time /usr/bin/gs -dSAFER -dCompatibilityLevel=1.2 -q -dNOPAUSE -dBATCH
-sDEVICE=pdfwrite -sOutputFile=/dev/null -dSAFER -dCompressFonts=true
-dMaxInlineImageSize=0 -c '.setpdfwrite 300000000 setvmthreshold' -f
file.ps
- and let that run for 102 minutes. Neither finished.

Do you have the PostScript file? Please attach this compressed and
send it in a PM to me.

Werner

--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups