> The bigger problem is that too be effective rate control needs accurate > real time. Linux is doing better at real time, but still providing useful > high speed inter packet spacing is beyond the current capabilities. To get > around this I think most high speed 10G cards provide some form of rate > control > in firmware. > - At present most of the network timing for TCP (and probably other protocols) is in milliseconds for measures such as RTT. We found that when writing DCCP CCID3 that this did not provide enough granularity when you find interpacket interval by taking 1/transmit rate*constant.... As such we put quite a few things in microseconds. If you are serious about writing this have a look at net/dccp files and ccid3 in particular - for example we also put in a whole lot of integer division code in there which you will find useful.
Ian -- Ian McDonald Web: http://wand.net.nz/~iam4 Blog: http://imcdnzl.blogspot.com WAND Network Research Group Department of Computer Science University of Waikato New Zealand - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html