From dce4366a77928e9f3831a1082ab4b5070013c159 Mon Sep 17 00:00:00 2001
From: Peter Cai <peter.cai@uwaterloo.ca>
Date: Tue, 14 Feb 2023 14:50:36 -0500
Subject: [PATCH] tunings: Set busy_poll to 16384 for less artifact

When we limit the QPS, a busy_poll value produces latency artifacts at low throughput.
---
 tunings/kernel_polling.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tunings/kernel_polling.sh b/tunings/kernel_polling.sh
index 9da0c0e..5532931 100644
--- a/tunings/kernel_polling.sh
+++ b/tunings/kernel_polling.sh
@@ -3,6 +3,6 @@ if [ ! "$(uname -r)" == "5.15.79-peter" ]; then
     exit 1
 fi
 
-sysctl net.core.busy_poll=128
+sysctl net.core.busy_poll=16384
 # NAPI locality is needed for multi-threaded experiments
 NAPI_LOCALITY=true
-- 
GitLab