Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Apr 2000 12:59:56 -0700
From:      Kent Stewart <kstewart@3-cities.com>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        Michael Bacarella <mbac@nyct.net>, Alfred Perlstein <bright@wintelcom.net>, Kevin Day <toasty@dragondata.com>, hackers@FreeBSD.ORG
Subject:   Re: Double buffered cp(1)
Message-ID:  <3903563C.6453A9E2@3-cities.com>
References:  <Pine.BSF.4.21.0004221320250.38433-100000@bsd1.nyct.net> <200004221736.KAA55484@apollo.backplane.com> <3901F277.66DDDDAF@3-cities.com> <200004222317.QAA56834@apollo.backplane.com> <39026874.F652A405@3-cities.com> <200004230625.XAA58076@apollo.backplane.com> <3902AEE3.C4E64476@3-cities.com> <200004231737.KAA62365@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Dillon wrote:
> 
> :The bugs were fixed in 4.0? What I saw was far too much cpu going to
> :setiathome on 3.4. Seti hardly ran on 4.0. I don't have quantities
> :because I have only noticed the really large increase in cpu time
> :required to build 4.0. The wall clock time on a buildworld hardly
> :changed (55-60 minutes) whether I ran seti or not on 3.4. I can watch
> :the wall clock time on some of my future builds and see how they are
> 
>     I don't know what your setup is, Kent, but when I do a buildworld
>     my system is 95% cpu bound, with virtual no idle time at all.  It's
>     all going to the buildworld.  On both 3.x and 4.x.

It is on 4.x but it wasn't on 3.4. At least, seti was taking time that
it shouldn't have been getting.

> 
>     Try mounting /usr/obj with softupdates turned on, and if your /tmp
>     is not a softupdates partition then make sure you are building with
>     -pipe in /etc/make.conf:
> 
>     (For 3.x)
> 
>         CFLAGS= -O2 -pipe
> 
>     (For 4.x)
> 
>         CFLAGS= -Os -pipe

I am trying this right now. I thought that optimizing this way was
dangerous for the kernel. The problem for the new people is what works
and when. You have to understand that Murphy sits on my shoulder. If
there are 2+ bugs in a product, I will eventually end up seeing one of
them :).

I have been going to turn on softupdates but haven't got there yet. I
want to link /usr/obj to the scsi drive first. Then, I think I will
try softupdates. Try the worst combo's first and then add features but
write the times down when you try the different arrangements. 

If 50% of my Cray throughput was write behind caching, then
softupdates could be an equal share on FreeBSD. A benchmark that ran
in four hours versus eight hours is a big change. I don't have a good
batch system but the speed of my FreeBSD systems have a lot going for
them clock wise. The Cray had 16MW (128MB) of memory and that is
pretty much a starter system now days.

Kent

-- 
Kent Stewart
Richland, WA

mailto:kstewart@3-cities.com
http://www.3-cities.com/~kstewart/index.html
FreeBSD News http://daily.daemonnews.org/

SETI(Search for Extraterrestrial Intelligence) @ HOME
http://setiathome.ssl.berkeley.edu/

Hunting Archibald Stewart, b 1802 in Ballymena, Antrim Co., NIR
http://www.3-cities.com/~kstewart/genealogy/archibald_stewart.html


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




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