From owner-freebsd-current@FreeBSD.ORG Tue Jul 1 12:12:48 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 219E11065673 for ; Tue, 1 Jul 2008 12:12:48 +0000 (UTC) (envelope-from cokane@freebsd.org) Received: from QMTA05.emeryville.ca.mail.comcast.net (qmta05.emeryville.ca.mail.comcast.net [76.96.30.48]) by mx1.freebsd.org (Postfix) with ESMTP id EDB4B8FC0A for ; Tue, 1 Jul 2008 12:12:47 +0000 (UTC) (envelope-from cokane@freebsd.org) Received: from OMTA01.emeryville.ca.mail.comcast.net ([76.96.30.11]) by QMTA05.emeryville.ca.mail.comcast.net with comcast id kafR1Z0070EPchoA504l00; Tue, 01 Jul 2008 12:12:47 +0000 Received: from mail.cokane.org ([24.60.133.163]) by OMTA01.emeryville.ca.mail.comcast.net with comcast id kcCm1Z0013Xh0XL8McCmhZ; Tue, 01 Jul 2008 12:12:47 +0000 X-Authority-Analysis: v=1.0 c=1 a=W7PIFKygEJwA:10 a=Y7MndFLvfEUA:10 a=mao6I00Vmj4Fn3PGtRcA:9 a=y6YsuFow1OwX_E7svXSHAb89uBEA:4 a=LY0hPdMaydYA:10 a=h78ISFpv37-uUuO8q4QA:9 a=eTwWfg9dwDy5wVzvRYqcndc0SFQA:4 a=rPt6xJ-oxjAA:10 Received: by mail.cokane.org (Postfix, from userid 103) id BECF016B55F; Tue, 1 Jul 2008 08:12:45 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.1.8-gr1 (2007-02-13) on discordia X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.8-gr1 Received: from [172.20.1.3] (erwin.int.cokane.org [172.20.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cokane.org (Postfix) with ESMTP id 4FE6416B55B; Tue, 1 Jul 2008 08:12:32 -0400 (EDT) From: Coleman Kane To: Alexander Kabaev 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> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-zE5NP1TyCyhRLV/JI7gp" Organization: FreeBSD Project Date: Tue, 01 Jul 2008 08:10:39 -0400 Message-Id: <1214914239.1802.31.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 FreeBSD GNOME Team Port 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 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jul 2008 12:12:48 -0000 --=-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 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 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--