LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-04-2006, 09:38 AM   #1
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Rep: Reputation: 47
low memory swap


I'm using an old pc with only 64 MB of RAM since that's all the motherboard can use. I have both kernel 2.4.32 & 2.6.17.3 on it and have noticed with top that 0 k is used by swap when it starts. After starting an X session and exiting X, top says that used swap is 1.5 M with kernel 2.4.32 and 4 M with kernel 2.6.17.3. Does swap go back down to 0 k after some time? How could I free up some memory with Slack 10.2?

EDIT: I use this pc as an mp3 server with gnump3d.

Last edited by linuxhippy; 07-04-2006 at 09:41 AM.
 
Old 07-04-2006, 03:16 PM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613
Let the kernel manage the memory. Actually, you can run flxubox, or even window maker with only 32MB of total memory. I've run with 16MB physical RAM and 16MB swap, if you run opera, after about 3 pages in the cache it will crash.
So, with 64MB you have a little that can be freed up by having some swap space around. It can be a partiton or a swap file. For smaller sizes or single-partition systems, I use a swapfile in /root. Even a 512K swap should help keep the kernel from doing anything weird. But, for having a decent working environment for browsing or graphics editing, etc, you'll need to add MB's or GB's as needed.

Note that the minimum size for swap is just 4K. I have systems that have run for a long time without any swap at all. Only recently was I able to make one hang-up -while compiling the full mozilla with tests and debug stuff on a machine with around 200MB RAM. It would choke and lock up after about 2 hours on the job. That was on an iMac, though, which be the reason.
Sounds like you would be fine with 16-64MB of swap, but if you have the space give it more.
For normal use on PI & PII machines, I don't notice any improvements in performance above 258MB of RAM.
Also, some of the fastest RAM available is from using 32MB sticks! Sometimes, you can actually get better performance by using a 32MB stick in the primary slot, or two if you have 4 slots.

Another trick for improving the performance of old PI's and PI'S is to use a kernel compiled for i386 instead of i486 or above, and get the size of the kernel down to under 800K.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
memory low ?? time112852 Linux - Software 8 09-28-2005 10:12 PM
How to monitor low memory? Fredy71 Linux - General 9 12-23-2004 11:05 AM
Low memory configuration?? Mercutio701 Linux - Newbie 4 02-07-2004 01:16 PM
Difference between Swap Virtrual memory and Swap Parition Nappa Slackware 4 11-27-2003 08:58 PM
RedHat 7.1, Low Memory BigBrother Linux - Software 7 07-11-2001 11:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration