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

Re: [Xen-devel] vif processing is unbalance



Thanks for your suggestion. I am doing research in this area. I hope to send the vif irq to the vcpu running the corresponding vif kernel thread, just like the linux NIC RPS/RFS. Dynamically changing the IRQ affinity in userspace can not provide such a fine granularity IRQ scheduling, because vif kernel threads are floating among vcpus. If you can give me some hints that which functions or codes involving IRQ issuing in netback, I will be very appreciated. Thanks very much.


2014-04-22 4:34 GMT-04:00 Wei Liu <wei.liu2@xxxxxxxxxx>:
On Tue, Apr 22, 2014 at 12:14:48AM -0400, xu cong wrote:
> Got it. Is it possible to send the vif irq to a specified vcpu via
> modifying the source code of netback? Thanks.
>

I think it is possible, but I would not recommend doing that. It would
be better you use userspace program, so that you can have more flexible
strategy.

Wei.

>
> 2014-04-21 16:36 GMT-04:00 Wei Liu <wei.liu2@xxxxxxxxxx>:
>
> > On Mon, Apr 21, 2014 at 03:01:20PM -0400, xu cong wrote:
> > > Thanks. Would you mind sharing your customized irqbalance? I can
> > generate a
> > > new version based on your code.
> > >
> >
> > It's not customized. The fix is in upstream irqbalance. We always work
> > with upstream code.
> >
> > But irqbalance site on Google code is down somehow. I have no idea what
> > happened...
> >
> > Wei.
> >

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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