Skip to main content
QUICK REVIEW

[논문 리뷰] Hardware Abstractions and Hardware Mechanisms to Support Multi-Task Execution on Coarse-Grained Reconfigurable Arrays

Taeyoung Kong, Kalhan Koul|arXiv (Cornell University)|2023. 01. 02.
Embedded Systems Design TechniquesComputer Science인용 수 3
한 줄 요약

이 논문은 다중 작업 워크로드를 위한 동적이고 유연한 자원 분할을 가능하게 하는 하드웨어 추상화인 GLB-slices와 array-slices를 갖춘 코arse-grained reconfigurable array (CGRA) 아키텍처를 제안한다. 유연한 형상의 실행 영역과 빠른 동적 부분 재구성(DPR)을 결합함으로써, 클라우드 워크로드에서는 기준 CGRA가 단일 작업을 실행할 때 대비 1.05x–1.24x 높은 처리량과 23–28% 낮은 지연을 달성하고, 자율 시스템 워크로드에서는 60.8% 낮은 지연을 기록한다.

ABSTRACT

Domain-specific accelerators are used in various computing systems ranging from edge devices to data centers. Coarse-grained reconfigurable arrays (CGRAs) represent an architectural midpoint between the flexibility of an FPGA and the efficiency of an ASIC and are a promising candidate for servicing multi-tasked workloads within an application domain. Unfortunately, scheduling multiple tasks onto a CGRA is challenging. CGRAs lack abstractions that capture hardware resources, leaving workload schedulers unable to reason about performance, energy, and utilization for different schedules. This work first proposes a CGRA architecture that can flexibly partition key resources, including the global buffer memory capacity, the global buffer memory bandwidth, and the compute resources. Partitioned resources serve as hardware abstractions that decouple compilation and resource allocation. The compiler uses these abstractions for coarse-grained resource mapping, and the scheduler uses them for flexible resource allocation at run time. We then propose two hardware mechanisms to support multi-task execution. A flexible-shape execution region increases the overall resource utilization by mapping multiple tasks with different resource requirements. Dynamic partial reconfiguration (DPR) enables a CGRA to update the hardware configuration as the scheduler makes decisions rapidly. We show that our abstraction can help automatic and efficient scheduling of multi-tasked workloads onto our target CGRA with high utilization, resulting in 1.05x-1.24x higher throughput and a 23-28% lower latency in a multi-tasked cloud workload and 60.8% reduced latency in an autonomous system workload when compared to a baseline CGRA running single tasks at a time.

연구 동기 및 목표

  • CGRA에서 동적 작업을 스케줄링하는 데 어려움이 발생하는 이유는 하드웨어 자원 추상화가 부족하기 때문이다.
  • 컴pile 단계와 런타임 스케줄링을 분리함으로써 런타임 자원 할당과 작업 매핑을 효율적으로 가능하게 한다.
  • 클라우드 추론과 자율 시스템과 같은 다중 작업 환경에서 하드웨어 활용도와 성능을 향상시킨다.
  • 빠른 DPR과 함께 민감한 실행 영역 형성으로 실시간, 저지연 작업 재구성을 지원한다.
  • 컴파일러와 스케줄러가 함께 최적화하여 성능, 에너지 소비, 자원 활용도를 고려할 수 있는 공동 설계 프레임워크를 제공한다.

제안 방법

  • CGRA의 글로벌 버퍼 메모리 용량, 메모리 대역폭, 계산 자원을 분할하기 위해 GLB-slices와 array-slices를 하드웨어 추상화로 도입한다.
  • 다양한 작업에 대해 비균일한 GLB-slices와 array-slices를 런타임에 할당할 수 있는 유연한 형상의 실행 영역을 설계한다.
  • 병렬 AXI4-Lite 트랜잭션을 사용하여 고처리량, 저지연 동적 부분 재구성(DPR) 메커니즘을 구현한다.
  • 컴파일(거시적 추상화 사용)과 런타임 스케줄링(유연한 자원 할당 사용)을 분리하여 동적 작업 도착을 지원한다.
  • 빠른-DPR을 통해 총 지연 시간의 5% 미만으로 CGRA를 재구성함으로써 기준 대비 재구성 오버헤드를 14.4%에서 감소시킨다.
  • 실세계 워크로드 두 가지를 사용하여 아키텍처를 평가한다: 다중 작업 워크로드를 갖춘 클라우드 추론 시나리오와 센서 데이터 처리 기능이 있는 자율 시스템.
Figure 1: Baseline CGRA block diagram corresponding to [ 23 ] .
Figure 1: Baseline CGRA block diagram corresponding to [ 23 ] .

실험 결과

연구 질문

  • RQ1다중 작업 워크로드에서 성능, 에너지 소비, 자원 활용도를 고려한 스케줄러의 사고를 가능하게 하기 위해 하드웨어 추상화는 어떻게 설계할 수 있는가?
  • RQ2다양한 자원 요구량을 갖는 다수의 작업 간에 민감하고 동적 자원 할당을 지원하기 위해 필요한 아키텍처 메커니즘은 무엇인가?
  • RQ3실시간 다중 작업 실행 환경에서 재구성 오버헤드를 최소화하기 위해 동적 부분 재구성을 어떻게 가속화할 수 있는가?
  • RQ4다양한 자원 분할과 빠른 DPR은 다중 작업 워크로드에서 처리량 향상과 지연 감소에 얼마나 기여하는가?
  • RQ5제안된 추상화와 메커니즘은 CGRA에서 동적, 다중 테넌트 워크로드에 대해 효율적이고 자동화된 스케줄링을 가능하게 하는가?

주요 결과

  • 유연한 형상의 실행 영역과 빠른-DPR을 갖춘 제안된 CGRA는 다중 작업 워크로드에서 기준 대비 1.05x–1.24x 높은 처리량을 달성한다.
  • 동일한 클라우드 워크로드에서 제안된 시스템은 기준 CGRA가 단일 작업을 실행할 때 대비 23–28% 낮은 지연을 기록한다.
  • 자율 시스템 워크로드에서는 제안된 CGRA가 기준 대비 60.8% 낮은 지연을 기록한다.
  • 빠른-DPR은 재구성 시간을 총 지연 시간의 5% 미만으로 줄였으며, 기준 대비 14.4%에서 감소시켜 실시간 반응성에 크게 기여한다.
  • 하드웨어 추상화(Glb-slices와 array-slices)는 컴파일과 런타임 스케줄링의 효과적인 분리를 가능하게 하여 스케줄러 가능성과 자원 활용도를 향상시킨다.
  • 시스템은 소프트웨어 간섭 없이도 동적 작업 도착과 임의의 사용 가능한 array-slice로의 작업 런타임 이동을 지원하여 영향력 있고 확장 가능한 유연성을 제공한다.
(a) Baseline
(a) Baseline

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.