본문 바로가기

IT/Basic

Memory bound vs Compute bound

 


I/O Bound vs CPU Bound Process

I/O bound Process : 연산보다, I/O 에 더 시간이 들어가는 프로세스다. CPU burst 가 작다.
CPU bound Process : 연산에 주로 시간이 들어가는 프로세스다. CPU burst 가 크다./ compute bound

 

 

빽 투더 기본기 [OS 1편]. 프로세스

이 글에서는 운영체제의 기초가 되는, Process (프로세스)에 대해 정리해본다. 1. Process 란 1.1. Program vs Process Program : 디스크에 저장된 실행가능한 명령어 파일. 수동적인 개체. Process : 메모리에 올..

dailyheumsi.tistory.com

Memory-bound function

Memory bound refers to a situation in which the time to complete a given computational problem is decided primarily by the amount of memory required to hold the working data.

 

계산 문제를 해결하는데 걸리는 시간이 메모리의 양에 의해 결정된다. 메모리의 양은 계산에 필요한 데이터들을 수용할 수 있어야 한다.

Memory bound refers to a general case where a code is limited by memory access, ie. it includes codes that are latency bound and codes that are bandwidth bound. 

 

  • Bandwidth bound kernels approach the physical limits of the device in terms of access to global memory. E.g. an application uses 170GB/s out of 177GB/s on an M2090 device.

 

Compute-bound function

This is in contrast to algorithms that are compute-bound, where the number of elementary computation steps is the deciding factor.(CPU bound)

계산 단계의 개수가 계산 문제를 해결하는데 걸리는 시간을 결정한다.

A compute bound kernel is one in which computation dominates the kernel time, under the assumption that there is no problem feeding the kernel with memory, and there is good overlap of arithmetic and latency.

 

 

Memory and computation boundaries can sometimes be traded against each other, e.g. by saving and reusing preliminary results or using lookup tables.

 

 

 

[운영체제]CPU burst VS I/O burst

운영체제 목차 CPU burst VS I/O burst 프로세스는 CPU burst와 I/O burst가 왔다 갔다 왔다 갔다 서로 바뀌면서 프로그램을 실행합니다. CPU burst는 말 그대로 CPU 명령을 실행하는 것을 말하고 I/O burst는 I/..

jhnyang.tistory.com

 

 

cuda 'memory bound' vs 'latency bound' vs 'bandwidth bound' vs 'compute bound'

In the many resources online it is possible to find different usages of 'memory','bandwidth' 'latency' bound kernels. It seems to me that the authors sometimes use their own definition of these ter...

stackoverflow.com

 

'IT > Basic' 카테고리의 다른 글

Little Endian, Big Endian  (0) 2021.03.10
3rd party란  (0) 2021.02.04
volatile 변수  (0) 2021.01.08
Debug mode, Release mode, Assert  (0) 2021.01.07
크로스 컴파일(cross compile)  (0) 2021.01.07