6.12. Memory dump of the process sport

The file mem-dump contains the dump of the meta data of the objects allocated in the memory pool of the optimization service.

6.12.1. The header

The header contains information about the memory available, the amount of memory used, the number of optimized TCP sessions and the state of the optimization service:

Figure 6.84. Header of the mem-dump file

AdmissionControl: Total System Memory = 7971, Current Usage = 4083 (3844 mmap, 236 non-hse \
    g), Slack Memory = 150, Connections = 522, State = 0

Peer Count: Online Peers = 13, Expired Peers = 0

When the current usage is of memory is above a certain value, the optimization service will go into memory based admission control. The values for this can be found in the value for the fields /rbt/sport/admission/config/cutoff_mem and /rbt/sport/admission/config/enable_mem:

Figure 6.85. Memory based admission based control values

[~/sysdump-SH] edwin@t43>grep /rbt/sport/admission/config/.*mem active-brief.txt
/rbt/sport/admission/config/cutoff_mem = 5200 (uint32)
/rbt/sport/admission/config/enable_mem = 5100 (uint32)

So in this case, the current usage is 4083 Mb, well below the cutoff value of 5200 Mb. Therefore there is no memory based admission control.

When the number of current connection usage is above a certain value, the optimization service will go into connection based admission control. The values for this can be found in the value for the fields /rbt/sport/admission/config/cutoff_conn and /rbt/sport/admission/config/enable_conn:

Figure 6.86. Connection based admission based control values

[~/sysdump-SH] edwin@t43>grep /rbt/sport/admission/config/.*conn active-brief.txt
/rbt/sport/admission/config/cutoff_conn = 2550 (uint32)
/rbt/sport/admission/config/enable_conn = 2500 (uint32)

So in the case, the current amount is 522, well below the cutoff value of 2550. Therefore there is no connection based admission control.