[asterisk-users] zaptel huge irq problem

Stephen Davies stephen.l.davies at gmail.com
Thu May 17 11:23:47 MST 2007


Hi,

I want to quickly mention that I've had great success with running
Asterisk in the under-appreciated Linux-VServer environment.

This is not so much a virtualisation environment as a system partioner
on steroids.  Nothing to do with running windows on Linux and
suchlike, but a good way to run lots of Asterisk and other stuff
isolated from each other.

There is only one kernel, and hardware is not virtualised.  A particular guest
We run about 10 Asterisk instances, together with web servers, Mysql
and more.  All on a 1GB RAM Pentium D box.  CPU and memory to spare.

hildegard steve # vserver-stat
CTX   PROC    VSZ    RSS  userTIME   sysTIME    UPTIME NAME
0       82 266.5M  20.6M  21h19m47   8h04m51  26d02h24 root server
8       63 710.6M   1.4G  14m10s98   5m31s37  26d02h20 ctel_web
9       13   1.1G  31.8M  16m28s43  14m02s46  25d05h57 ctel_pbx
10      19 694.8M 172.7M   2h01m43  19m59s65  20d07h58 voipconnect
11       8 927.9M  98.9M  40m43s42  10m09s30  26d02h21 ctel_admin
12       5 210.5M  21.5M   5h13m35  36m41s61  26d02h21 ctel_db
13       8 903.4M  55.2M   3m00s10   1m09s40  26d02h20 ctel_intranet
15       5   213M   1.2M   9m09s35  12m51s00  26d02h19 xconnect
33      29 261.2M  22.7M   0m07s65   0m09s13   3d08h43 testtrunk
56      13   1.1G    10M   1m44s45   1m18s94  26d02h21 aaaaaaa
57      13   1.1G  13.9M   8m47s52   8m46s10  26d02h21 bbbbbbb
58      13   1.1G  16.1M  54m29s99  24m46s22  26d02h14 ccccccc
60       9 293.4M  31.9M  10h44m42   2h00m55  26d02h20 ddddddd
61      13   1.1G   6.7M  12m45s11  13m26s42  26d02h19 eeeeeee

(26 days uptime?  Our hosting provider had to do power maintenance.
We've never had a crash of the host system).

My zttest inside a guest machine:

voipconnect zaptel # ./zttest
Opened pseudo zap interface, measuring accuracy...
100.000000% 99.987793% 100.000000% 99.987793% 100.000000% 100.000000%
99.987793%
100.000000% 100.000000% 99.987793% 100.000000% 99.987793% 100.000000%
100.000000% 99.987793%
100.000000% 99.987793% 100.000000% 99.987793% 100.000000% 100.000000%
99.987793% 100.000000%
99.987793% 100.000000% 100.000000% 99.987793% 100.000000% 99.987793%
100.000000% 100.000000%
--- Results after 31 passes ---
Best: 100.000000 -- Worst: 99.987793 -- Average: 99.995277


Try that with Xen or VMWare.

http://www.linux-vserver.org/

(Our host is hardened gentoo with PaX and GRSecurity, plus vserver;
guests are gentoo too, though VServer does support guests being
different distributions).

Hope this helps someone,
Steve Davies


More information about the asterisk-users mailing list