首页> 外文OA文献 >Run-Time Dynamically-Adaptable FPGA-Based Architecture for High-Performance Autonomous Distributed Systems
【2h】

Run-Time Dynamically-Adaptable FPGA-Based Architecture for High-Performance Autonomous Distributed Systems

机译:高性能自治分布式系统的基于运行时动态自适应FPGA的架构

摘要

Esta tesis doctoral se enmarca dentro del campo de los sistemas embebidos reconfigurables, redes de sensores inalámbricas para aplicaciones de altas prestaciones, y computación distribuida. El documento se centra en el estudio de alternativas de procesamiento para sistemas embebidos autónomos distribuidos de altas prestaciones (por sus siglas en inglés, High-Performance Autonomous Distributed Systems (HPADS)), así como su evolución hacia el procesamiento de alta resolución. El estudio se ha llevado a cabo tanto a nivel de plataforma como a nivel de las arquitecturas de procesamiento dentro de la plataforma con el objetivo de optimizar aspectos tan relevantes como la eficiencia energética, la capacidad de cómputo y la tolerancia a fallos del sistema. Los HPADS son sistemas realimentados, normalmente formados por elementos distribuidos conectados o no en red, con cierta capacidad de adaptación, y con inteligencia suficiente para llevar a cabo labores de prognosis y/o autoevaluación. Esta clase de sistemas suele formar parte de sistemas más complejos llamados sistemas ciber-físicos (por sus siglas en inglés, Cyber-Physical Systems (CPSs)). Los CPSs cubren un espectro enorme de aplicaciones, yendo desde aplicaciones médicas, fabricación, o aplicaciones aeroespaciales, entre otras muchas. Para el diseño de este tipo de sistemas, aspectos tales como la confiabilidad, la definición de modelos de computación, o el uso de metodologías y/o herramientas que faciliten el incremento de la escalabilidad y de la gestión de la complejidad, son fundamentales. La primera parte de esta tesis doctoral se centra en el estudio de aquellas plataformas existentes en el estado del arte que por sus características pueden ser aplicables en el campo de los CPSs, así como en la propuesta de un nuevo diseño de plataforma de altas prestaciones que se ajuste mejor a los nuevos y más exigentes requisitos de las nuevas aplicaciones. Esta primera parte incluye descripción, implementación y validación de la plataforma propuesta, así como conclusiones sobre su usabilidad y sus limitaciones. Los principales objetivos para el diseño de la plataforma propuesta se enumeran a continuación: • Estudiar la viabilidad del uso de una FPGA basada en RAM como principal procesador de la plataforma en cuanto a consumo energético y capacidad de cómputo. • Propuesta de técnicas de gestión del consumo de energía en cada etapa del perfil de trabajo de la plataforma. •Propuestas para la inclusión de reconfiguración dinámica y parcial de la FPGA (por sus siglas en inglés, Dynamic Partial Reconfiguration (DPR)) de forma que sea posible cambiar ciertas partes del sistema en tiempo de ejecución y sin necesidad de interrumpir al resto de las partes. Evaluar su aplicabilidad en el caso de HPADS. Las nuevas aplicaciones y nuevos escenarios a los que se enfrentan los CPSs, imponen nuevos requisitos en cuanto al ancho de banda necesario para el procesamiento de los datos, así como en la adquisición y comunicación de los mismos, además de un claro incremento en la complejidad de los algoritmos empleados. Para poder cumplir con estos nuevos requisitos, las plataformas están migrando desde sistemas tradicionales uni-procesador de 8 bits, a sistemas híbridos hardware-software que incluyen varios procesadores, o varios procesadores y lógica programable. Entre estas nuevas arquitecturas, las FPGAs y los sistemas en chip (por sus siglas en inglés, System on Chip (SoC)) que incluyen procesadores embebidos y lógica programable, proporcionan soluciones con muy buenos resultados en cuanto a consumo energético, precio, capacidad de cómputo y flexibilidad. Estos buenos resultados son aún mejores cuando las aplicaciones tienen altos requisitos de cómputo y cuando las condiciones de trabajo son muy susceptibles de cambiar en tiempo real. La plataforma propuesta en esta tesis doctoral se ha denominado HiReCookie. La arquitectura incluye una FPGA basada en RAM como único procesador, así como un diseño compatible con la plataforma para redes de sensores inalámbricas desarrollada en el Centro de Electrónica Industrial de la Universidad Politécnica de Madrid (CEI-UPM) conocida como Cookies. Esta FPGA, modelo Spartan-6 LX150, era, en el momento de inicio de este trabajo, la mejor opción en cuanto a consumo y cantidad de recursos integrados, cuando además, permite el uso de reconfiguración dinámica y parcial. Es importante resaltar que aunque los valores de consumo son los mínimos para esta familia de componentes, la potencia instantánea consumida sigue siendo muy alta para aquellos sistemas que han de trabajar distribuidos, de forma autónoma, y en la mayoría de los casos alimentados por baterías. Por esta razón, es necesario incluir en el diseño estrategias de ahorro energético para incrementar la usabilidad y el tiempo de vida de la plataforma. La primera estrategia implementada consiste en dividir la plataforma en distintas islas de alimentación de forma que sólo aquellos elementos que sean estrictamente necesarios permanecerán alimentados, cuando el resto puede estar completamente apagado. De esta forma es posible combinar distintos modos de operación y así optimizar enormemente el consumo de energía. El hecho de apagar la FPGA para ahora energía durante los periodos de inactividad, supone la pérdida de la configuración, puesto que la memoria de configuración es una memoria volátil. Para reducir el impacto en el consumo y en el tiempo que supone la reconfiguración total de la plataforma una vez encendida, en este trabajo, se incluye una técnica para la compresión del archivo de configuración de la FPGA, de forma que se consiga una reducción del tiempo de configuración y por ende de la energía consumida. Aunque varios de los requisitos de diseño pueden satisfacerse con el diseño de la plataforma HiReCookie, es necesario seguir optimizando diversos parámetros tales como el consumo energético, la tolerancia a fallos y la capacidad de procesamiento. Esto sólo es posible explotando todas las posibilidades ofrecidas por la arquitectura de procesamiento en la FPGA. Por lo tanto, la segunda parte de esta tesis doctoral está centrada en el diseño de una arquitectura reconfigurable denominada ARTICo3 (Arquitectura Reconfigurable para el Tratamiento Inteligente de Cómputo, Confiabilidad y Consumo de energía) para la mejora de estos parámetros por medio de un uso dinámico de recursos. ARTICo3 es una arquitectura de procesamiento para FPGAs basadas en RAM, con comunicación tipo bus, preparada para dar soporte para la gestión dinámica de los recursos internos de la FPGA en tiempo de ejecución gracias a la inclusión de reconfiguración dinámica y parcial. Gracias a esta capacidad de reconfiguración parcial, es posible adaptar los niveles de capacidad de procesamiento, energía consumida o tolerancia a fallos para responder a las demandas de la aplicación, entorno, o métricas internas del dispositivo mediante la adaptación del número de recursos asignados para cada tarea. Durante esta segunda parte de la tesis se detallan el diseño de la arquitectura, su implementación en la plataforma HiReCookie, así como en otra familia de FPGAs, y su validación por medio de diferentes pruebas y demostraciones. Los principales objetivos que se plantean la arquitectura son los siguientes: • Proponer una metodología basada en un enfoque multi-hilo, como las propuestas por CUDA (por sus siglas en inglés, Compute Unified Device Architecture) u Open CL, en la cual distintos kernels, o unidades de ejecución, se ejecuten en un numero variable de aceleradores hardware sin necesidad de cambios en el código de aplicación. • Proponer un diseño y proporcionar una arquitectura en la que las condiciones de trabajo cambien de forma dinámica dependiendo bien de parámetros externos o bien de parámetros que indiquen el estado de la plataforma. Estos cambios en el punto de trabajo de la arquitectura serán posibles gracias a la reconfiguración dinámica y parcial de aceleradores hardware en tiempo real. • Explotar las posibilidades de procesamiento concurrente, incluso en una arquitectura basada en bus, por medio de la optimización de las transacciones en ráfaga de datos hacia los aceleradores. •Aprovechar las ventajas ofrecidas por la aceleración lograda por módulos puramente hardware para conseguir una mejor eficiencia energética. • Ser capaces de cambiar los niveles de redundancia de hardware de forma dinámica según las necesidades del sistema en tiempo real y sin cambios para el código de aplicación. • Proponer una capa de abstracción entre el código de aplicación y el uso dinámico de los recursos de la FPGA. El diseño en FPGAs permite la utilización de módulos hardware específicamente creados para una aplicación concreta. De esta forma es posible obtener rendimientos mucho mayores que en el caso de las arquitecturas de propósito general. Además, algunas FPGAs permiten la reconfiguración dinámica y parcial de ciertas partes de su lógica en tiempo de ejecución, lo cual dota al diseño de una gran flexibilidad. Los fabricantes de FPGAs ofrecen arquitecturas predefinidas con la posibilidad de añadir bloques prediseñados y poder formar sistemas en chip de una forma más o menos directa. Sin embargo, la forma en la que estos módulos hardware están organizados dentro de la arquitectura interna ya sea estática o dinámicamente, o la forma en la que la información se intercambia entre ellos, influye enormemente en la capacidad de cómputo y eficiencia energética del sistema. De la misma forma, la capacidad de cargar módulos hardware bajo demanda, permite añadir bloques redundantes que permitan aumentar el nivel de tolerancia a fallos de los sistemas. Sin embargo, la complejidad ligada al diseño de bloques hardware dedicados no debe ser subestimada. Es necesario tener en cuenta que el diseño de un bloque hardware no es sólo su propio diseño, sino también el diseño de sus interfaces, y en algunos casos de los drivers software para su manejo. Además, al añadir más bloques, el espacio de diseño se hace más complejo, y su programación más difícil. Aunque la mayoría de los fabricantes ofrecen interfaces predefinidas, IPs (por sus siglas en inglés, Intelectual Property) comerciales y plantillas para ayudar al diseño de los sistemas, para ser capaces de explotar las posibilidades reales del sistema, es necesario construir arquitecturas sobre las ya establecidas para facilitar el uso del paralelismo, la redundancia, y proporcionar un entorno que soporte la gestión dinámica de los recursos. Para proporcionar este tipo de soporte, ARTICo3 trabaja con un espacio de soluciones formado por tres ejes fundamentales: computación, consumo energético y confiabilidad. De esta forma, cada punto de trabajo se obtiene como una solución de compromiso entre estos tres parámetros. Mediante el uso de la reconfiguración dinámica y parcial y una mejora en la transmisión de los datos entre la memoria principal y los aceleradores, es posible dedicar un número variable de recursos en el tiempo para cada tarea, lo que hace que los recursos internos de la FPGA sean virtualmente ilimitados. Este variación en el tiempo del número de recursos por tarea se puede usar bien para incrementar el nivel de paralelismo, y por ende de aceleración, o bien para aumentar la redundancia, y por lo tanto el nivel de tolerancia a fallos. Al mismo tiempo, usar un numero óptimo de recursos para una tarea mejora el consumo energético ya que bien es posible disminuir la potencia instantánea consumida, o bien el tiempo de procesamiento. Con el objetivo de mantener los niveles de complejidad dentro de unos límites lógicos, es importante que los cambios realizados en el hardware sean totalmente transparentes para el código de aplicación. A este respecto, se incluyen distintos niveles de transparencia: • Transparencia a la escalabilidad: los recursos usados por una misma tarea pueden ser modificados sin que el código de aplicación sufra ningún cambio. • Transparencia al rendimiento: el sistema aumentara su rendimiento cuando la carga de trabajo aumente, sin cambios en el código de aplicación. • Transparencia a la replicación: es posible usar múltiples instancias de un mismo módulo bien para añadir redundancia o bien para incrementar la capacidad de procesamiento. Todo ello sin que el código de aplicación cambie. • Transparencia a la posición: la posición física de los módulos hardware es arbitraria para su direccionamiento desde el código de aplicación. • Transparencia a los fallos: si existe un fallo en un módulo hardware, gracias a la redundancia, el código de aplicación tomará directamente el resultado correcto. • Transparencia a la concurrencia: el hecho de que una tarea sea realizada por más o menos bloques es transparente para el código que la invoca. Por lo tanto, esta tesis doctoral contribuye en dos líneas diferentes. En primer lugar, con el diseño de la plataforma HiReCookie y en segundo lugar con el diseño de la arquitectura ARTICo3. Las principales contribuciones de esta tesis se resumen a continuación. • Arquitectura de la HiReCookie incluyendo: o Compatibilidad con la plataforma Cookies para incrementar las capacidades de esta. o División de la arquitectura en distintas islas de alimentación. o Implementación de los diversos modos de bajo consumo y políticas de despertado del nodo. o Creación de un archivo de configuración de la FPGA comprimido para reducir el tiempo y el consumo de la configuración inicial. • Diseño de la arquitectura reconfigurable para FPGAs basadas en RAM ARTICo3: o Modelo de computación y modos de ejecución inspirados en el modelo de CUDA pero basados en hardware reconfigurable con un número variable de bloques de hilos por cada unidad de ejecución. o Estructura para optimizar las transacciones de datos en ráfaga proporcionando datos en cascada o en paralelo a los distinto módulos incluyendo un proceso de votado por mayoría y operaciones de reducción. o Capa de abstracción entre el procesador principal que incluye el código de aplicación y los recursos asignados para las diferentes tareas. o Arquitectura de los módulos hardware reconfigurables para mantener la escalabilidad añadiendo una la interfaz para las nuevas funcionalidades con un simple acceso a una memoria RAM interna. o Caracterización online de las tareas para proporcionar información a un módulo de gestión de recursos para mejorar la operación en términos de energía y procesamiento cuando además se opera entre distintos nieles de tolerancia a fallos. El documento está dividido en dos partes principales formando un total de cinco capítulos. En primer lugar, después de motivar la necesidad de nuevas plataformas para cubrir las nuevas aplicaciones, se detalla el diseño de la plataforma HiReCookie, sus partes, las posibilidades para bajar el consumo energético y se muestran casos de uso de la plataforma así como pruebas de validación del diseño. La segunda parte del documento describe la arquitectura reconfigurable, su implementación en varias FPGAs, y pruebas de validación en términos de capacidad de procesamiento y consumo energético, incluyendo cómo estos aspectos se ven afectados por el nivel de tolerancia a fallos elegido. Los capítulos a lo largo del documento son los siguientes: El capítulo 1 analiza los principales objetivos, motivación y aspectos teóricos necesarios para seguir el resto del documento. El capítulo 2 está centrado en el diseño de la plataforma HiReCookie y sus posibilidades para disminuir el consumo de energía. El capítulo 3 describe la arquitectura reconfigurable ARTICo3. El capítulo 4 se centra en las pruebas de validación de la arquitectura usando la plataforma HiReCookie para la mayoría de los tests. Un ejemplo de aplicación es mostrado para analizar el funcionamiento de la arquitectura. El capítulo 5 concluye esta tesis doctoral comentando las conclusiones obtenidas, las contribuciones originales del trabajo y resultados y líneas futuras. ABSTRACT This PhD Thesis is framed within the field of dynamically reconfigurable embedded systems, advanced sensor networks and distributed computing. The document is centred on the study of processing solutions for high-performance autonomous distributed systems (HPADS) as well as their evolution towards High performance Computing (HPC) systems. The approach of the study is focused on both platform and processor levels to optimise critical aspects such as computing performance, energy efficiency and fault tolerance. HPADS are considered feedback systems, normally networked and/or distributed, with real-time adaptive and predictive functionality. These systems, as part of more complex systems known as Cyber-Physical Systems (CPSs), can be applied in a wide range of fields such as military, health care, manufacturing, aerospace, etc. For the design of HPADS, high levels of dependability, the definition of suitable models of computation, and the use of methodologies and tools to support scalability and complexity management, are required. The first part of the document studies the different possibilities at platform design level in the state of the art, together with description, development and validation tests of the platform proposed in this work to cope with the previously mentioned requirements. The main objectives targeted by this platform design are the following: • Study the feasibility of using SRAM-based FPGAs as the main processor of the platform in terms of energy consumption and performance for high demanding applications. • Analyse and propose energy management techniques to reduce energy consumption in every stage of the working profile of the platform. • Provide a solution with dynamic partial and wireless remote HW reconfiguration (DPR) to be able to change certain parts of the FPGA design at run time and on demand without interrupting the rest of the system. • Demonstrate the applicability of the platform in different test-bench applications. In order to select the best approach for the platform design in terms of processing alternatives, a study of the evolution of the state-of-the-art platforms is required to analyse how different architectures cope with new more demanding applications and scenarios: security, mixed-critical systems for aerospace, multimedia applications, or military environments, among others. In all these scenarios, important changes in the required processing bandwidth or the complexity of the algorithms used are provoking the migration of the platforms from single microprocessor architectures to multiprocessing and heterogeneous solutions with more instant power consumption but higher energy efficiency. Within these solutions, FPGAs and Systems on Chip including FPGA fabric and dedicated hard processors, offer a good trade of among flexibility, processing performance, energy consumption and price, when they are used in demanding applications where working conditions are very likely to vary over time and high complex algorithms are required. The platform architecture proposed in this PhD Thesis is called HiReCookie. It includes an SRAM-based FPGA as the main and only processing unit. The FPGA selected, the Xilinx Spartan-6 LX150, was at the beginning of this work the best choice in terms of amount of resources and power. Although, the power levels are the lowest of these kind of devices, they can be still very high for distributed systems that normally work powered by batteries. For that reason, it is necessary to include different energy saving possibilities to increase the usability of the platform. In order to reduce energy consumption, the platform architecture is divided into different power islands so that only those parts of the systems that are strictly needed are powered on, while the rest of the islands can be completely switched off. This allows a combination of different low power modes to decrease energy. In addition, one of the most important handicaps of SRAM-based FPGAs is that they are not alive at power up. Therefore, recovering the system from a switch-off state requires to reload the FPGA configuration from a non-volatile memory device. For that reason, this PhD Thesis also proposes a methodology to compress the FPGA configuration file in order to reduce time and energy during the initial configuration process. Although some of the requirements for the design of HPADS are already covered by the design of the HiReCookie platform, it is necessary to continue improving energy efficiency, computing performance and fault tolerance. This is only possible by exploiting all the opportunities provided by the processing architectures configured inside the FPGA. Therefore, the second part of the thesis details the design of the so called ARTICo3 FPGA architecture to enhance the already intrinsic capabilities of the FPGA. ARTICo3 is a DPR-capable bus-based virtual architecture for multiple HW acceleration in SRAM-based FPGAs. The architecture provides support for dynamic resource management in real time. In this way, by using DPR, it will be possible to change the levels of computing performance, energy consumption and fault tolerance on demand by increasing or decreasing the amount of resources used by the different tasks. Apart from the detailed design of the architecture and its implementation in different FPGA devices, different validation tests and comparisons are also shown. The main objectives targeted by this FPGA architecture are listed as follows: • Provide a method based on a multithread approach such as those offered by CUDA (Compute Unified Device Architecture) or OpenCL kernel executions, where kernels are executed in a variable number of HW accelerators without requiring application code changes. • Provide an architecture to dynamically adapt working points according to either self-measured or external parameters in terms of energy consumption, fault tolerance and computing performance. Taking advantage of DPR capabilities, the architecture must provide support for a dynamic use of resources in real time. • Exploit concurrent processing capabilities in a standard bus-based system by optimizing data transactions to and from HW accelerators. • Measure the advantage of HW acceleration as a technique to boost performance to improve processing times and save energy by reducing active times for distributed embedded systems. • Dynamically change the levels of HW redundancy to adapt fault tolerance in real time. • Provide HW abstraction from SW application design. FPGAs give the possibility of designing specific HW blocks for every required task to optimise performance while some of them include the possibility of including DPR. Apart from the possibilities provided by manufacturers, the way these HW modules are organised, addressed and multiplexed in area and time can improve computing performance and energy consumption. At the same time, fault tolerance and security techniques can also be dynamically included using DPR. However, the inherent complexity of designing new HW modules for every application is not negligible. It does not only consist of the HW description, but also the design of drivers and interfaces with the rest of the system, while the design space is widened and more complex to define and program. Even though the tools provided by the majority of manufacturers already include predefined bus interfaces, commercial IPs, and templates to ease application prototyping, it is necessary to improve these capabilities. By adding new architectures on top of them, it is possible to take advantage of parallelization and HW redundancy while providing a framework to ease the use of dynamic resource management. ARTICo3 works within a solution space where working points change at run time in a 3D space defined by three different axes: Computation, Consumption, and Fault Tolerance. Therefore, every working point is found as a trade-off solution among these three axes. By means of DPR, different accelerators can be multiplexed so that the amount of available resources for any application is virtually unlimited. Taking advantage of DPR capabilities and a novel way of transmitting data to the reconfigurable HW accelerators, it is possible to dedicate a dynamically-changing number of resources for a given task in order to either boost computing speed or adding HW redundancy and a voting process to increase fault-tolerance levels. At the same time, using an optimised amount of resources for a given task reduces energy consumption by reducing instant power or computing time. In order to keep level complexity under certain limits, it is important that HW changes are transparent for the application code. Therefore, different levels of transparency are targeted by the system: • Scalability transparency: a task must be able to expand its resources without changing the system structure or application algorithms. • Performance transparency: the system must reconfigure itself as load changes. • Replication transparency: multiple instances of the same task are loaded to increase reliability and performance. • Location transparency: resources are accessed with no knowledge of their location by the application code. • Failure transparency: task must be completed despite a failure in some components. • Concurrency transparency: different tasks will work in a concurrent way transparent to the application code. Therefore, as it can be seen, the Thesis is contributing in two different ways. First with the design of the HiReCookie platform and, second with the design of the ARTICo3 architecture. The main contributions of this PhD Thesis are then listed below: • Architecture of the HiReCookie platform including: o Compatibility of the processing layer for high performance applications with the Cookies Wireless Sensor Network platform for fast prototyping and implementation. o A division of the architecture in power islands. o All the different low-power modes. o The creation of the partial-initial bitstream together with the wake-up policies of the node. • The design of the reconfigurable architecture for SRAM FPGAs: ARTICo3: o A model of computation and execution modes inspired in CUDA but based on reconfigurable HW with a dynamic number of thread blocks per kernel. o A structure to optimise burst data transactions providing coalesced or parallel data to HW accelerators, parallel voting process and reduction operation. o The abstraction provided to the host processor with respect to the operation of the kernels in terms of the number of replicas, modes of operation, location in the reconfigurable area and addressing. o The architecture of the modules representing the thread blocks to make the system scalable by adding functional units only adding an access to a BRAM port. o The online characterization of the kernels to provide information to a scheduler or resource manager in terms of energy consumption and processing time when changing among different fault-tolerance levels, as well as if a kernel is expected to work in the memory-bounded or computing-bounded areas. The document of the Thesis is divided into two main parts with a total of five chapters. First, after motivating the need for new platforms to cover new more demanding applications, the design of the HiReCookie platform, its parts and several partial tests are detailed. The design of the platform alone does not cover all the needs of these applications. Therefore, the second part describes the architecture inside the FPGA, called ARTICo3, proposed in this PhD Thesis. The architecture and its implementation are tested in terms of energy consumption and computing performance showing different possibilities to improve fault tolerance and how this impact in energy and time of processing. Chapter 1 shows the main goals of this PhD Thesis and the technology background required to follow the rest of the document. Chapter 2 shows all the details about the design of the FPGA-based platform HiReCookie. Chapter 3 describes the ARTICo3 architecture. Chapter 4 is focused on the validation tests of the ARTICo3 architecture. An application for proof of concept is explained where typical kernels related to image processing and encryption algorithms are used. Further experimental analyses are performed using these kernels. Chapter 5 concludes the document analysing conclusions, comments about the contributions of the work, and some possible future lines for the work.
机译:本博士论文的框架是可重构嵌入式系统,用于高性能应用的无线传感器网络以及分布式计算领域。该文档重点研究高性能分布式自主嵌入式系统(HPADS)的处理替代方案,以及它们向高分辨率处理的演进。该研究已在平台级别和平台内的处理体系结构级别进行,目的是优化相关方面,例如能效,计算能力和对系统故障的承受能力。 HPADS是一种反馈系统,通常由网络上连接或未连接的分布式元素组成,具有一定的适应能力,并且具有执行预后和/或自我评估任务的足够智能。这类系统通常是更复杂的系统的一部分,称为网络物理系统(Cyber​​-Physical Systems(CPSs))。 CPS涵盖了广泛的应用范围,包括医疗应用,制造或航空航天应用等。对于这种类型的系统的设计,诸如可靠性,计算机模型的定义,或有助于增加可伸缩性和复杂性管理的方法和/或工具的使用等方面至关重要。本博士论文的第一部分着重于研究现有的平台,这些平台由于其特性可能适用于CPS领域,并提出了一种新的高性能平台设计的建议,更好地满足新应用程序的新要求和更高要求。第一部分包括对所建议平台的描述,实施和验证,以及有关其可用性和局限性的结论。下面列出了设计该平台的主要目标:•就能耗和计算能力而言,研究使用基于RAM的FPGA作为平台的主处理器的可行性。 •在平台工作资料的每个阶段提出能耗管理技术的建议。 •建议包含FPGA的动态和部分重新配置(动态部分重新配置(DPR)),以便可以在运行时更改系统的某些部分,而不会中断其余部分部分。评估其在HPADS情况下的适用性。 CPS面临的新应用程序和新方案除了明显增加了复杂性外,还对数据处理,其获取和通信的必要带宽提出了新要求。使用的算法。为了满足这些新要求,平台正在从传统的8位单处理器系统迁移到包含多个处理器或多个处理器和可编程逻辑的混合硬件软件系统。在这些新架构中,包括嵌入式处理器和可编程逻辑的FPGA和片上系统(英文缩写为System on Chip(SoC))在能耗,价格,容量方面提供了很好的解决方案。计算和灵活性。当应用程序对计算的要求很高并且工作条件非常容易实时变化时,这些良好的结果甚至更好。本博士论文提出的平台已命名为HiReCookie。该架构包括基于RAM作为唯一处理器的FPGA,以及与马德里理工大学工业电子中心(CEI-UPM)称为Cookies的无线传感器网络平台兼容的设计。在开始这项工作时,这种型号为Spartan-6 LX150的FPGA在功耗和集成资源数量方面是最佳选择,同时还允许使用动态和部分重新配置。重要的是要强调一点,尽管功耗值是该系列产品的最小值,但对于那些必须自动运行,分布式供电并且在大多数情况下由电池供电的系统而言,瞬时功耗仍然很高。为此原因,因此必须在设计中包含节能策略,以增加平台的可用性和使用寿命。实施的第一个策略是将平台划分为不同的功率岛,以便在完全关闭其余元素时,只有那些必不可少的元素才能保持供电。这样,可以组合不同的操作模式,从而极大地优化能耗。由于配置存储器是易失性存储器,因此在不活动期间立即关闭FPGA的电源会导致配置丢失。为减少对平台加电后对功耗和整个平台重新配置所涉及的时间的影响,这项工作包括压缩FPGA配置文件的技术,以减少功耗。配置时间,因此消耗的能量。尽管HiReCookie平台设计可以满足一些设计要求,但有必要继续优化各种参数,例如功耗,容错能力和处理能力。这只有通过利用FPGA处理架构提供的所有可能性才有可能。因此,本博士论文的第二部分着重于设计称为ARTICo3(用于智能处理计算,可靠性和功耗的可重构体系结构)的可重构体系结构的设计,以通过动态使用来改善这些参数。资源。 ARTICo3是基于RAM的FPGA的处理架构,具有总线通信功能,由于包含动态和部分重新配置功能,因此可以在运行时支持内部FPGA资源的动态管理。由于具有这种部分可重配置性,因此可以通过调整为每个设备分配的资源数量来调整处理能力,能耗或容错级别,以响应应用程序的需求,环境或设备的内部指标家庭作业。在本文的第二部分中,详细介绍了体系结构设计,其在HiReCookie平台以及其他FPGA系列中的实现,以及通过不同的测试和演示进行的验证。该体系结构的主要目标如下:•提出一种基于多线程方法的方法,例如CUDA(计算统一设备体系结构)或Open CL提出的方法,其中使用了不同的内核或执行单元可在多种硬件加速器上运行,而无需更改应用程序代码。 •提出设计并提供一种架构,在该架构中,工作条件会根据外部参数或指示平台状态的参数而动态变化。借助硬件加速器的实时动态和部分重新配置,架构工作点的这些更改将成为可能。 •通过优化与加速器的突发数据事务,即使在基于总线的体系结构中也可以利用并发处理功能。 •利用纯硬件模块实现的加速,以实现更高的能源效率。 •能够根据系统需求实时动态更改硬件冗余级别,而无需更改应用程序代码。 •在应用程序代码和动态使用FPGA资源之间提出一个抽象层。 FPGA中的设计允许使用专门为特定应用创建的硬件模块。这样,与通用架构相比,可以获得更高的良率。此外,某些FPGA允许在运行时动态和部分重新配置其逻辑的某些部分,从而为设计提供了极大的灵活性。 FPGA的制造商提供了预定义的体系结构,可以添加预先设计的模块,并能够以或多或少的直接方式在片上形成系统。但是,这些硬件模块在内部体系结构中静态或动态组织的方式,或在它们之间交换信息的方式,极大地影响了系统的计算能力和能效。同样,按需加载硬件模块的能力允许添加冗余块,从而增加系统的容错级别。但是,不应低估与专用硬件模块的设计有关的复杂性。必须记住,硬件模块的设计不仅是其自身的设计,而且还包括其接口的设计,并且在某些情况下还包括用于对其进行处理的软件驱动程序。而且,通过添加更多的块,设计空间变得更加复杂,并且其编程也更加困难。尽管大多数制造商都提供了预定义的接口,商用IP和模板来帮助进行系统设计,但是为了能够利用系统的实际可能性,仍然需要在现有架构的基础上构建架构。旨在促进并行性,冗余的使用,并提供支持动态资源管理的环境。为了提供这种支持,ARTICo3的解决方案空间由三个基本轴组成:计算,能耗和可靠性。以这种方式,获得每个工作点作为这三个参数之间的折衷解决方案。通过使用动态的和部分的重新配置以及改进主内存和加速器之间的数据传输,可以为每个任务及时分配可变数量的资源,这使得内部资源的使用成为可能。 FPGA实际上是无限的。每个任务的资源数量在时间上的这种变化既可以用于提高并行度,从而可以提高加速度,也可以用于提高冗余度,从而可以提高容错能力。同时,由于可以减少消耗的瞬时功率或处理时间,因此将最佳数量的资源用于任务可以改善能耗。为了将复杂度级别保持在逻辑范围内,对硬件所做的更改对于应用程序代码是完全透明的,这一点很重要。在这方面,包括了不同级别的透明性:•可伸缩性的透明度:同一任务使用的资源可以在不更改应用程序代码的情况下进行修改。 •性能透明:当工作负载增加时,系统将提高性能,而无需更改应用程序代码。 •复制的透明度:可以使用同一模块的多个实例来增加冗余或增加处理能力。所有这些都无需更改应用程序代码。 •位置透明:硬件模块的物理位置对于从应用程序代码中寻址它们是任意的。 •透明的故障:如果硬件模块出现故障,由于冗余,应用程序代码将直接获得正确的结果。 •透明的并发性:任务由或多或少的块执行的事实对于调用它的代码是透明的。因此,该博士论文贡献于两个不同的领域。第一,其中包括HiReCookie平台的设计,其次是ARTICo3架构的设计。本文的主要工作概述如下。 •HiReCookie体系结构,包括:o与Cookies平台的兼容性,以增加其功能。 o不同饲养岛的建筑分区。 o实施各种低功耗模式和节点唤醒策略。 o创建压缩的FPGA配置文件以减少初始配置的时间和消耗。 •基于ARTICo3 RAM的FPGA可重配置架构设计:o计算模型和执行模式受CUDA模型启发,但基于可重配置硬件,每个执行单元具有可变数量的线程块。 o通过向不同的模块提供级联或并行数据(包括多数表决过程和简化操作)来优化突发数据事务的结构。 o主处理器之间的抽象层,包括应用程序代码和为不同任务分配的资源。 o可重新配置的硬件模块体系结构,通过添加用于新功能的接口并可以轻松访问内部RAM存储器来保持可扩展性。 o对任务进行在线表征,以向资源管理模块提供信息,从而在不同级别的容错之间运行时改善能源和处理方面的运行。该文档分为两个主要部分,共五章。首先,在激发了对新平台的需求以覆盖新应用之后,详细介绍了HiReCookie平台的设计,其各个部分,降低能耗的可能性,并展示了该平台的使用案例以及对这些平台的测试。设计验证。该文档的第二部分描述了可重配置架构,其在各种FPGA中的实现以及关于处理能力和功耗的验证测试,包括所选方面的容错水平如何影响这些方面。本文档中的各章如下:第1章分析了遵循本文档其余部分所必需的主要目标,动机和理论方面。第2章重点介绍HiReCookie平台的设计及其降低能耗的可能性。第3章介绍可重新配置的ARTICo3体系结构。第4章重点介绍使用HiReCookie平台进行大多数测试的体系结构验证测试。展示了一个应用实例来分析架构的操作。第五章总结了本博士论文,总结了所获得的结论,工作和成果的原始贡献以及未来的发展方向。摘要本博士论文围绕动态可重构嵌入式系统,高级传感器网络和分布式计算领域进行阐述。该文档的重点是研究高性能自主分布式系统(HPADS)的处理解决方案以及它们向高性能计算(HPC)系统的发展。该研究方法集中在平台和处理器级别上,以优化关键方面,例如计算性能,能效和容错能力。 HPADS被认为是具有实时自适应和预测功能的反馈系统,通常是联网和/或分布式的。这些系统是称为网络物理系统(CPS)的更复杂系统的一部分,可广泛应用于军事,医疗保健,制造,航空航天等领域。对于HPADS的设计,需要高水平的可靠性,定义合适的计算模型以及使用支持扩展性和复杂性管理的方法和工具。该文件的第一部分研究了现有技术在平台设计级别的各种可能性,并对其进行了描述。,这项工作中提出的平台开发和验证测试,以应对前面提到的要求。该平台设计的主要目标如下:•就高要求应用的能耗和性能而言,研究使用基于SRAM的FPGA作为平台的主处理器的可行性。 •分析并提出能源管理技术,以减少平台工作概况的每个阶段的能耗。 •提供带有动态部分和无线远程硬件重配置(DPR)的解决方案,以便能够在运行时按需更改FPGA设计的某些部分,而不会中断系统的其余部分。 •证明平台在不同测试平台应用程序中的适用性。为了在处理替代方案方面选择最佳的平台设计方法,需要对最新平台的发展进行研究,以分析不同的架构如何应对新的更苛刻的应用程序和场景:安全性,适用于航空,多媒体应用或军事环境的混合关键系统。在所有这些情况下,所需处理带宽或所使用算法的复杂性的重大变化,都在促使平台从单个微处理器体系结构向多处理和异构解决方案的迁移,从而具有更多的即时功耗和更高的能源效率。在这些解决方案中,当FPGA和片上系统(包括FPGA架构和专用硬核处理器)用于工作条件很可能随时间变化的苛刻应用时,它们在灵活性,处理性能,能耗和价格之间提供了很好的折衷方案。并且需要高度复杂的算法。本博士学位论文提出的平台架构称为HiReCookie。它包括一个基于SRAM的FPGA作为主要也是唯一的处理单元。在这项工作的开始,就资源和功耗而言,选择的Xilinx Spartan-6 LX150 FPGA是最佳选择。尽管功率水平是此类设备中最低的,但对于通常由电池供电的分布式系统来说,功率水平仍然可能很高。因此,有必要包括不同的节能方式,以增加平台的可用性。为了减少能源消耗,平台架构分为不同的功率岛,因此只有严格需要的系统部分才能通电,而其余的岛则可以完全关闭。这允许将不同的低功率模式组合以减少能量。此外,基于SRAM的FPGA最重要的障碍之一是它们在加电时还没有生命。因此,要从关闭状态恢复系统,需要从非易失性存储设备中重新加载FPGA配置。因此,本博士学位论文还提出了一种压缩FPGA配置文件的方法,以减少初始配置过程中的时间和精力。尽管HiReCookie平台的设计已经满足了HPADS设计的一些要求,但是有必要继续提高能效,计算性能和容错能力。这只有通过利用FPGA内部配置的处理架构提供的所有机会才有可能。因此,本文的第二部分详细介绍了所谓的ARTICo3 FPGA架构的设计,以增强FPGA的固有功能。 ARTICo3是基于DPR的基于总线的虚拟架构,用于基于SRAM的FPGA中的多个硬件加速。该架构为实时动态资源管理提供支持。这样,通过使用DPR,可以通过增加或减少不同任务使用的资源数量来更改计算性能,能耗和按需容错的级别。除了详细的架构设计及其在不同FPGA器件中的实现之外,还显示了不同的验证测试和比较。该FPGA架构的主要目标如下:•提供一种基于多线程方法的方法,例如CUDA(计算统一设备架构)或OpenCL内核执行所提供的方法,其中内核在可变数量的硬件加速器中执行无需更改应用程序代码。 •提供一种架构,可根据能耗,容错和计算性能,根据自测或外部参数动态调整工作点。利用DPR功能,该体系结构必须提供对实时动态使用资源的支持。 •通过优化与硬件加速器之间的数据事务来利用基于标准总线的系统中的并发处理功能。 •通过减少分布式嵌入式系统的活动时间来衡量硬件加速的优势,以提高性能,缩短处理时间并节省能源,以此来衡量硬件加速的优势。 •动态更改硬件冗余级别,以实时调整容错能力。 •从软件应用程序设计中提供硬件抽象。 FPGA可以为每个所需的任务设计特定的硬件模块,以优化性能,而其中的一些模块可能包含DPR。除了制造商提供的可能性外,这些硬件模块在区域和时间上的组织,寻址和多路复用的方式还可以改善计算性能和能耗。同时,还可以使用DPR动态包含容错和安全技术。但是,为每个应用程序设计新的硬件模块的内在复杂性是不可忽略的。它不仅包括硬件说明,还包括驱动程序和与系统其余部分的接口的设计,而设计空间更宽且定义和编程更加复杂。即使大多数制造商提供的工具已经包括预定义的总线接口,商用IP和模板,以简化应用程序原型设计,但仍有必要改进这些功能。通过在它们之上添加新的体系结构,可以利用并行化和硬件冗余,同时提供一个框架来简化动态资源管理的使用。 ARTICo3在解决方案空间中工作,解决方案空间中的工作点会在运行时在由三个不同轴定义的3D空间中发生变化:计算,消耗和容错。因此,发现每个工作点都是这三个轴之间的权衡解决方案。通过DPR,可以对不同的加速器进行多路复用,以使任何应用程序可用的资源量实际上是无限的。利用DPR功能和将数据传输到可重新配置的硬件加速器的新颖方法,可以为给定任务分配动态变化的资源数量,以提高计算速度或增加硬件冗余和表决过程。增加容错级别。同时,针对给定任务使用优化数量的资源可通过减少即时功耗或计算时间来减少能耗。为了将级别的复杂性保持在一定范围内,重要的是,硬件更改对于应用程序代码而言是透明的。因此,系统要针对不同级别的透明性:•可伸缩性透明性:任务必须能够在不改变系统结构或应用算法的情况下扩展其资源。 •性能透明:系统必须在负载变化时重新配置自身。 •复制透明性:加载同一任务的多个实例以提高可靠性和性能。 •位置透明:应用程序代码在不知道资源位置的情况下访问资源。 •故障透明性:尽管某些组件出现故障,也必须完成任务。 •并发透明性:不同的任务将以对应用程序代码透明的并发方式工作。因此,可以看出,论文以两种不同的方式做出了贡献。首先是HiReCookie平台的设计,其次是ARTICo3架构的设计。下面列出了该博士论文的主要贡献:•HiReCookie平台的体系结构,包括:o高性能应用的处理层与Cookies无线传感器网络平台的兼容性,以实现快速原型设计和实施。 o电力岛的架构划分。 o所有不同的低功耗模式。 o创建部分初始位流以及节点的唤醒策略。 •用于SRAM FPGA的可重配置体系结构的设计:ARTICo3:o一种基于CUDA的计算和执行模式模型,但基于可重配置的硬件,每个内核具有动态线程数。 o优化突发数据交易的结构,可为硬件加速器提供合并或并行数据,并行表决过程和简化操作。 o根据副本的数量,操作模式向内核提供的关于内核操作的抽象,在可重新配置区域中的位置和地址。 o表示线程块的模块的体系结构,通过添加功能单元(仅添加对BRAM端口的访问)来使系统可扩展。 o在不同的容错级别之间进行更改时,以及是否希望内核在内存限制或计算中工作时,内核的在线特性可在能耗和处理时间方面向调度程序或资源管理器提供信息边界区域。论文分为两个主要部分,共五章。首先,在激发了对新平台的需求以覆盖新的,更苛刻的应用程序的需求之后,详细介绍了HiReCookie平台的设计,其零件和一些局部测试。仅平台的设计并不能满足这些应用程序的所有需求。因此,第二部分描述了本博士论文中提出的FPGA内部架构,称为ARTICo3。对架构及其实现进行了能耗和计算性能方面的测试,显示了提高容错能力的不同可能性以及这对处理的能量和时间的影响。第1章显示了本博士学位论文的主要目标以及遵循本文档其余部分所需的技术背景。第2章详细介绍了基于FPGA的平台HiReCookie的设计。第3章介绍了ARTICo3体系结构。第4章重点介绍ARTICo3体系结构的验证测试。解释了概念验证的应用程序,其中使用了与图像处理和加密算法有关的典型内核。使用这些内核进行进一步的实验分析。第5章总结了该文件,分析了结论,有关工作贡献的评论以及该工作的一些可能的未来思路。

著录项

  • 作者

    Valverde Alcalá Juan;

  • 作者单位
  • 年度 2015
  • 总页数
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号