From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f43.google.com (mail-it0-f43.google.com [209.85.214.43]) by dpdk.org (Postfix) with ESMTP id 5C1A2F92F for ; Sat, 25 Mar 2017 19:30:12 +0100 (CET) Received: by mail-it0-f43.google.com with SMTP id 190so18376861itm.0 for ; Sat, 25 Mar 2017 11:30:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yale.edu; s=googleprd; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=aFqXOj49PZCFs9nkFqZQGNnhFy6BbAMOM/Ust8jWN74=; b=Zoxx5oMvl7jpPLpjXQizNsyO5OPjHZecVDaLu99AzIae2i8wsGITUYXBVZEUxmoLWa 1+FWGOzKGbmsL1jxVtlE6K/z4xsEJhhK4gfzYKATAKEv7WEzeuE4BOBXu17Ede6yUI8/ Hd8I3SR5sQTKaN00i7Uog6m8xySmTirpRcOzk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=aFqXOj49PZCFs9nkFqZQGNnhFy6BbAMOM/Ust8jWN74=; b=TQEkt6rzwK4CkuU3DS3UoRig4oMRT10OSN0p849ewErL2P8CE/lkdT+l4nNQXP8GQ4 0+V+Lzo0XR7wA0rY+OSVc4aj5FaHJgnISdC7mSDZhZv7vPW8Vt3eVp8cYqnofgWYeWEW +Nw/sR4dUZpKdmDW5v5aoWAr/1L7GMu5YZh7V2Gt0wLXJuook1IdlFGYJ4LWhC2Ub0+P xSFFYFAQH/mLDnEAOLjbrDPWHDys3unhBqqOBqQsZy1s0jHebLIVmkp/gU4hLqt/rOPD xaVX4VGaE0VbFFwV+EtclTpaMnuSFDXcCqM5ZCLCTKKVPh1HsInuePsTrJydelAQSs8W uKcw== X-Gm-Message-State: AFeK/H23cTWkZ2Fb82z2ajI6DX+L3kKns2m8CxuJBKsghOSGJPOGizgW1Ez8U2fBL/6ZvY5UpQm7t0dD9dx1mRzg X-Received: by 10.107.158.144 with SMTP id h138mr13672489ioe.212.1490466611692; Sat, 25 Mar 2017 11:30:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.29.145 with HTTP; Sat, 25 Mar 2017 11:30:11 -0700 (PDT) In-Reply-To: References: From: Yuliang Li Date: Sat, 25 Mar 2017 14:30:11 -0400 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [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:30:12 -0000 I am using the kni example app. On Sat, Mar 25, 2017 at 2:28 PM, Yuliang Li wrote: > 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 > -- Yuliang Li PhD student Department of Computer Science Yale University