Re: LIFO simulations
Matthew Toseland <toad-EI5O+8PHWbJeeLb3ft/[email protected]>
| Newsgroups | gmane.network.freenet.technical |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Dec 14, 2006 at 06:35:32PM +0000, Michael Rogers wrote: > toad wrote: > >>> Are you allowing *ALL* requests > >>> to complete before reporting the result? > >> No, I'm taking a slice of the simulation in its steady state and > >> counting the number of messages sent and received in that slice. > > > > If it is actually a steady state - is it? > > It's hard to be sure. FIFO seems likely to reach a steady state quite > quickly because nothing stays in the network for very long, especially > with short queues. But with LIFO I'd imagine it's possible for packets > to sit at the bottom of the queue for a very long time. Which is precisely why LIFO sucks... FIFO has a more or less fixed latency for a given load, it forces requests to wait in line. Whereas LIFO encourages anti-social behaviour such as cancelling and trying again every 10 seconds. So it's not practical - but I'm very surprised that we are getting apparently good results for it. > I'd have to run > a lot of repetitions and check that the first half of the slice wasn't > distinguishable from the second half. > > Cheers, > Michael _______________________________________________ Tech mailing list [email protected] http://emu.freenetproject.org/cgi-bin/mailman/listinfo/tech
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFgad3A9rUluQ9pFARArDpAJ94gcOV99LnpKTBVnLzzfJvplCw4wCdFrRn qKsVqQ6XGRqBkmBCEwfJMRw= =zv84 -----END PGP SIGNATURE-----