A Novel Descriptor-based Output Scheduling Technique forGeneral Multi-Core Network Processor

YongTing Hu, Yanlong Zhang, Tao Li, Zhigang Sun2013

Abstract

Output scheduling is an important QoS technique for the network processor. The packet-based output scheduling technique is widely used in general multi-core network processor design due to its simplicity. However, large on-chip packet buffer required by the technique increases the chip area and production cost. Aiming at the problem, a novel output scheduling technique based on packet descriptor is proposed in this paper. The descriptor-based output scheduling technique can reduce storage space requirements without decreasing of system performance. Moreover, it can reduce the output latency of the packet traversing the network processor. Theoretical analysis shows that the proposed descriptor-based output scheduling technique has lower storage requirement compared with the packet-based output scheduling technique. The experiments based on FPGA prove the feasibility of the technique.

Introduction

Network processors (NPs) serve as the primary processing engines for modern routers and gateways, managing Quality of Service (QoS) to ensure high-priority data transmission during periods of congestion. Traditionally, multi-core NPs utilize packet-based scheduling, where entire packets are stored in an on-chip buffer until the scheduler determines their transmission time.

As link speeds advance toward 10Gbps and beyond, the memory required to buffer "bursty" traffic grows significantly. Because on-chip memory is a premium resource in terms of silicon area and power consumption, these large buffers substantially increase the cost and physical size of the chip. This paper proposes a descriptor-based scheduling technique to maintain sophisticated scheduling logic while drastically reducing storage overhead.

Methodology: Descriptor-Based Scheduling

The core innovation lies in decoupling the scheduling logic from the data storage. Instead of buffering full packets (which average 800 bytes), the scheduler manages compact 8-byte descriptors. These descriptors act as metadata pointers, containing the packet’s memory address, length, and priority.

Architecture of the proposed descriptor-based output scheduling technique.

In the proposed workflow, the processing elements (PEs) send descriptors to a Complete Unit, which then forwards them to the Output Scheduler. The scheduler holds only these tiny descriptors in its queues. Only after a descriptor is scheduled for output does the system trigger a Direct Memory Access (DMA) request to fetch the actual packet from main memory and stream it to the network interface. This approach allows the scheduler to handle a significantly higher number of concurrent data flows without exhausting on-chip memory.

Evaluation and Results

The proposed technique was evaluated using theoretical modeling and hardware implementation on an Altera Stratix IV FPGA.

Storage Efficiency

Theoretical analysis demonstrated a storage reduction of 87.5% to 99.5%, depending on packet size. For a 10Gbps link supporting 100 flows, the required scheduling storage dropped from an estimated 250MB (packet-based) to just 2.5MB (descriptor-based).

Comparison of storage consumption between packet-based and descriptor-based methods.

As shown in the comparison above, the storage consumption for the descriptor-based method remains nearly constant and remarkably low as the number of queues and packets increases, whereas the packet-based method exhibits steep linear growth.

Hardware Footprint and Performance

The FPGA implementation proved the design to be extremely lean, consuming only 1.02% of combinational LUTs and 0.7% of total block memory bits. Beyond storage savings, the technique also reduces processing latency. Because the data structures moved into and out of scheduling queues are much smaller, the time required for enqueue and dequeue operations is significantly lowered, resulting in reduced overall packet jitter.

Conclusion

The descriptor-based output scheduling technique provides a highly efficient alternative to traditional packet-based methods. By replacing bulky packet buffering with slim metadata pointers, the system achieves massive storage savings and lower latency, making it an ideal solution for high-speed, multi-core network processor architectures.

Summary updated

BibTeX
@misc{hu2013novel,
  author = {YongTing Hu and Yanlong Zhang and Tao Li and Zhigang Sun},
  title = {{A Novel Descriptor-based Output Scheduling Technique forGeneral Multi-Core Network Processor}},
  year = {2013},
  doi = {10.2991/iccnce.2013.161},
}

Loading related content...

Figure