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

Re: [Xen-devel] Limiting Domains' Network Network Transmit Rate




On 25 Feb 2005, at 15:45, Ross C Mcilroy wrote:

What is the best way to get the current time for the credit scheduler?
It seems to me that previously netback used something like time
functions in the hypervisitors time.h/c.  Where were these functions
placed in the Linux kernel, and are they still there?  Is this the best
thing to use, or are there better ways of going about it now?  Please
excuse me if these are daft, I'm new to Kernel hacking and Xen.

Just go with a jiffy-accurate scheduler and expect users to set credit periods suitably large that the imprecision won't much matter. e.g., setting 2Mb credit every second is perhaps quite coarse-grained, but good enough control for most applications I think. If we need better then it can always be added later. Something simple that works is the way to go in the first instance.

 Cheers,
 Keir



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

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