* [gentoo-user] Acroread 7.0.5-r1 very slow startup
@ 2006-02-25 23:35 Urs Schuetz
2006-02-26 0:03 ` Andrew Gaydenko
` (4 more replies)
0 siblings, 5 replies; 8+ messages in thread
From: Urs Schuetz @ 2006-02-25 23:35 UTC (permalink / raw
To: gentoo-user
Acroread startup is very slow on my gentoo sistem. It takes more
than 2 minutes to start acrobat on my old AMD Duron 800 MHz. Also
on further startups the load time stays more or less the same.
The CPU is 100% used during most of the startup period, which is
strange. Top shows CPU usage of 75-98% for acroread during
startup.
I have this long startup time only since upgrade to version
7.0.5-r1. The older version 7.0.1.1 loaded within 15 seconds
first load, and within 5 seconds on further loads.
ldd /opt/Acrobat7/Reader/intellinux/bin/acroread showed a problem
with the library path. So I added
/opt/Acrobat7/Reader/intellinux/lib to LD_LIBRARY_PATH.
I also moved plugins in
/opt/Acrobat7/Reader/intellinux/plug_in
to
/opt/Acrobat7/Reader/intellinux/plug_in_DO_NOT_LOAD_THEM,
and moved
/opt/Acrobat7/Reader/intellinux/SPPlugins/ADMPlugin.apl
to
/opt/Acrobat7/Reader/intellinux/plug_in_DO_NOT_LOAD_THEM.
But the startup time on version 7.0.5-r1 of acrobat reader is
still more than 2 minutes.
strace acroread
shows that acroread 7.0.5-r1 uses a very long time with fonts
and nonexistent directories like /usr/psres and
/usr/share/fonts/afms//usr/share/fonts/afms:
...
open("/usr/X11R6/lib/X11/fonts/Type1/fences.ttf", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/usr/X11R6/lib/X11/fonts/Type1/l048013t.pfa", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
getdents64(5, /* 0 entries */, 4096) = 0
close(5) = 0
...
and "hangs" here for about 10 seconds, with CPU 100% used. This
happens nine times during startup.
I don't see any network activity during startup of acroread
(blocked with:
iptables -A OUTPUT -o eth0 -p tcp -m owner --cmd-owner acroread -j REJECT --reject-with tcp-reset)
Sorry for the long lines.
Can anybody conirm this slow startup, or is it just me? Any hints
how to speed up acrobat reader 7.0.5-r1?
Urs
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Acroread 7.0.5-r1 very slow startup
2006-02-25 23:35 [gentoo-user] Acroread 7.0.5-r1 very slow startup Urs Schuetz
@ 2006-02-26 0:03 ` Andrew Gaydenko
2006-02-26 0:11 ` Willie Wong
` (3 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Andrew Gaydenko @ 2006-02-26 0:03 UTC (permalink / raw
To: gentoo-user
I can. It takes ~40 second at P4 2.4. Acroread isn't open source,
so, instead of filing any bug, I switched to kpdf :-)
======= On Sunday 26 February 2006 02:35, Urs Schuetz wrote: =======
...
Can anybody conirm this slow startup, or is it just me? Any hints
how to speed up acrobat reader 7.0.5-r1?
Urs
--
gentoo-user@gentoo.org mailing list
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Acroread 7.0.5-r1 very slow startup
2006-02-25 23:35 [gentoo-user] Acroread 7.0.5-r1 very slow startup Urs Schuetz
2006-02-26 0:03 ` Andrew Gaydenko
@ 2006-02-26 0:11 ` Willie Wong
2006-02-26 0:16 ` Mark Loeser
` (2 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Willie Wong @ 2006-02-26 0:11 UTC (permalink / raw
To: gentoo-user
On Sat, Feb 25, 2006 at 08:35:44PM -0300, Penguin Lover Urs Schuetz squawked:
> Can anybody conirm this slow startup, or is it just me? Any hints
> how to speed up acrobat reader 7.0.5-r1?
>
I can confirm. It took two and a half minutes now on my box (P4 2GHz,
512M ram). It does feel slower than the older version.
W
--
Engineers also speak PDE, but in a different dialect.
~Terrence Tao
Sortir en Pantoufles: up 105 days, 16:34
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Acroread 7.0.5-r1 very slow startup
2006-02-25 23:35 [gentoo-user] Acroread 7.0.5-r1 very slow startup Urs Schuetz
2006-02-26 0:03 ` Andrew Gaydenko
2006-02-26 0:11 ` Willie Wong
@ 2006-02-26 0:16 ` Mark Loeser
2006-02-26 0:34 ` Greg Bengeult
2006-02-26 0:29 ` Greg Bengeult
2006-02-26 0:30 ` Willie Wong
4 siblings, 1 reply; 8+ messages in thread
From: Mark Loeser @ 2006-02-26 0:16 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 699 bytes --]
Urs Schuetz <u.schutz@bluewin.ch> said:
> Can anybody conirm this slow startup, or is it just me? Any hints
> how to speed up acrobat reader 7.0.5-r1?
I noticed the same thing. There is a bug open about it on
bugs.gentoo.org I believe, but the workaround for now is:
mv ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst ~/.adobe/Acrobat/7.0/Cache/UnixFnt.old
touch ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst
That worked for me atleast.
--
Mark Loeser - Gentoo Developer (cpp gcc-porting qa toolchain x86)
email - halcy0n AT gentoo DOT org
mark AT halcy0n DOT com
web - http://dev.gentoo.org/~halcy0n/
http://www.halcy0n.com
[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Acroread 7.0.5-r1 very slow startup
2006-02-25 23:35 [gentoo-user] Acroread 7.0.5-r1 very slow startup Urs Schuetz
` (2 preceding siblings ...)
2006-02-26 0:16 ` Mark Loeser
@ 2006-02-26 0:29 ` Greg Bengeult
2006-02-26 0:30 ` Willie Wong
4 siblings, 0 replies; 8+ messages in thread
From: Greg Bengeult @ 2006-02-26 0:29 UTC (permalink / raw
To: gentoo-user
Urs Schuetz wrote:
> Acroread startup is very slow on my gentoo sistem. It takes more
> than 2 minutes to start acrobat on my old AMD Duron 800 MHz. Also
> on further startups the load time stays more or less the same.
>
I can confirm the same behavior on my system. 800 MHz hyperthreaded P4,
and top shows that one of the cores hits 100% while acroread is starting
up. It takes nearly three minutes to load, and strace shows it hanging
at the same places. I'll probably go back to 7.0.1.1.
Greg
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Acroread 7.0.5-r1 very slow startup
2006-02-25 23:35 [gentoo-user] Acroread 7.0.5-r1 very slow startup Urs Schuetz
` (3 preceding siblings ...)
2006-02-26 0:29 ` Greg Bengeult
@ 2006-02-26 0:30 ` Willie Wong
2006-02-26 19:58 ` [gentoo-user] SOLVED: " Urs Schuetz
4 siblings, 1 reply; 8+ messages in thread
From: Willie Wong @ 2006-02-26 0:30 UTC (permalink / raw
To: gentoo-user
On Sat, Feb 25, 2006 at 08:35:44PM -0300, Penguin Lover Urs Schuetz squawked:
> strace acroread
> shows that acroread 7.0.5-r1 uses a very long time with fonts
> and nonexistent directories like /usr/psres and
> /usr/share/fonts/afms//usr/share/fonts/afms:
>
> ...
> open("/usr/X11R6/lib/X11/fonts/Type1/fences.ttf", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
> open("/usr/X11R6/lib/X11/fonts/Type1/l048013t.pfa", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
> getdents64(5, /* 0 entries */, 4096) = 0
> close(5) = 0
> ...
>
> and "hangs" here for about 10 seconds, with CPU 100% used. This
> happens nine times during startup.
>
from the forums:
http://forums.gentoo.org//viewtopic-t-420754-highlight-acroread.html?sid=5118566558bdce7510b095567e7b6d4c
the file ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst stores a list of all
the fonts on your system (which, in my case, gives 9387 entries) and
apparently it tries to open those one by one on startup and look
inside (what for, I don't know).
A temporary work around is provide in the link above, which amounts to
removing that font file prior to starting acroread. If I do that,
acroread starts under 5 seconds for every one of the five times I
tried.
Notice that /usr/bin/acroread is just a batch file to launch the
executable, so if you are adventurous, you can go dig inside it a bit.
W
--
Seen in LINAC @ Fermi National Accelerator Laboratory:
(A series of signs, each with a different "name")
This 7833 Power Amplifier Tube is to be Called:
Gassy
Sparky
Leaky
Old Number 9
Just Plain Dead
Nick O'Tyme
Sortir en Pantoufles: up 105 days, 16:47
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Acroread 7.0.5-r1 very slow startup
2006-02-26 0:16 ` Mark Loeser
@ 2006-02-26 0:34 ` Greg Bengeult
0 siblings, 0 replies; 8+ messages in thread
From: Greg Bengeult @ 2006-02-26 0:34 UTC (permalink / raw
To: gentoo-user
Mark Loeser wrote:
> Urs Schuetz <u.schutz@bluewin.ch> said:
>
>>Can anybody conirm this slow startup, or is it just me? Any hints
>>how to speed up acrobat reader 7.0.5-r1?
>
>
> I noticed the same thing. There is a bug open about it on
> bugs.gentoo.org I believe, but the workaround for now is:
>
> mv ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst ~/.adobe/Acrobat/7.0/Cache/UnixFnt.old
> touch ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst
>
> That worked for me atleast.
>
Works for me too. Thanks Mark.
Greg
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gentoo-user] SOLVED: Acroread 7.0.5-r1 very slow startup
2006-02-26 0:30 ` Willie Wong
@ 2006-02-26 19:58 ` Urs Schuetz
0 siblings, 0 replies; 8+ messages in thread
From: Urs Schuetz @ 2006-02-26 19:58 UTC (permalink / raw
To: gentoo-user
On Sat, 25 Feb 2006, Willie Wong wrote:
> On Sat, Feb 25, 2006 at 08:35:44PM -0300, Penguin Lover Urs Schuetz squawked:
> > strace acroread
> > shows that acroread 7.0.5-r1 uses a very long time with fonts
> > and nonexistent directories like /usr/psres and
> > /usr/share/fonts/afms//usr/share/fonts/afms:
> >
> > ...
> > open("/usr/X11R6/lib/X11/fonts/Type1/fences.ttf", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
> > open("/usr/X11R6/lib/X11/fonts/Type1/l048013t.pfa", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
> > getdents64(5, /* 0 entries */, 4096) = 0
> > close(5) = 0
> > ...
> >
> > and "hangs" here for about 10 seconds, with CPU 100% used. This
> > happens nine times during startup.
> >
>
> from the forums:
>
> http://forums.gentoo.org//viewtopic-t-420754-highlight-acroread.html?sid=5118566558bdce7510b095567e7b6d4c
>
> the file ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst stores a list
> of all the fonts on your system (which, in my case, gives 9387
> entries) and apparently it tries to open those one by one on
> startup and look inside (what for, I don't know).
Thanks for the forums link, and the other hints! The following
ideas from the forum solved the slow startup:
as user:
rm ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst
ln -s /dev/null ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst
and as root:
cd /usr/share/fonts
chmod 750 100dpi 75dpi cyrillic misc ukr
(I did not test this for side effects yet, try at your own risk!)
Now the acroread startup times are back to normal. It helps to
remove unused plugins in /opt/Acrobat7/Reader/intellinux/plug_ins
Urs
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-02-26 20:07 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-25 23:35 [gentoo-user] Acroread 7.0.5-r1 very slow startup Urs Schuetz
2006-02-26 0:03 ` Andrew Gaydenko
2006-02-26 0:11 ` Willie Wong
2006-02-26 0:16 ` Mark Loeser
2006-02-26 0:34 ` Greg Bengeult
2006-02-26 0:29 ` Greg Bengeult
2006-02-26 0:30 ` Willie Wong
2006-02-26 19:58 ` [gentoo-user] SOLVED: " Urs Schuetz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox