Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-08-2003, 10:10 AM   #1
Registered: Oct 2002
Posts: 55

Rep: Reputation: 15
Question Memory Optimizations ?

Hello All,

I have noticed that Linux tends to use ram quite well (lots of caching... not much swapping) however, there are certain programs I run which wind up in swap all the time.

The only time they don't wind up in swap is after linux has finished some kind of internal memory clean up... my hd chatters for a while, and any swap usage disappears, and overall mem usage falls.

I was wondering if I can run that program manually, at will... or whether there is a good 3rd party program that cleans ram under Linux...


Old 07-08-2003, 10:27 AM   #2
Registered: Mar 2003
Location: Iowa, US
Distribution: Gentoo!!, Mandrake 9.1
Posts: 170

Rep: Reputation: 30
I don't know, but I am going to watch this thread to find out. I was also curious, what process do you follow to determine which programs are in cache and which are in ram? I have been wondering how to tell this.


Old 07-08-2003, 01:06 PM   #3
LQ Guru
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 46
Dont worry about it, theres no programs because Linux has excellent memory management.

Some programs always go into swap because that info is "unimportant" or not critical. Important stuff goes into RAM, secondary stuff goes into Swap. Its not really about the RAM being full (though that CAN do it as well, but most likely not. ).

So, don't worry about it.
Old 07-08-2003, 05:11 PM   #4
Registered: Jul 2003
Location: columbia
Distribution: Linux+XP
Posts: 40

Rep: Reputation: 15
i think...programs will go into SWAP
(1) if they exceed RAM
(2) unused part of the program will go to SWAP.
is it correct.??
if so...then in either case its not a bad thing to happen.


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
Fresh 10 install, Optimizations RedShirt SUSE / openSUSE 5 10-30-2005 11:39 AM
distro optimizations Nightfrost Linux - Distributions 12 04-19-2005 01:51 PM
Compiler optimizations for LFS-5.1.1 ginobili_20 Linux From Scratch 2 09-24-2004 02:34 PM
Slack optimizations? bluenirve Slackware 4 09-20-2004 06:58 AM
Have any optimizations in Linux? Arc4ne Linux - General 4 06-23-2004 10:11 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:29 PM.

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