Date: Tue, 09 Mar 2004 23:33:39 -0500 From: Joe Marcus Clarke <marcus@marcuscom.com> To: freebsd.org@hyltown.com Cc: FreeBSD GNOME Users <gnome@freebsd.org> Subject: Re: gnucash VERY slow to start - guile using up 100% cpu Message-ID: <1078893218.40160.6.camel@shumai.marcuscom.com> In-Reply-To: <20040306140330.8949C43D31@mx1.FreeBSD.org> References: <20040306140330.8949C43D31@mx1.FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-t22oNdwK/ZxICSyszMWJ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2004-03-06 at 09:03, freebsd.org@hyltown.com wrote: > i realize i'm comparing apples to oranges, sort of - but there's definite= ly > a problem here ... >=20 > on my laptop, gnucash takes MINUTES to start - minutes pass before the sp= lash > screen is even displayed. on my desktop it's almost immediate. below i'll > describe the hardware/software differences for comparison. if anyone has = any > clue how to fix this problem i'd be VERY happy to hear from you! >=20 > the time tests below work like this: execute `time gnucash test.gc` from = the > command-line, and click the exit button as soon as it appears. test.gc is > duplicated on each system, both copies are being opened from local disk. >=20 > =3D=3DLAPTOP=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > thinkpad r40, 768MB RAM, pentium-m 1.4Ghz (very fast doing ~ everything) > running gnucash 1.8.8 on freebsd 5.2-current >=20 > FreeBSD treebeard.hyltown.com 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Mon Feb > 2 16:38:59 EST 2004 > root@treebeard.hyltown.com:/usr/obj/usr/src/sys/20040131 i386 >=20 > gnucash-1.8.8_1 > guile-1.6.4_4 > guile-gtk-0.31_1 > slib-guile-3a1 >=20 > $ time gnucash test.gc > real 2m53.681s > user 0m8.008s > sys 2m35.113s >=20 > =3D=3DDESKTOP=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > custom desktop, 512MB RAM, 1Ghz via C3 (normally quite slower than the la= ptop) > running gnucash 1.8.8 on gentoo linux 1.4 >=20 > Linux blackbox.hyltown.com 2.4.22-pre6-ac1-ieee1394 #2 Fri Aug 1 11:06:45= EDT > 2003 i686 VIA Nehemiah CentaurHauls GNU/Linux >=20 > gnucash-1.8.8 > guile-1.6.4-r1 >=20 > $ time gnucash test.gc > real 0m8.910s > user 0m6.130s > sys 0m0.200s >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > to add insult to injury, the linux gnucash is being run via ssh, X tunnel= ed > back to laptop. it'd probably be even quicker if i were running from the > desktop console. >=20 > gnucash was just rebuilt on the laptop (freebsd) with `portupgrade -R gnu= cash` > so that all gnucash dependencies were upgraded as well. while gnucash is > taking its 3 minutes to startup, running `top` shows the guile process ta= king > up ~100% of the cpu. i have plenty of ram, nothing is swapping to disk, a= nd > the system is otherwise plenty fast. >=20 > i have to think this is some kind of problem with one of the ports > involved, and not the system in general - because everything else seems t= o > be doing just fine ... >=20 > i have no idea where to go from here, this is kicking my butt... >=20 > anybody have any ideas? There is definitely a problem starting GnuCash on FreeBSD. IT takes forever. I haven't really had a chance to sit down and analyze the problem or the solution. My gut feeling is it has something to do with the number of shared libraries and modules needed by the application, and an inefficient load order. Run the program under truss of strace, and watch everything it does at startup. After GNOME 2.6 is released, I might have time to look into this, but I'm not a big GnuCash user myself, so if you feel like taking a stab at things, that would be great. Joe > _______________________________________________ > freebsd-gnome@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-t22oNdwK/ZxICSyszMWJ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBATpqib2iPiv4Uz4cRAieRAKCoQcaHpszKAHZtYm0JZgKJQf2ipgCfe6Z9 peaBDAMmB5fuW3OG+LqoxDA= =gwdE -----END PGP SIGNATURE----- --=-t22oNdwK/ZxICSyszMWJ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1078893218.40160.6.camel>