Docsity

Understanding Packet Processing Engines and ETA Software Architecture, Slides of Computer Architecture and Organization

Partial preview of the text

Download Understanding Packet Processing Engines and ETA Software Architecture and more Slides Computer Architecture and Organization in PDF only on Docsity!

Embedded Transport Acceleration

Why do we need PPE / TOE

  • The problem is that TCP termination
    • Involves reconstructing a stream of coherent data from many independent packets
    • Compute-intensive task
    • Requires roughly 10 times performance as TCP routing
    • A 400-MHz MIPS CPU consumes all of its cycles trying to terminate a Fast Ethernet 100Mbps channel
    • A 200-MHz IXP1200 has similar TCP performance.

ETA S/W Architecture

  • Host and Server Partitioning
    • Host
      • General purpose OS and application processes
    • PPE
      • All communication centric tasks are processed
    • Interface
      • Asynchronous queues in a cache-coherent, shared host memory

ETA S/W Stack

N A T I V E T C P / I P A C C E L E R A T E D

Docsity.com

DTI Structure

Direct Transport Interface

  • Send Queue, Receive Queue [Host to PPE, vice versa]
  • Event Queue [Post Event notice to Host]
  • Doorbells [Host writes signals directly to ETA PPE]
  • Data buffers [ETA PPE buffers data when
    • Source / target buffers are not pre-conditioned
    • PPE receives TCP segments w/o receive descriptors on receive queue
    • TCP segments are out of order

The Prototype

  • Dual Processor (Xeon CPUs)
    • Host CPU
    • PPE CPU
      • Establish and terminate TCP/IP sessions on behalf of host
    • No special hardware developed
    • Use of standard tools
    • Gigabit Ethernet cards with modified drivers
    • Shared memory interface between host and PPE

SW Environment

  • Linux Kernel 2.
  • PPE SW is a loadable kernel module
    • Supports DTI
    • Affinity for one processor (CPU1)
    • Never yields control of processor, implying dedicated use of CPU1 as PPE
    • PPE polls NIC descriptors in shared memory
    • DTI structures in shared host memory
    • CPU and PPE communicate via doorbells

ETA Test Environment

Measurement and Analysis

  • Comparison between ETA and standard Linux dual processor server - ETA leaves more than 80% of CPU idle - Tx throughput increases considerably - Receive performance lower, because ETA uses memory-memory copy from packet buffer to destination buffer

Related Work

  • TOEs have been developed
    • Devices attached to the server’s I/O subsystem
    • Use separate specialized processing and memory resources
  • ETA uses processing and memory resources of

the server instead

Docsity.com^ EOP.