q show advantages and disadvantages of shared


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

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: q show advantages and disadvantages of shared
Reference No:- TGS0313068

Expected delivery within 24 Hours