From owner-freebsd-hackers Sun Jul 30 13:28:57 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.nyct.net (bsd4.nyct.net [216.139.128.6]) by hub.freebsd.org (Postfix) with ESMTP id DC13737B7BC; Sun, 30 Jul 2000 13:28:53 -0700 (PDT) (envelope-from mbac@nyct.net) Received: from bsd1.nyct.net (root@bsd1.nyct.net [216.139.128.3]) by mail.nyct.net (8.9.3/8.8.7) with ESMTP id QAA63757; Sun, 30 Jul 2000 16:28:52 -0400 (EDT) (envelope-from mbac@nyct.net) Received: from localhost (mbac@localhost) by bsd1.nyct.net (8.9.3/8.9.3) with ESMTP id QAA44953; Sun, 30 Jul 2000 16:28:54 -0400 (EDT) (envelope-from mbac@nyct.net) X-Authentication-Warning: bsd1.nyct.net: mbac owned process doing -bs Date: Sun, 30 Jul 2000 16:28:54 -0400 (EDT) From: Michael Bacarella To: Brian Fundakowski Feldman Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: /tmp on a ramdisk? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 30 Jul 2000, Brian Fundakowski Feldman wrote: > Yes, things are stored twice in memory: once in the buffer cache and > once in the MFS process. Yes, they are also copied multiple times. > MFS simply can't perform as well as you might expect. The malloc disk > device can because it simply creates a kernel-memory backing store. > The disadvantage here is that it's wired memory and can't get swapped > out like mount_mfs can. This is more out of curiousity than criticism; ..but why not just make a charecter device that corresponds to a chunk of VM and simply run newfs on that? You would still have a relatively proven filesystem (like FFS) and you also get the "benefits" of having it memory resident. Perhaps certain properties of FFS would be less than ideal for this, but you get the idea. Wouldn't this have the same problems as mfs but still avoid existing as a seperate filesystem (and thus, a seperate code base)? -MB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message