LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 04-13-2006, 10:55 PM   #1
MTBer
Member
 
Registered: Apr 2006
Distribution: SUSE 10.3
Posts: 37

Rep: Reputation: 15
SUSE- reduce ram consumption


I have SUSE linux 10.0 and I run KDE. I have 448 mb of ram (64 for onboard graphics) and running firefox right now with all of the background processes uses 431mb of ram. There seems to be alot of unecessary processes running. I set printer daemon to not start through Yast since I don't have a printer and this gave me about 5mb. Does anyone know of any unnecessary daemons or processes that I coud get rid of to free up some ram?
 
Old 04-14-2006, 05:28 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
how much RAM is your firefox using?? you can drastically reduce the amount of RAM firefox uses by tweaking the value of browser.sessionhistory.max_total_viewers with about:config...

have a look: http://www.google.com/search?q=brows..._total_viewers
 
Old 04-14-2006, 08:53 AM   #3
comptiger5000
Member
 
Registered: May 2005
Distribution: Fedora Core Since version 3
Posts: 193

Rep: Reputation: 30
did you get those values via the "top" command?

If so, some of that used ram is cached disk data and will be freed as needed. This is quite normal. If I leave my machine (1gb ram) running for a while and do some disk-based tasks, I have about 150mb free, and about 500mb of cached data.
 
Old 04-14-2006, 01:58 PM   #4
MTBer
Member
 
Registered: Apr 2006
Distribution: SUSE 10.3
Posts: 37

Original Poster
Rep: Reputation: 15
Yes, my ram was being used as cache. I opened up 20 or so applications and my ram usage actually decreased! That is great that my ram is being used as cache instead of just sitting there. Thanks alot!
 
Old 04-14-2006, 06:36 PM   #5
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
the RAM cache thing is true, and it's a common cause for concern for a lot of people new to linux's way of dealing with memory...

however, i would like to point-out that it is unrelated to firefox's extremely high memory usage... if you want to conserve ram, i suggest you consider tweaking browser.sessionhistory.max_total_viewers...

by tweaking browser.sessionhistory.max_total_viewers i was able to reduce my firefox's average memory usage (during heavy browsing) from about 160MB to 60MB... that's about 100MB of saved RAM - which would NOT have been released by the system if something else needed it (unlike the cached RAM you see in "top")... with this tweak, many people have experienced far greater RAM usage reduction than i have...

Last edited by win32sux; 04-14-2006 at 07:22 PM.
 
Old 04-14-2006, 10:00 PM   #6
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
This article by sapphirecat on Linux Memory Management may be of interest
 
Old 04-14-2006, 10:13 PM   #7
sleekmason
Member
 
Registered: Mar 2006
Distribution: Lilidog!
Posts: 329

Rep: Reputation: 33
What would you suggest to be an appropriate setting? I was suprised to see that mine was set to -1 rather than some positive number.
 
Old 04-14-2006, 11:21 PM   #8
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by sleekmason
What would you suggest to be an appropriate setting? I was suprised to see that mine was set to -1 rather than some positive number.
it depends on how much ram you have, what kinda surfing you do, what kinda results you desire, etc... but yeah, -1 is the default, which makes firefox calulate it's own setting depending on how much ram you have... i have 512MB and firefox was using WAY too much of my ram... so i've set it to 1... first i tried setting it to 0 to see what it was like with the feature disabled, but the loading time for pages when going back was greatly affected, as was the surfing experience... so i've settled for a setting of 1, as it provides me with the snappiness i need while hogging as little of my ram as possible... my guess is that most people with 256MB or more would be happy enough with a setting of 1 or 2...

Last edited by win32sux; 04-14-2006 at 11:33 PM.
 
  


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
SUSE 9.3 AMD64 reduce fan speed, cool'n quiet t2dreamer SUSE / openSUSE 7 06-03-2005 02:49 AM
firewall power consumption Digital_Err0r Linux - Hardware 4 03-20-2005 01:36 PM
Reduce Swap partition SuSE 9.1 Aleksei Linux - Newbie 1 02-09-2005 01:14 PM
will adding more ram reduce the number of page faults? jwn7 General 2 01-16-2005 05:31 PM
can I reduce the partition for Suse? Saulo Linux - Distributions 4 06-07-2003 12:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:41 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