• Tidak ada hasil yang ditemukan

Design and Implementation of Bandwidth-aware Memory Placement and Migration Policies for Heterogeneous Memory Systems

N/A
N/A
Protected

Academic year: 2023

Membagikan "Design and Implementation of Bandwidth-aware Memory Placement and Migration Policies for Heterogeneous Memory Systems"

Copied!
32
0
0

Teks penuh

However, most of the previous works did not consider the bandwidth variation of the memory nodes that make up a heterogeneous memory system. The present work proposes bandwidth-aware memory deployment and migration policies to solve the problem caused by the bandwidth difference of memory nodes in a heterogeneous memory system. We implement three bandwidth-aware memory placement policies and a bandwidth-aware migration policy in the Linux kernel, then quantitatively experiment and evaluate them on real systems.

Furthermore, we demonstrate that our proposed bandwidth-aware storage placement and migration policies can achieve higher performance compared to conventional storage placement and migration policies that do not consider bandwidth differences between heterogeneous storage nodes. This work proposes bandwidth-aware placement and migration policies that account for the bandwidth difference between each storage node in heterogeneous storage systems. The goal of these bandwidth-aware policies is to increase the bandwidth of heterogeneous storage systems, which can lead to significant performance improvements in bandwidth-intensive applications commonly used in HPC.

We implement and experiment with the proposed bandwidth-aware memory placement and migration policies. The performance of the proposed bandwidth-aware memory allocation and migration policies is quantitatively evaluated in real systems. We prove herein that the bandwidth-aware memory placement and migration policies that take into account the heterogeneity of the heterogeneous memory system can have a large performance improvement compared to the existing policy that does not take into account the heterogeneity.

The remainder of this paper is organized as follows: Section 2 provides the background knowledge needed to understand this paper and the motivation for this work; Section 3 presents the algorithms and implementation for memory placement and bandwidth-aware migration policies; Section 4 describes the experimental environment and tools; Section 5 explains the experimental results of the proposed policies and their causes; Section 6 introduces the related work and explains the changes from this paper.

Background and Motivation

Physical Memory Description

Node

Zone HIGHMEM

PagePage

Zone NORMAL

Page PageZone

Page Page

  • Conventional Memory Placement and Migration Policies
  • Core
  • Core
    • Non-volatile Memory
    • Need for Bandwidth-aware Memory Placement and Migration Poli- ciescies
  • Design and Implementation
    • Heterogeneous Memory Description
    • BW-aware Memory Placement Policies
    • Bandwidth-aware Migration Policy
    • Implementation
    • Discussion
  • Methodology
  • Evaluation
    • Performance Impact on Bandwidth-intensive Benchmarks

The bandwidth-aware memory placement and migration policies proposed in this work allocate memory at the optimal rate considering the bandwidth difference between each node of the heterogeneous memory system. This section describes the design and implementation of bandwidth-aware memory placement and migration policies. Bandwidth-aware cache placement policies use this historical information to allocate pages according to the optimal allocation ratio.

The bandwidth-aware memory placement interleaving policy (BW-INTERLEAVE) allocates pages in a round-robin fashion taking into account the bandwidth of each memory pool. The bandwidth-aware local cache placement policy (BW-LOCAL) preferentially allocates pages to the local node while maintaining the optimal allocation ratio. We developed and tested bandwidth aware deployment and migration policies in centos 7 kernel, 3.10.0.

However, the bandwidth-aware memory placement and migration policy can normally work even in the presence of three or more clusters. Latency: The bandwidth-aware memory placement and migration policy aims to optimize the performance of bandwidth-intensive applications. The experiments on the bandwidth-aware memory placement and migration policy were conducted in a two-node NUMA system.

The core was modified, and about 500 lines of code were added for implementing the bandwidth-aware memory placement and migration policies. This section describes the experiment results of the bandwidth-aware memory placement and migration policies. The performance evaluation of the bandwidth-aware memory placement and migration policies is divided into four parts.

First, Section 5.1 describes the overall performance of the bandwidth-aware memory placement and migration policies and the conventional memory placement and migration policies. Third, Section 5.3 describes the impact of the bandwidth-aware memory allocation and migration policies on the non-bandwidth-intensive benchmarks. As shown in Figure 5.1, the bandwidth-aware memory placement and migration policies achieved higher performance than the conventional policies for bandwidth-intensive benchmarks.

In contrast, the performance difference between the bandwidth-aware memory placement and migration policy was very small. As shown in Figure 5.2, the bandwidth-aware memory placement and migration policies reduced the User time and the Idletime compared to the conventional policies.

Figure 2.2: Example of local policy CPU 0
Figure 2.2: Example of local policy CPU 0

Local IL D-Only BW-I BW-R BW-L BW-LM

  • Sensitivity to the Bandwidth Ratio
  • Performance Impact on Bandwidth Non-intensive Benchmarks
  • Performance Impact on Multiprogrammed Workloads
  • Related Work
  • Conclusions

In contrast, because bandwidth-aware storage placement and migration policies allocate pages according to the optimal allocation ratio, the application requests bandwidth in proportion to the bandwidth for each cluster. Bandwidth memory placement and migration policies allocate memory according to the optimal allocation ratio. As shown in Figure 5.7, the performance difference between the conventional policy and the bandwidth-aware policy increased as the bandwidth ratio increased.

This finding was attributed to the lower bandwidth of the NVM array causing more severe throttling as the bandwidth ratio increased. The average execution time for each policy was about the same, indicating that the memory deployment and bandwidth-aware migration policies had little or no performance effect on the non-bandwidth-intensive benchmark. This subsection describes the effect of memory deployment and bandwidth-aware migration policies on multiprogramming workloads.

As shown in Figure 5.9, the bandwidth-aware memory placement and migration policy can also improve performance in multiprogrammed workloads. This performance gain was less than that of the other performance gains that the bandwidth-aware memory placement and migration policies obtained from the single-programmed workload. When the required bandwidth was reduced, throttling did not occur or occurred only weakly, even if the bandwidth-aware memory placement and migration policies were not used.

In other words, the performance gains that bandwidth-aware memory placement and migration policies can achieve are reduced for multiprogrammed workloads. This work studied the bandwidth-aware memory placement policy that takes into account the CPU and GPU bandwidths. However, this work only proposed a policy that matched the bandwidth-aware interleave policy of our work.

In contrast, our work presents not only bandwidth-aware interleave, but also other bandwidth-aware memory placement and bandwidth-aware migration policies, such as the bandwidth-aware random, bandwidth-aware local, and bandwidth-aware migration policies. In addition, we implemented the bandwidth-aware memory placement and migration policy by adding a new code to the Linux kernel or modifying an existing code. The bandwidth-aware memory placement and migration policy allocates pages based on the optimal allocation ratio.

In this work, the bandwidth-aware memory placement and migration policies were implemented and experimented on real systems. As shown in the experimental results, the policy outperformed the conventional policies for bandwidth-intensive metrics even as the bandwidth ratio changed.

Figure 5.3: Memory traffic
Figure 5.3: Memory traffic

Bibliography

Gambar

Figure 2.1: Physical memory description
Figure 2.2: Example of local policy CPU 0
Figure 2.4: System architecture with heterogeneous memory
Table 4.2: Performance Data collection
+7

Referensi

Dokumen terkait

FK Universitas Tarumanegara Jakarta, http://journal.fkm.ui.ac.id/kesmas/article/view/347/346 diakses tanggal 8 desember 2018 Moyad, A.M., 2004, Fad Diets and Obesity - Part I: