From owner-freebsd-current@FreeBSD.ORG Wed Feb 3 18:02:47 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 014A8106566C; Wed, 3 Feb 2010 18:02:47 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8BA9F8FC2B; Wed, 3 Feb 2010 18:02:46 +0000 (UTC) Received: by vws11 with SMTP id 11so892712vws.13 for ; Wed, 03 Feb 2010 10:02:45 -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 :content-transfer-encoding; bh=5NLjAZqW7s+JQpB3dWncA+lsHT+ETbd0TWWkD3Rw/cQ=; b=i2+hWGPdBXEMGtPFMrdPRh9/HGhNgh5x7hbJOv/9EXbvxtOk/7bUeY4/ShnZ9s9u/G nY7xdj/h+Jo07UECEvr5041m9SilnqLtA/TncDXBMd0gmWeCtD20K8Ks86j1nzSwYD5E pU+lSeZwNSdI/kHG1JXK1rHgw9tOQO0r4RHXg= 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:content-transfer-encoding; b=tdRm3Sn4z+B8csF7FUspccckzwermu1A95+ZeDh32Tg+VGYGQYh0alG2Kxkw1uY2JH krmApG8xaKuFD5skZQ/ii2N4LrO8h4vg5jHgK8yq7EkAggw00nFGh39baDYBV7zIhNBM IiGoXXvYQ+40myUq1HUI2XNGgRLEy7hF2vP4Q= MIME-Version: 1.0 Received: by 10.142.250.21 with SMTP id x21mr1755284wfh.216.1265220164508; Wed, 03 Feb 2010 10:02:44 -0800 (PST) In-Reply-To: <4e6cba831002022320u2bd5f325m6564556a1abcf4c5@mail.gmail.com> References: <20100128201520.6a114290@ernst.jennejohn.org> <117532D7-75B9-4BE8-A8B6-0A6761064B92@lakerest.net> <4e6cba831001290744m6067691ct489c61fe9cd28502@mail.gmail.com> <179b97fb1001291212p5b0829f2pea28ab36a85751cf@mail.gmail.com> <4e6cba831002011404h1b6b893cj2390bf0a7560a7f2@mail.gmail.com> <179b97fb1002011424p4a799ff6t8f6b39e6f4b66828@mail.gmail.com> <4e6cba831002022320u2bd5f325m6564556a1abcf4c5@mail.gmail.com> Date: Wed, 3 Feb 2010 12:02:44 -0600 Message-ID: <179b97fb1002031002g617aee35uec79e3367b2ff7a5@mail.gmail.com> From: Brandon Gooch To: Giovanni Trematerra Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Attilio Rao , FreeBSD Current , Randall Stewart 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: Wed, 03 Feb 2010 18:02:47 -0000 On Wed, Feb 3, 2010 at 1:20 AM, Giovanni Trematerra wrote: > On Mon, Feb 1, 2010 at 11:24 PM, Brandon Gooch > wrote: >> On Mon, Feb 1, 2010 at 4:04 PM, Giovanni Trematerra >> wrote: >>> On Fri, Jan 29, 2010 at 9:12 PM, Brandon Gooch >>> wrote: >>>> On Fri, Jan 29, 2010 at 3:44 PM, Giovanni Trematerra >>>> wrote: >>>>> 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 >>>>> _______________________________________________ >>>>> freebsd-current@freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-current >>>>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd= .org" >>>>> >>>> >>>> I ran it on my dual-core, 8-STABLE/ULE laptop. The very first time I >>>> ran it, I experienced the temporary "seizure". It took several more >>>> runs before I could get it to happen again. >>>> >>> >>> Hi Brandon, >>> which kind of processor your laptop has? AMD or Intel? >>> -- >>> Gianni >>> >> >> CPU: Intel(R) Core(TM)2 Duo CPU =A0 =A0 L7100 =A0@ 1.20GHz (1197.01-MHz = K8-class CPU) >> =A0Origin =3D "GenuineIntel" =A0Id =3D 0x6fb =A0Stepping =3D 11 >> =A0Features=3D0xbfebfbff >> =A0Features2=3D0xe3bd >> =A0AMD Features=3D0x20100800 >> =A0AMD Features2=3D0x1 >> =A0TSC: P-state invariant >> >> -Brandon >> > > Hi, all > I cannot reproduce the issue at least on 8.0-RELEASE. > Can you please update to r203414 and give it a try? > > Thank you. > > -- > Gianni > Just tried it again (a few times) at r203430, with similar results. -Brandon