January 2020
Intermediate to advanced
532 pages
13h 31m
English
It is not enough to just change the system limits as shown in the preceding section. The Linux kernel actually uses the /dev/shm device as an in-memory backing store for shared memory. We can find out the size of the device using the regular df command:

At the current state, the /dev/shm device is unused as shown in the preceding. The overall size of the block device is 16 GiB. As an exercise, let's now open a Julia REPL and create SharedArray:

Re-running the df command, we can see that /dev/shm is now used: ...
Read now
Unlock full access