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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| |||
| 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. |
| |||
| 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 |
| |||
| 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. |
| |||
| 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. |
| ||||
| 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. |