[asterisk-users] LoadAvg , Codec and Bandwidth Utilisation

Stephen Davies stephen.l.davies at gmail.com
Sun May 3 13:37:45 CDT 2009


Hii,
Looking at this, your problem appears to be that you are diskbound.  Note
the 60% "wait" time.

Use "hdparm -t" to find out the throughput of each of your disks.  If its
not 20MB/sec or more then you need to look into the drivers you are using
for your disk.  If you do have good disk throughput and still stuck with
high wait time then you need to look into why you have so much disk IO going
on.

By the way - there's no big problem with an Asterisk box with a load average
of 4.  I've seen 10 or so without audible issues.  Obviously depends on
available CPUs and what exactly is happening on the box.

Steve


2009/5/1 David @ULC <ucoms2001 at gmail.com>

>
> [root]# top
> top - 20:19:40 up 53 min,  1 user,  load average: 9.54, 7.85, 6.44
> Tasks: 224 total,   1 running, 223 sleeping,   0 stopped,   0 zombie
> Cpu(s):  7.5%us,  3.8%sy,  0.0%ni, 28.6%id, 59.1%wa,  0.2%hi,  0.8%si,
>  0.0%st
>
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>  2835 root      15   0 41252  14m 4932 S    5  0.4   1:08.82 asterisk
>  2456 mysql     15   0  154m  28m 4480 S    2  0.8   0:42.05 mysqld
>  2995 root      16   0 12380 7220 2740 S    1  0.2   0:21.56 AST_update.pl
> 10700 root      15   0  2304 1088  788 R    1  0.0   0:00.03 top
>   413 root      10  -5     0    0    0 D    0  0.0   0:02.54 kjournald
>   428 apache    15   0 58168 6460 2952 S    0  0.2   0:00.10 httpd
>  3004 root      15   0 11096 5804 2640 S    0  0.2   0:03.12
> AST_VDauto_dial
>  6725 root      15   0 12644 7400 2600 S    0  0.2   0:00.90
> AST_CRON_audio_
> 10428 root      18   0 21536  15m 2600 S    0  0.4   0:00.28
> AST_CRON_audio_
> 13471 apache    15   0 58168 6780 3260 S    0  0.2   0:00.50 httpd
> 17253 root      15   0 13248 6696 1456 S    0  0.2   0:00.30 FastAGI_log.pl
> 29074 apache    15   0 58168 6692 3172 S    0  0.2   0:00.38 httpd
> 30454 root      16   0 21536  15m 2596 S    0  0.4   0:00.65
> AST_CRON_audio_
>     1 root      15   0  2044  664  572 S    0  0.0   0:00.58 init
>     2 root      RT   0     0    0    0 S    0  0.0   0:00.02 migration/0
>     3 root      34  19     0    0    0 S    0  0.0   0:00.00 ksoftirqd/0
>     4 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/0
>     5 root      RT   0     0    0    0 S    0  0.0   0:00.01 migration/1
>     6 root      34  19     0    0    0 S    0  0.0   0:00.00 ksoftirqd/1
>
>
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090503/32405ae0/attachment.htm 


More information about the asterisk-users mailing list