fixeria uploaded patch set #2 to this change.

View Change

sctp_{client,server}: set sndbuf/recbuf explicitly

For some reason, Erlang/OTP does overwrite the OS-default
SO_SNDBUF/SO_RCVBUF values even if the respective socket options
are not given to gen_sctp:open/N explicitly. Even worse, the
receive buffer size is set to a very low value (1024), resulting
in major performance issues when dealing with large packets.

Set both sndbuf/recbuf to 65536 explicitly - this is the value
that Erlang/OTP sets for the sndbuf by default. Allow tuning
sndbuf/recbuf via the environment variables.

Change-Id: I66f4a0f6a2441a3c8a4dbd266da8e44a3860b993
Related: SYS#7288
---
M src/osmo_s1gw_sup.erl
1 file changed, 7 insertions(+), 2 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/erlang/osmo-s1gw refs/changes/19/40019/2

To view, visit change 40019. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: erlang/osmo-s1gw
Gerrit-Branch: master
Gerrit-Change-Id: I66f4a0f6a2441a3c8a4dbd266da8e44a3860b993
Gerrit-Change-Number: 40019
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder