From owner-freebsd-threads@FreeBSD.ORG Sun Feb 20 16:58:51 2005 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3488C16A4CE; Sun, 20 Feb 2005 16:58:51 +0000 (GMT) Received: from mx.highway.ne.jp (pip8.usen.ad.jp [61.122.117.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60A4B43D48; Sun, 20 Feb 2005 16:58:49 +0000 (GMT) (envelope-from kaakun@highway.ne.jp) Received: from [219.195.104.17] (helo=[192.168.11.16]) by pop11.isp.us-com.jp with esmtp (Mail 4.20) id 1D2uPp-0008Rc-OE; Mon, 21 Feb 2005 01:58:41 +0900 Message-ID: <4218C19F.8000900@highway.ne.jp> Date: Mon, 21 Feb 2005 01:58:07 +0900 From: Kazuaki Oda User-Agent: Mozilla Thunderbird 1.0 (X11/20050101) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Eischen References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: threads@freebsd.org Subject: Re: thread accounting in libpthread X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 16:58:51 -0000 Daniel Eischen wrote: >I don't get much of a difference with and without patch at >end. Depending on what your threads are blocking on, I >think it can be random. > > with patch > ---------- > thread 00: 4716 > thread 01: 4307 > thread 02: 3631 > thread 03: 3698 > thread 04: 3455 > > without patch > ------------- > thread 00: 4289 > thread 01: 2903 > thread 02: 4352 > thread 03: 3444 > thread 04: 4405 > > > I get a worse result with you patch. -------------------- thread 00: 109322 thread 01: 1130 thread 02: 1129 thread 03: 1105 thread 04: 1155 -------------------- -------------------- Kazuaki Oda