gvisor/runsc/boot
Andrei Vagin a046054ba3 gvisor/runsc: enable generic segmentation offload (GSO)
The linux packet socket can handle GSO packets, so we can segment packets to
64K instead of the MTU which is usually 1500.

Here are numbers for the nginx-1m test:
runsc:		579330.01 [Kbytes/sec] received
runsc-gso:	1794121.66 [Kbytes/sec] received
runc:		2122139.06 [Kbytes/sec] received

and for tcp_benchmark:

$ tcp_benchmark  --duration 15   --ideal
[  4]  0.0-15.0 sec  86647 MBytes  48456 Mbits/sec

$ tcp_benchmark --client --duration 15   --ideal
[  4]  0.0-15.0 sec  2173 MBytes  1214 Mbits/sec

$ tcp_benchmark --client --duration 15   --ideal --gso 65536
[  4]  0.0-15.0 sec  19357 MBytes  10825 Mbits/sec

PiperOrigin-RevId: 241072403
Change-Id: I20b03063a1a6649362b43609cbbc9b59be06e6d5
2019-03-29 16:27:38 -07:00
..
filter gvisor/runsc: enable generic segmentation offload (GSO) 2019-03-29 16:27:38 -07:00
BUILD Decouple filemem from platform and move it to pgalloc.MemoryFile. 2019-03-14 08:12:48 -07:00
compat.go Priority-inheritance futex implementation 2019-03-05 23:40:18 -08:00
compat_amd64.go Add unsupported syscall events for get/setsockopt 2018-11-20 14:04:12 -08:00
compat_test.go Add unsupported syscall events for get/setsockopt 2018-11-20 14:04:12 -08:00
config.go gvisor/runsc: enable generic segmentation offload (GSO) 2019-03-29 16:27:38 -07:00
controller.go Decouple filemem from platform and move it to pgalloc.MemoryFile. 2019-03-14 08:12:48 -07:00
debug.go Use correct company name in copyright header 2018-10-19 16:35:11 -07:00
events.go Decouple filemem from platform and move it to pgalloc.MemoryFile. 2019-03-14 08:12:48 -07:00
fds.go Use correct company name in copyright header 2018-10-19 16:35:11 -07:00
fs.go Allow filesystem.Mount to take an optional interface argument. 2019-03-13 19:24:03 -07:00
limits.go Rename limits.MemoryPagesLocked to limits.MemoryLocked. 2018-12-20 13:28:46 -08:00
loader.go Decouple filemem from platform and move it to pgalloc.MemoryFile. 2019-03-14 08:12:48 -07:00
loader_test.go Allow filesystem.Mount to take an optional interface argument. 2019-03-13 19:24:03 -07:00
network.go gvisor/runsc: enable generic segmentation offload (GSO) 2019-03-29 16:27:38 -07:00
strace.go Use correct company name in copyright header 2018-10-19 16:35:11 -07:00