mldonkey-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-users] Re: edonkey network question


From: Sven Hartge
Subject: [Mldonkey-users] Re: edonkey network question
Date: Sat, 27 Sep 2003 15:43:43 +0200
User-agent: tin/1.7.1-20030907 ("Sandray") (UNIX) (Linux/2.4.22-161 (i686))

Dirk <address@hidden> wrote:
> Sven Hartge wrote:
>>" Juan C. Gallardo" <address@hidden> wrote:

>>> So I'm guessing that I can have a setting problem, but MLdonkey has so
>>> many parameter that I don't understand that I don't have idea even what
>>> to show to the list.

>> First of all: Don't _ever_ set max_connections to more than 200.  If
>> you, for example, use 800, mldonkey will open many connections to
>> peers, but because of the high network load, it won't be able to
>> complete a single one, thus leading to very low download speeds.

>> It doesn't matter if you're on a 128_K_bit/s or 622_M_bit/s link, the
>> linux system won't cope with more than about 200 connections.

> AFAIK the sane number of connections depends on how many fd's (file
> descriptors) your system can handle... try looking at
> /proc/sys/fs/file_max.. on my hardware it shows something like "52427"
> which means my system can handle 52427 fd's (or sockets) at the same
> time... you can change that with "echo 1024 >/proc/sys/fs/file-max" or
> so...

The number of FDs is irrelevant (at least on Linux, the number is high
enough. *BSD-Users need to increase the number on their system, as it is
as low as 64 per default), since the network stack just drowns if there
are too many open connections or connection attempts.

If you set this too high, mldonkey tries to open (for example) 1000
connections in a short time and this just overwhelms the network stack,
causing only very few of those connections to succeed, most of them will
be dropped because of timeouts.

I've been experimenting with mldonkey on different lines:

ISDN 64k:       75
ISDN 128k:      100
DSL  512/512:   125
DSL  768/128:   100
DSL  1024/256:  125
E1    2Mbit:    150
E3   34Mbit:    200
and up:         200-250

There was no improvement, download rates even got worse after setting
max_connections higher than 500. (This was with mldonkey 2.5.3 and Linux
2.4.21)

S°

-- 
Erst wenn man eine Person verloren hat, erkennt man ihren wahren Wert.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]