Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 1999 07:23:02 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        mi@aldan.algebra.com
Cc:        questions@freebsd.org
Subject:   Re: -lmd's MD5File() 
Message-ID:  <23589.942733382@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 15 Nov 1999 18:35:08 EST." <199911152335.SAA31130@misha.cisco.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199911152335.SAA31130@misha.cisco.com>, Mikhail Teterin writes:
>Why does not the  function in subject use mmap? In  my tests, using mmap
>instead of  reading the  file block  at a  time gave  17-26% performance
>improvement:
>
>	The new method: 135735 microseconds per iteration
>	The old method: 164525 microseconds per iteration
>
>	The new method: 387283 microseconds per iteration
>	The old method: 529743 microseconds per iteration
>
>Should I submit patches, or is there a good reason? Thanks!

How would it work for a 5GB file ?

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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