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

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


  • To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
  • From: "Ross C Mcilroy" <mcilrorc@xxxxxxxxxxxxx>
  • Date: Fri, 25 Feb 2005 15:45:10 -0000
  • Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 25 Feb 2005 15:59:08 +0000
  • List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
  • Thread-index: AcUaYMSzAq/ZG8HpQz+mKO2SEz7M7gA1BYCAAAYh7AA=
  • Thread-topic: [Xen-devel] Limiting Domains' Network Network Transmit Rate


>Is do_gettimeofday fast enough performance wise for the credit based
>shaping, after all, it's only called when the interface runs out of
credit. >Correct me if I'm wrong, but do_gettimeofday has a higher
accuracy than the >jiffy based timer?

Sorry I was being stupid.  I thought you meant the time stamping didn't
have good accuracy, re-reading your post I realise you meant the timer
scheduling.  

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.


Thanks

Ross


-------------------------------------------------------
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_ide95&alloc_id396&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®.