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

Dram, DRAM consists of MOSFET's but the technique is to use the drain sourc...

DRAM consists of MOSFET's but the technique is to use the drain source capacitance to hold charge. If charge is present logic '1' is held, no charge logic '0'. As you know capacito

Reading every record , You have a file having sporting goods that are sold ...

You have a file having sporting goods that are sold online. Every item record contains the item id, item name, item description, item category, item price, and the units in stock.

How can i delete a file, The Standard C Library function is removing. (This...

The Standard C Library function is removing. (This is thus one of the few questions in this section for which the answer is not ''It's system-dependent.'') On older, pre-ANSI Unix

Children''s game of rock, Design a game application that plays the children...

Design a game application that plays the children's game of rock, paper, scissors. The user enters a letter indicating a choice. The Math.random method is then used to pick a value

Why we need number systems, Q. Why we need number systems? Number syste...

Q. Why we need number systems? Number system is used to signify information in quantitative form. Some of the general number systems are octal, decimal, hexadecimal and binary.

Illustrate about sharing of structure and behaviour, Illustrate about Shari...

Illustrate about Sharing of Structure and Behaviour  One of the reasons for the popularity of object-oriented techniques is that they promote sharing at different levels. Inher

Invariant of the class, What are the conditions that have to be met for a c...

What are the conditions that have to be met for a condition to be an invariant of the class? Ans) ? The condition should hold at the end of each constructor. ? The conditi

What do you meant by hosts, Q. What do you meant by Hosts? Hosts are in...

Q. What do you meant by Hosts? Hosts are in general, individual machines at a specific location. Resources of a host machine is generally shared and can be utilized by any user

Instruction issue degree, Instruction Issue degree : The major concept in s...

Instruction Issue degree : The major concept in superscalar processing is how many instructions we can issue per cycle. If we issue k number of instructions per cycle in a supersca

Determine the minimum bandwidth of the system, Data is to be transmitted us...

Data is to be transmitted using a modem at 9600 bps. Determine the minimum bandwidth of the system with the following modulation methods (a) FSK (b) ASK. Use the excess bandwidth f

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