occlum/test/client
He Sun e352a190ea Optimize the perf of sendmsg/recvmsg by allocating untrusted buffers directly
It is slow to allocate big buffers using SGX SDK's malloc. Even worse, it
consumes a large amount of precious trusted memory inside enclaves. This
commit avoids using trusted buffers and allocates untrusted buffers for
sendmsg/recvmsg directly via OCall, thus improving the performance of
sendmsg/recvmsg. Note that this optimization does not affect the security of
network data as it has to be sent/received via OCalls.
2020-01-23 06:58:51 +00:00
..
main.c Optimize the perf of sendmsg/recvmsg by allocating untrusted buffers directly 2020-01-23 06:58:51 +00:00
Makefile add test for simple socket syscalls 2019-04-07 11:28:43 +08:00