Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to know where is bottleneck of file server performance?

Posted on 2003-12-02
5
Medium Priority
?
938 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 200 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 200 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

610 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