Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Windows is slow?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
per_moeller at mac.com
Guest





PostPosted: Sun Nov 30, 2008 12:50 pm    Post subject: [Freeswitch-users] Windows is slow? Reply with quote

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
Back to top
mike at jerris.com
Guest





PostPosted: Sun Nov 30, 2008 1:11 pm    Post subject: [Freeswitch-users] Windows is slow? Reply with quote

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:

Quote:
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
Back to top
mgg at giagnocavo.net
Guest





PostPosted: Sun Nov 30, 2008 4:57 pm    Post subject: [Freeswitch-users] Windows is slow? Reply with quote

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

_______________________________________________
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
carlos.talbot at gmail...
Guest





PostPosted: Tue Dec 02, 2008 11:25 am    Post subject: [Freeswitch-users] Windows is slow? Reply with quote

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 (per_moeller@mac.com)> wrote:
Quote:
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 (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
per_moeller at mac.com
Guest





PostPosted: Tue Dec 02, 2008 2:33 pm    Post subject: [Freeswitch-users] Windows is slow? Reply with quote

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
Back to top
mgg at giagnocavo.net
Guest





PostPosted: Tue Dec 02, 2008 3:09 pm    Post subject: [Freeswitch-users] Windows is slow? Reply with quote

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 Smile.

-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
Back to top
anthony.minessale at g...
Guest





PostPosted: Tue Dec 02, 2008 3:14 pm    Post subject: [Freeswitch-users] Windows is slow? Reply with quote

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 (mgg@giagnocavo.net)> wrote:
Quote:
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 Smile.

-Michael


-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (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 (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 (freeswitch-users-bounces@lists.freeswitch.org)
[mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] På vegne af Carlos
Talbot
Sendt: 2. december 2008 17:13
Til: freeswitch-users@lists.freeswitch.org (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 (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 (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

_______________________________________________
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/

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
per_moeller at mac.com
Guest





PostPosted: Sat Dec 06, 2008 10:03 am    Post subject: [Freeswitch-users] Windows is slow? Reply with quote

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 Smile.

-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


_______________________________________________
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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services