From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f51.google.com (mail-it0-f51.google.com [209.85.214.51]) by dpdk.org (Postfix) with ESMTP id 66BCDF92F for ; Sat, 25 Mar 2017 19:28:39 +0100 (CET) Received: by mail-it0-f51.google.com with SMTP id y18so18340301itc.1 for ; Sat, 25 Mar 2017 11:28:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yale.edu; s=googleprd; h=mime-version:from:date:message-id:subject:to; bh=Bpko5tIHpnSlfjFNUCx3Muox7wP++lX6GSMUE4EpRbc=; b=gQvis1FO+/iZ2L7b9/V+/7S/kq5KA48EkGISWyySJfek/mR36ImcCc2KRS+ncaRH6S 3AoHJ1GT+dYDrMLmUHYzrov5te8ztZGZ8rkpTxE54UfYvQb8DLkefJfgxsZD4vCTNK83 WRJwwxGQkqXP1GOc7NvB3t6qltUFqNJrqNfwU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Bpko5tIHpnSlfjFNUCx3Muox7wP++lX6GSMUE4EpRbc=; b=uhpMQTYyqZrKCqrRwvGzB+rl65cjuRezwfPUaXqlV/asfDk2u5SsxDDmjYMtUoktE+ d1XdnV9QmB3eSZr5R1RbQZlM7T5oJB7nr0ONccLCszTLAfVEKuEi58uqWnX9dGiJqkFu 3grP8KiMj1QXjsSJq02dKb9iYM8YiXiKMXtaOt9lhR8c29dpJTpTMZm6pmSuQ751OPQK Txwm9KZ/ZpkmCT8TcpOnss88O0TiMpJ1cURbEpgMZSkYA1H3bAIVNtQ62jOuB7C+p6Uz nav69UmARjFv4AJHMiG5/IJHvF9QU1krst945r9+5V6JV1LqQWm8kKMSeDspRg300oyT KhyQ== X-Gm-Message-State: AFeK/H24nW4R+yMquJAG/I4+8vkox4xhiLAtM3wdteSWBdVAEBflgTblseR2/MKn6VpBw/WkfUMXopuoj3LVu8Sq X-Received: by 10.36.155.11 with SMTP id o11mr2971747itd.11.1490466518253; Sat, 25 Mar 2017 11:28:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.29.145 with HTTP; Sat, 25 Mar 2017 11:28:37 -0700 (PDT) From: Yuliang Li Date: Sat, 25 Mar 2017 14:28:37 -0400 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Problem about setting CONFIG_RTE_KNI_PREEMPT_DEFAULT=n X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Mar 2017 18:28:39 -0000 Hi all, I am using KNI. In order to improve the performance of KNI, I adopted the suggestion here : setting CONFIG_RTE_KNI_PREEMPT_DEFAULT=n, which prevents the KNI kernel thread from going to sleep. This works fine if I only use 1 kernel thread. However, if I use 2 kernel threads, when the DPDK app exits, one of the kernel thread cannot exit, so that core is forever gone until I restart my server. Could anyone help me on this? Thanks, -- Yuliang Li PhD student Department of Computer Science Yale University