Explain the concept of concurrent and parallel execution, Computer Engineering

Assignment Help:

The Concept of Concurrent and Parallel Execution

Real world systems are concurrent in nature and computer science is about modeling the real world. Illustrations of real world systems that require concurrency are machines in a factory and railway networks. In the computer world, several new OS (Operating systems) support concurrency. Whilst working on our PC's (Personal Computer), we can listen to streaming audio, download a file, have a clock running, type in a text editor and print something 

A distributed computer system or a multiprocessor can much better exploit the inherent concurrency in the problem solutions rather than a uniprocessor system. Concurrency is attained either by creating concurrent processes or by creating threads within a process. Whichever of these manners is used, it needs loads of effort to synchronies the threads/processes to evade deadlocks, starvations and race conditions. 

Study of parallel and concurrent executions is significant because of following reasons: 

i)  A number of problems are most naturally resolved by using a set of co-operating processes.

ii)  To decrease the execution time.

The words 'concurrent' and 'parallel' are frequently used interchangeably, Though they are different.

Concurrent execution is the chronological behavior of the N-client 1-server model where no more than one client is served at a given moment. It has dual nature; it is serial in a small time scale, however concurrent in a large time scale. In our situation, a processor works as server and thread or process works as client. Examples of simultaneous languages comprise Modula-2, concurrent Pascal, Adam and concurrent PROLOG). 

Concurrent execution is linked with the N-client N-server model. It permits the servicing of more than one client simultaneously as number of servers are more than one.

Illustrations of parallel languages comprise strand-88, Parallel C and Occam-2.

Parallel execution doesn't require explicit concurrency in the language. Parallelism may be achieved by underlying hardware. In the same way, we can have concurrency in a language not including parallel execution. That's the case when a program is executed on a single processor.


Related Discussions:- Explain the concept of concurrent and parallel execution

Differentiate between programming tools and authoring tools, Diffrentiate p...

Diffrentiate programming tools and authoring tools Distinction between programming tools and authoring tools is not at first obvious. Though, authoring tools require less techn

Linear array-various interconnection networks-fully connecte, Linear Array ...

Linear Array This is a mainly fundamental interconnection pattern.  In this processors are linked in a linear one-dimensional array. The intial and last processors are linked w

Summary of tasks, Summary of Tasks Task Summary attempts to show amoun...

Summary of Tasks Task Summary attempts to show amount of duration every task has spent starting from beginning of task until its completion on any processor as displayed in Fi

Mac is the abbreviation for which type of control, MAC is the abbreviation ...

MAC is the abbreviation for: (A) Multimedia access control (B) Media access control (C) Mobile access control       (D) Master access point control Ans: MAC is th

Stack operation and interrupts in microprocessor, Let us review the operati...

Let us review the operation of the stack within the 68HC11, the stack is a defined area of RAM which is last in first out register (LIFO) . Access to the stack is made via a stack

What are simm and dimm, What are SIMM and DIMM? SIMM are Single In-Line...

What are SIMM and DIMM? SIMM are Single In-Line Memory Module. DIMM is Dual In-Line Memory Modules. Such modules are an assembly of various memory chips on a separate small boa

Disadvantages of asynchronous and synchronous reset, What are disadvantages...

What are disadvantages of the asynchronous reset and synchronous reset? Disadvantages of asynchronous reset: Make sure that the release of the reset can arise within one c

Determine the bandwidth required for transmission, A PCM system uses 8 bits...

A PCM system uses 8 bits per sample and the analog signal is limited to 4.3 kHz. The PCM data is transmitted using (a) BFSK and (b) ASK. Determine the bandwidth required for transm

What is a good resolution, Q. What is a good resolution? In fact it rel...

Q. What is a good resolution? In fact it relies on your hardware. Hence it's the maximum your hardware can allow you.  But one odd-looking resolution that has become popular is

Explain bitwise operator, Bitwise Operators Like  other  operators  bit...

Bitwise Operators Like  other  operators  bitwise  operators  have  rules  of  precedence  and  associativity  that determine how expressions involved them are evaluated.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd