automated task distribution in multicore network
play

Automated Task Distribution in Multicore Network Processors using - PowerPoint PPT Presentation

Automated Task Distribution in Multicore Network Processors using Statistical Analysis Arindam Mallik, Yu Zhang, Gokhan Memik Electrical Engineering and Computer Science Dept. Northwestern University Network Demand Gap Gap increases with the


  1. Automated Task Distribution in Multicore Network Processors using Statistical Analysis Arindam Mallik, Yu Zhang, Gokhan Memik Electrical Engineering and Computer Science Dept. Northwestern University

  2. Network Demand Gap Gap increases with the time [Intel] 2008-1-9 ANCS 2007 2

  3. The Path to ASIPs � Application Specific IC design � Costly � Unpredictable � Fuels the rise of programmable devices or ASIPs (Application Specific Instruction Processors) � Networking � Multimedia � Graphics � ASIPs � Architectures have been explored in great depth � Modest progress on programming environments � But, the success of users is dependent on their ability to program effectively 2008-1-9 ANCS 2007 3

  4. Why Network Processors ? � Traditional processors in networks � General-purpose CPU � Not fast enough to handle new link speeds � ASIC � Good performance, but lack flexibility. New applications or protocols make the old processor obsolete � Frequent new applications � Solution: Network Processors � Programmable processors optimized for networking applications � Reusability of the same processor core for different network applications 2008-1-9 ANCS 2007 4

  5. Overview � Chip Multiprocessors � Most current processor architectures � Ideal for networking application � Data level parallelism � Task level parallelism � Dominating from the start - Intel IXP � Low scalability of interconnect networks � Importance of local communication � Uniform task distribution 2008-1-9 ANCS 2007 5

  6. Outline � Introduction � Click Router Architecture � Statistical Task Allocation � Results � Conclusion 2008-1-9 ANCS 2007 6

  7. Modularity in Networking Apps � Presence of well defined data segments (packets) � Independent packet processing � Overlooked modularity � Set of independent tasks performed on each packet - module � Majority of networking applications – collection of standard modules (ttl, checksum calculation) 2008-1-9 ANCS 2007 7

  8. Click Architecture � Unit of processing � ‘element’–(From/ToDevice, GetHeader, Discard, Count…) � element encapsulates processing actions and state � elements have input and output ports � language level compositions of elements � Router configuration � directed graph of elements (cycles ok), connected by ‘connections’ (at ports) � Each packet follows connections � Configuration string � parameters and initial state to instantiate an element 2008-1-9 ANCS 2007 8

  9. Click Configuration Example Discard ToDevice(eth1) DecIPTTL FromDevice(eth0) � Configuration checking the TTL value of a packet 2008-1-9 ANCS 2007 9

  10. IPv4 Router Example Discard CheckIPHeader Strip(14) Packet Source DecIPTTL Discard DropBroadcast0 StaticIP- 8 Different sources Different destinations Lookup Discard DecIPTTL Discard Discard Packet DropBroadcast1 CheckIPHeader Strip(14) Source 2008-1-9 ANCS 2007 10

  11. Statistical Task Allocation � Systolic Array Architecture � Execution cores arranged in pipelined fashion � Global communication using shared bus � Goal : Uniform Task Allocation � Automated � Each core sends partially processed packet to the next one 2008-1-9 ANCS 2007 11

  12. Module Distribution Algorithm � Profiling � Statistical Analysis of packet processing time � Streamlining � Find total execution time of a packet � Use DFS on the element tree � Task Distribution � Assign elements to different stages/modules � Local optimization 2008-1-9 ANCS 2007 12

  13. Statistical Analysis of Packet Processing � Individual Elements � Executed for 5000 packets � Execution time recorded for each packet � Mean ( μ ) and standard deviation ( σ ) calculated from the statistics � expression ( μ +k σ ) estimates variation of utilization 2008-1-9 ANCS 2007 13

  14. Prob. Distn. of IPv4 Elements Processing time threshold Mean SD Elements ( μ ) ( σ ) μ μ + σ μ +2 σ μ +3 σ μ +4 σ strip0 241.28 29.31 50 0.64 0.64 0.64 0 chkip0 713.01 59.77 50 0.64 0.64 0.64 0.64 RtLkUp 336.56 266.88 20.03 20.03 10.01 0.03 0.03 DBC0 212.30 21.18 34.32 28.57 1.29 0.18 0.18 DcTTL0 317.78 20.34 26.45 12.98 2.09 0 0 2008-1-9 ANCS 2007 14

  15. Prob. Distn. of IPv4 Router Stages Processing time threshold Mean SD Stages ( μ ) ( σ ) μ μ + σ μ +2 σ μ +3 σ μ +4 σ Stage0 227.38 24.14 35.06 20.00 3.64 0.00 0.00 Stage1 691.18 30.48 23.19 14.29 1.86 0.08 0.00 Stage2 500.43 29.52 27.18 24.31 5.66 0.11 0.11 Stage3 314.72 20.33 27.78 23.14 7.14 0.28 0.00 2008-1-9 ANCS 2007 15

  16. Optimized Strategies � Base Task Distribution - BTD � Uniform task allocation depending on the mean execution time � Extended Task Distribution - ETD � Slack k σ added to estimated processing time � Selective Replication - SR � Replicate modules parallelize packet processing � Extended Selective Replication - ESR � Select elements with longer execution time 2008-1-9 ANCS 2007 16

  17. Module Distribution Illustration Discard CheckIPHeader Strip(14) DecIPTTL DecIPTTL Discard DropBroadcast0 StaticIP- 8 Different sources Different destinations Lookup Discard DecIPTTL Discard Discard 2 Stages DropBroadcast1 CheckIPHeader Strip(14) DecIPTTL 4 Stages 2008-1-9 ANCS 2007 17

  18. Relative Throughput Analysis 8 2 7 4 8 6 Relative Processor Throughput 5 4 3 2 1 0 BTD ETD SR ESR Processor throughput for DRR application 2008-1-9 ANCS 2007 18

  19. Resource Utilization Analysis 100 BTD ETD SR ESR 95 90 Processor Utilization 85 80 75 70 2 4 8 Resource utilization in DRR application 2008-1-9 ANCS 2007 19

  20. Contributions � Analyzed modularity in networking applications using statistical methods � Proposed intelligent task allocation based on variation in processing time � Generic nature of the task allocation method applicable to CMP task distribution 2008-1-9 ANCS 2007 20

  21. Acknowledgements � Click Development Group � Anonymous reviewers THANK YOU yzh702@eecs.northwestern.edu 2008-1-9 ANCS 2007 21

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend