Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jul 2002 14:19:23 -0400 (EDT)
From:      Peter Leftwich <Hostmaster@Video2Video.Com>
To:        Rob Ellis <rob@web.ca>
Cc:        FreeBSD LIST <FreeBSD-Questions@FreeBSD.Org>
Subject:   Re: 1GB ram, how much SWAP?
Message-ID:  <20020731141653.V44895-100000@earl-grey.cloud9.net>
In-Reply-To: <20020731174826.GI22253@web.ca>

index | next in thread | previous in thread | raw e-mail

On Wed, 31 Jul 2002, Rob Ellis wrote:
> i'm setting up a new machine, currently with 256M swap partitions
> on 2 disks, so 512M of swap, which seems like enough...
> it is going to be a server, but i can't imagine it's going
> to need 1.5GB of memory...?

Question for the list... how do you even tell FreeBSD to use X amount of
RAM for swap?  I realize in sysinstall's fdisk screen and label editor how
to designate part of a HDD as SWAP, but how do you accomplish with RAM?

Thanks,

> if crash dumps are enabled, maybe you need the extra swap?
> but they're off by default and i don't see turning them on. - rob
>
> On Wed, Jul 31, 2002 at 11:31:30AM -0600, Colin Harford wrote:
> > On 7/31/02 11:17 AM, "Rob Ellis" <rob@web.ca> wrote:
> > > if you have a gigabyte of ram, does the 2 x ram calculation
> > > for the swap partition (from the fbsd handbook) still make sense?
> > > thanks. - rob
> > All depends on what you use the machine for....  Desktop, big deal
> > But if its a mission critical server, add some, bescides HD space is pretty
> > cheap now.
> >
> > >From one machine that doesn't quite have 1 GB of ram....
> >
> > last pid: 30202;  load averages:  0.06,  0.01,  0.00
> > up 4+09:29:04  13:20:58
> > 56 processes:  1 running, 55 sleeping
> > CPU states:  0.0% user,  0.0% nice,  0.4% system,  0.0% interrupt, 99.6%idle
> > Mem: 24M Active, 169M Inact, 92M Wired, 8K Cache, 99M Buf, 592M Free
> > Swap: 1776M Total, 1776M Free
> >
> > My desktop is offline, else I'd show you its stats, its got 1.25 GB of ram,
> > and 1 GB of swap.... Things just fly.... I don't think I've ever pushed it
> > into swap, either way, its better safe than sorry to have some.
> > Colin Harford    
> >                                       
> > Systems and Network Administrator         Apple Product Professional
> > =================================     
> > Computer and Network Support         
> > University of Alberta Students' Union                  
> > Phone: (780) 492-4241   Fax:  (780) 492-4643
> > http://www.su.ualberta.ca
> >
> > "I sense much NT in you, NT leads to Blue Screen.
> > Blue Screen leads to downtime, downtime leads to suffering.
> > NT is the path to the darkside."
> >          - Unknown Unix Jedi

--
Peter Leftwich
President & Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
+1-413-403-9555


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



help

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