On Tue, 2 Jul 2002 14:45:29 -0400 (EDT) daRcmaTTeR <[EMAIL PROTECTED]> said with temporary authority
> On Tue, 2 Jul 2002 [EMAIL PROTECTED] wrote: > > > On 3 Jul 2002, Darren King wrote: > > > > > I am upgrading my machine from 128MB RAM to 512 MB. Do I need to > > > adjust the swap? I have 256MB. > > > > This is one of those questions that if you asked five people, you'd > > get five (or more) answers. > > > > I know that some versions of the kernel could have major problems if > > swap was not at least twice the size of physical RAM. Disk space is > > also pretty cheap now, with a 60G IDE costing about $100. > > > > If this is a server I'd say yes, adjust swap to twice physical RAM. > > The benefits would outweigh the relatively minimal resource usage. > > > > If it's a desktop and after monitoring the system for a while you > > notice little swap usage, I'd say you could probably get away with > > 512M swap. > > > > I would not recommend having less swap than physical memory. > > don't ya think thats a bit ridiculous though when you stop to think > about just how stinkin big that swap space is gonna be? unless this > machine is going to be doing heavy graphics or audio processing it's > never even oging to use the swap space. it'll just sit there. > > besides...i'm not aware of any kernel versions that would care one way > or the other if the swap space adds up to at least twice the physical > ram size. i know plenty of home users that might choke on that, but > not the kernel. > > -- > daRmaTTeR > > R L U: #186492 > When ever people annoy me I remember, "Vengence is mine saith the > Lord." My prayer is, "...here am I Lord...send me!" > Dark I agree.... In fact the rule of 2-1 for swap to ram came about in the days when 4 megs of ram was considered Huge. An embedded server unit (1/2 U) I recently tested out for a friend of mine. (his design) uses a 64 meg Compact flash as the disk drive and 256 megs ram. It runs completely without swap and is capable of soaking the 4 nics on board with data all day long. Yes it's a weird concept in non hackable web servers. The bugs in it are not related to swap ( just trust me on that) in fact the OS doesn't even care that swap is missing. (Linux and FreeBSD have been run on it.) In fact a check of my firewall/webserver/fileserver running 64 megs of ram (home use) shows that swap access has been 0 since last reboot. (3 weeks ago new kernel) ..... The only reason I know of for having the 2 to 1 rule anymore on swap.... Gentoo Linux. James > >
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
