Chapter 8. Performance Tuning

In this chapter, we will cover the following troubleshooting topics:

  • Optimizing performance using ping
  • Optimizing performance using iperf
  • Comparing IPv4 and IPv6 speed
  • OpenSSL cipher speed
  • OpenVPN in Gigabit networks
  • Compression tests
  • Traffic shaping
  • Tuning UDP-based connections
  • Tuning TCP-based connections
  • Analyzing performance using tcpdump

Introduction

This chapter focuses on getting the best performance out of an OpenVPN setup. There are several parameters that can be tuned on both the server side and the client side for getting the highest throughput and the lowest latency. However, the optimal settings of these parameters largely depend on the network layout. The recipes in this chapter will therefore provide guidelines on how to tune these parameters and how to measure the increase or decrease in performance. These guidelines can then be applied to other network layouts to find the optimal performance.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.172.220