Friday, August 4, 2017

Describe the terms regarding Operating Systems a)Concurrency b)Parallelism

Concurrency:

The term concurrency refers to techniques that makes program more usable. Concurrency can be implemented and is used a lot on single processing units nonetheless it may benefit from multiple processing units with respect to speed.If we can load multiple documents simultaneously in the tabs of our browser and still can open other applications and perform actions,this is concurrency.


Single Core

T1
T2
T3
T4
T1
T2
T3
T4




                              -------------------------------------------->  time


Concurrency on Single Core



Parallelism:

The term parallelism refers to techniques to make programs faster by performing several computations in parallel. Graphic computations on GPU are parallelism is reduce data dependencies in order to be able to perform computations on independent computation units with minimal communication between them.

Parallelism on Multi Core

Core 1  
T1
T3
T1
T3
T1
T3
T1
T3






Core 2
T2
T4
T2
T4
T2
T4
T2
T4





                              --------------------------------> time 


No comments:

Post a Comment

Call a function in child component from parent component in React

Consider the following parent component class Parent extends React.Component { constructor(props) { super(props);         thi...