Good day!

1) Tell me how to determine the maximum amount of shared memory available to me, what minimum size cell can I create (1 b?) And how many separate shm blocks can I create? Are there any restrictions?

2) What is the maximum number of processes I can create? I understand that system resources are being spent on maintenance, can you say what - if something has a fixed amount? What else and what exactly is spent?

Of course, I can start test programs, but I would like to know how to estimate all these values ​​/ calculate / watch somewhere. I would be very grateful for specific numbers.

Standard hardware, laptop / pc is implied, I use boost :: interprocess, C ++.

0