MJay

CPU bound & I/O bound 본문

Git

CPU bound & I/O bound

MJSon 2017. 3. 18. 22:04

Git을 공부하다 궁금해서 찾와밨다.


일단 I/O부터 알아보자


In computinginput/output or I/O (or, informally, io or IO) is the communication between an information processing system, such as a computer, and the outside world, possibly a human or another information processing system. Inputs are the signals or data received by the system and outputs are the signals or data sent from it. The term can also be used as part of an action; to "perform I/O" is to perform an input or output operation.

I/O devices are the pieces of hardware used by a human (or other system) to communicate with a computer. For instance, a keyboard or computer mouse is an input device for a computer, while monitors and printers are output devices. Devices for communication between computers, such as modems and network cards, typically perform both input and output operations.



A program is CPU bound if it would go faster if the CPU were faster, i.e. it spends the majority of its time simply using the CPU (doing calculations). A program that computes new digits of π will typically be CPU-bound, it's just crunching numbers.



A program is I/O bound if it would go faster if the I/O subsystem was faster. Which exact I/O system is meant can vary; I typically associate it with disk. A program that looks through a huge file for some data will often be I/O bound, since the bottleneck is then the reading of the data from disk.








'Git' 카테고리의 다른 글

GitHub 몇가지 정리  (0) 2017.10.13
github 사용법  (0) 2017.05.23
Git Merge &Rebase  (0) 2017.03.17
Git Pull 과 Git Fetch의 차이점  (0) 2017.03.17
Git 정리  (0) 2017.02.18