From owner-cvs-all@FreeBSD.ORG Tue Feb 8 08:08:30 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D853316A4CE; Tue, 8 Feb 2005 08:08:30 +0000 (GMT) Received: from ylpvm01.prodigy.net (ylpvm01-ext.prodigy.net [207.115.57.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A54E43D41; Tue, 8 Feb 2005 08:08:30 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.51] (adsl-64-171-186-189.dsl.snfc21.pacbell.net [64.171.186.189])j1888SvE017382; Tue, 8 Feb 2005 03:08:29 -0500 Message-ID: <4208737B.7080909@root.org> Date: Tue, 08 Feb 2005 00:08:27 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041205) X-Accept-Language: en-us, en MIME-Version: 1.0 To: cvs-src@freebsd.org, cvs-all@freebsd.org, src-committers@freebsd.org References: <20050208075117.E19CC16A557@hub.freebsd.org> In-Reply-To: <20050208075117.E19CC16A557@hub.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: cvs commit: src/sys/fs/msdosfs msdosfs_conv.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2005 08:08:31 -0000 Nate Lawson wrote: > njl 2005-02-08 07:51:14 UTC > > FreeBSD src repository > > Modified files: > sys/fs/msdosfs msdosfs_conv.c > Log: > Unroll the loop for calculating the 8.3 filename checksum. In testing > on my P3, microbenchmarks show the unrolled version is 78x faster. In > actual use (recursive ls), this gives an average of 9% improvement in > system time and 2% improvement in wall time. > > Revision Changes Path > 1.39 +14 -5 src/sys/fs/msdosfs/msdosfs_conv.c I also tested this version in usermode on some candidate strings to be sure its output matches the original version. The mbnambuf functions are my next victim. -- Nate