Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Feb 2005 00:08:27 -0800
From:      Nate Lawson <nate@root.org>
To:        cvs-src@freebsd.org, cvs-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: cvs commit: src/sys/fs/msdosfs msdosfs_conv.c
Message-ID:  <4208737B.7080909@root.org>
In-Reply-To: <20050208075117.E19CC16A557@hub.freebsd.org>
References:  <20050208075117.E19CC16A557@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4208737B.7080909>