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

[Xen-devel] Re: [advices] patch for dynamically changing vif rate via proc file



Hi Jeremy thanks for your answer,

I’m working in network virtualization especially in link virtualization we are trying an approach in which a link is a combination of up/down link speed between two points.

But as we work in virtual environment fixing up/down link speed for each connection is not a good way o enjoy virtualization benefits. So we have as objective to implement an algorithm that decides each link speed according to priority accorded to each network.

We want to change VIF speed instead of doing network shaping because we follow a simple rule in networking, when you don’t need a packet throw it as soon as possible and because in this way we are protocol independent  (major traffic shaping method are for IP one ).

For using proc is the only way I found for the moment to do what I want because I don’t really understand, at least for the moment, the way all this is working.

The best way to do it , I think is to force xen_netif to read credit and usec parameter from xenstore each time it verify tx_credit_exceeded but I didn’t find how to do it (as I say I don’t have a clear vision to all the code)

Thanks again for your answer don’t hesitate to emit any critics if you see any incoherence in this idea.

 

Best regards

 

Ahmed AMAMOU

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