LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-21-2012, 12:27 PM   #1
linux273
LQ Newbie
 
Registered: May 2012
Posts: 1

Rep: Reputation: Disabled
How to rectify Linux server slowness, maybe related to swap usage?





We have a Linux server and an exclusive process run on that server. The process usually takes around 7 hours to complete but on some days we have also noticed that it took up to 10/11 hours.

We generally use vmstat command to see the memory allocations.

On days, it has ran normally, the ‘Swapped’ indicator (o/p of vmstat) showed ‘0’ whereas on days it ran slowly, the ‘Swapped’/Swpd indicator was a good number ( in M megabytes).

I would appreciate if someone can tell me if swapping is anyway related to the slowness here. If yes, then we do the system use swap memory when thousands of megabytes are still free.

How we can rectify the scenario and avoid slowness?
Any other pointers are also welcomed. Thanks in Advance!!!

Last edited by linux273; 05-21-2012 at 12:30 PM.
 
Old 05-21-2012, 02:33 PM   #2
UndiFineD
LQ Newbie
 
Registered: Jun 2004
Location: Netherlands
Distribution: adistro
Posts: 24

Rep: Reputation: 0
Ofcourse swapping makes any application slow.
the harddisk is many times slower than internal memory.
as you said this is one process.
the fact that it needs to swap, while there is free memory available,
means the code is not optimized to make use of the memory available.

secondly I wonder if splitting the process into several partial problems would help you
as you can pinpoint more easily when / where the problem originates.
 
Old 05-21-2012, 02:46 PM   #3
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
Please use a descriptive title for your thread excluding words like 'urgent' or 'help'. Using a proper title makes it easier for members to help you. This thread has been reported for title modification. Please do not add replies that address the thread title.
 
  


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
some problems related to Linux usage amit12sept Linux - Newbie 1 11-05-2008 07:49 AM
Tired of trying to rectify the problem with multiple linux booting!!:confused: Azzath Fedora 2 03-16-2005 05:28 AM


All times are GMT -5. The time now is 09:45 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration