作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2009, Vol. 35 ›› Issue (10): 33-36. doi: 10.3969/j.issn.1000-3428.2009.10.011

• 软件技术与数据库 • 上一篇    下一篇

网络处理器同步问题的编译优化方法

陈俊朴   

  1. (复旦大学并行处理研究所,上海 200433)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-05-20 发布日期:2009-05-20

Compiler Optimization Method for Synchronization Problem on Network Processors

CHEN Jun-pu   

  1. (Institute of Parallel Processing, Fudan University, Shanghai 200433)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-05-20 Published:2009-05-20

摘要: 网络处理器具有并行体系结构,而其高级语言往往具有串行语义。对串行程序进行并行化编译要求引入同步,而同步的优劣又影响生成代码的执行效率。针对网络处理器上的程序,提出一个对同步进行优化的程序划分算法以增加程序的并行性。实验数据表明,在一些有代表性的网络应用上,该算法可提高程序的并行性,并提升性能。

关键词: 网络处理器, 编译优化, 同步

Abstract: Network processors have a parallel architecture while high level languages designed for them usually have sequential semantics. When compiling sequential programs with parallelization transformation, synchronization is required which is critical to the performance of the application. This paper proposes a partition transformation to optimize synchronization for programs on network processors, and more parallelism is exposed, which is otherwise hidden. Experiments data shows that the proposed optimization method significantly improves program parallelism and achieves speedup for some typical network applications.

Key words: network processor, compiler optimization, synchronization

中图分类号: