question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Performance degradation on tunneled connection

See original GitHub issue

I’ve experienced performance degradation when upgraded from 2.2.2 to 2.3.7. see measurements in attachment which was made by Spark application calling spark.catalog.listTables(). newer WD is 3 times slower impacting the ssh-tunneled connections (see highlighted rows) the most. image

how much can it be eliminated?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:17 (16 by maintainers)

github_iconTop GitHub Comments

2reactions
rambruscommented, Aug 1, 2018

@bAndie91 , @patduin: I did some investigation and found this:

Test Case 1 - listTables on non-tunneled connection

wd version run-1 run-2
2.3.0 20 s 19 s
2.3.1 20 s 23 s
2.3.2 25 s 24 s
2.3.3 36 s 32 s
2.3.4 28 s 25 s
2.3.5 44 s 56 s
2.3.6 48 s 46 s

image

Test Case 2 - listTables on tunneled connection

wd version run-1 run-2
2.3.0 5 m 37 s 4 m 52 s
2.3.1 4 m 59 s 5 m 04 s
2.3.2 5 m 15 s 5 m 11 s
2.3.3 7 m 27 s 7 m 12 s
2.3.4 5 m 14 s 5 m 15 s
2.3.5 13 m 02 s 13 m 27 s
2.3.6 12 m 33 s 13 m 07 s

image

Summary I had 2 runs for both test cases, the test durations are pretty much consistent between runs and we can observe ~150% performance degradation between 2.3.4 and 2.3.5 releases.

IMPORTANT: The performance degradation does not seem to be specific to tunneled connection, the same trend can be observed in both cases.

1reaction
rambruscommented, Aug 2, 2018

@bAndie91 , @patduin

Re-run the test cases on the version built from issue-115 branch and added the results to the charts.

Test Case 1 - listTables on non-tunneled connection

image

Test Case 2 - listTables on tunneled connection

image

I can confirm that the fix resolves the performance degradation issue.

Also the RetryingMetaStoreClient:184 - MetaStoreClient lost connection. Attempting to reconnect. warning disappeared from the logs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Performance degradation VPN gateway - LIVEcommunity
Our 3 business users are complaining on a daily basis the VPN tunnel back to the office is very slow compared to the...
Read more >
Factors that can boost VPN performance - TechRepublic
If your VPN performance seems slow, you may need to increase the size of the tunnel by adding bandwidth at both ends. You...
Read more >
Troubleshoot VPN tunnel inactivity or instability issues
Common reasons for VPN tunnel inactivity or instability on a customer gateway device include: Problems with Internet Protocol Security ...
Read more >
ASA: Best practices for remote access VPN performance ...
Best practices for performance optimization. Use of split tunnel. AnyConnect tunnels all traffic by default. Communication to the Internet is ...
Read more >
What Causes SD WAN Performance Issues? - Kadiska
SD WAN appliances can route traffic over multiple connections (MPLS, ISPs, 4G/5G); to do so they establish tunnels (similar to a VPN tunnel)...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found