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 [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message