首页> 外文会议>International Symposium on Microarchitecture >CSE: Parallel Finite State Machines with Convergence Set Enumeration
【24h】

CSE: Parallel Finite State Machines with Convergence Set Enumeration

机译:CSE:具有汇聚集枚举的平行有限状态机

获取原文

摘要

Finite State Machine (FSM) is known to be “embarrassingly sequential” because the next state depends on the current state and input symbol. Enumerative FSM breaks the data dependencies by cutting the input symbols into segments and processing all segments in parallel. With unknown starting state (except the first segment), each segment needs to calculate the state transitions, i.e., state state, for all states, each one is called an enumeration path. The current software and hardware implementations suffer from two drawbacks: 1) large amount of state state computation overhead for the enumeration paths; and 2) the optimizations are restricted by the need to correctly performing state state and only achieve limited improvements. This paper proposes CSE, a Convergence Set based Enumeration based parallel FSM. Unlike prior approaches, CSE is based on a novel computation primitive set(N) set(M), which maps N states to M states without giving the specific state state mappings (which state is mapped to which). The set(N) set(M) has two key properties: 1) if M is equal to 1, i.e., all N states are mapped to the same state, the state state for all the N states are computed; 2) using one-hot encoding, the hardware implementation cost of state state is the same as set(N) set(M). The convergence property ensures that M is always less than N. The key idea of CSE is to partition the original all S states into n state sets CS1,CS2,...,CSn, i.e., convergence sets. Using set(N) set(M) to process each CS, if the states converge to a single state, then we have successfully computed the enumeration path for each state in CS; otherwise, we may need to re-execute the stage when the outcome of the previous stage falls in CS. CSE is realized by two techniques: convergence set prediction, which generates the convergence sets with random input based profiling that maximizes the probability of each CS z converging to one state; global re-execution algorithm, which ensures the correctness by re-executing the non-converging stages with known input state. Essentially, CSE reformulates the enumeration paths as setbased rather than singleton-based. We evaluate CSE with 13 benchmarks. It achieved on average 2.0x/2.4x and maximum 8.6x/2.7x speedup compared to Lookback Enumeration (LBE) and Parallel Automata Processor (PAP), respectively.
机译:已知有限状态机(FSM)是“令人尴尬的顺序”,因为下一个状态取决于当前状态和输入符号。枚举FSM通过将输入符号切割成段并并行处理所有段来打破数据依赖性。对于未知的起始状态(第一个段除外),每个段需要计算所有状态的状态转换,即状态状态,每个段都称为枚举路径。目前的软件和硬件实现遭受了两个缺点:1)枚举路径的大量状态计算开销; 2)优化受到正确执行州状态的必要性的限制,只能实现有限的改进。本文提出了基于Condring集的基于枚举的并行FSM的CSE。与现有方法不同,CSE基于新颖的计算原始集(n)集(n)设置(m),其将n个状态映射到m状态而不给出特定状态映射(映射到哪个状态)。 SET(N)集(M)具有两个关键属性:1)如果m等于1,则即,所有n个状态都被映射到相同的状态,计算所有n个状态的状态状态; 2)使用单热编码,状态状态的硬件实现成本与SET(N)集(M)相同。汇聚属性可确保M总是小于N. CSE的关键思想是将原始的所有状态分区为N状态集CS 1 ,CS 2 ,...,CS n ,即收敛组。使用set(n)设置(m)来处理每个cs,如果状态会聚到单个状态,则我们已成功计算CS中每个状态的枚举路径;否则,我们可能需要重新执行前一级的结果在CS中落入CS时。 CSE通过两种技术实现:收敛集预测,它产生具有基于随机输入的分析的收敛组,可以最大化每个CS Z会聚到一个状态的概率;全局重新执行算法,通过以已知输入状态重新执行非融合阶段来确保正确性。基本上,CSE将枚举路径重新重新格式化,而不是基于单例。我们评估CSE,有13个基准。与Lookbaces枚举(LBE)和并行自动机处理器(PAP)相比,平均为2.0倍/ 2.4x和最大8.6倍/ 2.7倍的加速。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号