aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/openssl/crypto/pem/pem_xaux.c
diff options
context:
space:
mode:
authorDaniil Cherednik <dcherednik@ydb.tech>2025-04-24 13:40:22 +0200
committerGitHub <noreply@github.com>2025-04-24 13:40:22 +0200
commit08dc695276aa3af8fbbf043e4c3daee326dde145 (patch)
treef17eb2f956652504e31784ee4b7d88fb8d223e3d /contrib/libs/openssl/crypto/pem/pem_xaux.c
parenta8ee862526776543f88be3976c41bd914de2b281 (diff)
downloadydb-main.tar.gz
Experimental MSG_ZEROCOPY support (#17181)HEADmain
Co-authored-by: Vlad Kuznetsov <va.kuznecov@physics.msu.ru> Support for MSG_ZEROCOPY feature for XDC stream. Linux has features which allows to perform send in to socket without copy during send call. MSG_ZEROCOPY is a one of possibility to achieve it. To use it we must configure net.core.optmem_max kernel option, default values usually not enought. Also process should have capability to lock memory, so consider settings ulimit -l or IPC_LOCK capability. Note0: MSG_ZEROCOPY causes hiden copy inside kernel when traffic goes between process on the same host. The implementation handle it and disable using MSG_ZEROCOPY for such sessions. Note1: Some processes using PACKET sockets breaks MSG_ZEROCOPY and also causes hidden copy inside kernel. So consider output `ss -0` in case of non succcess. Note2: Hardware must support scatter-gather https://github.com/ydb-platform/ydb/pull/17181#issue-2993455018
Diffstat (limited to 'contrib/libs/openssl/crypto/pem/pem_xaux.c')
0 files changed, 0 insertions, 0 deletions