From owner-freebsd-stable@FreeBSD.ORG Mon May 7 22:28:19 2007 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B1EB016A404 for ; Mon, 7 May 2007 22:28:19 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.freebsd.org (Postfix) with ESMTP id 1A0AD13C4AD for ; Mon, 7 May 2007 22:28:18 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (ovsjiv@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id l47MSCsb048973; Tue, 8 May 2007 00:28:17 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id l47MSCSr048972; Tue, 8 May 2007 00:28:12 +0200 (CEST) (envelope-from olli) Date: Tue, 8 May 2007 00:28:12 +0200 (CEST) Message-Id: <200705072228.l47MSCSr048972@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, marsgmiro@gmail.com In-Reply-To: <28edec3c0705071447t64eb6ea1n7a18550d4af6d883@mail.gmail.com> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Tue, 08 May 2007 00:28:17 +0200 (CEST) Cc: Subject: Re: mfs and buildworlds on the SunFire x4600 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG, marsgmiro@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 May 2007 22:28:19 -0000 Mars G. Miro wrote: > Oliver Fromme wrote: > > By the way, what are you actually trying to do? What is > > your goal? Do you need to reduce the buildworld time? > > as i've mentioned in my original email, does mfs speed up I/O stuff ? Sometimes it does. But most of the time, a real disk partition with soft-updates on it is just as fast. With soft-updates, writing is asynchronous, i.e. it goes to RAM first, just like a memory disk. The data is later committed to disk in the background, so the processes don't have to wait for it. And once the data is in the cache, reading is just as fast (or even faster) as a memory disk. Note that /usr/src will fit in the cache easily if you have several GB of RAM. I usually have a memory disk as /tmp, but that's really just for historical reasons. And it's easier to clean up -- just umount it. ;-) > there's been a lot of threads in teh past that a buildworld on mfs > increases speed --- tho it might not be the appropriate test for > high-end machines (speaking of w/c I just gots a T2000). It depends on what exactly you want to test, and for what reason. You probably have already wasted much more time with your experiments and testing than you can ever save by using mfs for buildworld. > there's prolly other appropriate apps/tools for mfs-testing ... I don't think it makes much sense to benchmark mfs. It is a known fact that a real tmpfs (like Solaris and Linux have) would be better. I think it's even listed on the FreeBSD ideas web page, but nobody is actively working on it, AFAIK. On the other hand, I'm not 100% convinced that it would be worth the effort either. It would be interesting to see how ZFS on a swap-backed vnode device would perform on FreeBSD 7-current (with and without compression). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone to bind them.