[Asterisk-Users] Problem with SMP?
David Liu
dtliu at scu.edu
Mon May 10 02:02:52 MST 2004
Hi there,
Recently, we deployed a Dual Xeon 2.8G (533) server to test out Asterisk
(0.7.2 stable) running SMP. We noticed that it seems to have problems
handling even 5 co-current calls. We setup-ed a MusicOnHold() extension for
testing and have a batch of 5 phones tuning in at the same time. The music
will jerk every now and then, when it jerks, all 5 phones jerk at the same
time (pardon for the language).
Looking at the output from top, it shows multiple asterisk processes running
at the same time while calls are made or listening to music on hold channel.
Note that the number of processes co-responds to the number of co-current
calls (8 co-current calls)
23306 root 16 0 145m 12m 23m S 2.7 1.4 0:11.77 asterisk
23459 root 16 0 145m 12m 23m S 2.3 1.4 0:01.12 asterisk
23126 root 16 0 145m 12m 23m S 2.0 1.4 0:23.67 asterisk
23136 root 16 0 145m 12m 23m S 2.0 1.4 0:23.66 asterisk
23152 root 16 0 145m 12m 23m S 2.0 1.4 0:23.73 asterisk
23121 root 16 0 145m 12m 23m S 1.7 1.4 0:23.99 asterisk
23131 root 16 0 145m 12m 23m S 1.7 1.4 0:23.87 asterisk
23465 root 15 0 145m 12m 23m S 1.7 1.4 0:00.05 asterisk
On a seperate test server running a single P4 CPU and the same version of
Asterisk (0.7.2 stable), we experienced no problems with all 5 phones tuning
into MusicOnHold. Top shows only 1 process of asterisk running.
Is this a problem with SMP? Surely a Dual Xeon 2.8G server with 1GB RAM is
much more powerful than a P4 with 256mb RAM!
P.S. We couldn't use 0.9.0 because our IDD carrier, Primus' SIP proxy can't
seem to autheticate on INVITE when using the 0.9.0's SIP stack.
Any input is greatly appreciated!
David
More information about the asterisk-users
mailing list