Solved

How to know where is bottleneck of file server performance?

Posted on 2003-12-02
5
929 Views
Last Modified: 2013-12-15
Hello,

I have a Linux file server. I feel it is slow and want to improve the performance. Before I upgrade the hardware, i want to know what is exact bottleneck, CPU, Memory, Disk, or network?

I know there are vmstat, iostat, etc. But I feel it is not so helpful. For example, iostat shows how many block read/write per seconds, but I don't know how big the number is too big! For vmstat, it shows how many percent is idle. But 50% idle is buy or not busy? My version of vmstat cannot show the percentage CPU spending on waiting for IO.

Anyone can give some information about some good open source software to analysis CPU, memory, disk and network?
0
Comment
Question by:cajin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 2

Accepted Solution

by:
TheWeakestLink earned 50 total points
ID: 9867511
One of the things affecting file I/O performance is disk throughput.  Have you tried using hdparm to optimise this?  Look at http://linux.oreillynet.com/lpt/a/linux/2000/06/29/hdparm.html to get a start.

For a file server, CPU performance is probably not going to make a huge difference, if it's not really old and slow, and if you can assume DMA is used, so I wouldn't concentrate on CPU idle time first.  
If it's old hardware, and uses PIO instead of DMA, there is another discussion right there - just upgrade..

You didn't tell us about the machine spec, which makes it difficult to comment fully.

Paul
0
 
LVL 2

Assisted Solution

by:jgilligan1
jgilligan1 earned 50 total points
ID: 10240827
Try top, this can give a nice performance view and it pretty easy to read.

uptime is good for getting a feel for how busy the server is at a moment in time, throwing this into a crontab over time would give a good register of how busy the CPU is.

Regards,

Joe G.
0
 
LVL 2

Expert Comment

by:jgilligan1
ID: 14571876
There are a small class of tools which are inhierent in Unix


gtop/top - Shows / updates process stack and other information in more or less real-time.
iostat - this shows system disk I/O performance overall
uptime - this shows overall CPU Queue wait times in a weighted average.
ps -efxl - this is a whole process stack which can show you (similarly to top) what is going on on a system in some detail, this would show ALL processes at a moment in time vs, top which tends to show just the top/most busy processes.

Regards,

Joe G.

0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question