[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Finding the Bottleneck

On Wed, 6 Jun 2001, Jason Lim wrote:

> I was wondering if there is a way to find out what/where the bottleneck of
> a large mail server is.

Look at vmstat.

vmstat can tell you about number of processeses waiting for run time,
amount of memory swapped to disk, blocks per second sent (and
received) from disks, number of interrupts and context switches per
second, CPU usage, and more.

The difficult part of using this is to have a baseline to compare it
with. For example, this is from a lightly-loaded system:

   procs                      memory    swap          io     system
 r  b  w   swpd   free   buff  cache  si  so    bi    bo   in    cs  us
sy  id
 0  0  0   3528   1804   1508  13868   0   0     0     1  104     7   1
1  98
 0  0  0   3528   1804   1508  13868   0   0     0     0  104     7   1
1  98

BSD systems have detailed systat, vmstat, and fstat utilities that are
useful for tracking down bottlenecks. (It sure seems like Linux would have
similar tools, but I don't know where.)

  Jeremy C. Reed
     ISP-FAQ.com -- find answers to your questions

Reply to: