VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
rogelio.perez at gmail... Guest
|
Posted: Fri Aug 21, 2009 3:13 pm Post subject: [Freeswitch-users] Freeswitch vs. Asterisk speed on ARM |
|
|
Hi Everyone,
I'm working on a PBX project for the Sheevaplug ARM based computer, with the following specs: CPU 1.2 GHz, 512MB DDR2, no FPU.
So far I've found a big difference between Freeswitch and Asterisk performance times.
This is a comparison of the time it takes them to perform different actions:
Quote: | startup Freeswitch: 3 min.
startup Asterisk: 2 sec.
call extension Freeswitch: 6 sec.
call extension Asterisk: 0 sec.
shutdown Freeswitch: 6.5 secshutdown Asterisk: 0 sec.
reload config Freeswitch: 1 sec.
reload config Asterisk: 1 sec. |
Both were built from sources natively (no cross-compiling), and they use the default startup configurations.
I have managed to lower the Freeswitch times by disabling most of the modules and recompiling, but it is still far away from Asterisk (i.e. FS startup time 2.5 min).
1. Is there any way to further improve Freeswitch performance for the ARM architecture?
2. Can this be related to the lack of a FPU (the Sheevalug emulates the floating point operations).
3. On the startup I see this error repeated many times: [ERR] switch_core_sqldb.c:95 SQL ERR [database is locked]. Can this be related?
Thanks,
Rogelio Perez |
|
Back to top |
|
|
andrew at hijacked.us Guest
|
Posted: Fri Aug 21, 2009 3:23 pm Post subject: [Freeswitch-users] Freeswitch vs. Asterisk speed on ARM |
|
|
On Fri, Aug 21, 2009 at 04:15:13PM -0300, Rogelio Perez wrote:
Quote: | Hi Everyone,
I'm working on a PBX project for the Sheevaplug ARM based computer,
with the following specs: CPU 1.2 GHz, 512MB DDR2, no FPU.
So far I've found a big difference between Freeswitch and Asterisk
performance times.
This is a comparison of the time it takes them to perform different
actions:
startup Freeswitch: 3 min.
startup Asterisk: 2 sec.
call extension Freeswitch: 6 sec.
call extension Asterisk: 0 sec.
shutdown Freeswitch: 6.5 sec
shutdown Asterisk: 0 sec.
reload config Freeswitch: 1 sec.
reload config Asterisk: 1 sec.
Both were built from sources natively (no cross-compiling), and they
use the default startup configurations.
I have managed to lower the Freeswitch times by disabling most of the
modules and recompiling, but it is still far away from Asterisk (i.e.
FS startup time 2.5 min).
1. Is there any way to further improve Freeswitch performance for the
ARM architecture?
2. Can this be related to the lack of a FPU (the Sheevalug emulates
the floating point operations).
3. On the startup I see this error repeated many times: [ERR]
switch_core_sqldb.c:95 SQL ERR [database is locked]. Can this be
related?
|
Try making where freeswitch stores it's sqlite databases
/usr/local/freeswitch/db (by default) a ramdisk. I've had this vastly
improve FS performance on embedded devices.
Andrew
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Fri Aug 21, 2009 3:24 pm Post subject: [Freeswitch-users] Freeswitch vs. Asterisk speed on ARM |
|
|
probably disk i/o.
Is it some kind of flash drive?
make a ramdisk and simlink in /usr/local/freeswitch/db and /usr/local/freeswitch/log to it
the default configuration uses a lot of high level features that use the sqlite db on the disk.
We also offer commercial support where we could dig deeper into the problem if you can't figure it out
consulting@freeswitch.org (consulting@freeswitch.org)
On Fri, Aug 21, 2009 at 2:15 PM, Rogelio Perez <rogelio.perez@gmail.com (rogelio.perez@gmail.com)> wrote:
Quote: | Hi Everyone,
I'm working on a PBX project for the Sheevaplug ARM based computer, with the following specs: CPU 1.2 GHz, 512MB DDR2, no FPU.
So far I've found a big difference between Freeswitch and Asterisk performance times.
This is a comparison of the time it takes them to perform different actions:
Quote: | startup Freeswitch: 3 min.
startup Asterisk: 2 sec.
call extension Freeswitch: 6 sec.
call extension Asterisk: 0 sec.
shutdown Freeswitch: 6.5 sec shutdown Asterisk: 0 sec.
reload config Freeswitch: 1 sec.
reload config Asterisk: 1 sec. |
Both were built from sources natively (no cross-compiling), and they use the default startup configurations.
I have managed to lower the Freeswitch times by disabling most of the modules and recompiling, but it is still far away from Asterisk (i.e. FS startup time 2.5 min).
1. Is there any way to further improve Freeswitch performance for the ARM architecture?
2. Can this be related to the lack of a FPU (the Sheevalug emulates the floating point operations).
3. On the startup I see this error repeated many times: [ERR] switch_core_sqldb.c:95 SQL ERR [database is locked]. Can this be related?
Thanks,
Rogelio Perez
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
intralanman at freeswi... Guest
|
Posted: Sun Aug 23, 2009 6:28 pm Post subject: [Freeswitch-users] Freeswitch vs. Asterisk speed on ARM |
|
|
Could you load freeswitch with a couple hundred calls then run the test again.. and do the same to asterisk and see how the numbers stack up then? I'm just curious to see what happens at that point.
-Ray
On Aug 21, 2009, at 3:15 PM, Rogelio Perez wrote:
Quote: | Hi Everyone,
I'm working on a PBX project for the Sheevaplug ARM based computer, with the following specs: CPU 1.2 GHz, 512MB DDR2, no FPU.
So far I've found a big difference between Freeswitch and Asterisk performance times.
This is a comparison of the time it takes them to perform different actions:
Quote: | startup Freeswitch: 3 min.
startup Asterisk: 2 sec.
call extension Freeswitch: 6 sec.
call extension Asterisk: 0 sec.
shutdown Freeswitch: 6.5 secshutdown Asterisk: 0 sec.
reload config Freeswitch: 1 sec.
reload config Asterisk: 1 sec. |
Both were built from sources natively (no cross-compiling), and they use the default startup configurations.
I have managed to lower the Freeswitch times by disabling most of the modules and recompiling, but it is still far away from Asterisk (i.e. FS startup time 2.5 min).
1. Is there any way to further improve Freeswitch performance for the ARM architecture?
2. Can this be related to the lack of a FPU (the Sheevalug emulates the floating point operations).
3. On the startup I see this error repeated many times: [ERR] switch_core_sqldb.c:95 SQL ERR [database is locked]. Can this be related?
Thanks,
Rogelio Perez
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
sprice at gmail.com Guest
|
Posted: Sun Aug 23, 2009 6:35 pm Post subject: [Freeswitch-users] Freeswitch vs. Asterisk speed on ARM |
|
|
Don't forget to press tab at the asterisk console!
On Sun, Aug 23, 2009 at 18:23, Raymond Chandler <intralanman@freeswitch.org (intralanman@freeswitch.org)> wrote:
Quote: | Could you load freeswitch with a couple hundred calls then run the test again.. and do the same to asterisk and see how the numbers stack up then? I'm just curious to see what happens at that point.
-Ray
On Aug 21, 2009, at 3:15 PM, Rogelio Perez wrote:
Quote: |
Hi Everyone,
I'm working on a PBX project for the Sheevaplug ARM based computer, with the following specs: CPU 1.2 GHz, 512MB DDR2, no FPU.
So far I've found a big difference between Freeswitch and Asterisk performance times.
This is a comparison of the time it takes them to perform different actions:
Quote: | startup Freeswitch: 3 min.
startup Asterisk: 2 sec.
call extension Freeswitch: 6 sec.
call extension Asterisk: 0 sec.
shutdown Freeswitch: 6.5 secshutdown Asterisk: 0 sec.
reload config Freeswitch: 1 sec.
reload config Asterisk: 1 sec. |
Both were built from sources natively (no cross-compiling), and they use the default startup configurations.
I have managed to lower the Freeswitch times by disabling most of the modules and recompiling, but it is still far away from Asterisk (i.e. FS startup time 2.5 min).
1. Is there any way to further improve Freeswitch performance for the ARM architecture?
2. Can this be related to the lack of a FPU (the Sheevalug emulates the floating point operations).
3. On the startup I see this error repeated many times: [ERR] switch_core_sqldb.c:95 SQL ERR [database is locked]. Can this be related?
Thanks,
Rogelio Perez
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
--
Shannon |
|
Back to top |
|
|
rogelio.perez at gmail... Guest
|
Posted: Sun Aug 23, 2009 11:51 pm Post subject: [Freeswitch-users] Freeswitch vs. Asterisk speed on ARM |
|
|
Thanks Andrew and Anthony,
I created a ramdisk for the db and log directories using tmpfs and now I see better performance times:
Quote: | startup: 15.6 sec.
call extension: 0 sec.
shutdown: 7.5 sec
reload config: 0 sec. |
I have noticed that during the startup there is a 12 sec. pause while checking for UPnP:
Quote: | 2009-08-24 04:39:29.910459 [ERR] switch_nat.c:183 Error checking for PMP [general error]
2009-08-24 04:39:29.910694 [DEBUG] switch_nat.c:397 Checking for UPnP
2009-08-24 04:39:41.906029 [INFO] switch_nat.c:411 No PMP or UPnP NAT detected!
| Is there any way to lower this time? Maybe disabling the check?
Thanks,
Rogelio
On Aug 21, 2009, at 5:20 PM, Anthony Minessale wrote:
Quote: | probably disk i/o.
Is it some kind of flash drive?
make a ramdisk and simlink in /usr/local/freeswitch/db and /usr/local/freeswitch/log to it
the default configuration uses a lot of high level features that use the sqlite db on the disk.
We also offer commercial support where we could dig deeper into the problem if you can't figure it out
consulting@freeswitch.org (consulting@freeswitch.org)
On Fri, Aug 21, 2009 at 2:15 PM, Rogelio Perez <rogelio.perez@gmail.com (rogelio.perez@gmail.com)> wrote:
Quote: | Hi Everyone,
I'm working on a PBX project for the Sheevaplug ARM based computer, with the following specs: CPU 1.2 GHz, 512MB DDR2, no FPU.
So far I've found a big difference between Freeswitch and Asterisk performance times.
This is a comparison of the time it takes them to perform different actions:
Quote: | startup Freeswitch: 3 min.
startup Asterisk: 2 sec.
call extension Freeswitch: 6 sec.
call extension Asterisk: 0 sec.
shutdown Freeswitch: 6.5 sec shutdown Asterisk: 0 sec.
reload config Freeswitch: 1 sec.
reload config Asterisk: 1 sec. |
Both were built from sources natively (no cross-compiling), and they use the default startup configurations.
I have managed to lower the Freeswitch times by disabling most of the modules and recompiling, but it is still far away from Asterisk (i.e. FS startup time 2.5 min).
1. Is there any way to further improve Freeswitch performance for the ARM architecture?
2. Can this be related to the lack of a FPU (the Sheevalug emulates the floating point operations).
3. On the startup I see this error repeated many times: [ERR] switch_core_sqldb.c:95 SQL ERR [database is locked]. Can this be related?
Thanks,
Rogelio Perez
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Sun Aug 23, 2009 11:57 pm Post subject: [Freeswitch-users] Freeswitch vs. Asterisk speed on ARM |
|
|
freeswitch -nonat
/b
On Aug 23, 2009, at 11:45 PM, Rogelio Perez wrote:
Quote: | 2009-08-24 04:39:29.910459 [ERR] switch_nat.c:183 Error checking for
PMP [general error]
2009-08-24 04:39:29.910694 [DEBUG] switch_nat.c:397 Checking for UPnP
2009-08-24 04:39:41.906029 [INFO] switch_nat.c:411 No PMP or UPnP
NAT detected!
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
rogelio.perez at gmail... Guest
|
|
Back to top |
|
|
rogelio.perez at gmail... Guest
|
Posted: Mon Aug 24, 2009 6:59 pm Post subject: [Freeswitch-users] Freeswitch vs. Asterisk speed on ARM |
|
|
Hi Raymond,
I'm not planning to have more than 10 concurrent calls on this devices, but I'm also curious as you about how many calls can it handle.
When I get to that point I will post the test results on this list.
Regards,
Rogelio
On Aug 23, 2009, at 8:23 PM, Raymond Chandler wrote:
Quote: | Could you load freeswitch with a couple hundred calls then run the test again.. and do the same to asterisk and see how the numbers stack up then? I'm just curious to see what happens at that point.
-Ray
On Aug 21, 2009, at 3:15 PM, Rogelio Perez wrote:
Quote: | Hi Everyone,
I'm working on a PBX project for the Sheevaplug ARM based computer, with the following specs: CPU 1.2 GHz, 512MB DDR2, no FPU.
So far I've found a big difference between Freeswitch and Asterisk performance times.
This is a comparison of the time it takes them to perform different actions:
Quote: | startup Freeswitch: 3 min.
startup Asterisk: 2 sec.
call extension Freeswitch: 6 sec.
call extension Asterisk: 0 sec.
shutdown Freeswitch: 6.5 secshutdown Asterisk: 0 sec.
reload config Freeswitch: 1 sec.
reload config Asterisk: 1 sec. |
Both were built from sources natively (no cross-compiling), and they use the default startup configurations.
I have managed to lower the Freeswitch times by disabling most of the modules and recompiling, but it is still far away from Asterisk (i.e. FS startup time 2.5 min).
1. Is there any way to further improve Freeswitch performance for the ARM architecture?
2. Can this be related to the lack of a FPU (the Sheevalug emulates the floating point operations).
3. On the startup I see this error repeated many times: [ERR] switch_core_sqldb.c:95 SQL ERR [database is locked]. Can this be related?
Thanks,
Rogelio Perez
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|