From owner-freebsd-current@FreeBSD.ORG Mon Dec 6 06:24:14 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 EB82F106566C; Mon, 6 Dec 2010 06:24:14 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 52F358FC15; Mon, 6 Dec 2010 06:24:13 +0000 (UTC) Received: by wyf19 with SMTP id 19so11863615wyf.13 for ; Sun, 05 Dec 2010 22:24:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=lNeFIC1K9qGN6xe1DRZpNF1zAHAcnhQ2fpzaNjnjS7o=; b=GKwapV5oNsc5SQVFRAJAOJkvnmpEkBTtg+/rgN//upv2rd3h3r/FkCz8n44625U07H bv0Su+VxOafX9GVjy6xt1Gz0iGqCJjduF8qEoo37WB85QaAFvNJQ5kgCE3pq5Ud28H/4 njtFbW/rZuAm2wFpjyF1t8g58AW9luwFI5prU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=K/bIYjE5p2tUilG6nnN6Hs34on//JSEkEHvlViIPP+/G9qopO8hR0xHV6FtgRMHSAZ yIFDPGhQ9AyjMLRcwkwQGz1914RdxrYgPLQAX8G2T2PXbQ9v9k5eDJtLh9dFV+ma/xjv kC9E76No17K7BZVZLX7WAoDCXOnaAxTLh5z2c= MIME-Version: 1.0 Received: by 10.216.168.136 with SMTP id k8mr1259639wel.45.1291616652987; Sun, 05 Dec 2010 22:24:12 -0800 (PST) Sender: yanegomi@gmail.com Received: by 10.216.198.27 with HTTP; Sun, 5 Dec 2010 22:24:12 -0800 (PST) In-Reply-To: <4CFC812B.9060505@freebsd.org> References: <20101205231829.GA68156@troutmask.apl.washington.edu> <4CFC27A0.8000406@freebsd.org> <20101206061230.GA69477@troutmask.apl.washington.edu> <4CFC812B.9060505@freebsd.org> Date: Sun, 5 Dec 2010 22:24:12 -0800 X-Google-Sender-Auth: mR-tZrEM2c4O-wdGQUNbVE1ODRQ Message-ID: From: Garrett Cooper To: Julian Elischer Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, Steve Kargl Subject: Re: Process accounting/timing has broken recently 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: Mon, 06 Dec 2010 06:24:15 -0000 On Sun, Dec 5, 2010 at 10:22 PM, Julian Elischer wrote= : > On 12/5/10 10:19 PM, Garrett Cooper wrote: >> >> On Sun, Dec 5, 2010 at 10:12 PM, Steve Kargl >> =A0wrote: >>> >>> On Sun, Dec 05, 2010 at 04:00:32PM -0800, Julian Elischer wrote: >>>> >>>> On 12/5/10 3:18 PM, Steve Kargl wrote: >>>>> >>>>> Sometime in the last 7-10 days, some one made a >>>>> change that has broken process accounting/timing. >>>>> >>>>> laptop:kargl[42] foreach i ( 0 1 2 3 4 5 6 7 8 9 ) >>>>> foreach? time ./testf >>>>> foreach? end >>>>> Max ULP: 0.501607 for x in [-18.000000:88.709999] with dx =3D >>>>> 1.067100e-04 >>>>> =A0 =A0 =A0 =A069.55 real =A0 =A0 =A0 =A038.39 user =A0 =A0 =A0 =A030= .94 sys >>>>> Max ULP: 0.501607 for x in [-18.000000:88.709999] with dx =3D >>>>> 1.067100e-04 >>>>> =A0 =A0 =A0 =A068.82 real =A0 =A0 =A0 =A040.95 user =A0 =A0 =A0 =A027= .60 sys >>>>> Max ULP: 0.501607 for x in [-18.000000:88.709999] with dx =3D >>>>> 1.067100e-04 >>>>> =A0 =A0 =A0 =A069.14 real =A0 =A0 =A0 =A038.90 user =A0 =A0 =A0 =A030= .02 sys >>>>> Max ULP: 0.501607 for x in [-18.000000:88.709999] with dx =3D >>>>> 1.067100e-04 >>>>> =A0 =A0 =A0 =A068.79 real =A0 =A0 =A0 =A040.59 user =A0 =A0 =A0 =A027= .99 sys >>>>> Max ULP: 0.501607 for x in [-18.000000:88.709999] with dx =3D >>>>> 1.067100e-04 >>>>> =A0 =A0 =A0 =A068.93 real =A0 =A0 =A0 =A039.76 user =A0 =A0 =A0 =A028= .96 sys >>>>> Max ULP: 0.501607 for x in [-18.000000:88.709999] with dx =3D >>>>> 1.067100e-04 >>>>> =A0 =A0 =A0 =A068.71 real =A0 =A0 =A0 =A041.21 user =A0 =A0 =A0 =A027= .29 sys >>>>> Max ULP: 0.501607 for x in [-18.000000:88.709999] with dx =3D >>>>> 1.067100e-04 >>>>> =A0 =A0 =A0 =A069.05 real =A0 =A0 =A0 =A039.68 user =A0 =A0 =A0 =A029= .15 sys >>>>> Max ULP: 0.501607 for x in [-18.000000:88.709999] with dx =3D >>>>> 1.067100e-04 >>>>> =A0 =A0 =A0 =A068.99 real =A0 =A0 =A0 =A039.98 user =A0 =A0 =A0 =A028= .80 sys >>>>> Max ULP: 0.501607 for x in [-18.000000:88.709999] with dx =3D >>>>> 1.067100e-04 >>>>> =A0 =A0 =A0 =A069.02 real =A0 =A0 =A0 =A039.64 user =A0 =A0 =A0 =A029= .16 sys >>>>> Max ULP: 0.501607 for x in [-18.000000:88.709999] with dx =3D >>>>> 1.067100e-04 >>>>> =A0 =A0 =A0 =A069.38 real =A0 =A0 =A0 =A037.49 user =A0 =A0 =A0 =A031= .67 sys >>>>> >>>>> testf is a numerically intensive program that tests the >>>>> accuracy of expf() in a tight loop. =A0User time varies >>>>> by ~3 seconds on my lightly loaded 2 GHz core2 duo processor. >>>>> I'm fairly certain that the code does not suddenly grow/loose >>>>> 6 GFLOP of operations. >>>>> >>>> I know it's a lot to ask but it may be something that you can help >>>> with if you >>>> had the time to triangulate in on the change that did it.. >>>> I presume that since you are an "old hand" you can check out sources >>>> at different revisions.. >>> >>> I was hoping that someone (possibly the person responsible) would >>> recognize the symptoms and recommend a revision or two to revert. >>> Otherwise, doing a binary search will take some time in that it >>> takes 4+ hours for a buildworld/kernel cycle on my laptop. >> >> =A0 =A0 If you can provide the source for the application you're running >> above and instructions on how to compile it, I can at least give you a >> bit of a head start :). >> Thanks, >> -Garrett >> > plus which probably just > `cd /sys/amd64/conf config GENERIC;cd ../compile/GENERIC; make kernel` > =A0would be enough... But couldn't it be libthr changes? There have been a handful of those that have been committed recently by davidxu. HTH, -Garrett