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

Get OpenVPN Cookbook - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.