Intel IXP12xx manual Sdram Capacity, Sram and Sdram Bandwidth

Page 16

Version 1.0, 4/10/02

SDRAM Capacity

The IXM1240 Network Processor Base Card comes with 128MB of SDRAM. The project is configured to use less than 64MB: 32MB of Packet Data Buffers, 16MB for VxWorks, and the balance for IP Route Table Entries. This leaves over 50% available.

The IP Route Table Entries live at 0x8100, simply because they do so by default in all the example designs.

Associated with each of the 16K Buffer Descriptors in SRAM is a 2KB Data Buffer in SDRAM, for a total of 32MB of Data Buffers in SDRAM.

Note that the Data Buffers span the multiple SDRAM bank selects as described in the IXP1200 Hardware Reference Manual. Further, the descriptor freelist is “mixed” at initialization time to give the SDRAM controller the opportunity to access addresses from the multiple DRAM banks. See the appendix (“Buffer Allocation in DRAM”) for more information on “mixing” the freelist.

VxWorks consumes the top 16MB of DRAM.

SRAM and SDRAM Bandwidth

Bandwidth measurements are taken on the Transactor simulator using the full-duplex, full- bandwidth 40-byte packet workload on a 2Mcycle simulation. Percent idle cycles are 100% minus the active percentage shown in the Developer’s Workbench Statistics/Summary box.

Configuration

SRAM % Idle

SDRAM % Idle

IXP1240 1xOC-12 8x100Mbps Ethernet

65.2

42.9

IXP1240 4xOC-3 8x100Mbps Ethernet

57.0

43.3

IXP1200 2xOC-3 4x100Mbps Ethernet

43.0

57.5

Figure 13 – SRAM and SDRAM bandwidth headroom

The IXP1200 configuration handles ½ the throughput of the IXP1240 configurations, but it has much less SRAM bandwidth available. This is because it uses a CRC-32 lookup table in SRAM.

The two IXP1240 configurations handle exactly the same bandwidth, and their SDRAM usage is essentially the same. The 4xOC-3 configuration uses more SRAM bandwidth, however, because its ATM Transmitter uses an array of SRAM Buffer Descriptor Queues (BDQ) in SRAM, while the simpler OC-12 configuration uses a pair of Message Queues (MSGQ) in Scratchpad RAM.

The OC-12 configuration’s VC Cache may also reduce accesses to the VC Table in SRAM.

From a high-level, one could say that the IXP1200 configuration is SRAM bandwidth limited; and that the IXP1240 configurations are DRAM bandwidth limited. This can be explored further with unbounded simulations, which allow the design to not be limited by wire-rate. Additional SRAM and SDRAM accesses can be added to the design to observe the impact on performance; and the design can be run on different SDRAM speed grades.

Page 16 of 17

Image 16
Contents IXP12xx ATM OC12/Ethernet IP Router Example Design Version 1.0, 4/10/02 Measurement Environment OverviewAlternate Dram Timing Protocol Performance of IP over ATM vs. Ethernet KEY Workloads & Approaches to Testing the Example DesignSingle Cell PDU Workload Frame and PDU Length versus IP Packet Length Multiple Cells/PDU Workload Cycle and Instruction BudgetsCycle Budgets to support Line Rates Cycles/cellUsec/frame = 1559 cycles/frame Cells/PDU Virtual Circuits Cycles/Cell Cycles/cell -7ESimulation Measurement Procedure and Results Simulated 29-byte packet performance1Simulated 40-byte and 1500-byte packet performance2 Hardware Measurement Procedure and ResultsHardware Measurement Results Single-cell/PDU Performance using 133MHZ Dram Hardware 29-byte packet performanceHardware 40-byte packet performance 138 142 1449.5 88,300518 Hardware 1500-byte packet performance517 ATM Queue to Core Throughput Queue to Core Measurement TechniqueEthernet Queue to Core Throughput Resource Utilization and Headroom Analysis Microengine Register and Microstore HeadroomScratchpad RAM Capacity Sram CapacitySdram Capacity Sram and Sdram BandwidthAppendix Buffer Allocation in Dram