PaperNote:Concurrent analytical query processing with GPUs (VLDB 2014)

Motivation

Sharing GPUs among concurrent queries is not supported, causing serious resource underutilization.
PaperNote:Concurrent analytical query processing with GPUs (VLDB 2014)_第1张图片

Problems with Uncoordinated Query Co-Running

  • Device memory swapping
  • Query scheduling

1. Device memory swapping

PaperNote:Concurrent analytical query processing with GPUs (VLDB 2014)_第2张图片

How to Coordinate the conflicting demands for device memory space from different queries?

  1. Maintains a swapping buffer in the host memory.
  2. Device memoryDevice memory manager selects some swappable regions from the list and evicts them to the swapping buffer When free space becomes insufficient.
  3. Data Replacement: CDR (Cost-Driven Replacement)Data Replacement: CDR (Cost-Driven Replacement)

2. Device memory swapping

  1. Weighted device memory demand: 在这里插入图片描述
  2. If the number exceeds the availableIf the number exceeds the available
    device memory capacity, the query’s execution needs to be delayed.
  3. The query scheduler considers rescheduling a postponed query every time when a running query’s resource demand changes or when a query finishes execution

Experiment

PaperNote:Concurrent analytical query processing with GPUs (VLDB 2014)_第3张图片

Wang K, Zhang K, Yuan Y, et al. Concurrent analytical query processing with GPUs[J]. Proceedings of the VLDB Endowment, 2014, 7(11): 1011-1022.

你可能感兴趣的:(高性能计算)