Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Mar 2008 00:12:37 +0100
From:      Jean-Yves Lefort <jylefort@brutele.be>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        "E. J. Cerejo" <ejcerejo@optonline.net>, freebsd-gnome@freebsd.org
Subject:   Re: Evolution crawls on FreeBSD
Message-ID:  <20080303001237.28a45ba9.jylefort@brutele.be>
In-Reply-To: <1204424514.1262.36.camel@shumai.marcuscom.com>
References:  <20080301181608.5d393e02.ejcerejo@optonline.net> <1204415453.1262.26.camel@shumai.marcuscom.com> <20080301191214.58432ae0.ejcerejo@optonline.net> <1204417247.1262.29.camel@shumai.marcuscom.com> <20080301204637.74cfc75f.ejcerejo@optonline.net> <1204424514.1262.36.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Mon__3_Mar_2008_00_12_37_+0100_F27z3DLArHZr3S./
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, 01 Mar 2008 21:21:54 -0500
Joe Marcus Clarke <marcus@marcuscom.com> wrote:

>=20
> On Sat, 2008-03-01 at 20:46 -0500, E. J. Cerejo wrote:
> > On Sat, 01 Mar 2008 19:20:47 -0500
> > Joe Marcus Clarke <marcus@marcuscom.com> wrote:
> >=20
> > >=20
> > > On Sat, 2008-03-01 at 19:12 -0500, E. J. Cerejo wrote:
> > > > On Sat, 01 Mar 2008 18:50:53 -0500
> > > > Joe Marcus Clarke <marcus@marcuscom.com> wrote:
> > > >=20
> > > > >=20
> > > > > On Sat, 2008-03-01 at 18:16 -0500, E. J. Cerejo wrote:
> > > > > > I'm running FreeBSD 7.0RC3 and I'm trying to figure out why evo=
lution takes over a minute to start, there are no error messages if I run i=
t from terminal window.  First I was running 6.3 but I upgraded to 7.0 thin=
king that it might of solve the problem but it didn't.  What amazes me is, =
I've got ubuntu installed on the same machine and it only takes 3 seconds t=
o start, also it only takes 3 seconds to start in windows.  Evolution runni=
ng like this is completely worthless.  Any ideas what might be causing this=
?  Please respond to my email address also.
> > > > >=20
> > > > > This has been discussed on this mailing list before.  The number =
of
> > > > > plug-ins enabled in Evo slows down the load time as the loader is
> > > > > spinning trying to load each plug-in.  You should disable all unn=
eeded
> > > > > plug-ins.
> > > > >=20
> > > > > Joe
> > > > >=20
> > > > > --=20
> > > > > PGP Key : http://www.marcuscom.com/pgp.asc
> > > >=20
> > > > Plug-ins don't seem to have an effect when running it on ubuntu, al=
l the plug-ins are enabled under ubuntu and still starts in 3 seconds.  Are=
 you trying to say that the FreeBSD loader is kind of primitive comparing t=
o the linux loader?
> > >=20
> > > No.  I'm saying that the tasks the FreeBSD loader performs takes long=
er
> > > than the ones performed by the Linux loader.
> >=20
> > Well, I disabled all the plugins and still takes 40 seconds to open tha=
t's a lot longer than linux with all the plugins enabled.  As far I'm conce=
rned evolution is out of my list of programs, I still have my doubts about =
the real reason as to why it takes so long to open.  In reality there's no =
real reason as to why a program will take so long to open, if that's the ca=
se evolution will loose a lot of users in the FreeBSD community.
>=20
> You're free to build Evolution and e-d-s with debugging symbols, and
> watch it load in gdb if you don't believe me.  Last time I did this, I
> found most of the time spent in the loader.  Any optimizations would
> certainly be welcome.

I suspect that the patch in this PR would have greatly helped:

	http://www.freebsd.org/cgi/query-pr.cgi?pr=3D104877

Indeed, a casual inspection of libexec/rtdl-elf/rtld.c shows that the
SO_NEEDED lists (Obj_Entry.needed) are walked recursively. Removing
the useless entries might therefore have a dramatic impact on
performance.

Unfortunately, the affected maintainer has closed the PR, mainly
because he could not understand it. And portmgr has backed the
maintainer, mainly because of personal friendship.

With such irrational behaviours, this trend is not going to reverse
itself anytime soon:

	http://www.google.com/trends?q=3Dubuntu%2Cfreebsd

--=20
Jean-Yves Lefort <jylefort@brutele.be>

--Signature=_Mon__3_Mar_2008_00_12_37_+0100_F27z3DLArHZr3S./
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHyzRmyzD7UaO4AGoRAqsyAJ9+89KpHZwpTBfEAK6BKmYMXXDGMQCbBMap
p10N3nzSlz8xKhZmlkqbvoI=
=rjH4
-----END PGP SIGNATURE-----

--Signature=_Mon__3_Mar_2008_00_12_37_+0100_F27z3DLArHZr3S./--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080303001237.28a45ba9.jylefort>