LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 10-15-2003, 11:40 PM   #1
set235
Member
 
Registered: Oct 2003
Location: asheville usa
Distribution: ubuntu
Posts: 39

Rep: Reputation: 15
red hat 9 is a memory hog, can i put it on a diet?


so i boot into red hat 9 with my custom built (myself) pc ( amd xp 1800 , 256MB ddr, soyo dragon MB, geforce2mx440 32MB graphics ) and redhat 9 by defualt is using 136 MB of my precious limited memory. sorry more mem is not an option for me right now. i can boot into xp and it's only using 89MB of mem.
how can i put redhat on a memory diet without sacrificing stability? linux is supposed to be totally configurable right? can i run rh9 w/out a gui? can i do somethin different and keep my nice blue curve desktop?
i tried to run quake 3 arena demo in rh9 and it barely got through the menus , on the lowest settings, then crashed on attempt to actually play.....it was like i was trying to run it on a pentium 1. i played quake on a pent2 333 with 128 ram in windows and it ran smooth as silk. now i have a decent machine and i cant play while in linux. i really want to like linux, bill is too rich already, but with issues like this , what ' s a geek to do?
 
Old 10-16-2003, 12:56 AM   #2
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
System Settings-->Services

Turn off all not required. Some are obvious, some not so obvious.

RO
 
Old 10-16-2003, 09:38 AM   #3
mfeat
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: Fedora Core 3
Posts: 185

Rep: Reputation: 30
Use the following to show which processes are using the most memory on your system:

ps aux | head -1; ps aux | sort +5nr | head

The output is sorted in descending order of the RSS (Resident Set Size) column which is the amount of process memory in RAM as opposed to the Virtual Size (VSZ) which includes swap. Use that information to determine which processes can be eliminated.

The default redhat V9 OS uses only about 10-15 meg, the rest of the memory goes to various applications as shown with ps.
 
Old 10-16-2003, 09:43 AM   #4
dot hog
Member
 
Registered: Oct 2003
Location: Boondocks USA
Distribution: RH9
Posts: 50

Rep: Reputation: 15
Could someone link to or provide quick info on determing which processes under Services are important and which are decorative? The info provided in Services, while helpful, still makes me feel like I'm missing something.

I don't want to assume for RH9 that the more memory the process uses, the more important it is, as that assumption in Win NT would kill a lot of useful processes and keep a lot of losers.

I've read around the internet on this, and the recurring theme is that RH8 made for a "happy" machine and the update that is RH9 makes for a "sluggish" machine. Some folks are claiming that 512 MB of RAM is necessary for a RH9 machine to run at a decent clip. I'm not taking RH9 down a peg, just seeing what others think.

Thanks. Good thread, btw.

Last edited by dot hog; 10-16-2003 at 10:01 AM.
 
Old 10-16-2003, 10:00 AM   #5
Daeljan
LQ Newbie
 
Registered: Oct 2003
Posts: 11

Rep: Reputation: 0
Speed and mem

I agree, this is a potentially very usefull thread. I find RH9 a lot slower than I expected, and I'm running it on a P3 500Mhz with 512Meg RAM. Certainly a lot slower than when I boot W2K.

Tips on making it lean and mean would be most welcome!
 
Old 10-16-2003, 10:06 AM   #6
ashjam10
Member
 
Registered: Sep 2003
Location: UK
Distribution: Mandrake 10.0
Posts: 121

Rep: Reputation: 15
I had similar problems on my XP2100 256MB machine, RH9.0 was slower than XP Pro. I wasn't really expecting much as both were running off slow HDDs but I did expect Linux to be faster.

The machine is now an XP2400 and I'm going to give Mandrake9.1 a go.
 
Old 10-16-2003, 11:04 AM   #7
Daeljan
LQ Newbie
 
Registered: Oct 2003
Posts: 11

Rep: Reputation: 0
Hi DialETech,

I was thinking of Mandrake myself, although I wont get around to playing with it for a while.

I'd be interested to know what you think of it in comparison to RH9.

I was also thinking of checking out Fedora at some point

http://fedora.redhat.com/download/

Does anyone know if Fedora supports the live update mechanism of RH9?
 
Old 10-16-2003, 11:08 AM   #8
ashjam10
Member
 
Registered: Sep 2003
Location: UK
Distribution: Mandrake 10.0
Posts: 121

Rep: Reputation: 15
I'll try to remember to post again here when I've got it running and let you know what I think
 
Old 10-16-2003, 12:00 PM   #9
dot hog
Member
 
Registered: Oct 2003
Location: Boondocks USA
Distribution: RH9
Posts: 50

Rep: Reputation: 15
Quote:
Originally posted by Daeljan
I was also thinking of checking out Fedora at some point
http://fedora.redhat.com/
What would be the advantages to running Fedora over RH9? I've read the info at the Fedora website, but everything is so nondescript--the project's objectives in particular--that I can't figure out what they're trying to do.

I guess the super-newbie way to put things regarding Fedora is:

I don't get it.

or

Why?
 
Old 10-16-2003, 01:33 PM   #10
statmobile
Member
 
Registered: Aug 2003
Location: Chapel Hill, NC
Distribution: Gentoo, Windows 95 2000 & XP
Posts: 160

Rep: Reputation: 30
Now I'm not too familiar with the windowing environments, but I believe that you can use a `lighter' one than KDE or Gnome. Maybe that will help. If anybody can recommend one of these, maybe that would be helpful.

Personally I had to just suck it up, and buy some more PC-133 memory. Which is just horrible to buy nowadays, but I'm not going to upgrade my motherboard just for that.
 
Old 10-16-2003, 04:01 PM   #11
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,074

Rep: Reputation: 53
Question Re: red hat 9 is a memory hog, can i put it on a diet?

Quote:
Originally posted by set235
so i boot into red hat 9 with my custom built (myself) pc ( amd xp 1800 , 256MB ddr, soyo dragon MB, geforce2mx440 32MB graphics ) and redhat 9 by defualt is using 136 MB of my precious limited memory.
Including or exluding disk buffers? What does "free" report?
 
Old 10-16-2003, 06:24 PM   #12
dkaplowitz
Member
 
Registered: Oct 2002
Location: Havertown PA
Distribution: Ubuntu/RHEL/Fedora
Posts: 253

Rep: Reputation: 31
Check this article out: https://www6.software.ibm.com/develo...ion/l-redhat/?

It's from IBM. Sadly free registration is required, but it covers some good basic points for us Redhat users.
 
Old 10-17-2003, 12:38 AM   #13
statmobile
Member
 
Registered: Aug 2003
Location: Chapel Hill, NC
Distribution: Gentoo, Windows 95 2000 & XP
Posts: 160

Rep: Reputation: 30
A little follow-up on my previous post.

I just found out from a guru buddy of mine, that he uses the following desktop environment on "slower" computers.

http://www.xfce.org/

It supposed to be a bit llighter on the computer as a whole. I'm going to install it this weekend, but I think that it may be a help in your situation.

Again, I'm looking for other people's input on this as well.
 
Old 10-17-2003, 01:42 AM   #14
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Quote:
Could someone link to or provide quick info on determing which processes under Services are important and which are decorative?
For a list of services - by no means comprehensive (or specific to Red Hat) - should be something of use though.

http://www.comptechdoc.org/os/linux/...lservices.html

Do you need printing, networking, anything scheduled ? ect ect - if not then those services are candidates to be not started on boot up.

A lighter Window manager is always a possibility if your concerned with resources - for Window managers

http://www.plig.org/xwinman/
 
Old 10-17-2003, 04:26 AM   #15
Daeljan
LQ Newbie
 
Registered: Oct 2003
Posts: 11

Rep: Reputation: 0
Window managers. Fedora.

I'm told ICE WM is a good lightweight window manager too:

http://www.icewm.org/

When I eventually get round to sorting out my installation I'll be giving it a shot.

Fedora is still in beta. I'm told the first release will be the equivalent of what RH10 would have been, but I think the general aim is to allow more frequent releases without the expense of physically taking it to market, i.e. packaging, manuals etc... every time one is made. Meanwhile, in between releases, for those of you who don't mind risks, the latest source or beta is always available. I don't know if it's releases will be subject to the same Quality Assurance standards as the traditional RH releases where. It would be a shame if they weren't as stability is an important factor.

In general though I agree, the water is muddy regarding exactly what comes with Fedora, and anyone going to the redhat website looking for RH10 wont have a clue whats going on - I speak from my own experience. It drove me to look at alternatives to RH (I suppose it's always good to know about the alternatives anyway). I came back to it because of it's reputation for stability and QA.

The presentation of Fedora could do with a shake-up, but then it's still early days yet - they are having to merge two big projects to make it. I hope they aren't going to shoot themselves in the foot.
 
  


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
Linux being a hog for memory. Kefka_DArden Linux - Newbie 6 04-19-2004 04:25 PM
Linux memory hog? ryedunn Linux - Hardware 2 03-28-2004 11:45 AM
Where to put iptables rules from Red Hat in Debian aubrey Debian 2 03-03-2004 06:36 PM
Memory Hog? AekaGSR Linux - Newbie 2 07-04-2003 10:55 AM
memory hog jct842 Linux - Newbie 2 02-28-2002 12:20 AM


All times are GMT -5. The time now is 10:58 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration