Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 May 2004 08:11:51 -0600
From:      Tillman Hodgson <tillman@seekingfire.com>
To:        freebsd-sparc64@freebsd.org
Subject:   Re: 5.2.1p6, Sparc64 && ypwhich
Message-ID:  <20040514141151.GA67707@seekingfire.com>
In-Reply-To: <200405132343.i4DNhiLP002783@beast.csl.sri.com>
References:  <t.moestl@tu-bs.de> <20040513234115.GD982@timesink.dyndns.org> <200405132343.i4DNhiLP002783@beast.csl.sri.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 13, 2004 at 04:43:44PM -0700, Mike Hogsett wrote:
> 
> > A buildworld would be preferable. Reinstalling the include files and
> > just building ypwhich should work, but other programs use this header
> > too, so it would be nice to get a more complete test coverage.
> 
> Ok.  I just started the buildworld.  The host is only an Ultra5 at
> 360Mhz with 128Mbytes RAM so this is going to take a while.  I'll have
> an answer for you tomorrow.

(heading off towards a new topic, but hey, the sparc64 list needs more
 off-topic posts anyway ;-) )

In my tests it's not the CPU in the Ultra5 that makes buildworld slow,
it's the IDE interface that must've been designed by Lucas[1]. Adding
memory helps simply because it lets the file cache stand a chance,
though I don't believe the buildworld process re-uses nearly as many
files as, say, a production web server.

There are two things I've tried to alleviate the slow disk I/O:

* I tried using an Ultra SCSI card and drive. This helps immensely, but
  I needed the card for another box.

* I mount /usr/obj, /usr/src and /usr/ports off another box. With a bit
  of NFS tuning, I went from around 2MB/s to around 8MB/s

Seriously, by NFS mounting the filesystems needed to buildworld, I
drastically speed them up as compared to local disk.

"The universe is not only stranger than we imagine, it is stranger
 than we can imagine."  -J. B. S. Haldane

seems oddly appropriate ;-)

-T


1. Collectors of classic British motorcycles will know what I'm talking
   about. Lucas designed electrical systems, including lights. They were
   often nicknaemd "Lucas, the Prince of Darkness" (a great pun)


-- 
Real men use "cat /var/spool/mail/$USER | more" and "telnet $SMTP_HOST 25"
	- Anonymous Unix geek
"more /var/spool/mail/$USER" <-- don't waste a process, you idiot
	- Second anonymous Unix geek



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