Dell - Internal Use - Confidential Hello, Background: We are trying to introduce clustering to our embedded environment Our environment includes following packages and modules for the initial test: 1. Pacemaker - version 1.1.10 2. Corosync - version 2.3.4 3. Corosync.conf file find it attached to this email thread 4. 2 Nodes in the cluster (master and slave) 5. Test app1 that publishes some sensor data (only Master node publishes, slave node just receives the data) 6. Test app2 that receives the published data and outputs on the screen (only master node outputs the data on the screen) Our test has been successful and we are able to create a cluster with 2 nodes and everything seems to be working fine. However, we are observed that corosync is consuming about 100MB of RAM when both the test applications are alive. 100M is a lot memory… Problem: We would like to know if there are any configuration settings or tuning that we need to perform to reduce the memory usage. It is very critical to reduce the memory consumption as we are running it in embedded environment. We have talked with the pacemaker mailing list. We have tried 1. Reduce the PCMK_ipc_buffer 2. Change the PCMK_ipc_buffer from shared memory to socket memory. The memory for corosync is still consuming 100MB. More data below…. Data:
Df /dev/shm with the PCMK_ipc_type set to socket printed the following. Filesystem 1K-blocks Used Available Use% Mounted on tmpfs 124812 33492 91320 27% /dev/shm The IPC portion is using about 27% of the memory aka 33.5m. Thanks, |
_______________________________________________ discuss mailing list discuss@xxxxxxxxxxxx http://lists.corosync.org/mailman/listinfo/discuss