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

Re: [Xen-devel] vif processing is unbalance



Thanks. Would you mind sharing your customized irqbalance? I can generate a new version based on your code.


2014-04-21 14:49 GMT-04:00 Wei Liu <wei.liu2@xxxxxxxxxx>:
On Mon, Apr 21, 2014 at 02:45:38PM -0400, xu cong wrote:
> irqbalance does not work for vif IRQ. Manually bind IRQ works, but it is
> not a elegant method. Would you mind telling me which code trigger this IRQ
> to vif-tx/rx? Maybe I can try tuning it. ÂThanks.
>

You probably need to have newer version of irqbalance. I fixed it long
time ago. Not sure if it still works though -- I have not used it for a
long time.

Wei.

>
> 2014-04-21 14:29 GMT-04:00 Wei Liu <wei.liu2@xxxxxxxxxx>:
>
> > On Mon, Apr 21, 2014 at 02:24:48PM -0400, xu cong wrote:
> > > Hi All,
> > >
> > > I found the vif processing are always done on the first vcpu in dom0. I
> > > give dom0 2 vcpus pinned to two dedicated cores respectively. The
> > affinity
> > > of each domU's vif-rx/tx is 3 (/proc/irq/**/smp_affinity is 3). However,
> > > all vif processing are still only done on the vcpu0. This can be observed
> > > by reading top output (%si utilization) and /proc/interrupts. My test bed
> > > is Xen4.2.2, linux 3.12 is used as both dom0 kernel and domU kernel.
> > >
> > > Is there a method to balance the vif processing among all vcpus in dom0?
> > > Thanks
> > >
> >
> > You probably need to either manually bind IRQ to a specific CPU or use
> > irqbalance.
> >
> > > Regards,
> > > Cong
> >

_______________________________________________
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®.