set class-of-service easy-ecn mode

The set class-of-service easy-ecn mode command enables Easy ECN globally and choose the appropriate mode based on your needs. The mode throughput-first prioritizes maximizing the amount of data transferred across the network. The mode latency-first prioritizes minimizing latency, ensuring that packets experience the least possible delay. By default, Easy ECN function is disabled.

The delete class-of-service easy-ecn mode command deletes the configuration.

 

Command Syntax

set class-of-service easy-ecn mode <throughput-first | latency-first>

delete class-of-service easy-ecn mode

 

Parameter

Parameter

Description

mode <throughput-first | latency-first>

Specifies Easy ECN mode. The value could be throughput-first or latency-first.

  • throughput-first: prioritizes maximizing the amount of data transferred across the network.

  • latency-first: prioritizes minimizing latency, ensuring that packets experience the least possible delay.

 

Usage Guidelines

Class of Service (CoS) allows network administrators to manage and prioritize different types of traffic. ECN is a mechanism that helps manage network congestion by marking packets rather than dropping them when congestion occurs. This allows the sender to reduce its transmission rate before packets are dropped. Easy ECN simplifies the configuration and implementation of ECN, making it easier to deploy congestion control.

In this configuration, the mode "throughput-first" means that the primary goal of the CoS is to maximize data throughput (the total amount of data transferred across the network in a given period of time). This prioritization is beneficial in scenarios where achieving the highest possible data transfer rate is the main objective, such as in file transfers, content delivery, or data backup operations. The system will aim to maximize the volume of data transmitted, even if that means slightly higher latency or delay.

The mode "latency-first" means that the system will prioritize minimizing latency (the time it takes for a data packet to travel from source to destination) over other factors like throughput. This mode is suitable for latency-sensitive applications, such as VoIP (Voice over IP), video conferencing, or online gaming, where minimizing delay is crucial to maintaining performance quality.

Table 1 below shows ECN threshold and marking probability values for throughput-first and latency-first modes on Tomahawk3 and Trident3 platforms.

Table 1. ECN Threshold and Marking Probability: Throughput-First vs. Latency-First

Easy ECN Mode

ECN Threshold and Marking Probability

Tomahawk3

Trident3-X5 Trident3-X7

throughput-first

min_thresh (Bytes)

5,080,000

2,560,000

max_thresh (Bytes)

25,400,000

12,800,000

drop_probability

20%

20%

latency-first

min_thresh (Bytes)

508,000

256,000

max_thresh (Bytes)

2,540,000

1,280,000

drop_probability

20%

20%

Example

  • Configure easy ECN mode to throughput-first.      

admin@PICOS# set class-of-service easy-ecn mode throughput-first admin@PICOS# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.