Date: Sat, 17 May 1997 11:36:48 +0200 (MEST) From: Søren Schmidt <sos@sos.freebsd.dk> To: andreas@klemm.gtn.com (Andreas Klemm) Cc: hackers@freebsd.org, asami@freebsd.org Subject: Re: ccd question Message-ID: <199705170936.LAA22846@sos.freebsd.dk> In-Reply-To: <19970517101925.03846@klemm.gtn.com> from Andreas Klemm at "May 17, 97 10:19:25 am"
next in thread | previous in thread | raw e-mail | index | archive | help
In reply to Andreas Klemm who wrote: > Hi ! > > I have a typical "FreeBSD-hacker home site" and want to repartition > my disks to get best throughput for "make world's" and "cvs checkouts" > and such. > > I'm having three 2.1 GB disks. On the first disk I have to keep Windows > stuff in the first GB, so I have 5 GB free for FreeBSD. > > I'm just trying to decide, if it would be a good idea, to use the > ccd driver for the whole 2nd and 3rd disk to do disk striping. > > I'd then install the whole OS onto the first disk (the remaining 1GB > at the end of the disk and then use a 4.2GB stripe set consisting > of the remaining two disks. > > Or would it be better to arrange the disks as follows: > > sd0: 1GB Win | 66M swap | 200M /usr/obj | 500M cvs | 100M squid | 200M news > sd1: 66M swap | 32M root | 128M var | 200M /usr/src | 1.7GB /usr > sd2: 66M swap | 2GB /local, user accounts, "make release" > > So doing > - "cvs update -P" reads from sd0 and writes to sd1 > - "make world" reads from sd1 and writes to sd0 > - "make install" reads from sd0 and writes to sd1 > - "make release" - copies from sd0 to sd2 > - "cvs checkout's" from sd0 to sd2 > - compiles from sd2 to sd0 (objdir) > > And I have lots of space for doing various things on sd2 This seems like the most ideel setup (very much like mine :) ) I've tried ccd'ing two disks together, but that forced me to have src & obj on the same ccd device, that actually costs performance. It is much better to have src & obj on different spindles. If you can have a ccd device AND have src & obj on diffrent spindles then that would of cause be a win... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end ..
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705170936.LAA22846>