Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2002 23:12:01 -0700
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        "Samuel J.Greear" <dragonk@evilcode.net>
Cc:        current@FreeBSD.org
Subject:   Re: making a large RAMdisk?
Message-ID:  <20020121231201.A64554@panzer.kdm.org>
In-Reply-To: <20020122052400.4790A2109B@ns1.infowest.com>; from dragonk@evilcode.net on Tue, Jan 22, 2002 at 10:18:51PM -0700
References:  <20020121222038.A64090@panzer.kdm.org> <20020122052400.4790A2109B@ns1.infowest.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 22, 2002 at 22:18:51 -0700, Samuel J.Greear wrote:
> On Monday 21 January 2002 10:20 pm, Kenneth D. Merry wrote:
> > I've got a machine with 4G of RAM, and I'm trying to test all the RAM out
> > to make sure it's okay.
> >
> > I've tried doing buildworlds, but never end up using more than 1G of RAM on
> > cache, etc.
> >
> > I've got -current and -stable on it, and I've tried making an MFS
> > filesystem under -stable.  I can't seem to get more than a 512M MFS
> > filesystem allocated under -stable.  (I've got two 2G swap partitions.)
> >
> > I tried using md to make a swap-backed filesystem under -current, but the
> > problem is that it actually seems to back it with swap.  (pstat -s shows
> > disk space used, unlike MFS under -stable)
> >
> > Is there a way, under -current or -stable, to make a true RAMdisk that is
> > around 2GB in size?
> >
> > Ken
> 
> 
> If all you want to do is test the RAM:
> http://www.teresaudio.com/memtest86/
>   (download the Windows version and use
>     dd to put the binary on a floppy)

Thanks for the pointer.  Unfortunately it doesn't work with more than 2G of
RAM.  (The test just hangs up, numlock doesn't work, keyboard input doesn't
seem to do anything.)

> As far as your other questions, well ....

For the archives, Paul Saab pointed out that I need to increase MAXDSIZ.
That did the trick, and I now have a ~2G MFS partition:  (on -stable)

{nargothrond:/usr/home/ken:62:0} df -k /mnt
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
mfs:340       2015918   604986  1249660    33%    /mnt

Ken
-- 
Kenneth Merry
ken@kdm.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020121231201.A64554>