Date: Tue, 01 Jul 2008 08:10:39 -0400 From: Coleman Kane <cokane@FreeBSD.org> To: Alexander Kabaev <kabaev@gmail.com> Cc: vova@fbsd.ru, current@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: [fwd] cvs commit: src/lib/libthr/thread thr_mutex.c thr_umtx.c thr_umtx.h src/sys/kern kern_umtx.c src/sys/sys umtx.h Message-ID: <1214914239.1802.31.camel@localhost> In-Reply-To: <20080701073434.523a72ea@kan.dnsalias.net> References: <200806240737.m5O7bhc5018813@repoman.freebsd.org> <1214850524.42354.9.camel@localhost> <20080701104912.5e9e16e0@peedub.jennejohn.org> <1214908172.1947.29.camel@localhost> <20080701073434.523a72ea@kan.dnsalias.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-zE5NP1TyCyhRLV/JI7gp Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2008-07-01 at 07:34 -0400, Alexander Kabaev wrote: > On Tue, 01 Jul 2008 14:29:32 +0400 > Vladimir Grebenschikov <vova@fbsd.ru> wrote: >=20 > > On Tue, 2008-07-01 at 10:49 +0200, Gary Jennejohn wrote: > > > On Mon, 30 Jun 2008 22:28:44 +0400 > > > Vladimir Grebenschikov <vova@fbsd.ru> wrote: > > >=20 > > > > On Tue, 2008-06-24 at 07:32 +0000, David Xu wrote: > > > >=20 > > > > This commit makes threaded application almost unusable on > > > > 8-CURRENT. > > > >=20 > > > > Applications eat 100% CPU all the time and works _very_ slowly. > > > > (top shows several threads for every constantly applications > > > > eating CPU) > > > >=20 > > > > Following applications are affected for me: firefox, evolution, > > > > eclipse (probably more). > > > >=20 > > > > Reverting user-land part of commit fixes problem, reverting kernel > > > > changes nothing regarding the problem. > >=20 > > ... > >=20 > > > Did you recompile these misbehaving applications? > > >=20 > > > I ask because I installed a fresh world yesterday, without > > > recompiling any ports, and I'm _not_ seeing any misbehavior with > > > firefox. > >=20 > > Do you have SMP system ?=20 > >=20 > Works fine for me on amd64 SMP and i386 UP systems, world build on June > 29th on both. >=20 > Could you ktrace firefox-bin while it spins? Just in case... >=20 Firefox depends upon a lot of external things, including glib, nss, and nspr (among others, probably) which would propagate thread-lib bugs even after the main app has been recompiled. I suggest running ldd on /usr/local/lib/firefox/firefox-bin (and other shared objects in that dir) to find out what all you might need to rebuild. At the very least, I'd expect a rebuild of nspr and nss to be mandatory. I *think* firefox uses nspr's thread implementation, and not the one from gthread (glib). --=20 Coleman Kane --=-zE5NP1TyCyhRLV/JI7gp Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkhqHrwACgkQcMSxQcXat5fzrwCdH++9r/X+p0eK/KJ1oW//tvc2 IaAAnRrL8HoWyurikYIZ0WK4WVJ0v61i =0/qU -----END PGP SIGNATURE----- --=-zE5NP1TyCyhRLV/JI7gp--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1214914239.1802.31.camel>