From 5e2506ce0b281b05590ded6c34036043c203ad8b Mon Sep 17 00:00:00 2001 From: Lucas Manning Date: Wed, 19 Oct 2022 09:45:20 -0700 Subject: [PATCH] Make buffer pooling true by default in runsc. PiperOrigin-RevId: 482229293 --- runsc/config/flags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runsc/config/flags.go b/runsc/config/flags.go index bbab6e51a..2db0a5be8 100644 --- a/runsc/config/flags.go +++ b/runsc/config/flags.go @@ -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.