高级检索

    面向数据包处理的众核处理器核资源分配方法

    A Many-Core Processor Resource Allocation Scheme for Packet Processing

    • 摘要: 众核处理器具有强大的并行处理能力,成为提升路由器转发性能的有效途径.基于众核处理器的数据包处理采用多级流水线结构,每个流水阶段的执行时间不同,要求分配不同的核数.已有的核资源均衡分配方法(equi-partition, EQUI)为每个流水阶段分配相同的核数,存在核资源浪费等缺点,限制了数据包处理性能.提出了一种众核处理器资源优化方法,即根据数据包的处理步骤将其划分成多个子阶段,通过统计各阶段的总执行时间,按执行时间比例分配给各个模块所需核数.与已有的EQUI相比,核资源最佳分配方法在数据包转发速率上提高了约20%.

       

      Abstract: Single-core processors' performance has been behind the times. Many-core processors are recognized as a promising approach to packet forwarding in a router due to their powerful parallel processing. However, how to utilize the lots of cores in many-core processors to improve the system's parallel performance is a problem. Many-core based packet processing systems use a pipeline architecture, where each stage has a different execution time and requires a different number of CPU cores. Recently proposed EQUI is an equal core allocation scheme for packet processing, which allocates a same number of cores to each job. However, such scheme suffers from the wasting core resources, limiting packet processing performance. To address this issue, this paper proposes an optimized core allocation scheme. This scheme first partitions the task of packet processing into multiple jobs, and then proportionally allocates a proper number of cores to each job according to its execution time. Experimental results show that the new scheme improve 20% packet forwarding rate compared with EQUI.

       

    /

    返回文章
    返回