DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Problem about setting CONFIG_RTE_KNI_PREEMPT_DEFAULT=n
@ 2017-03-25 18:28 Yuliang Li
  2017-03-25 18:30 ` Yuliang Li
  0 siblings, 1 reply; 2+ messages in thread
From: Yuliang Li @ 2017-03-25 18:28 UTC (permalink / raw)
  To: users

Hi all,

I am using KNI. In order to improve the performance of KNI, I adopted the
suggestion here <http://dpdk.org/ml/archives/dev/2015-June/018858.html>:
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-users] Problem about setting CONFIG_RTE_KNI_PREEMPT_DEFAULT=n
  2017-03-25 18:28 [dpdk-users] Problem about setting CONFIG_RTE_KNI_PREEMPT_DEFAULT=n Yuliang Li
@ 2017-03-25 18:30 ` Yuliang Li
  0 siblings, 0 replies; 2+ messages in thread
From: Yuliang Li @ 2017-03-25 18:30 UTC (permalink / raw)
  To: users

I am using the kni example app.

On Sat, Mar 25, 2017 at 2:28 PM, Yuliang Li <yuliang.li@yale.edu> wrote:

> Hi all,
>
> I am using KNI. In order to improve the performance of KNI, I adopted the
> suggestion here <http://dpdk.org/ml/archives/dev/2015-June/018858.html>:
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-25 18:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-25 18:28 [dpdk-users] Problem about setting CONFIG_RTE_KNI_PREEMPT_DEFAULT=n Yuliang Li
2017-03-25 18:30 ` Yuliang Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).