Advantages and disadvantages of shared memory programming, Computer Engineering

Assignment Help:

Q. Show Advantages and Disadvantages of Shared Memory Programming?

Advantages of Shared Memory Programming

  • Data sharing between processes is both rapid and uniform because of the proximity of memory to CPUs
  • Insignificant process communication overhead
  • Global address space offers a user-friendly programming perspective to memory
  • No need to specify explicitly the communication of data between processes
  • More intuitive and easier to learn

Disadvantages

  • Difficult to manage data locality
  • User is responsible for specifying synchronization e.g. locks
  • Not portable
  • Scalability is limited by the number of access pathways to memory

Related Discussions:- Advantages and disadvantages of shared memory programming

Time slice, The Linux Process Scheduler uses time slice to prevent a single...

The Linux Process Scheduler uses time slice to prevent a single process from using the CPU for too long. A time slice specifies how long the process can use the CPU. In our simulat

Explain the term- wire and register, What is the difference between wire an...

What is the difference between wire and reg? Net types: (wire,tri)Physical connection between structural elements. Value assigned by a continuous assignment or a gate output.

Define data path, Define data path. The registers, the ALU, and the int...

Define data path. The registers, the ALU, and the interconnecting bus are collectively referred to as the data path.

Define overflow, Define Overflow.  An overflow is a problem in digital ...

Define Overflow.  An overflow is a problem in digital computer due to the width of registers is finite. A result that contains n+ 1 bit cannot be accommodated in a register wit

Write a short notes on storage classes in c, Write a short notes on storage...

Write a short notes on storage classes in C. Every variable and function in C has two attributes : type and storage class. The four storage classes are automatic, external, reg

Search method for searching a sorted file, The search method for searchi...

The search method for searching a sorted file that needs increased amount of space is The search technique for searching a sorted file that needs increased amount of space

Instruction pipeline, example of branching take place in instructon pipelin...

example of branching take place in instructon pipeline

Explain common sub expression elimination, Explain briefly Common sub ex...

Explain briefly Common sub expression elimination of the commonly used code optimization techniques. Common sub expression elimination: In given expression as "(a+b)-(

What is file scope, Explain File scope File scope: The variables and ...

Explain File scope File scope: The variables and functions with file scope appear outside any block or list of parameters and are accessible from any place in the translation

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