WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] Limiting Domains' Network Network Transmit Rate
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
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
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