gvisor/pkg/tcpip/link
Fabricio Voznika 70d0613444 Reduce PACKET_RX_RING memory usage
Previous memory allocation was excessive (80 MB). Changed
it to use 2 MB instead. There is no drop in perfomance due
to this change:

ab -n 100 -c 10 http://server/latin10m.txt  ==> 10 MB file
80 MB: 178 MB/s
 2 MB: 181 MB/s

PiperOrigin-RevId: 238321594
Change-Id: I1c8aed13cad5d75f4506d2b406b305117055fbe5
2019-03-13 15:25:13 -07:00
..
channel Remove license comments 2019-01-31 11:12:53 -08:00
fdbased Reduce PACKET_RX_RING memory usage 2019-03-13 15:25:13 -07:00
loopback Remove license comments 2019-01-31 11:12:53 -08:00
muxed Adds a WriteRawPacket method to the InjectableLinkEndpoint interface. 2019-02-26 14:58:37 -08:00
rawfile Add support for using PACKET_RX_RING to receive packets. 2019-02-13 14:53:03 -08:00
sharedmem Remove license comments 2019-01-31 11:12:53 -08:00
sniffer Remove license comments 2019-01-31 11:12:53 -08:00
tun Remove license comments 2019-01-31 11:12:53 -08:00
waitable Remove license comments 2019-01-31 11:12:53 -08:00