高级检索
    王 博 尚世锋 武永卫 郑纬民. 多核体系下的并行任务构建[J]. 计算机研究与发展, 2012, 49(4): 818-825.
    引用本文: 王 博 尚世锋 武永卫 郑纬民. 多核体系下的并行任务构建[J]. 计算机研究与发展, 2012, 49(4): 818-825.
    Wang Bo, Shang Shifeng, Wu Yongwei, and Zheng Weimin. Parallel Task Building in Multicore System[J]. Journal of Computer Research and Development, 2012, 49(4): 818-825.
    Citation: Wang Bo, Shang Shifeng, Wu Yongwei, and Zheng Weimin. Parallel Task Building in Multicore System[J]. Journal of Computer Research and Development, 2012, 49(4): 818-825.

    多核体系下的并行任务构建

    Parallel Task Building in Multicore System

    • 摘要: 基于多核体系下的系统运行效率越来越受到各行业的关注,一个系统往往是由若干软件子模块构成的.一个完整的系统可以由Tomcat,Httpd以及Lucene这3个软件模块构成.这些软件本身均进行了一定的优化,各自运行效率都良好,可是如果将它们整合成一个系统,其效率的提高仍需要从整体多方面考虑.从不同软件的子任务之间的关系入手,通过分析它们的特点,提出苦干提高整体性能的方案.研究贡献在于以下3个方面:1)线程间同步操作的消除;2)通过多任务重排提高并行度;3)系统调用的单线程化.结果表明系统整体性能得到了提高,同时,每个子任务完成的功能更加清晰明了.

       

      Abstract: In multicore system, system execution efficiency presently has gottn increasing concerns. Generally, a whole system includes several modules and some optimization work has been done on these modules. Given an integrated system including Tomcat, Httpd and Lucene, each of them has processed some optimization to reach the favorable performance. However, when they constitute an integrated system, the system can not have good performance. Based on the deep research for the characteristic of each subtask in the system, several parallel ways are presented to improve the whole execution efficiency. The proposed methods involve: 1) Cancelling the lock of shared object or files; 2) Rearranging subtask; 3) Removing the system call from the multi-thread operation. Experimental results show that the whole performance gets improved and each function the subtask focuses on is more distinct.

       

    /

    返回文章
    返回