>From: Christian Biere <[EMAIL PROTECTED]>
>Date: Fri, 31 Aug 2007 04:36:10 +0200
>
>Lloyd Bryant wrote:
> > When the THEX download is automatically created, and the source for the
> > download requires a push, the download is being created as an "outbound"
> > (trying to connect without the push).
>
> > If I wait until it times out, then use "Force push mode", sometimes I 
>can
> > get the THEX download to work.  This isn't entirely reliable, though.  
>As
> > often as not, when I try this it gives me the "Push sent directly via 
>...",
> > but the download still times out.
>
>I haven't tested it but THEX downloads from sources requiring a PUSH should
>work better now.
>

I did some tests with r14722 - the main problem (THEX downloads not using 
"push" when required) seems to be resolved.

> > What's annoying about this is that it generally results in the primary
> > download stalling,  with that source stuck at "Giving priority to THEX",
> > unless I either manually get the THEX download going, or delete the THEX
> > download and manually restart the main download.
>
>The problem behind this is that "Giving priority..." means the connection 
>is
>cut-off and a new one is established (or at least it's attempted) for
>downloading the THEX data. Although gtk-gnutella handles keep-alive
>connections, it uses them for the same file only. If there are multiple 
>files
>at a single server, it hangs up and creates a new connection for each 
>single
>file. That's quite brain-dead but was not much of a problem before. For
>downloads which require PUSH requests this is more expensive and less 
>reliable.
>

There is still an issue with that "Giving priority to THEX" stall.  Since I 
was testing against a Limewire source (which allow multiple downloads), I 
tried the following:

1.  Initiate the download.  Main download started, THEX download created, 
but stopped with "Max number of downloads from this host"

2.  Changed "Max downloads from a single host" to 2.

3.  The THEX download started (but timed out - different problem, seems to 
be a problem with the particular source I was using).

When the main download completed its first chunk, it stopped with the 
"Giving priority to THEX" message, even though it *should* have been free to 
continue.

So it looks like the "Giving priority to THEX" code pays no attention 
whatsoever to the "Max downloads from a single host" value - if THEX hasn't 
completed when the check is encountered, then the main download stops.

Note: I *have* had some good luck with leaving that value set to 2 - it 
usually gets the THEX download out of the way before that "first chunk" 
situation hits.  And I'm not all that sure that having it set to 1 is really 
all the beneficial to Gnet, as I generally get the same amount of 
*bandwidth* from a given source, regardless of how many downloads that 
bandwidth is split between.

Lloyd B.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
gtk-gnutella-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to