

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


CS8803 High Performance Communication, Spring 2005 Assignment # DUE: Monday, January 24 hard copy in class, or via email by 2:05pm
Part I. Answer the following questions. You can use the IXP2400 manuals to find your answers.
Part II. For this part, you will use the SDK Workbench and the Architecture Tool.
In addition you will need the example code from Chapter 5 from Johnson & Kunze’s Coding Guide (/net/hp31/ixpdev/CD-Images/Programming_2400_2800/Chapter05/).
The Chapter05 code is a counting application built for the IXP2800. The files include two project files (.dwp) built for the microcode and microC version of the application.
a. How many cycles does it take to transmit the first packet? What percentage time is microengine 1 idle during this time?
b. What does this application count? Where is the counter stored (add a Data or Memory Watch to verify this)? c. What are the packet rates Rx and Tx packet rates recorded in the Packet Simulation? d. Modify the input data stream to contain min-sized packets. How does this affect the answers to a. and c.? e. What would it take to modify the project for the IXP2400? ( Optional : Go ahead with it)
Note1 : The sample code is built with SDK3.0 – you will need to include and link all macros and files from the newer version. Update the Assembler (for .uc) or Compiler (for .c) include files in Build -> Settings…-> General.
Note2 : For .c you need to explicitly include intrisic.c. Insert this file in the project (Project->Insert Compiler Files…) and explicitly include it in Build-> Settings… -> Compiler-> Sources to compile… for each of the three output target lists in the applications.
a. Analyze this application for different packet sizes and rates? Pick 5 representative [size, rate] values and report the throughput rates at each pipeline stage. b. Change the complexity of the `counter’ by adding/removing memory references or increasing/decreasing the amount of computation (this does not have to correspond to a meaningful task), or change the number of threads or microengines executing this task. How is the throughput affected – report any observations you find interesting.