Re: Node gets more FEC blocks than needed

Matthew Toseland <toad-EI5O+8PHWbJeeLb3ft/[email protected]>
Newsgroups gmane.network.freenet.technical
Message-ID <[email protected]>
On Sat, Jan 06, 2007 at 12:56:13PM +0100, Florent Daignière (NextGen$) wrote:
> * Milan Holzäpfel <[email protected]> [2007-01-06 08:56:46]:
> 
> > On Thu, 4 Jan 2007 16:03:22 +0100
> > Florent Daignière (NextGen$) <[email protected]> wrote:
> > 
> > > * bbackde-gM/[email protected] <bbackde-gM/[email protected]> [2007-01-04
> > > 15:48:09]:
> > >
> > > > [...]
> > > >
> > > > But the current behavior often leads to downloads that have more
> > > > than 100% progress *g*
> > >
> > > Is it *that* important to have an accurate progress bar ? some blocks
> > > can take *ages* to be retrived whereas some will come up
> > > instantaneously... Imho we can't provide a reliable
> > > percentage/ETA/whatever for small files even if we had detailled stats
> > > on what's going on.
> > 
> > That's probably very true, but I always wonder whether > 100% means
> > that there is a bug in fproxy / freenet and it will never finish
> > because it didn't notice that it was finished already or something.
> 
> It's not a bug.
> 
> > It's probably a bad idea to say that the download is > 100%, from a
> > user point of view.
> 
> Well, it won't say such a thing if you aren't running the
> "AdvancedDarknetMode" :)
> 
> See how it's implemented on
> http://emu.freenetproject.org/cgi-bin/viewcvs.cgi/trunk/freenet/src/freenet/clients/http/QueueToadlet.java?rev=11427&view=markup
> 
> look for "private HTMLNode createProgressCell(" ...
> 
> Depending on if advanced mode is on or off, we consider that the total
> amount of blocks is either the "required" or the "total number of
> inserted blocks".
> 
> Both approaches do have problems :
>  in non advanced mode, a download can finish at 2/3
>  in avanced mode a download can finish (worst case assuming it finishes) at 3/2 !

That's bizarre. I don't see why we shouldn't use # required in both
cases. Having said that we may want to put some logic in to not count
blocks which are unnecessary (within a given segment) towards the
overall total?
> 
> ATM it's up to FCP client authors to choose one of the above "strategy"
> to show the progress.
> 
> > 
> > That an ETA will not be that reliable is a different topic if you ask me.
> 
> it's related :)
> 
> > 
> > > Btw, haven't you ever experienced the same "bug" on the queue toadlet
> > > on fproxy ?
> > > [...]
> > 
> > One of my downloads on fproxy's queue page says it's at 101.2%.  I
> > think that this is this bug?
> 
> Yes, that one :) As said previously it's not a bug :) but actually a
> feature.
> 
> > 
> > Regards,
> > Milan



> _______________________________________________
> Tech mailing list
> [email protected]
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/tech

_______________________________________________
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)

iD8DBQFFq8InA9rUluQ9pFARAhLpAJ0QaUviMC4LF4eXfoik2p0KM2LskgCfe4V1
L9/h00N487d7CgT2eIYpR6g=
=waaf
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.