diff options
author | Fabricio Voznika <fvoznika@google.com> | 2019-03-13 15:24:09 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-03-13 15:25:13 -0700 |
commit | 70d06134442843cd4355590c4155ee6594558c00 (patch) | |
tree | cdb69870a4dca022f131128610219230fd96b64f /pkg/tcpip/transport/udp | |
parent | dfbd3c6e4a15cf0c9488b2eb01899790407b164d (diff) |
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
Diffstat (limited to 'pkg/tcpip/transport/udp')
0 files changed, 0 insertions, 0 deletions