[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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@xxxxxxxxx>
> 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_thread

Thanks for the suggestion.

Best Regards,
-- Dongxiao

> 
>> 
>> Signed-off-by: Dongxiao Xu <dongxiao.xu@xxxxxxxxx>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-devel
>> 
>> 
> 
> -dulloor


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.