From owner-freebsd-arch@FreeBSD.ORG Tue May 22 07:48:27 2007 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D0F7616A400 for ; Tue, 22 May 2007 07:48:27 +0000 (UTC) (envelope-from dds@aueb.gr) Received: from mx-out.forthnet.gr (mx-out.forthnet.gr [193.92.150.103]) by mx1.freebsd.org (Postfix) with ESMTP id 4EB1813C4AD for ; Tue, 22 May 2007 07:48:26 +0000 (UTC) (envelope-from dds@aueb.gr) Received: from mx-av-04.forthnet.gr (mx-av.forthnet.gr [193.92.150.27]) by mx-out-02.forthnet.gr (8.14.0/8.14.0) with ESMTP id l4M7VDDn011019; Tue, 22 May 2007 10:31:13 +0300 Received: from MX-IN-04.forthnet.gr (mx-in-04.forthnet.gr [193.92.150.163]) by mx-av-04.forthnet.gr (8.14.1/8.14.1) with ESMTP id l4M7VD41021961; Tue, 22 May 2007 10:31:13 +0300 Received: from [192.168.136.22] (ppp125-70.adsl.forthnet.gr [193.92.232.70]) by MX-IN-04.forthnet.gr (8.14.1/8.14.1) with ESMTP id l4M7V5Dp032661; Tue, 22 May 2007 10:31:06 +0300 Authentication-Results: MX-IN-04.forthnet.gr from=dds@aueb.gr; sender-id=neutral; spf=neutral Message-ID: <46529C30.2090906@aueb.gr> Date: Tue, 22 May 2007 10:30:56 +0300 From: Diomidis Spinellis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070222 SeaMonkey/1.1.1 MIME-Version: 1.0 To: freebsd-arch@freebsd.org, freebsd-hackers@freebsd.org, freebsd-current@freebsd.org References: <461958CC.4040804@aueb.gr> <20070414170218.M76326@fledge.watson.org> <4621E826.6050306@aueb.gr> <20070415105157.J84174@fledge.watson.org> <46231C64.9010707@aueb.gr> <20070419101815.Y2913@fledge.watson.org> <4627A6C3.2070409@aueb.gr> <20070419212253.L2913@fledge.watson.org> <4627E311.6080500@aueb.gr> <463B581E.6070804@aueb.gr> In-Reply-To: <463B581E.6070804@aueb.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Process accounting changes X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2007 07:48:27 -0000 The accounting changes discussed in arch@ about a month ago are now part of the CURRENT tree. The changes increase the precision of the time values stored in acct(5) from 15ms (which for most commands was too large) to 1 microsecond. The userland programs sa(8) and lastcomm(1) provide backward compatibility with existing record and file formats (including accounting files including both old and new records); regression tests are included to verify this. The changes have been tested on i386, amd64, and (partly) sparc64; please drop me an email if you suspect a problem with your particular setup. Many thanks to Garance A Drosehn, Bruce Evans, Peter Jeremy, Poul-Henning Kamp, Sam Leffler, Rick C. Petty, Erik Trulsson, and Robert Watson for their earlier comments; to Eric Anderson, Carl Johan Gustavsson, Larry Rosenman, and Derek Tattersall for responding to my hackers@ request with test data, and especially to Larry Rosenman for arranging access to an additional test machine. Diomidis Spinellis - http://www.spinellis.gr