Date: Fri, 25 Apr 1997 01:35:51 -0700 From: David Greenman <dg@root.com> To: Narvi <narvi@haldjas.folklore.ee> Cc: fs@freebsd.org Subject: Re: the namei cache... Message-ID: <199704250835.BAA13794@root.com> In-Reply-To: Your message of "Fri, 25 Apr 1997 11:08:55 %2B0300." <Pine.BSF.3.95.970425103425.26643A-100000@haldjas.folklore.ee>
next in thread | previous in thread | raw e-mail | index | archive | help
>On Thu, 24 Apr 1997, David Greenman wrote: > >> >about 1/4th of the additions. Getting reed of the div wouldn't also be bad >> >but might not be worth it. >> >> Not worth it? At greater than 50 cycles, the divide is more expensive >> than the entire add loop. > >Well, it seems that division has become more expensive over time. :-( >The only processor related book I had around was about the 286 and there >it cost only 28 so I figured we might be hard pressed coming up something Occording to my Intel Pentium databook, a 32bit divide takes 41 cycles on a Pentium; the 386 databook says 41 cycles for a 386. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704250835.BAA13794>
