高级检索
    荀长庆 杨乾明 伍 楠 文 梅 张春元. 共享存储可重构计算机软硬件通信的优化实现[J]. 计算机研究与发展, 2013, 50(8): 1637-1646.
    引用本文: 荀长庆 杨乾明 伍 楠 文 梅 张春元. 共享存储可重构计算机软硬件通信的优化实现[J]. 计算机研究与发展, 2013, 50(8): 1637-1646.
    Xun Changqing, Yang Qianming, Wu Nan, Wen Mei, and Zhang Chunyuan. Optimized Software-Hardware Communications for Shared Memory Reconfigurable Computer[J]. Journal of Computer Research and Development, 2013, 50(8): 1637-1646.
    Citation: Xun Changqing, Yang Qianming, Wu Nan, Wen Mei, and Zhang Chunyuan. Optimized Software-Hardware Communications for Shared Memory Reconfigurable Computer[J]. Journal of Computer Research and Development, 2013, 50(8): 1637-1646.

    共享存储可重构计算机软硬件通信的优化实现

    Optimized Software-Hardware Communications for Shared Memory Reconfigurable Computer

    • 摘要: 可重构硬件操作系统BORPH提供的硬件进程概念和以硬件为中心的执行模型可极大地提高可重构计算平台的易用性.BORPH-N为BORPH的扩展系统,主要的扩展是支持在共享存储可重构计算平台上的运行.BORPH-N为硬件进程提供基于共享存储、符合Unix语义的高性能进程间通信支持:共享存储和信号量.利用这两项服务,硬件进程可与系统中其他所有软件进程和硬件进程进行交互.可重构计算的重要目标是利用可重构逻辑对应用的耗时部分进行加速,所以软硬件交互机制的效率至关重要.通过类似远程调用这种简单方式来提供这两项服务,软硬件交互频繁,开销较大,性能难以满足需求.BORPH-N使用的优化策略基于独立执行的基本思路进行设计.实验结果表明,BORPH-N所需硬件开销较小,为硬件进程提供的共享存储和信号量的效率逼近硬件平台的峰值,可以满足实际应用的需求.

       

      Abstract: Hardware processes and hardware centric execution model introduced by BORPH have improved the usability of reconfigurable computers significantly. BORPH-N is designed as an extended system of BORPH. The main extension is that BORPH-N supports shared memory reconfigurable computers. And hardware processes can communicate with the rest of the system by shared memory and semaphore which are Unix semantic in BORPH-N. Accelerating the computing intensive parts of applications is one of the most important goals of reconfigurable computing. Thereby efficiency of software-hardware communications is very crucial. Supporting shared memory and semaphore through simple mechanisms such as remote system call, can definitely not meet the need of applications. Independent-execution-based optimizations are adopted by BORPH-N. Independent execution means the FPGA does some work locally without the help of the host. The efficiency will be enhanced a lot due to the elimination of data exchange between the host and FPGA. To reduce the workload, only the functions which are repeated frequently during the execution of applications will be completed by FPGA independently. BORPH-N focuses on two tasks: virtual memory access and atomic variable access. Experiment is setup on a PC with an ARRIA II GX FPGA board. The results show the hardware overhead of BORPH-N is low. The efficiency of shared memory and semaphore access is close to the peak performance of hardware platform.

       

    /

    返回文章
    返回