LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 06-12-2012, 05:44 AM   #1
rajini23
Member
 
Registered: Sep 2011
Posts: 152

Rep: Reputation: Disabled
Unhappy Ram upgrade inlinux


Hi,

I have upgraded the RAM from 2GB to 8GB in my Linux machine and swap space is around 4GB.. still my system performance is slow.. please help me how can i increase my system performance .....

I use CentOS5...
 
Old 06-12-2012, 06:20 AM   #2
pierre2
Member
 
Registered: May 2009
Location: Perth, AU
Distribution: LinuxMint
Posts: 336
Blog Entries: 7

Rep: Reputation: 73
You must be doing some serious graphic stuff to need to ramp up to that much memory . . .

- try Reducing the /swap partition to below 1Gb - say 512Mb
as with that much memory - it's way too big.
 
Old 06-12-2012, 06:41 AM   #3
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,718

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Quote:
Originally Posted by rajini23 View Post
I have upgraded the RAM from 2GB to 8GB in my Linux machine and swap space is around 4GB.. still my system performance is slow.. please help me how can i increase my system performance .....
Increasing RAM will help IF you were using all the avaible RAM. It wont speed up your system at all if you werent using most/all your RAM before the upgrade. To speed up the system when you werent/arent using all your RAM, a faster CPU and/or HDD would be the way to go.

You might be able to remove some unused or uneeded modules/software to increase preformance as well.

Quote:
Originally Posted by pierre2 View Post
You must be doing some serious graphic stuff to need to ramp up to that much memory . . .

- try Reducing the /swap partition to below 1Gb - say 512Mb
as with that much memory - it's way too big.
I'd assume with CentOS its being used as a server of some sort. Having a large swap partition will NOT impact performance.
 
Old 06-12-2012, 01:04 PM   #4
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 Current
Posts: 328

Rep: Reputation: 77
What are you experiencing as performing slowly? Games, graphics window managers? Because there are some things that in my experience dont move quickly no matter how much hardware you throw at them. KDE for instance.
 
Old 06-12-2012, 01:24 PM   #5
netherfox
LQ Newbie
 
Registered: Jan 2004
Location: Pennsylvania
Distribution: SolusOS
Posts: 23

Rep: Reputation: 0
Make sure you have the correct graphics drivers installed.
 
Old 06-12-2012, 03:41 PM   #6
BlackRider
Member
 
Registered: Aug 2011
Distribution: Slackware
Posts: 261

Rep: Reputation: 82
Run "top" or other task monitor as root. Find out which process is wasting your RAM or resources. Once you know what is wrong, you will have a base to fix it.
 
Old 06-18-2012, 11:53 AM   #7
dsschanze
Member
 
Registered: Aug 2004
Location: Gainesville, FL
Distribution: Linux Mint 12, Win7, iOS
Posts: 206

Rep: Reputation: 32
Try grabbing the KDE System Monitor (my favorite sysmonitor) and check for memory/CPU usage. If nothing shows up there you could try running a performance benchmark and see if HD read/write speed has anything to do with it.

Last edited by dsschanze; 06-18-2012 at 12:37 PM.
 
Old 06-18-2012, 12:32 PM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,580
Blog Entries: 2

Rep: Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037
I wonder why nobody asks what exactly is the purpose of this machine? Is it a desktop machine, a server, a numbercruncher, ... .
Also, how did you determine that your RAM is the bottleneck slowing down the machine?
 
2 members found this post helpful.
Old 06-25-2012, 08:58 PM   #9
guyonearth
Member
 
Registered: Jun 2012
Location: USA
Distribution: SolydX
Posts: 399

Rep: Reputation: 82
With that much RAM, the swap file probably won't be used at all. Run df and see if it is, I'll bet there's almost no usage. Just what aspect of the system is "slow"? The GUI? Response time? Is the hard disk busy all the time? Have you tried a different desktop to see if there's a difference? Your system should not be "slow". I've not found any recent version of Linux to be "slow" on any reasonable hardware, with KDE or not. Try turning off effects and see what happens.
 
Old 07-06-2012, 02:02 PM   #10
vanriales
LQ Newbie
 
Registered: May 2012
Posts: 8

Rep: Reputation: Disabled
My machine is not slow by any means (AMD Phenom II X 4 955), but I recently increased my RAM from 4 GB to 8 GB and saw absolutely NO gain in speed on my machine using Linux. Now my Windows 7 partition is a different story. I saw some gain there because Windows is a resource hog. My Solus OS runs about 335MB at idle while Windows runs around 1600MB. I think you will have to look elsewhere in your machine to find what is running slow. Like in my case it's probably your hard drive. I want to go SSD soon.
 
Old 07-06-2012, 06:00 PM   #11
guyonearth
Member
 
Registered: Jun 2012
Location: USA
Distribution: SolydX
Posts: 399

Rep: Reputation: 82
Quote:
Originally Posted by vanriales View Post
My machine is not slow by any means (AMD Phenom II X 4 955), but I recently increased my RAM from 4 GB to 8 GB and saw absolutely NO gain in speed on my machine using Linux. Now my Windows 7 partition is a different story. I saw some gain there because Windows is a resource hog. My Solus OS runs about 335MB at idle while Windows runs around 1600MB. I think you will have to look elsewhere in your machine to find what is running slow. Like in my case it's probably your hard drive. I want to go SSD soon.
Free memory is wasted memory. It's an old wive's tale that a system should have lots of "free" memory. If it's free, it isn't doing anything. I have 8 gigs and almost all of it is used at the moment.

[dean@localhost ~]$ free
total used free shared buffers cached
Mem: 8181888 8007288 174600 0 88164 6058108
-/+ buffers/cache: 1861016 6320872
Swap: 4400124 24 4400100
[dean@localhost ~]$
 
Old 07-09-2012, 03:41 PM   #12
Deshawn
LQ Newbie
 
Registered: Jul 2012
Posts: 7

Rep: Reputation: 0
Your swap space should always be double the size of your RAM. Having 8 GB of RAM should have 16 GB of swap space allocated. Change the swap and check for the status.

Thanks
Buy lace
 
Old 07-09-2012, 04:44 PM   #13
guyonearth
Member
 
Registered: Jun 2012
Location: USA
Distribution: SolydX
Posts: 399

Rep: Reputation: 82
Quote:
Originally Posted by Deshawn View Post
Your swap space should always be double the size of your RAM. Having 8 GB of RAM should have 16 GB of swap space allocated. Change the swap and check for the status.
Absolute nonsense. With 8GB of RAM there is not only no need for a swap file, it will never be used. You don't need any swap space for typical desktop use unless you have less than perhaps 2GB of RAM. Some distros don't even activate swap space any more. That's not his problem.

Last edited by guyonearth; 07-09-2012 at 04:52 PM.
 
Old 07-09-2012, 04:51 PM   #14
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,352

Rep: Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773
Quote:
Originally Posted by TobiSGD View Post
I wonder why nobody asks what exactly is the purpose of this machine? Is it a desktop machine, a server, a numbercruncher, ... .
Also, how did you determine that your RAM is the bottleneck slowing down the machine?
I hate to quote to emphasise but this is the question.
 
Old 07-09-2012, 05:03 PM   #15
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,580
Blog Entries: 2

Rep: Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037
Quote:
Originally Posted by guyonearth View Post
Absolute nonsense.
True.

Quote:
With 8GB of RAM there is not only no need for a swap file, it will never be used. You don't need any swap space for typical desktop use unless you have less than perhaps 2GB of RAM.
Not really true. While it may not be needed it will nonetheless be used. Running out of physical RAM is not the only case where swap is used. Even on my main machine with 16GB of RAM swap is sometimes used for swapping out stale memory to make more place for cache. This is a standard behavior on Linux.

Quote:
That's not his problem.
True. But I didn't expect insight to this problem from a spambot anyways.

Quote:
Originally Posted by 273
I hate to quote to emphasise but this is the question.
True, but seeing that the OP checked in to LQ yesterday but still gave no answer to any question here I doubt that this thread is still relevant. Would be nice from the OP to posts if there is still a problem or if that issue was solved.
 
  


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
Finding out what RAM chip needed to upgrade from 2GB to 4GB RAM. farmerluk Linux - Hardware 4 11-17-2011 12:02 PM
login problem inlinux redhat 5.0 Hp laptop SAbhi Linux - Laptop and Netbook 3 01-07-2011 08:04 AM
graphics programming inlinux sarsah Linux - Newbie 4 07-06-2009 07:53 AM
How to create more than 2000 threads inlinux 2.4kernel Agnello Programming 5 07-11-2006 09:12 AM
ram upgrade freychef Linux - General 2 01-06-2004 04:54 PM


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