From owner-freebsd-questions Thu Jul 11 7:42: 7 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17B2537B400 for ; Thu, 11 Jul 2002 07:42:03 -0700 (PDT) Received: from jeeves.velosystems.net (wsip68-15-85-238.oc.oc.cox.net [68.15.85.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34C6143E52 for ; Thu, 11 Jul 2002 07:42:02 -0700 (PDT) (envelope-from steve@velosystems.net) Received: from localhost (localhost.velosystems.net [127.0.0.1]) by jeeves.velosystems.net (Postfix) with ESMTP id DBE80A6B0; Thu, 11 Jul 2002 07:42:00 -0700 (PDT) Received: from daemon.velosystems.net (daemon.velosystems.net [192.168.1.11]) by jeeves.velosystems.net (Postfix) with ESMTP id C4965A524; Thu, 11 Jul 2002 07:41:57 -0700 (PDT) Subject: Re: Using Memory Disks to Build World From: Steve Wingate To: Annelise Anderson Cc: freebsd-questions@freebsd.org In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 11 Jul 2002 07:41:57 -0700 Message-Id: <1026398517.282.18.camel@daemon.velosystems.net> Mime-Version: 1.0 X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 2002-07-11 at 00:03, Annelise Anderson wrote: > I would like to do a make world with /usr/obj and /usr/src > on memory disks (this system has 2GB RAM, so I figure 512MB > for each ought to be enough). This is a 4.6-stable system. > > I created some md devices in /dev, but can't make > mount_mfs work with something like > mount_mfs -s 1048576 /dev/md0 /usr/src > or mount_mfs -s 1048576 /dev/md0s1 /usr/src > What you want is: mount_mfs -s 900000 /dev/ad0s1b /usr/obj ( for a 450MB'ish MFS) assuming that device is your swap. Incidentally I tried mounting obj & src into MFS on this box then did 'make -jn world' with n going from 2 to 16 and they were ALL slower than the simple 'make world' with everything on disk. Since I can make world in 25 minutes already it wasn't the end of the world, how I was sure this would've cut it to < 20 minutes at least. Dual 1.8Ghz Xeon 1GB RAM Seagate X-15 SCSI disk 36GB Fujitsu disk MAKE BUILDWORLD TIMES ( rm -rf'ing /usr/obj between each attempt) time make buildworld 982.012u 343.461s 21:41.46 101.8% 1308+1500k 19728+11088io 2024pf+0w time make -j 2 buildworld 994.406u 399.212s 29:35.15 78.5% 1279+1476k 2317+133841io 10pf+0w time make -j 4 buildworld 1003.815u 404.343s 24:10.07 97.1% 1286+1477k 2315+133865io 10pf+0w time make -j 6 buildworld 1005.415u 401.803s 23:29.69 99.8% 1285+1478k 2505+133863io 404pf+0w time make -j 8 buildworld 1004.884u 409.625s 23:40.58 99.5% 1284+1475k 2513+133910io 69pf+0w time make -j 10 buildworld 1004.634u 409.096s 23:14.77 101.3% 1282+1478k 2462+134015io 518pf+0 time make -j 12 buildworld 1004.608u 408.645s 23:15.46 101.2% 1281+1472k 2551+134036io 323pf+0w time make -j 16 buildworld 1006.419u 413.786s 23:20.01 101.4% 1278+1473k 2839+134027io 206pf+0w > Maybe I'm missing a step? These devices have not been > disklabeled. > > Annelise > > -- > Annelise Anderson > Author of: FreeBSD: An Open-Source Operating System for Your PC > Available from: BSDmall.com and amazon.com > Book Website: http://www.bittreepress.com/FreeBSD/introbook/ > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message