From owner-freebsd-current@FreeBSD.ORG Fri Jan 29 15:44:27 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CD761065670; Fri, 29 Jan 2010 15:44:27 +0000 (UTC) (envelope-from giovanni.trematerra@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 9E5608FC17; Fri, 29 Jan 2010 15:44:26 +0000 (UTC) Received: by fxm27 with SMTP id 27so422739fxm.3 for ; Fri, 29 Jan 2010 07:44:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=ktSYKlGTq0gg8e4DdaroW8Bw6bqYXytShHa8QWcypUU=; b=AIG5D8yNJ2IK4tmkix3jX6qa8WZp0hcAXlGfAklo5DNBWixCucOHGQRlU4BcWf5oOM Zmm7CidwSlEzmMA2cb7QnO3+OXsqjIViOK3Zlh+8UsWqAf6Cd4z0rNugLL4coQhaUQPP ZAQeWP5dJ5ihyE9m8t8thwEv+alWVqY/74iK8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=oJWy8NbhLKkQQvqA7dWPJZNERn8iIDHrjqYoQcT69AOlZWwctLnf+0cFfQoIMimf9S w9/ilCIpxlJGmICPm0CQ8php6BrqVFoAA1ePCQDk74cQdx0iPwA58tTbhukqGfqTwqE4 thIOqYYS7+vuLh+0Bu9JjbprRktA/YCYb7/l8= MIME-Version: 1.0 Received: by 10.223.81.90 with SMTP id w26mr963073fak.9.1264779865365; Fri, 29 Jan 2010 07:44:25 -0800 (PST) In-Reply-To: <117532D7-75B9-4BE8-A8B6-0A6761064B92@lakerest.net> References: <20100128201520.6a114290@ernst.jennejohn.org> <117532D7-75B9-4BE8-A8B6-0A6761064B92@lakerest.net> Date: Fri, 29 Jan 2010 16:44:25 +0100 Message-ID: <4e6cba831001290744m6067691ct489c61fe9cd28502@mail.gmail.com> From: Giovanni Trematerra To: Randall Stewart Content-Type: text/plain; charset=ISO-8859-1 Cc: Attilio Rao , FreeBSD Current Subject: Re: A strange thing with yesterday's head.. 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: Fri, 29 Jan 2010 15:44:27 -0000 On Thu, Jan 28, 2010 at 10:55 PM, Randall Stewart wrote: > I was running SCHED_ULE on an 8.0 and everything works > fine. > > On my 2 core head of yesterday I tried both SCHED_ULE AND > 4BSD.. and got the same results ;-0 > > I will try my 4 core when I get home ;-) > > R > On Jan 28, 2010, at 11:15 AM, Gary Jennejohn wrote: > >> On Thu, 28 Jan 2010 10:30:37 -0800 >> Randall Stewart wrote: >> >>> All: >>> >>> I just found a very strange thing with yesterdays head. >>> >>> The program >>> >>> http://www.freebsd.org/~rrs/my_thr.c >>> >>> I compile it: >>> >>> cc -g -o my_thr my_thr.c /usr/lib/libthr.a -lpthread >>> Hi Randal, I tried your code on an 8-core machine with a fresh head (i386) I have no problems with both 4BSD and ULE scheduler. I even upping the value of macro NUM_THREAD to 24 but I didn't notice nothing strange. Have you got a chance to reproduce it on your machines? -- Gianni