there are many IPC mechanisms available in Linux ? Which one
is best to use and when ?



there are many IPC mechanisms available in Linux ? Which one is best to use and when ?..

Answer / shankar (basav)

Amonog all the available IPCs, Shared Memory is the best
and fastest one. We need to use Shared memory when more
than one proceses wish to communicate each other on a
common read-only memory. It is fast because it does not
involve physical moment of data as the data is shared among
them.

Mutex/Semaphore is the best when a resource(including
memory) is non-shared.

Is This Answer Correct ?    13 Yes 2 No

Post New Answer

More Linux AllOther Interview Questions

commands regarding the adding of users into groups n different options with useradd...?

5 Answers   IBM,


How can i recover the linux system after it was crashed by step by step process..

3 Answers   IBM,


1. User gaves df -h and the system get hanged. why ? 2. what is the hardlink and softlink mount ? 3. why is portmape should be started ? 4. what is nologin option 5. how to restrict users from accessing nfs ? 6. what is the difference between cpio and tar 7. what are the kernel parameters ? how to find out it ? 8. why we use sysctl.conf ? 9. if we gives init1 from multiuser runlevel, will it affect other users who already logged in to the system ? 10. what will be the available space to use after configuering raid5 with 5 disks each having 5gb spce ?

1 Answers   Oracle,


How to build new filesystem ? and what is irig file system?

3 Answers  


Which directory is closer to the top of the file system tree, parent directory or current directory?

3 Answers  


What are the differences between FTP , NFS , SAMBA servers explain separately.

0 Answers  


What is the difference between an argument and an option/switch?

3 Answers   Wipro,


What file should you examine to determine the defined runlevels for your system?

7 Answers  


what are acl permissions..? what is automation of jobs..?

5 Answers   IBM, TCS,


what is the difference between fork and thread ? and parent and child process in fork system call?

3 Answers   Satyam,


How to know what are the packages required for any service? Example: How to know what are the package required for send mail services. using any command it is passable are not?

2 Answers   OnMobile,


what is the difference between NIS and DNS...?

5 Answers   IBM,


Categories