Xu, Dongxiao
2010-May-04 01:52 UTC
[Xen-devel][Pv-ops][PATCH 3/3 v3] Netback: Use Kernel thread to replace the tasklet.
Netback: Use Kernel thread to replace the tasklet. Kernel thread has more control over QoS, and could improve dom0''s userspace responseness. This option is defaultly off currently. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Dulloor
2010-May-04 19:15 UTC
Re: [Xen-devel][Pv-ops][PATCH 3/3 v3] Netback: Use Kernel thread to replace the tasklet.
On Mon, May 3, 2010 at 6:52 PM, Xu, Dongxiao <dongxiao.xu@intel.com> wrote:> Netback: Use Kernel thread to replace the tasklet. > > Kernel thread has more control over QoS, and could improve dom0''s > userspace responseness. This option is defaultly off currently.Why not use just kthreads ? Also, the multiple checks for MODPARM_kthread could be avoided using an inline function : schedule_netback_thread> > Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > >-dulloor _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Xu, Dongxiao
2010-May-05 02:27 UTC
RE: [Xen-devel][Pv-ops][PATCH 3/3 v3] Netback: Use Kernel thread to replace the tasklet.
Dulloor wrote:> On Mon, May 3, 2010 at 6:52 PM, Xu, Dongxiao <dongxiao.xu@intel.com> > wrote: >> Netback: Use Kernel thread to replace the tasklet. >> >> Kernel thread has more control over QoS, and could improve dom0''s >> userspace responseness. This option is defaultly off currently. > > Why not use just kthreads ?Actually according to our previous testing, kthreads will cost more cpu cycle than tasklet under certain workload, due to the frequent context switch. But kthread could achieve more control over QoS. Therefore we offer this option.> > Also, the multiple checks for MODPARM_kthread could be avoided using > an inline function : schedule_netback_threadThanks for the suggestion. Best Regards, -- Dongxiao> >> >> Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel >> >> > > -dulloor_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel