Unix Technical Forum

Memory upgrade

This is a discussion on Memory upgrade within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> On Wed, 19 Sep 2007 03:06:08 +0000, ~kurt wrote: > I've lost count of how many times the rules ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 02-21-2008, 04:35 AM
Zeno
 
Posts: n/a
Default Re: Memory upgrade

On Wed, 19 Sep 2007 03:06:08 +0000, ~kurt wrote:
> I've lost count of how many times the rules for optimum swap space have
> changed. I'm not sure if it is correct to say that the 2XRAM swap rule
> no longer applies.


Actually, the two times RAM rule was not so bad. I think it was
traditionally introduced partly because swap devices where also used as
kernel crash dump devices. And for crash dumps which potentially are the
size of all physical memory, you need more space than the physical
memory. BSD people often still use this, because it allows for post-
mortem analysis in the case of a kernel panic. (Although modern BSDs also
have a kernel debugger.)

~ Zeno
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 02-21-2008, 04:36 AM
frz
 
Posts: n/a
Default Re: Memory upgrade

On Sep 18, 10:57 pm, D Herring <dherr...@at.tentpost.dot.com> wrote:
> frz wrote:
> > So I have 512 mb on my laptop and I have the swap setings at 1 gig. Now
> > I have getting a 1 gig to add to it, so I will have 1256 mb until I get
> > my additional gig. Do I have to resize my swap partition? My problem
> > here is that if that is mandatory, I don't have anymore space to
> > allocate to the swap partition. My current HDD is small and max out.

>
> You got more memory so the system would swap less, no?
>
> The old story about needing swap=2xRAM doesn't apply to modern systems
> (where heavy swapping usually means bigger problems). On Linux, swap
> is only needed when the system runs out of RAM; if processes are using
> 1.5G on a system with 1G RAM, then there needs to be at least 0.5G of
> swap.
>
> The one utility which does need swap >= RAM is software suspend --
> since this copies RAM to the swap partition before powering down.
>
> - Daniel


So I am keeping it that way. I now have 1.5 gig ram on the laptop with
1 gig sawp. I plan on getting a larger HDD. When I do, I might make
the 2xRAM swap then just to have it. Thanks for the replies.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 02-21-2008, 04:36 AM
korgman
 
Posts: n/a
Default Re: Memory upgrade

On 2007-09-24, frz <frzd@hotmail.com> wrote:
> So I am keeping it that way. I now have 1.5 gig ram on the laptop with
> 1 gig sawp. I plan on getting a larger HDD. When I do, I might make
> the 2xRAM swap then just to have it. Thanks for the replies.


Unless you open many-many big and heavy programs or big files you can
use minimal like 100Mbytes.

I have one testing computer with 256Ram no-swap: no problems.

Examine how much memory you need. Little swap is good. If you use
too much of swap, you need RAM not swap. Swap is slow.

--
Please excuse my english writing!
Slackware 12
Knowledge report: One year, still plenty to learn
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 02-21-2008, 04:36 AM
frz
 
Posts: n/a
Default Re: Memory upgrade

On Sep 24, 7:11 pm, korgman <kor...@gmail.com> wrote:
> On 2007-09-24, frz <f...@hotmail.com> wrote:
>
> > So I am keeping it that way. I now have 1.5 gig ram on the laptop with
> > 1 gig sawp. I plan on getting a larger HDD. When I do, I might make
> > the 2xRAM swap then just to have it. Thanks for the replies.

>
> Unless you open many-many big and heavy programs or big files you can
> use minimal like 100Mbytes.
>
> I have one testing computer with 256Ram no-swap: no problems.
>
> Examine how much memory you need. Little swap is good. If you use
> too much of swap, you need RAM not swap. Swap is slow.
>
> --
> Please excuse my english writing!
> Slackware 12
> Knowledge report: One year, still plenty to learn


Ok. New question, do i have to tell the system of the newly install
ram, edit recognisable ram somewhere? Of course mind you, I have a 512
mb card inside with the added 1 gig card but, same model and speed. I
will get the other 1 gig later to have them match.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 02-21-2008, 04:36 AM
Thomas Overgaard
 
Posts: n/a
Default Re: Memory upgrade


frz wrote :

> New question, do i have to tell the system of the newly install
> ram, edit recognisable ram somewhere?


That depends on your Slackware version. If its 10.2 or older you'll have
to compile a new kernel. Slackware 11 or 12 can handle up to 4G.
--
Thomas O.

This area is designed to become quite warm during normal operation.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 02-21-2008, 04:36 AM
frz
 
Posts: n/a
Default Re: Memory upgrade

On Sep 26, 12:04 pm, Thomas Overgaard <tho...@post2.tele.dk> wrote:
> frz wrote :
>
> > New question, do i have to tell the system of the newly install
> > ram, edit recognisable ram somewhere?

>
> That depends on your Slackware version. If its 10.2 or older you'll have
> to compile a new kernel. Slackware 11 or 12 can handle up to 4G.
> --
> Thomas O.
>
> This area is designed to become quite warm during normal operation.


Thanks, I am running slack 12.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:43 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com