wiki:Tutorials/Wired/network-performance

Version 4 (modified by msherman, 6 years ago) ( diff )

Site Navigation

  1. COSMOS Testbed Overview
    1. Concepts
    1. Testbed Workflow
    1. Availability and Resource Status
    1. Events and Conferences
  2. Getting Started
    1. Make an Account
    2. Create and Configure SSH Keys
    3. Make a Reservation
    4. Log in to your Reservation
    5. Control Resources with OMF
    6. Run a Hello World Experiment
    7. Get Help and Support
  3. COSMOS/ORBIT User Guide
    1. The COSMOS Portal
    2. Connecting to the Testbed
    3. Running Experiments
    4. Policies and Support
    5. Quick Links
    1. Policies
    1. Account Creation
    1. Camera Streaming
    1. Scheduling and Reservations
    1. Disk Images
    1. Frequently Asked Questions
    1. Resource Control with OMF
  4. COSMOS Portal
    1. Your First Visit
    2. Setting Up Your Account
    3. Reserving Testbed Time
    4. Monitoring Your Experiment
    5. Connecting via SSH
    6. Managing Disk Images
    7. Joining the Community
    8. Browsing Users and Groups
    9. Tips
  5. Account Management
    1. Edit Profile
    2. Change Password
    3. SSH Keys
  6. Portal Dashboard
    1. Profile Card
    2. Usage Statistics
    3. Community Forum
  7. Directory
    1. Users
    2. Groups
    3. Privacy Note
  8. Disk Images
    1. Browsing Images
    2. Image Details
    3. Searching and Sorting
    4. Managing Your Images
    5. Baseline Images
    6. Saving Custom Images
    7. Storage and Retention
  9. Community Forum
    1. Accessing the Forum
    2. Forum Categories
    3. How to Use the Forum
    4. Forum Etiquette
    5. Privacy and Access
  10. Getting Started with the COSMOS Portal
    1. Creating an Account
    2. Logging In
    3. What to Do After Logging In
  11. SSH Access to Testbed Nodes
    1. Access Model
    2. Console Servers
    3. Basic Connection
    4. SSH Config File
    5. SSH Tunneling
    6. File Transfer
    7. Troubleshooting
  12. Scheduler
    1. Calendar View
    2. Reservation Colors
    3. Creating a Reservation
    4. Competing for a Slot
    5. Modifying or Canceling Reservations
    6. My Reservations
    7. Resource Information
  13. Testbed Status
    1. Node Status Grid
    2. RF Matrix Control (SB4)
    3. Understanding Node States During Experiments
    1. Remote Access
    1. Chrome Remote Desktop Setup Page
  14. Installing Chrome Remote Desktop (CRD) on a Custom Image
    1. Measurement & Result Collection
    1. Storage
    1. Support
    1. Contributing to the Wiki
  15. Tutorials
    1. SDR and Wireless
    2. Wireless Digital Twins
    3. Optical Networking
    4. Wired Networking
    5. Edge Computing
    6. 4G/5G Systems
    7. Orchestration Platforms
  16. Architecture
    1. Data Flow
    1. Deployment Map
    1. Domains
    1. Naming Convention
    1. Networks
    1. Optical
  17. Resources, Services and APIs
    1. RF Control
    2. SDR Control
    3. Compute Control
    4. Network Control
    5. Optical Control
  18. Datasets
  19. Hardware Info
    1. Cameras
    1. Compute
    1. FR3 SDRs
    1. Network
    1. Nodes
    1. Optical
    1. RF Subsystems
    1. Antennas
    1. Full-Duplex Radio
    1. RF Front End
    1. Software Defined Radios (SDR)
  20. RF Policies & Compliance
    1. Outdoor Radio Frequency Allocation
    2. Program Experiment License
    3. Spectrum Monitoring
    4. Emergency Stop Procedures
    5. Network and Platform Security

Measuring Network Performance

This wiki page contains the tutorial of measuring network performance.

Authors:

Artur Minakhmetov, Telecom Paris : artur.minakhmetov[at]telecom-paris.fr
Michael Sherman, Rutgers University : msherman[at]winlab.rutgers.edu

Last Updated: 26 June 2019


Description

Cosmos test-bed provides a set of different network interfaces with different speed and rates. In this tutorial we will show how to measure the network performance.


Context

This tutorial is based on topology and settings described in the optical network tutorial.

This example includes a server srv4-lg1 with connected to it tengigabitethernet 1/34 and joined with twentyFiveGigE 1/¼ on vlan 124. Binding tengigabitethernet 1/32 with twentyFiveGigE 1/¼ is performed the same way as in the optical network tutorial.

The server srv4-lg1 has an IP address assigned to it 192.168.1.4 on eno1 interface.

For simplicity, the Calient Switch S320 connects tengigabitethernet 1/34 with tengigabitethernet 1/32/1 through direct optical connection: 5.7.4←→5.7.6


Measurement

Measurements are preformed through a command line tool iperf. Examples and descriptions of its operation could be found here.

  • Set srv1-lg1 as a server:
native@srv1-lg1:~$ iperf -s   
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
  • Set srv4-lg1 as a client with sending traffic to srv1-lg1:
native@srv4-lg1:~$ iperf -c 192.168.1.1   
------------------------------------------------------------
Client connecting to 192.168.1.1, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.1.4 port 35486 connected with 192.168.1.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  11.0 GBytes  9.42 Gbits/sec
  • This measurement shows that the it's possible to have 9.42 Gbits/sec of bandwidth.
  • Previous measurement creates a TCP connection. In order to test UDP traffic, a bitrate of UDP traffic has to be specified through and option -b. UDP traffic is specified through an option -u. Results of UDP traffic test are below :

Server side:

native@srv1-lg1:~$ iperf -s -u
------------------------------------------------------------
Server listening on UDP port 5001
Receiving 1470 byte datagrams
UDP buffer size:  208 KByte (default)
------------------------------------------------------------

Client side:

native@srv4-lg1:~$ iperf -c 192.168.1.1 -u -b 9gbps
------------------------------------------------------------
Client connecting to 192.168.1.1, UDP port 5001
Sending 1470 byte datagrams, IPG target: 1.31 us (kalman adjust)
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  3] local 192.168.1.4 port 33737 connected with 192.168.1.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  9.77 GBytes  8.39 Gbits/sec
[  3] Sent 7134255 datagrams
[  3] Server Report:
[  3]  0.0-10.0 sec  9.30 GBytes  7.99 Gbits/sec   0.000 ms 342498/7134255 (0%)
  • UDP traffic measurements show possible bandwidth of 7.99 Gbits/sec. This result could be ameliorated through specific settings potentially.

Conclusion

In this tutorial we showed how it's possible to measure network performance and verify 10Gbit possibilities of optical transceivers achieving 9.42 Gbits/sec for TCP traffic and 7.99 Gbits/sec for UDP traffic.

Note: See TracWiki for help on using the wiki.