Tags » Shared Memory

MPI 3.0 Shared Memory Example

The Below content is put on with the assumption that the reader is very well accustomed to MPI Programming.

Shared Memory has always happened with the threads, but now, it seems MPI 3.0 has incorporated the feature along with it’s already existing one-sided communication (another feature, which allows communication among processes with very less overhead, google for more details). 323 more words


Kernel tuning: shared memory

A general guideline for kernel tuning pertaining to shared memory (no core file generation) is as follows,

  • Obtain the total memory from the system
    • mem=$(free|grep Mem|awk ‘{print$2}’)
  • 92 more words

Enabling Shared Memory use with Huge Pages

There are two tunables that are relevant to the use of huge pages with shared memory. The first is the sysctl kernel.shmmax kernel parameter configured permanently in /etc/sysctl.conf or temporarily in /proc/sys/kernel/shmmax. 98 more words


Ways to share memory between processes in C

First of all why we need to share memory among different process?

The answer to this question is very simple whenever a program is loaded into main memory (RAM) it is allocated a certain amount of memory segment to it by operating system and no other process has permission to access that memory segment. 234 more words


How to find a process which is using the ipcs shared memory segment ?

IPC stands for Inter-process Communication.

This technique allows the processes to communicate with each another.

Since each process has its own address space and unique user space, how does the process communicate each other? 344 more words


Is there a reliable, cross-platform (on *nix anyway) way to create a temporary file on another device?

I’m trying to write a test case for some code that should iterates over a filesystem tree, but should stop if a file is on another device. 53 more words