What is shared memory programming, Computer Engineering

Assignment Help:

Q. What is Shared Memory Programming?

We know all processors share a common memory in shared memory model. Every processor can be assigned a separate portion of program stored in memory to execute with data stored in specified locations. Every processor does calculation independently with data assigned to them by controlling program known as the main program. After finishing their calculations all of these processors unite the main program. The main program completes only after all child processes have been finished completely. There are plentiful alternatives to apply these ideas by high level programming. Few of them are:

i)  Employing heavy weight processes.

ii) Employing threads. (E.g. Pthreads).

iii) Using a totally new programming language for parallel programming (E.g. Ada).

iv) Employing library routines with existing sequential programming language.

v) Editing the syntax of an existing sequential programming language to create a parallel programming language (e.g. UPC).

vi) Using an existing sequential programming language supplemented with compiler directives for specifying parallelism (e.g.  OpenMP)

We will take the last alternative. We will also give an introduction to shared programming employing library routines with an existing sequential programming language.


Related Discussions:- What is shared memory programming

What are the blocks of microprocessor based system, What are the blocks of ...

What are the blocks of microprocessor based system 1.  The Memory and I/O System 2.  The DOS Operating System 3.  The Microprocessor

Performance and issues in pipelining-efficiency, Performance and Issues in ...

Performance and Issues in Pipelining Efficiency:  The efficiency of a pipeline can be calculated as the ratio of busy time span to the entire time span including the idle time

Show example of copy command, Q. Show example of COPY command? This COP...

Q. Show example of COPY command? This COPY command copies the REPORT file from the drive C to the disk in drive A. after copying the file in drive A, it will name the new file

Adaptive mechanism in Ais, pls give the list of adaptive mechanism in arti...

pls give the list of adaptive mechanism in artificial immune system

What is the use of system.data.dlinq.dll, System.Data.DLinq.dll gives funct...

System.Data.DLinq.dll gives functionality to work with LINQ to SQL.

Complex micro-controller, The 68Hc11 is actually a complex micro-controller...

The 68Hc11 is actually a complex micro-controller its contains internally RAM, EEPROM, Parallel IO and serial ports, hardware timers and a 8 channel ADC.  The internal structure is

Syntax and semantics for first-order logic , Syntax and Semanticsx and Sema...

Syntax and Semanticsx and Semantics for First-order logic - artificial intelligence: Propositional logic is limited  in its expressiveness: it may just represent true and false

Show synchronous mode for point-to-point message passing, Q. Show Synchrono...

Q. Show Synchronous mode for point-to-point message passing? Synchronous mode: Transmitting can be started whether or not matching receive has been started, but transmitting w

Dhcp, how to set up dhcp

how to set up dhcp

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