Make buffer pooling true by default in runsc.

PiperOrigin-RevId: 482229293
This commit is contained in:
Lucas Manning
2022-10-19 09:49:05 -07:00
committed by gVisor bot
parent c6c38d5c4b
commit 5e2506ce0b
+1 -1
View File
@@ -97,7 +97,7 @@ func RegisterFlags(flagSet *flag.FlagSet) {
flagSet.Bool("rx-checksum-offload", true, "enable RX checksum offload.")
flagSet.Var(queueingDisciplinePtr(QDiscFIFO), "qdisc", "specifies which queueing discipline to apply by default to the non loopback nics used by the sandbox.")
flagSet.Int("num-network-channels", 1, "number of underlying channels(FDs) to use for network link endpoints.")
flagSet.Bool("buffer-pooling", false, "enable allocation of buffers from a shared pool instead of the heap.")
flagSet.Bool("buffer-pooling", true, "enable allocation of buffers from a shared pool instead of the heap.")
flagSet.Bool("EXPERIMENTAL-afxdp", false, "EXPERIMENTAL. Use an AF_XDP socket to receive packets.")
// Test flags, not to be used outside tests, ever.