From owner-freebsd-fs@FreeBSD.ORG Fri Jan 7 09:50:06 2005 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81DC716A4CE for ; Fri, 7 Jan 2005 09:50:06 +0000 (GMT) Received: from web30308.mail.mud.yahoo.com (web30308.mail.mud.yahoo.com [68.142.200.101]) by mx1.FreeBSD.org (Postfix) with SMTP id 2580F43D5A for ; Fri, 7 Jan 2005 09:50:06 +0000 (GMT) (envelope-from barath_yes@yahoo.com.sg) Received: (qmail 4799 invoked by uid 60001); 7 Jan 2005 09:50:05 -0000 Message-ID: <20050107095005.4797.qmail@web30308.mail.mud.yahoo.com> Received: from [203.118.46.137] by web30308.mail.mud.yahoo.com via HTTP; Fri, 07 Jan 2005 17:50:05 CST Date: Fri, 7 Jan 2005 17:50:05 +0800 (CST) From: Barath S To: =?iso-8859-1?q?Arne=20W=F6rner?= , FreeBsd-MailGrp In-Reply-To: <20050107094348.42610.qmail@web41201.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: using mfs of size > 64Mb and system stability X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jan 2005 09:50:06 -0000 Thank you Arne. I didn't try with 'swap' option as my requirement is to have the files in memory. I will test with 5.3 and see it that works. regards --- Arne Wörner wrote: > --- Barath S wrote: > > My intention is create a file system in memory of > size > > > 128Mb and use that for my application. But, I > > couldn't do that as my system hangs whenever I > create > > a mfs of size > 64Mb. I did the following... > > > > a) Configured memory file system of size 128Mb > using > > 'mdmfs' command with 'malloc' option. When I tried > to > > copy files to this mfs, m/c hanged after copying > some > > files. > > b) Then I rebooted by m/c and configured memory > file > > system of size 64Mb and this time the copying > > operation was successful > > c) I observed that the system hanged whenever I > > configure a mfs of size > 64Mb and used that mfs > > > > a) Can someone provide me hints on what could be > the > > problem ? > > > I use R5.3. According to the man page mdconfig(8) a > md of type > malloc should use "-o reserve", if it is large and > to be "filled" > (I think the man page means "filled quickly"): > "If the -o reserve option is not set, creating and > filling > a large malloc-backed memory disk is a very easy > way to > panic a system." > > Maybe that helps? > > Did you try type "swap"? > > -Arne > > > > > __________________________________ > Do you Yahoo!? > The all-new My Yahoo! - Get yours free! > http://my.yahoo.com > > > __________________________________________________ Do You Yahoo!? Download the latest ringtones, games, and more! http://sg.mobile.yahoo.com