answersLogoWhite

0


Best Answer

Interesting question. Most agree that shared memory should be minimized and that you should use IPC rather than shared memory if at all possible. Object Oriented programming suggests that an "Object" have it's own methods and that should be the only way that the data object should be modified. Shared memory tends to bypass that construct. In the current programming environment, shared memory is no longer recommended.

User Avatar

Wiki User

17y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

15y ago

The basic adwantage of shared memory model is that the programming for IPC becomes simple in the sense that we simply write and read to an address pointer available in the our process address space. We need not use system calls like write and read. The updations to the kernel resident shared memory object is done by the kernel asynchronously. It saves lot of time compared to write and read because in write and read lot of switching should take place between user mode to kernel mode vice versa.

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

The disadvantages of shared memory for computer graphics include slower speeds and reduced availability of resources. This is used by the on-board video card in many computers as a way of lowering costs.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are disadvantages of shared memory?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Compare distributed shared memory and centralized shared memory?

yes


What are the disadvantages of memory segmentation in 8086?

disadvantages of memory segmentation


What is centralized shared memory architecture?

MIMD(Multiple Instruction streams, Multiple Data streams) multiprocessors fall into two classes Centralized Shared memory and distributed shared memory Centralized Shared Memory Architecture has at most a few dozen microprocessors chips, that shares a single centralized memory. They have large caches, single memory, with multiple banks. The single memory has a symmetric relation to all the processors and uniform access time from any processor.


Is dedicated video memory still better than a significantly bigger shared video memory Like the Acer AS5530-5041 with 256 dedicated AND 640 shared versus the Acer AS7520-5181 with 1792 shared only?

Yes, dedicated memory is always better then shared (or integrated) edit answer after editing the question: but what is the shared memory option is much bigger than the dedicated option? (See edited question)


What are the advantages of shared momory?

Advantages of shared memory are: 1) Less disk spaceis used because the shared momory code is not included in the executable program. 2) Less momory is used b'coz the shared memory code is only loadedonce.


Can laptop graphics memory be converted to dedicated memory from shared memory of RAM?

dedicated memory is memory which is only connected to the GPU. changing shared memory to dedicated memory would involve rewiring the laptop, which would be far more expensive and far more effort than buying dozens of laptops with dedicated memory.


What does DSM stand for regarding the Internet?

DSM stands for "distributed shared memory". Distributed shared memory is a computer architecture where the memories can be addressed as one address.


Which resource cannot be shared on a network?

keyboard


What memory has the giver not shared with Jonas?

The Giver has not shared the memory of war with Jonas. He keeps this memory hidden because it contains intense pain, suffering, and violence that he believes would be too much for Jonas to handle.


What is memory sharing?

In computer hardware, shared memory refers to a (typically) large block of random access memory that can be accessed by several different central processing units (CPUs) in a multiple-processor computer system. The issue with shared memory systems is that the many CPUs need fast access to memory and will likely cache memory. Whenever one cache is updated with information that may be used by other processors, the change needs to be reflected to the other processors, otherwise the different processors will be working with incoherent data (see cache coherence and memory coherence). Such coherence protocols can when they work well provide extremely high performance access to shared information between multiple processors. On the other hand they can sometimes become overloaded and become a bottleneck to performance. The alternatives to shared memory are distributed memory and distributed shared memory, with another, similar set of issues. See also Non-Uniform Memory Access. In software the term shared memory refers to memory that is accessible by more than one process, where a process is a running instance of a program. In this context, shared memory is used to facilitate inter-process communication.


What is the difference between shared memory and thread?

Shared memory and thread are not compareable since both of them relies to different technologies. A Shared memory is one of the methods to implement interprocess communication or IPC, by which different processes or tasks can access the same memory area, to share data between them. A thread or thread of execution is a mechanism by which a process can be split in to multiple simultaneously running pieces of code.


What is the difference between dedicated and shared graphics?

Some graphics cards have memory on board the card itself. Others rely on the memory chips on the system board for memory , thus sharing memory. Suppose a PC has a specification of 256MB of memory and 64MB shared graphics. The memory available for your operating system and applications will be 192MB. If a PC had the same specifications but the 64MB were dedicated, the 64MB required to run the card would use this memory, leaving the full 256MB for your operating system and applications. In short, shared = compromise, dedicated = better.