LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-06-2013, 05:38 AM   #1
nn2006
LQ Newbie
 
Registered: Aug 2013
Posts: 3

Rep: Reputation: Disabled
How do I Improve my server performance expert guidance required


top - 10:31:20 up 101 days, 21:06, 6 users, load average: 0.37, 1.39, 1.58
Tasks: 1312 total, 1 running, 1311 sleeping, 0 stopped, 0 zombie
Cpu0 : 4.6%us, 1.0%sy, 0.0%ni, 90.4%id, 4.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu1 : 3.9%us, 0.7%sy, 0.0%ni, 95.4%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu2 : 2.9%us, 0.3%sy, 0.0%ni, 96.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu3 : 2.6%us, 0.3%sy, 0.0%ni, 97.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu4 : 3.0%us, 0.3%sy, 0.0%ni, 96.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu5 : 4.9%us, 1.0%sy, 0.0%ni, 93.8%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st
Cpu6 : 3.3%us, 1.6%sy, 0.0%ni, 95.1%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu7 : 1.3%us, 0.7%sy, 0.0%ni, 98.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 32435760k total, 31576232k used, 859528k free, 21300k buffers
Swap: 16482296k total, 2381696k used, 14100600k free, 23684516k cached
 
Old 08-06-2013, 05:43 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,932

Rep: Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321Reputation: 7321
You need to give us more info. For example what kind of system/os you have? What was installed? Why do you think you need to improve anything. What do you really want to improve?
Based on your info I cannot say anything, it looks ok (just you have more than one thousand processes).
 
Old 08-06-2013, 05:58 AM   #3
nn2006
LQ Newbie
 
Registered: Aug 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
System Dell PowerEdge 830 Server
OS CentOS 6.3
Database PostgreSQL 9.2
Application PHP ,boost Framework, GCC

I need to utilized Maximum resources on DB side

Is there any bottleneck on memory or CPU level?

Do I need to execute vacuum command on daily bases?

what if I reduce Swap and increase memory ?
 
Old 08-06-2013, 06:12 AM   #4
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Quote:
Originally Posted by nn2006 View Post
System Dell PowerEdge 830 Server
Is it? As far as I can tell it cannot be a PowerEdge 830, they are single or dual core, not 8 cores or 8 threads.

http://www.dell.com/downloads/global.../830_specs.pdf

Quote:
Originally Posted by nn2006 View Post
Is there any bottleneck on memory or CPU level?

what if I reduce Swap and increase memory ?
There is always some bottlenecking.

You might get something with increasing RAM....decreasing swap size will not help performance.
 
Old 08-06-2013, 06:39 AM   #5
nn2006
LQ Newbie
 
Registered: Aug 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Yes It is Dell PowerEdge 830 Server
It contain 2 processes but unfortunately one processor was not working so currently it is operational with its single processor.

by analyzing Top command how would you say it is single or core2due

One more thing is there any command you know that share resources among multiple cores
 
Old 08-06-2013, 06:53 AM   #6
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Quote:
Originally Posted by nn2006 View Post
by analyzing Top command how would you say it is single or core2due
Core2Duo is a type of dual core Intel CPU. It only has 2 cores, 2 threads.

'Dual core' can be appled to any CPU with 2 cores, like Pentium D, Athlon 64 X2, etc..

Quote:
Originally Posted by nn2006 View Post
top - 10:31:20 up 101 days, 21:06, 6 users, load average: 0.37, 1.39, 1.58
Tasks: 1312 total, 1 running, 1311 sleeping, 0 stopped, 0 zombie
Cpu0 : 4.6%us, 1.0%sy, 0.0%ni, 90.4%id, 4.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu1 : 3.9%us, 0.7%sy, 0.0%ni, 95.4%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu2 : 2.9%us, 0.3%sy, 0.0%ni, 96.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu3 : 2.6%us, 0.3%sy, 0.0%ni, 97.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu4 : 3.0%us, 0.3%sy, 0.0%ni, 96.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu5 : 4.9%us, 1.0%sy, 0.0%ni, 93.8%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st
Cpu6 : 3.3%us, 1.6%sy, 0.0%ni, 95.1%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu7 : 1.3%us, 0.7%sy, 0.0%ni, 98.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 32435760k total, 31576232k used, 859528k free, 21300k buffers
Swap: 16482296k total, 2381696k used, 14100600k free, 23684516k cached
That shows either 8 real cores, or 4 cores/8threads with hyperthreading.

Quote:
Originally Posted by nn2006 View Post
Yes It is Dell PowerEdge 830 Server
It contain 2 processes but unfortunately one processor was not working so currently it is operational with its single processor.
Power Edge 830 is single CPU socket only, no dual CPU versions.

Icant see any way your top readout can be from a power edge 830.....besides having too many cores, its got way to much RAM. Power edge 830 has a 8GB maximum, that appeas to have 32GB.
 
Old 08-07-2013, 02:42 PM   #7
dt64
Member
 
Registered: Sep 2012
Distribution: RHEL5/6, CentOS5/6
Posts: 218

Rep: Reputation: 38
You can try atop and the likes and have a look for other ressources than CPU load and RAM usage. You might find your HDDs being busy all the time but only doing a few MB/sec because of constant seeks or something else.
 
Old 08-08-2013, 09:25 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
If you think its disk related (& with a DB it could be), try http://linux.die.net/man/1/iotop & http://linux.die.net/man/1/iostat.
Really though, you have to narrow down exactly what is slow; could easily be crap code/incorrect indexes on the DB.
 
  


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
[SOLVED] Does scheduled reboot of server improve performance snjksh Linux - General 3 07-27-2013 03:27 PM
LXer: How To Improve Server Performance by IO Tuning – Part 1 LXer Syndicated Linux News 0 07-24-2011 11:41 AM
[SOLVED] Need Suggestions to improve performance of the linux server listener_it Linux - Newbie 10 07-23-2011 08:16 AM
Guidance on GTK+2.0 programming required. deepankar15 Programming 10 05-13-2009 12:56 PM
Decided to try Debian some guidance required ninadb Debian 2 08-20-2004 11:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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