From owner-freebsd-threads@FreeBSD.ORG Mon Jul 5 15:04:39 2004 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 5245C16A4CE for ; Mon, 5 Jul 2004 15:04:39 +0000 (GMT) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E3AB43D55 for ; Mon, 5 Jul 2004 15:04:39 +0000 (GMT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (sccrmhc12) with ESMTP id <2004070515043701200017kge>; Mon, 5 Jul 2004 15:04:38 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id IAA47237; Mon, 5 Jul 2004 08:04:35 -0700 (PDT) Date: Mon, 5 Jul 2004 08:04:34 -0700 (PDT) From: Julian Elischer To: Daniel Eischen In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Andrew Gallatin cc: freebsd-threads@freebsd.org Subject: Re: pthread switch (was Odd KSE panic) 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: Mon, 05 Jul 2004 15:04:39 -0000 On Mon, 5 Jul 2004, Julian Elischer wrote: > > > > I suspect that as clock ticks occur at only 10mSEC period, that it will > nearly always be the 2nd option. In other words the system is acting as > it would with a uniprocessor. > > compare this with: > add up: > > time to for 'waker' to enter the UTS > time for the UTS to decide it can awaken another KSE > time for the UTS to call kse_wakeup() (from kerne entry to "wakeup()") > time for UTS to return to original thread > time for UTS to switch to other thread. > (*) this is what is being measured here.. > > however the 'select' thread wil be restarted when the other thread > completes and re-does the wait OR a clock tick occurs. > > Drew, what happens to the 47uSec if you do: sysctl machdep.cpu_idle_hlt=0 ? > > julian > > > > _______________________________________________ > freebsd-threads@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-threads > To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org" >