[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mldonkey-users] Investigation: No download for some, full download
From: |
Pierre Etchemaite |
Subject: |
Re: [Mldonkey-users] Investigation: No download for some, full downloads for the other |
Date: |
Mon, 23 Dec 2002 01:16:12 +0100 |
Le Sun, 22 Dec 2002 18:36:50 +0100, Fabian Henrici <address@hidden> a
écrit :
> mld seems to stop looking for sources when
> max_sources_per_file is reached but not to start again looking when
> sources go bad and get dropped and source count gets too low again.
What about not filtering server_waiting_queries lists when they're refilled?
After all, they will be filtered when they're dequeued...
That should lower mldonkey "inertia" when searching is needed again. That
may even require less memory because, if I'm not mistaken, lists will be
shared among servers' server_waiting_queries.
Untested patch:
--- donkey/donkeyServers.ml 21 Dec 2002 17:28:43 -0000 1.23
+++ donkey/donkeyServers.ml 23 Dec 2002 00:01:58 -0000
@@ -78,12 +78,7 @@
match s.server_waiting_queries with
[] ->
begin
- List.iter (fun file ->
- if file_state file = FileDownloading &&
- not (file_enough_sources file) then
- s.server_waiting_queries <-
- file :: s.server_waiting_queries
- ) !current_files;
+ s.server_waiting_queries <- !current_files;
if s.server_waiting_queries <> [] then
let nqueries = List.length s.server_waiting_queries in
iter (min n (nqueries - (n_per_round - n)))
- Re: [Mldonkey-users] Investigation: No download for some, full downloads for the other, (continued)
- Re: [Mldonkey-users] Investigation: No download for some, full downloads for the other, Fabian Henrici, 2002/12/22
- Re: [Mldonkey-users] Investigation: No download for some, full downloads for the other, Pierre Etchemaite, 2002/12/22
- Re: [Mldonkey-users] Investigation: No download for some, full downloads for the other, Fabian Henrici, 2002/12/22
- Re: [Mldonkey-users] Investigation: No download for some, full downloads for the other, Roland Arendes, 2002/12/22
- Re: [Mldonkey-users] Investigation: No download for some, full downloads for the other, Fabian Henrici, 2002/12/22
- Re: [Mldonkey-users] Investigation: No download for some, full downloads for the other, Jörg Maisenbacher, 2002/12/22
- Re: [Mldonkey-users] Investigation: No download for some, full downloads for the other, Martin, 2002/12/22
- Re: [Mldonkey-users] Investigation: No download for some, full downloads for the other, Michael Panteleit, 2002/12/22
- [Mldonkey-users] Re: Investigation: No download for some, full downloads for the other, Sven Hartge, 2002/12/22
- Re: [Mldonkey-users] Re: Investigation: No download for some, full downloads for the other, Neil Sedger, 2002/12/22
- Re: [Mldonkey-users] Investigation: No download for some, full downloads for the other,
Pierre Etchemaite <=
- Re: [Mldonkey-users] Investigation: No download for some, full downloads for the other, Fabian Henrici, 2002/12/23
- Re: [Mldonkey-users] Investigation: No download for some, full downloads for the other, Pierre Etchemaite, 2002/12/23
- Re: [Mldonkey-users] Investigation: No download for some, full downloads for the other, Fabian Henrici, 2002/12/23
- Re: [Mldonkey-users] Investigation: No download for some, full downloads for the other, Pierre Etchemaite, 2002/12/23
- Re: [Mldonkey-users] Investigation: No download for some, full downloads for the other, Fabian Henrici, 2002/12/23
- Re: [Mldonkey-users] Investigation: No download for some, full downloads for the other, Christian Lange, 2002/12/23
- Re: [Mldonkey-users] Investigation: No download for some, full downloads for the other, MLdonkey, 2002/12/23
- Re: [Mldonkey-users] Investigation: No download for some, full downloads for the other, Michael Panteleit, 2002/12/23
- Re: [Mldonkey-users] Investigation: No download for some, full downloads for the other, MLdonkey, 2002/12/23
- Re: [Mldonkey-users] Investigation: No download for some, full downloads for the other, Michael Panteleit, 2002/12/23