Re: [Xen-devel] Allow controlling NAPI weight of virtual network interfaces (vif) with sysfs

2015-03-17 Thread Ronald Pina
Thanks Zoli, every time you have given very well detailed answers. I will consider that and will let you know . Best Regards Ronald On Mon, Mar 16, 2015 at 12:49 PM, Zoltan Kiss wrote: > Hi, > > In that case I recommend you to take a look at the debugfs patch already in > there, based on that i

Re: [Xen-devel] Allow controlling NAPI weight of virtual network interfaces (vif) with sysfs

2015-03-13 Thread Ronald Pina
Hi Zoltan Yes , i successfully achieved good results using tc tools, it could do the job and the performance was great. But my primary goal is to make a study about the of performance impact of the weight parameter. It must be noted that Xen use NAPI, and on dom0 every vif is treated in the sam

Re: [Xen-devel] Allow controlling NAPI weight of virtual network interfaces (vif) with sysfs

2015-03-13 Thread Ronald Pina
My main idea was to adapt the the function of static int change_weight(struct net_device *net, unsigned long new_weight) and static ssize_t store_weight(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) which are present on kernel 2.6.21 . In this kernel we can change

Re: [Xen-devel] Allow controlling NAPI weight of virtual network interfaces (vif) with sysfs

2015-03-13 Thread Ronald Pina
back to control napi weight with sysfs is very attractive. Do you have any idea what must be changed to achieve this supplementary control? On Fri, Mar 13, 2015 at 12:30 PM, Wei Liu wrote: > On Fri, Mar 13, 2015 at 12:11:51PM +0100, Ronald Pina wrote: >> Hello >> I am working to

[Xen-devel] Allow controlling NAPI weight of virtual network interfaces (vif) with sysfs

2015-03-13 Thread Ronald Pina
Hello I am working to allow controlling napi weight of virtual interfaces on xen using sysfs. If may i ask, is it achievable since NAPI interface structure in current kernels is managed by the driver? Please, any help or idea is very appreciated. Best Regards _

[Xen-devel] Adjusting patch to support napi weighting fot vif on kernel 3.4.1 using sysfs

2015-03-12 Thread Ronald Pina
Hello I am trying to adjust the of Stephen Hemminger patch ( http://marc.info/?l=linux-netdev&m=111773621018096&w=2 ), suporting napi weight changes for virtual paravirtualized network interfaces like xen vif (since they use napi now) on kernel 3.4.1. The changes are listed below. napi-sysfs/net

Re: [Xen-devel] Request for help, implementing a new network scheduler

2015-02-03 Thread ronald pina
Thanks Ian for your helpful answer, you are right that is on Linux side but to clear my idea , the goal is to prioritize traffic that comes from different guest, for example if guest_1 is used for a voip server than it would be reasonable to schedule first the vif guest_1 before other guests. The

Re: [Xen-devel] Request for help, implementing a new network scheduler

2015-02-03 Thread ronald pina
weighted round robin which can give more scheduling time to a vif that was used by a voip-server guest. I would like to know that which module or function is responsible for scheduling vif on dom0 ? Thanks Ronald On Tue, Feb 3, 2015 at 12:54 PM, Zoltan Kiss wrote: > > > On 03/02/15 00:4

[Xen-devel] Request for help, implementing a new network scheduler

2015-02-02 Thread Ronald PIna
Hi I am working for the msc thesis to improve the performance on network for guest domains that uses real-time services like voip or video streaming servers , i have an idea to implement a network scheduler on network backend, the schedulers may be weighted fair queuing or weighted round robi