Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 May 1997 10:19:25 +0200
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        hackers@FreeBSD.ORG
Cc:        asami@FreeBSD.ORG
Subject:   ccd question
Message-ID:  <19970517101925.03846@klemm.gtn.com>

next in thread | raw e-mail | index | archive | help
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

Currently I'm using this scheme, which was a must for me, when
I needed sd0 for 1GB Win and 1GB BSDI 3.0.

Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/sd1a       47183    16741    26668    39%    /
/dev/sd1s1e    193855    78402    99945    44%    /var
/dev/sd1s1f    183183    86104    82425    51%    /news
/dev/sd1s1g     87919    38508    42378    48%    /www
/dev/sd1s1h   1417295  1102493   201419    85%    /usr
/dev/sd2s1e   1953663  1369374   427996    76%    /local


BTW, how would you organize the striped disks, what would you put
on that ?

sd0	1GB Win | 32MB root | 180M swap | 128M /var | 700M usr

sd1	/local with: cvs, news, squid proxy,
sd2

Or would it be better/possible to create several stripes ?

sd0	1GB Win | 32MB root | 128M /var | 100M /usr/obj | 850M usr

sd1     100M swap | 5 stripes: 100M news | 50M squid | 250M cvs | 100M /usr/src
						1400M /local
sd2     100M swap | 5 stripes: 100M news | 50M squid | 250M cvs | 100M /usr/src
						1400M /local

Would be nice if you could give me some hints.

	Andreas ///

-- 
Andreas Klemm | klemm.gtn.com - powered by
                    Symmetric MultiProcessor FreeBSD
                       http://www.freebsd.org/~fsmp/SMP/SMP.html
                          http://www.freebsd.org/~fsmp/SMP/benches.html



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