From owner-freebsd-current@FreeBSD.ORG Mon Aug 22 07:40:07 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A557516A41F for ; Mon, 22 Aug 2005 07:40:07 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.10.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 103A643D45 for ; Mon, 22 Aug 2005 07:40:06 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.4/8.13.3) with ESMTP id j7M7e2lg031507 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 22 Aug 2005 09:40:02 +0200 (CEST) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.4/8.13.3/Submit) id j7M7e25n031506; Mon, 22 Aug 2005 09:40:02 +0200 (CEST) Date: Mon, 22 Aug 2005 09:40:02 +0200 From: Divacky Roman To: Kris Kennaway Message-ID: <20050822074002.GA31176@stud.fit.vutbr.cz> References: <20050821084546.GA77111@stud.fit.vutbr.cz> <20050821175406.GA36164@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050821175406.GA36164@xor.obsecurity.org> User-Agent: Mutt/1.4.2i X-Scanned-By: MIMEDefang 2.49 on 147.229.10.14 Cc: current@freebsd.org Subject: Re: [PATCH]: fdalloc optimization 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, 22 Aug 2005 07:40:07 -0000 On Sun, Aug 21, 2005 at 01:54:06PM -0400, Kris Kennaway wrote: > On Sun, Aug 21, 2005 at 10:45:46AM +0200, Divacky Roman wrote: > > hi, > > > > I made a patch for fdalloc which could speed it up a bit, its stored under > > kern/85176 or http://hysteria.sk/~neologism/kern_descrip.patch > > That's all nice and everything, but *does* it speed it up a bit? :-) this is my buildkernel test: old kernel: 1. 250.560u 23.428s 4:47.09 95.4% 3243+2002k 1911+977io 235pf+0w 2. 249.645u 25.571s 4:38.72 98.7% 3240+1998k 89+961io 3pf+0w 3. 249.976u 25.356s 4:38.56 98.8% 3238+1997k 87+974io 3pf+0w new kernel: 1. forgot to prepend time command ;( 2. 250.281u 24.268s 4:38.49 98.5% 3245+1998k 92+996io 3pf+0w 3. 249.279u 25.390s 4:38.08 98.7% 3240+1997k 83+980io 3pf+0w ie. its never slower but I think this is insignificant. on the other hand - buildkernel is not that fdalloc sensitive. dont know how to measure it ;( roman