From owner-freebsd-threads@FreeBSD.ORG Thu Aug 28 02:25:39 2003 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 A6BFE16A4BF; Thu, 28 Aug 2003 02:25:39 -0700 (PDT) Received: from heron.mail.pas.earthlink.net (heron.mail.pas.earthlink.net [207.217.120.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB25943FD7; Thu, 28 Aug 2003 02:25:38 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from user-2ivfk56.dialup.mindspring.com ([165.247.208.166] helo=mindspring.com) by heron.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19sJ2A-0003oj-00; Thu, 28 Aug 2003 02:25:38 -0700 Message-ID: <3F4DCA5A.753F2E8C@mindspring.com> Date: Thu, 28 Aug 2003 02:24:42 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: deischen@FreeBSD.org References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a43846a7df0d5c44a74fbe1bfde1bb3165667c3043c0873f7e350badd9bab72f9c350badd9bab72f9c cc: threads@FreeBSD.org cc: David Xu Subject: Re: Call for thread testers 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: Thu, 28 Aug 2003 09:25:39 -0000 Daniel Eischen wrote: > > Use a kernel without witness compiled in, libthr should be faster > > than this result. > > Well, what got me was the variance in time. Most of the time > it takes twice as long. And it doesn't seem to hang for a few > seconds at any one point; it plods along consistently, just > twice as slow overall. It could be mutex contention and > false wakeups or something... > > > But I always can not finish this test for libthr on my SMP machine, > > in most time, it will deadlock, so I can not give you a reliable result. > > It hangs in my thread yield test also; don't know why. I never saw if Julian's IPI patch was committed or not. I would expect a lot of CPU wakeup latency without it, if you HLT in the idle loop... -- Terry