Benchmarks
William Lovaton
williama_lovaton at coomeva.com.co
Mon May 3 14:00:18 UTC 2004
Hi Ingo,
Very useful explanation, thank you. What packages provides sar and
iptraf?, I can't manage to find them.
Right now I have this on my system... could you give us some analysis
please?? (RH9 2.4.20-28.9smp)
08:37:44 up 7 days, 1:39, 1 user, load average: 30,75, 35,62, 34,06
270 processes: 239 sleeping, 31 running, 0 zombie, 0 stopped
CPU0 states: 90,0% user 9,0% system 0,0% nice 0,0% iowait 0,1%
idle
CPU1 states: 87,0% user 12,0% system 0,0% nice 0,0% iowait 0,1%
idle
CPU2 states: 85,1% user 14,0% system 0,0% nice 0,0% iowait 0,0%
idle
CPU3 states: 84,0% user 14,0% system 0,0% nice 0,0% iowait 1,0%
idle
Mem: 2322992k av, 1215588k used, 1107404k free, 0k shrd, 56524k
buff
486768k actv, 635060k in_d, 5040k in_c
Swap: 681336k av, 0k used, 681336k free 697300k
cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU
COMMAND
7882 root 15 0 5372 5372 3704 S 99,9 0,2 349:44 1 httpd
8301 root 16 0 1320 1320 868 R 4,4 0,0 0:39 2 top
-William
El vie, 30-04-2004 a las 22:41, Ingo Molnar escribió:
> * William Lovaton <williama_lovaton at coomeva.com.co> wrote:
>
> > Load average is a good number to look at. The thing is that a 1.5 load
> > means there are almost 2 processes in execution state. [...]
>
> the load also includes processes in 'uninterruptible sleep' - i.e.
> processes that are waiting for some sort of definitive, driver-related
> IO event, such as disk IO or network IO.
>
> Newer kernels (2.6, or vendor kernels with the 'iowait patch'
> backported) also have the iowait stat:
>
> 05:17:02 up 1 day, 21:43, 15 users, load average: 0.61, 0.25, 0.19
> 74 processes: 72 sleeping, 2 running, 0 zombie, 0 stopped
> CPU states: cpu user nice system irq softirq iowait idle
> total 3.4% 0.0% 5.2% 0.0% 0.0% 10.0% 81.4%
>
> ('softirq' overhead is typically caused by networking overhead, 'iowait'
> is idle time while there is pending network/disk IO, and 'idle' is pure
> idle time when nothing happens in the system.)
>
> > > > > Machine is pushing 25.34mb/sec
> > > > How do you get this number?? (25.34mb/sec)
> > > right off the switch port.
> >
> > Neat! I'll talk with the net guy here. ;-)
>
> there are soft stats on the Linux side too:
>
> sar -n DEV 10 0
>
> will display summary per-interface tx/rx statistics every 10 seconds.
>
> Also, 'iptraf' is a pretty handy tool too, for simple traffic analysis.
>
> Ingo
More information about the tux-list
mailing list