summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2020-07-28 16:43:37 +0800
committerluwenpeng <[email protected]>2020-08-21 09:45:30 +0800
commitc82429c9d99a8437d1ce1185268481abd9688a75 (patch)
tree68957bfaf2e295b0055a7f32f6730ec537ca3a4a /conf
parent4d7957e0cc7157f3a2fc50f4b19aea26c4569b63 (diff)
TFE 支持 accept/worker 线程绑定 cpu
Diffstat (limited to 'conf')
-rw-r--r--conf/tfe/tfe.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/tfe/tfe.conf b/conf/tfe/tfe.conf
index d59109a..76b4973 100644
--- a/conf/tfe/tfe.conf
+++ b/conf/tfe/tfe.conf
@@ -3,6 +3,11 @@ nr_worker_threads=1
enable_kni_v1=0
enable_kni_v2=1
disable_coredump=0
+enable_cpu_affinity=0
+# ask for at least (1 + nr_worker_threads) masks
+# the first mask for acceptor thread
+# the others mask for worker thread
+cpu_affinity_mask=1-9,10-12
[kni]
ip=192.168.100.1