Baseline network performance

In this recipe, we will perform tests to discover the baseline performance of the network between the Ceph OSD nodes. For this, we will be using the iperf utility. Make sure that the iperf package is installed on the Ceph nodes. iperf is a simple, point-to-point network bandwidth tester that works on the client server model.

To start network benchmarking, execute iperf with the server option on the first Ceph node and with the client option on the second Ceph node.

How to do it…

  1. On Ceph-node1, execute iperf with -s for the server, and -p to listen on a specific port:
    # iperf -s -p 6900
    
    How to do it…

    Note

    You can skip the -p option if the TPC port 5201 is open, or you can choose any other port that is open and not in use.

  2. On Ceph-node2, execute iperf with the client option, -c:
    # iperf -c ceph-node1 -p 6900
    
    How to do it…

    Note

    You can also use the -p option with the iperf command to determine the number of parallel stream connections to make with the server. It will return a realistic result if you have a channel-bonding technique such as LACP.

This shows that we have a pretty nice network connectivity of ~9.80Gb/s between the Ceph nodes. Similarly, you can perform a network bandwidth check for the other nodes of your Ceph cluster. The network bandwidth really depends on the network infrastructure you are using between your Ceph nodes.

See also…

  • Chapter 8, Production Planning and Performance Tuning for Ceph, where you can find more information related to Ceph networking
..................Content has been hidden....................

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