mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Resize images in buffer pooling post.
They were too big and didn't align correctly. PiperOrigin-RevId: 483822643
This commit is contained in:
committed by
gVisor bot
parent
2ee38d5b6d
commit
5d42fa08b0
@@ -18,7 +18,7 @@ sandbox networking workloads. In this blog we will show how we crafted a cure
|
||||
for Netstack’s allocation addiction, reducing them by 99%, while also increasing
|
||||
gVisor networking throughput by 30+%.
|
||||
|
||||

|
||||
{:width="100%"}
|
||||
|
||||
## A Waste Management Problem
|
||||
|
||||
@@ -101,7 +101,7 @@ reference-counted structure that’s allocated from a pool and holds data in a
|
||||
byte slice. There are several `Chunk` pools, each of which allocates chunks with
|
||||
different sized byte slices. These sizes start at 64 and double until 64k.
|
||||
|
||||

|
||||
{:width="100%"}
|
||||
|
||||
The design of bufferv2 has a few key advantages over simpler object pooling:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user