[ 
https://issues.apache.org/jira/browse/DISPATCH-244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15986531#comment-15986531
 ] 

Chuck Rolke commented on DISPATCH-244:
--------------------------------------

Another reference point:

>From the GDB stack trace Dispatch code enters Proton code at call frame #17, 
>Proton code enters Cyrus Sasl code at frame #12. Instrumenting the entry into 
>sasl_server_new() yields:

{noformat}
[Switching to Thread 0x7fc421ffb700 (LWP 1836)]
Thu Apr 27 08:22:48 EDT 2017
Entering sasl_server_new()
Thu Apr 27 08:22:53 EDT 2017
Exited sasl_server_new(). result=0
{noformat}

So the entire five seconds was spent in sasl_server_new(). 



> SASL library generates un-necessary DNS and LDAP requests
> ---------------------------------------------------------
>
>                 Key: DISPATCH-244
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-244
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.5
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>         Attachments: A-perf-flamegraph-3075-work.svg, 
> dispatch-244-gdb-backtrace.txt
>
>
> The dispatch system tests (e.g. system_tests_management) run very slowly when 
> connected to a VPN.
> -  about 10x slower on VPN configured to use TCP connection
> -  about 5x slower on VPN configured for UDP connection
> Wireshark shows unexpected LDAP and DNS queries on the VPN interface. 
> `wallace` below is the local host name, but is not mentioned in any tests so 
> must be picked up by proton or dispatch at runtime:
> {code}
> 1     0.000000000     10.3.113.108    10.11.6.1       LDAP    242     
> searchRequest(11) "dc=redhat,dc=com" wholeSubtree 
> 2     0.035161000     10.3.113.108    10.5.30.160     DNS     72      
> Standard query 0xd03f  A wallace.lab.bos.redhat.com
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to