I have installed FS 1.0.0 on a Mac using the precompiled .dmg and FS 1.0.1 on a Windows Vista machine using the precompiled .msi - actually the same machine). Using the default configuration files, and using 2 Snom 360 phones I dialed from extension 1000 to extension 1001. On the Mac, 1001 starts ringing instantly, but under Windows it takes 1-2 seconds before it starts ringing. It seems to be in the dialplan the time is spent. From the time I see this line on the console: [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing 1000->1000 in context default Until the next thing happens it always takes at least 1 full second, but on the Mac it happens instantly. Why is the Windows build this much slower? Is it a known problem? I get the feeling that the majority of the FS community is Unix based, which is fine by me, but I would really like to know just how well supported and stable the Win32 build is and if this is currently a viable way to go, or if I should stick to Linux/BSD/Mac for production use? // Per
You might try to check out trunk and see if this has the same issue. Mike On Nov 30, 2008, at 12:03 PM, Per Møller wrote:
I have installed FS 1.0.0 on a Mac using the precompiled .dmg and FS 1.0.1 on a Windows Vista machine using the precompiled .msi - actually the same machine).
Using the default configuration files, and using 2 Snom 360 phones I dialed from extension 1000 to extension 1001. On the Mac, 1001 starts ringing instantly, but under Windows it takes 1-2 seconds before it starts ringing.
It seems to be in the dialplan the time is spent. From the time I see this line on the console:
[INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing 1000->1000 in context default
Until the next thing happens it always takes at least 1 full second, but on the Mac it happens instantly.
Why is the Windows build this much slower? Is it a known problem?
I get the feeling that the majority of the FS community is Unix based, which is fine by me, but I would really like to know just how well supported and stable the Win32 build is and if this is currently a viable way to go, or if I should stick to Linux/BSD/Mac for production use?
// Per
_______________________________________________ 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
Hi Per, Unlike many projects, FS takes Win32 rather seriously. I.e., bugs in the Windows version do get fixed. So, try a later build and see if you can still repro it. Next, try doing "console loglevel debug" to see if there's any other output there to figure out in more detail what's happening. -Michael -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Per Møller Sent: Sunday, November 30, 2008 10:03 AM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Windows is slow? I have installed FS 1.0.0 on a Mac using the precompiled .dmg and FS 1.0.1 on a Windows Vista machine using the precompiled .msi - actually the same machine). Using the default configuration files, and using 2 Snom 360 phones I dialed from extension 1000 to extension 1001. On the Mac, 1001 starts ringing instantly, but under Windows it takes 1-2 seconds before it starts ringing. It seems to be in the dialplan the time is spent. From the time I see this line on the console: [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing 1000->1000 in context default Until the next thing happens it always takes at least 1 full second, but on the Mac it happens instantly. Why is the Windows build this much slower? Is it a known problem? I get the feeling that the majority of the FS community is Unix based, which is fine by me, but I would really like to know just how well supported and stable the Win32 build is and if this is currently a viable way to go, or if I should stick to Linux/BSD/Mac for production use? // Per _______________________________________________ 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
Have you tried the latest msi build? It's based off svn 10564. Carlos On Sun, Nov 30, 2008 at 11:03 AM, Per Møller <per_moeller@mac.com> wrote:
I have installed FS 1.0.0 on a Mac using the precompiled .dmg and FS 1.0.1 on a Windows Vista machine using the precompiled .msi - actually the same machine).
Using the default configuration files, and using 2 Snom 360 phones I dialed from extension 1000 to extension 1001. On the Mac, 1001 starts ringing instantly, but under Windows it takes 1-2 seconds before it starts ringing.
It seems to be in the dialplan the time is spent. From the time I see this line on the console:
[INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing 1000->1000 in context default
Until the next thing happens it always takes at least 1 full second, but on the Mac it happens instantly.
Why is the Windows build this much slower? Is it a known problem?
I get the feeling that the majority of the FS community is Unix based, which is fine by me, but I would really like to know just how well supported and stable the Win32 build is and if this is currently a viable way to go, or if I should stick to Linux/BSD/Mac for production use?
// Per
_______________________________________________ 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
I checked out the trunk version, and it's still slow. However I found one improvement - it does not crash on shutdown anymore. Could anymore give me some pointers on how to try to debug this on the Windows platform? // Per Fra: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] På vegne af Carlos Talbot Sendt: 2. december 2008 17:13 Til: freeswitch-users@lists.freeswitch.org Emne: Re: [Freeswitch-users] Windows is slow? Have you tried the latest msi build? It's based off svn 10564. Carlos On Sun, Nov 30, 2008 at 11:03 AM, Per Møller <per_moeller@mac.com> wrote: I have installed FS 1.0.0 on a Mac using the precompiled .dmg and FS 1.0.1 on a Windows Vista machine using the precompiled .msi - actually the same machine). Using the default configuration files, and using 2 Snom 360 phones I dialed from extension 1000 to extension 1001. On the Mac, 1001 starts ringing instantly, but under Windows it takes 1-2 seconds before it starts ringing. It seems to be in the dialplan the time is spent. From the time I see this line on the console: [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing 1000->1000 in context default Until the next thing happens it always takes at least 1 full second, but on the Mac it happens instantly. Why is the Windows build this much slower? Is it a known problem? I get the feeling that the majority of the FS community is Unix based, which is fine by me, but I would really like to know just how well supported and stable the Win32 build is and if this is currently a viable way to go, or if I should stick to Linux/BSD/Mac for production use? // Per _______________________________________________ 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
Can you do a console loglevel debug, then send all the output around that time? Apart from that, the quickest way might just to attach a debugger, then break all when it pauses and see where the threads are :). -Michael -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Per Møller Sent: Tuesday, December 02, 2008 12:32 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Windows is slow? I checked out the trunk version, and it's still slow. However I found one improvement - it does not crash on shutdown anymore. Could anymore give me some pointers on how to try to debug this on the Windows platform? // Per Fra: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] På vegne af Carlos Talbot Sendt: 2. december 2008 17:13 Til: freeswitch-users@lists.freeswitch.org Emne: Re: [Freeswitch-users] Windows is slow? Have you tried the latest msi build? It's based off svn 10564. Carlos On Sun, Nov 30, 2008 at 11:03 AM, Per Møller <per_moeller@mac.com> wrote: I have installed FS 1.0.0 on a Mac using the precompiled .dmg and FS 1.0.1 on a Windows Vista machine using the precompiled .msi - actually the same machine). Using the default configuration files, and using 2 Snom 360 phones I dialed from extension 1000 to extension 1001. On the Mac, 1001 starts ringing instantly, but under Windows it takes 1-2 seconds before it starts ringing. It seems to be in the dialplan the time is spent. From the time I see this line on the console: [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing 1000->1000 in context default Until the next thing happens it always takes at least 1 full second, but on the Mac it happens instantly. Why is the Windows build this much slower? Is it a known problem? I get the feeling that the majority of the FS community is Unix based, which is fine by me, but I would really like to know just how well supported and stable the Win32 build is and if this is currently a viable way to go, or if I should stick to Linux/BSD/Mac for production use? // Per _______________________________________________ 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 _______________________________________________ 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
is it stun timeout ? do you have one of the ip set to stun:foo ? On Tue, Dec 2, 2008 at 1:33 PM, Michael Giagnocavo <mgg@giagnocavo.net>wrote:
Can you do a console loglevel debug, then send all the output around that time?
Apart from that, the quickest way might just to attach a debugger, then break all when it pauses and see where the threads are :).
-Michael
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Per Møller Sent: Tuesday, December 02, 2008 12:32 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Windows is slow?
I checked out the trunk version, and it's still slow. However I found one improvement - it does not crash on shutdown anymore.
Could anymore give me some pointers on how to try to debug this on the Windows platform?
// Per
Fra: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] På vegne af Carlos Talbot Sendt: 2. december 2008 17:13 Til: freeswitch-users@lists.freeswitch.org Emne: Re: [Freeswitch-users] Windows is slow?
Have you tried the latest msi build? It's based off svn 10564.
Carlos
On Sun, Nov 30, 2008 at 11:03 AM, Per Møller <per_moeller@mac.com> wrote: I have installed FS 1.0.0 on a Mac using the precompiled .dmg and FS 1.0.1 on a Windows Vista machine using the precompiled .msi - actually the same machine).
Using the default configuration files, and using 2 Snom 360 phones I dialed from extension 1000 to extension 1001. On the Mac, 1001 starts ringing instantly, but under Windows it takes 1-2 seconds before it starts ringing.
It seems to be in the dialplan the time is spent. From the time I see this line on the console:
[INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing 1000->1000 in context default
Until the next thing happens it always takes at least 1 full second, but on the Mac it happens instantly.
Why is the Windows build this much slower? Is it a known problem?
I get the feeling that the majority of the FS community is Unix based, which is fine by me, but I would really like to know just how well supported and stable the Win32 build is and if this is currently a viable way to go, or if I should stick to Linux/BSD/Mac for production use?
// Per
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
No, only using a single local ip, no stun anywhere. But I have found the time consuming application, it's DB. When I commented out the following lines in the default dialplan, that a call to a local extension would run through, there was no delay: <action application="db" data="insert/${domain_name}-spymap/${caller_id_number}/${uuid}"/> <action application="db" data="insert/${domain_name}-last_dial/${caller_id_number}/${destination_numb er}"/> <action application="db" data="insert/${domain_name}-last_dial/global/${uuid}"/> <anti-action application="db" data="insert/${domain_name}-call_return/${dialed_extension}/${caller_id_numb er}"/> <anti-action application="db" data="insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}"/> <anti-action application="db" data="insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}"/> A cautious assumption would be that sqllite does not perform as well on Win32. However I should mention it is compiled as debug, as I cannot get a release version to compile. // Per Fra: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] På vegne af Anthony Minessale Sendt: 2. december 2008 21:05 Til: freeswitch-users@lists.freeswitch.org Emne: Re: [Freeswitch-users] Windows is slow? is it stun timeout ? do you have one of the ip set to stun:foo ? On Tue, Dec 2, 2008 at 1:33 PM, Michael Giagnocavo <mgg@giagnocavo.net> wrote: Can you do a console loglevel debug, then send all the output around that time? Apart from that, the quickest way might just to attach a debugger, then break all when it pauses and see where the threads are :). -Michael -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Per Møller Sent: Tuesday, December 02, 2008 12:32 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Windows is slow? I checked out the trunk version, and it's still slow. However I found one improvement - it does not crash on shutdown anymore. Could anymore give me some pointers on how to try to debug this on the Windows platform? // Per Fra: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] På vegne af Carlos Talbot Sendt: 2. december 2008 17:13 Til: freeswitch-users@lists.freeswitch.org Emne: Re: [Freeswitch-users] Windows is slow? Have you tried the latest msi build? It's based off svn 10564. Carlos On Sun, Nov 30, 2008 at 11:03 AM, Per Møller <per_moeller@mac.com> wrote: I have installed FS 1.0.0 on a Mac using the precompiled .dmg and FS 1.0.1 on a Windows Vista machine using the precompiled .msi - actually the same machine). Using the default configuration files, and using 2 Snom 360 phones I dialed from extension 1000 to extension 1001. On the Mac, 1001 starts ringing instantly, but under Windows it takes 1-2 seconds before it starts ringing. It seems to be in the dialplan the time is spent. From the time I see this line on the console: [INFO] mod_dialplan_xml.c:233 dialplan_hunt() Processing 1000->1000 in context default Until the next thing happens it always takes at least 1 full second, but on the Mac it happens instantly. Why is the Windows build this much slower? Is it a known problem? I get the feeling that the majority of the FS community is Unix based, which is fine by me, but I would really like to know just how well supported and stable the Win32 build is and if this is currently a viable way to go, or if I should stick to Linux/BSD/Mac for production use? // Per _______________________________________________ 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 _______________________________________________ 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 _______________________________________________ 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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org pstn:213-799-1400
participants (5)
-
Anthony Minessale
-
Carlos Talbot
-
Michael Giagnocavo
-
Michael Jerris
-
Per Møller