From owner-freebsd-current@FreeBSD.ORG Mon Dec 6 19:01:00 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 557E1106566B; Mon, 6 Dec 2010 19:01:00 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bw0-f49.google.com (mail-bw0-f49.google.com [209.85.214.49]) by mx1.freebsd.org (Postfix) with ESMTP id 728918FC1D; Mon, 6 Dec 2010 19:00:59 +0000 (UTC) Received: by bwz5 with SMTP id 5so11386203bwz.8 for ; Mon, 06 Dec 2010 11:00:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=mckNjxMcpywpwxdAeX17m6t6XRLjXpxUHG5kNBpMB28=; b=EqUW9Dv7kZJZPVSHW1x8oD0iPqx3335WGVvOkY/s41ao2d0aXMXaNq8KhmnUaUJilk dWwx0xgjU7EDwbVza5vsvu9560W73q5cJoyOpa3iPtN3FPWD6bGIqQz74yav/xZb6zie 5hknnkvBD+PHZL7P28DefAx3LOs8K9VSig8j4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=DKYR2NWTPqN7852NdKrw+Z1uvgpCxxrd529RsCXeJlSQW49H5xTbKTkevxOoD+/rYB QU3d3kWnddGJMMJWh93E2nzEA3WYBZ0WoL949Fqsj9/RYDulUWX4WbQKNyJI2XAdwo0D qKJeE86frV4pm+tw/IZWCRAFbfcUy1CPaeuV8= Received: by 10.223.89.143 with SMTP id e15mr277674fam.100.1291662058095; Mon, 06 Dec 2010 11:00:58 -0800 (PST) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id n7sm1640201fam.11.2010.12.06.11.00.55 (version=SSLv3 cipher=RC4-MD5); Mon, 06 Dec 2010 11:00:56 -0800 (PST) Sender: Alexander Motin Message-ID: <4CFD32E6.7040003@FreeBSD.org> Date: Mon, 06 Dec 2010 21:00:54 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101104 Thunderbird/3.1.6 MIME-Version: 1.0 To: Steve Kargl References: <20101205231829.GA68156@troutmask.apl.washington.edu> <201012060944.03196.jhb@freebsd.org> <20101206163830.GA53157@troutmask.apl.washington.edu> <201012061301.13647.jhb@freebsd.org> <4CFD2A5B.1030006@freebsd.org> <20101206184309.GB38739@troutmask.apl.washington.edu> <4CFD2F77.8020409@freebsd.org> <20101206184949.GA39028@troutmask.apl.washington.edu> In-Reply-To: <20101206184949.GA39028@troutmask.apl.washington.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, Andriy Gapon 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 19:01:00 -0000 On 06.12.2010 20:49, Steve Kargl wrote: > On Mon, Dec 06, 2010 at 08:46:15PM +0200, Andriy Gapon wrote: >> on 06/12/2010 20:43 Steve Kargl said the following: >>> The 7-10 days is an estimate. I upgraded world/kernel on >>> Saturday. The previous world/kernel could have been older >>> than I'm guessing. It could be upto 4 weeks old because >>> my laptop tends to lag behind the upgrades to my servers. >> >> I see. >> >>> I would normally use gprof to measure execution times >>> for the functions I'm writing, but in some quick >>> testing last night gprof appears to be broken. I'm >>> seeing a larger variation that I would expect in >>> self-seconds for the accumulated time for execution >>> of expf. >> >> Just guessing - could you try setting sysctl kern.eventtimer.periodic=1 if it's >> not 1 already? >> >> And cc-ing Alexander, just in case. > > Thanks for the suggestion. I'll try this tonight (I left the > laptop at home) and will report back here. Unless your application utilizes all CPUs all the time, you can also try to set sysctl kern.eventtimer.idletick=1. -- Alexander Motin