mirror of
https://github.com/minio/minio.git
synced 2024-12-27 07:35:55 -05:00
91d8bddbd1
sendfile implementation to perform DMA on all platforms Go stdlib already supports sendfile/splice implementations for - Linux - Windows - *BSD - Solaris Along with this change however O_DIRECT for reads() must be removed as well since we need to use sendfile() implementation The main reason to add O_DIRECT for reads was to reduce the chances of page-cache causing OOMs for MinIO, however it would seem that avoiding buffer copies from user-space to kernel space this issue is not a problem anymore. There is no Go based memory allocation required, and neither the page-cache is referenced back to MinIO. This page- cache reference is fully owned by kernel at this point, this essentially should solve the problem of page-cache build up. With this now we also support SG - when NIC supports Scatter/Gather https://en.wikipedia.org/wiki/Gather/scatter_(vector_addressing) |
||
---|---|---|
.. | ||
check_port_linux.go | ||
check_port_others.go | ||
check_port_test.go | ||
close.go | ||
dial_dnscache.go | ||
dial_linux.go | ||
dial_others.go | ||
headers.go | ||
lambda-headers.go | ||
listener_test.go | ||
listener.go | ||
request-recorder.go | ||
response-recorder.go | ||
server_test.go | ||
server.go | ||
transports.go |