LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-29-2009, 09:09 AM   #1
sheepy
LQ Newbie
 
Registered: Jan 2009
Posts: 14

Rep: Reputation: 1
Fedora 10 (KDE, LAMP): Is 1GB of RAM enough?


I'm currently running Fedora 10 (KDE spin) on my HP510 (1.5ghz Celeron, 1GB Ram) and it runs hellishly slow. Once I am in a program and working it is fine, but switching between them, or having many open, results in the computer grinding to a halt. Sometimes switching between windows, and then being impatient by clicking on that window before it has loaded up can cause that program to crash.

I've just booted up, only have firefox running, but have Apache/MySQL daemons running in the background, and I am using 800mb of RAM. Eventually this number leaps to nearly 1GB, leaving me with about 15mb of RAM free, but it doesn't even try to use it's swap space. It has the default partitioning, so has given itself a 2GB swap partition, but it is always 100% free.

I have tried all sorts of distros over the past few years, and never seem to settle with one, though I have been using mainly Red Hat family distros as of late. Using KDE3 on CentOS seemed much nippier, I'm considering switching away from KDE to XFCE.

Unless it could be sorted by simply configuring my LAMP stack to use less resources? I have Apache, MySQL and PHP with their default settings that I just use for web development testing. But when just left idle they only appear to be using 15mb of ram and 0% cpu, though the computer seems constantly under load and slow to react regardless as to whether I am doing any development testing.

I just popped the XFCE live cd in, didn't feel any quicker, but to be fair it's hard to judge without installing it.
 
Old 01-29-2009, 09:48 AM   #2
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
If it is some help I install KDE GNOME XFCE LXDE
LXDE seems to be the most fast one , followed by XFCE
But I run X86_64 version , and used 4 GB of RAM , before upgrading used 2 GB
The difference between 2 GB and 4 GB is not so much
 
Old 01-29-2009, 09:53 AM   #3
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Well,I use KDE4,and I have 1 GB of RAM and there is always around 380MB in use,no matter what I do,but you didn't say what is eating your memory,what process/es?Also,what services are running?
 
Old 01-29-2009, 11:29 AM   #4
sheepy
LQ Newbie
 
Registered: Jan 2009
Posts: 14

Original Poster
Rep: Reputation: 1
Looking at the results from top doesn't seem to shed any light on the matter. Highest RAM usage is firefox at about 100mb, then X at about 35mb, and the rest are insignificant. CPU seems to be yoyoing between being busy and idle, but nothing stands out as being high usage.

I have been reading up about LXDE this afternoon, so will try that later!
 
Old 01-29-2009, 11:33 AM   #5
sheepy
LQ Newbie
 
Registered: Jan 2009
Posts: 14

Original Poster
Rep: Reputation: 1
Code:
top - 17:30:38 up  2:45,  3 users,  load average: 0.08, 0.21, 0.27
Tasks: 142 total,   1 running, 140 sleeping,   1 stopped,   0 zombie
Cpu(s): 18.9%us,  3.7%sy,  0.0%ni, 74.1%id,  3.0%wa,  0.0%hi,  0.3%si,  0.0%st
Mem:   1025552k total,  1008584k used,    16968k free,    29392k buffers
Swap:  2064376k total,        4k used,  2064372k free,   503480k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 2280 root      20   0  348m  65m  16m S 14.0  6.5  17:12.61 X
 2707 luke      20   0  134m  24m  15m S  5.3  2.4   0:03.17 yakuake
 2849 luke      20   0  288m 137m  24m S  0.7 13.7   8:06.75 firefox
 4306 luke      20   0 72788  12m 8076 S  0.7  1.2   0:02.18 npviewer.bin
 1699 haldaemo  20   0  7112 4704 4012 S  0.3  0.5   0:20.24 hald
 1882 root      20   0 17364 2268 1888 S  0.3  0.2   0:14.20 NetworkManager
 2673 luke      20   0  143m  19m  10m S  0.3  1.9   0:15.40 knotify4
 4336 luke      20   0  2428 1100  848 R  0.3  0.1   0:00.17 top
    1 root      20   0  2008  776  568 S  0.0  0.1   0:01.10 init
    2 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kthreadd
    3 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 migration/0
    4 root      15  -5     0    0    0 S  0.0  0.0   0:00.15 ksoftirqd/0
    5 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/0
    6 root      15  -5     0    0    0 S  0.0  0.0   0:00.23 events/0
    7 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 khelper
   80 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kintegrityd/0
   82 root      15  -5     0    0    0 S  0.0  0.0   0:00.10 kblockd/0
   84 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kacpid
   85 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kacpi_notify
  159 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 cqueue
  163 root      15  -5     0    0    0 S  0.0  0.0   0:05.39 ata/0
  164 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 ata_aux
  166 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 ksuspend_usbd
  171 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 khubd
  174 root      15  -5     0    0    0 S  0.0  0.0   0:00.05 kseriod
  210 root      20   0     0    0    0 S  0.0  0.0   0:00.00 pdflush
  211 root      20   0     0    0    0 S  0.0  0.0   0:00.25 pdflush
  212 root      15  -5     0    0    0 S  0.0  0.0   0:00.03 kswapd0
  260 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 aio/0
  449 root      15  -5     0    0    0 S  0.0  0.0   0:02.53 scsi_eh_0
  452 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 scsi_eh_1
  505 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kpsmoused
 
Old 01-29-2009, 12:10 PM   #6
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Ok,please post the output of this two commands;
1.
Code:
sar
2.
Code:
ps -eo pcpu,pid,user,args | sort -r -k1 | less
If you can get any output run yum install sysstat.

Last edited by alan_ri; 01-29-2009 at 12:13 PM.
 
Old 01-29-2009, 12:55 PM   #7
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Eventually this number leaps to nearly 1GB, leaving me with about 15mb of RAM free, but it doesn't even try to use it's swap space.
This is normal, because of the way that linux works (if it sees RAM that would be of no other use, Linux uses it for buffers; when some other use comes along it uses less for buffers, until, basically, all the ram that was being used for buffers is gone and then it uses swap).
 
Old 01-29-2009, 11:48 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
with apache running and using the computer for other things . 1 gig is NOT enough ram ,2 gig min
 
Old 01-30-2009, 04:23 AM   #9
sheepy
LQ Newbie
 
Registered: Jan 2009
Posts: 14

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by John VV View Post
with apache running and using the computer for other things . 1 gig is NOT enough ram ,2 gig min
The LAMP stack is only accessible on localhost, and there are only a few virtualhosts for sites I am developing/testing. Never had a problem with LAMP on KDE3 on my last laptop which had a 1ghz processor and 512mb of ram.

Installed LXDE now, using 400/1000mb of ram now. Much smoother.
 
Old 01-30-2009, 11:33 AM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
testing only so only YOU are viewing the sites ,then that wont use up the sys ram.
have you read through the how to on the services

http://www.mjmwired.net/resources/mjm-services-f10.html
some can be turned off
 
  


Reply



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
Do not seem to be able to use more than 1GB RAM surajc Linux - Kernel 6 10-13-2006 08:55 PM
Sarge + 1GB RAM how? KaraK Debian 9 01-07-2005 08:00 PM
1Gb or Ram - Do I need Swap? Riddick SUSE / openSUSE 8 11-10-2004 05:44 AM
Installing/Using Linux with 1GB of RAM HELP Carcustomz2002 Linux - Software 6 10-21-2003 01:10 PM
1GB ram support for suse 9.0 thegreatgatsby Linux - Distributions 5 10-15-2003 12:22 PM

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

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

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