On Tue, Aug 22, 2006 at 09:40:03PM +0200, David 'Bombe' Roden wrote: > On Tuesday 22 August 2006 21:20, Matthew Toseland wrote: > > > > Couldn't we simply measure the time it takes us to process an > > > incoming packet, i.e. the time spent between receiving of the > > > packet and having sent out the response packet? > > That only measures CPU usage. We want to detect network overload too. > > The time till a packet is ready to be sent is CPU load, the time it > takes till the packet was finally sent measures the network load.
Hmmm. Well generally we don't act on a packet immediately ... on the other hand, the 100ms maximum queue time isn't necessarily a problem. So instead of the time taken for an ack to come back for a packet, we could measure the time taken for us to send an ack for it. Interesting idea, will implement the measurement. > > David -- Matthew J Toseland - toad at amphibian.dyndns.org Freenet Project Official Codemonkey - http://freenetproject.org/ ICTHUS - Nothing is impossible. Our Boss says so. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: <https://emu.freenetproject.org/pipermail/tech/attachments/20060822/5b4db359/attachment.pgp>