which is best among pipes, queues, shared memory and why?
Answers were Sorted based on User's Feedback
Answer / shankar
pipelining is the best with a simple reason that the
deadlock situation and starvation occurence are the least
and all the process are fetched and executed simulataneosly
thus decreasing the memory allocation time.....
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / chetan
shared memory is best because of
-kernal persistancy
-No destructive reading
-just single pointer is enough to do read and write operation
-No size limit for data
-No need worry about broken pipe,blocking,msg structure(msg
que).
-simple to work out,no extra things to keep in mind other
than freeing it by last process.
Is This Answer Correct ? | 0 Yes | 0 No |
What are real-time systems?
How do I know if my cpu is overheating?
What does echo $$ do?
What are types of operating system?
Explain latency, transfer and seek time with respect to disk i/o.?
Throw some light on internal process memory.
What advantage is there in having different time-quantum sizes on different levels of a multilevel queuing system?
What is the 4 layer model?
Which one you will use to implement critical section?
What is cache-coherency?
What is page cannibalizing?
How does operating system kernel work?