numbers don't lie ...

Dag-Erling Smørgrav des at des.no
Mon Sep 25 04:32:37 PDT 2006


Dmitry Morozovsky <marck at rinet.ru> writes:
> Kris Kennaway <kris at obsecurity.org> wrote:
> > Dmitry Morozovsky <marck at rinet.ru> writes:
> > > My experiments show that if you have enough memory to host radmdrive for
> > > /usr/src you'd better leave it for caching - there were no statistically
> > > meaningful performance difference, at least on machines with 1G+ RAM.
> > Really?  My measurements show the opposite (on a system with 16GB of
> > RAM).
> My last test on amd64/dualcore with 4G of RAM and -j4 shows
> (buildworld+buildkernel):
>
> ==> /tmp/buildlog <==
>      1996.45 real      3032.94 user       624.83 sys
> Script done on Tue Sep 19 14:44:54 2006
>
> ==> /tmp/buildlog.md <==
>      1957.45 real      3033.93 user       585.78 sys
> Script done on Tue Sep 19 15:20:42 2006
>
> Second one was with 512M/4k/512 swap-backed md, the former with /usr/src on the
> gmirror'ed pair of SATAs.

Seems to me that your own numbers contradict you.  You saved about 40
seconds (2%) by keeping /usr/src in a ram disk.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-hackers mailing list