aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 ... 14 15 [16] 17 18 ... 37

Author Topic: RRM's epic struggle for a better aMule on high-speed connections  (Read 165935 times)

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
RRM's epic struggle for a better aMule on high-speed connections
« Reply #225 on: October 16, 2009, 09:38:23 PM »

What is the number of download slots you are getting? And what speed does each of them have?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #226 on: October 16, 2009, 10:16:03 PM »

Right now thats 244 slots
Their download speed varies greatly; currently from 0 to 150 kbps
It seems to me that the slow downloaders are about
equally represented as the fast downloaders
Sometimes there is somebody who downloads very fast (like 300 kbps to 2 MBps)
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #227 on: October 16, 2009, 10:20:25 PM »

Its hard to keep track of individual speeds
as it changes constantly
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
RRM's epic struggle for a better aMule on high-speed connections
« Reply #228 on: October 16, 2009, 11:14:45 PM »

With slot allocation still at 1k/s ?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #229 on: October 17, 2009, 06:49:16 AM »

yes, because aMule doesnt crash anymore.
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #230 on: October 20, 2009, 12:24:03 PM »

So, how about that queue that is not supposed to be there? (queue=0)
Some downloaders waited for hours (aMule>Uploads>Waited)
How is that possible?
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
RRM's epic struggle for a better aMule on high-speed connections
« Reply #231 on: October 20, 2009, 09:11:12 PM »

I'll have to review the code when I have time for it. You are running a very strange configuration, mind.
My guess is you are allocating unlimited slots, but allocation actually fails because you run out of TCP sockets.
Try to limit upload bandwidth at something matching your bandwidth (with a reserve), and slot allocation so you get, say, 20 upload slots. Let's see what happens then.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #232 on: October 22, 2009, 06:52:12 AM »

This is weird... I just noticed that right now everybody waited for either
1 or 2 seconds. And there is always 1 client waiting in queue,
except when someone gets to the max 10MB, then its temporary (1 or 2 secs)
2 or even 3 clients waiting in queue, and then 1 again.
So, where before it was always 0, with 1 or 2 max temporary (1 or 2 secs)
its now always 1, with 2 or 3 max temporary (1 or 2 secs).
The difference: the maximum waiting time is now 2 secs (instead of hours)

Let me check whether this will last.
After that i will do what you told me.
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #233 on: October 22, 2009, 06:40:05 PM »

Coming home from work, the queue is empty again (clients in queue=o)
and yet the waiting time is still 1 to 2 secs.
So, my hypothesis for this is:
It took some time before the "queue that isnt supposed to be there" (the TCP sockets-queue?)
had dissolved, which seems logical to me, because even when you start
letting everybody in (with limited demand), it will take some time
before there is no (TCP sockets-)queue anymore...

But then again... why did aMule constantly list 1 client in queue this morning?
Does it still make sense to try this?
Quote
Try to limit upload bandwidth at something matching your bandwidth  (with a reserve)
, and slot allocation so you get, say, 20 upload slots. Let's see what happens then.

« Last Edit: October 22, 2009, 07:46:05 PM by RRM »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
RRM's epic struggle for a better aMule on high-speed connections
« Reply #234 on: October 22, 2009, 07:34:47 PM »

Definitely.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #235 on: October 22, 2009, 07:42:53 PM »

OK, i changed my settings:
Max. upload bandtwith: 3000 kbps
max. connections: 20

What happens next (right away) is REALLY weird.
- I suddenly notice downloaders that 'have waited' many hours (even 20 hours!). Most 'have waited' 20 to 45 minutes.
- Clients in queue remains 0, even though that the number of connections decreases gradually (due to new settings)
- The faster clients immediately get re-allocated a new slot once they've downloaded their 10MB
(even though they 'dont have credit') and yet their 'waiting time' has increased by a minute or 2!!!
This is no incident, it happens with almost every 'immediately re-allocated client', though not all... (some go from minutes to 2 secs)
So, now we know how they get that 'waiting time' (while downloading!!!)
....
- In the end (when total clients is actually 20), continuously the same fast downloaders get re-allocated immediately,
as if no other downloaders exist ... (clients in queue is still 0!!!)

Not weird:
- The download speed per client went up drastically (total bandtwith utilized remained the same)
...
....
Going back to my normal setting (no upload limit, no connections limit)
I notice a downloader that has 'waited for 2 days and 2 hours').
« Last Edit: October 22, 2009, 07:46:29 PM by RRM »
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #236 on: October 23, 2009, 06:39:46 PM »

One day later.
Settings: no limits.
Clients in queue is still 0, but 'waiting times' are also mostly still
minutes to hours. About 1/3 has a waiting time of 1 to 3 secs.

All downloaders get slot re-allocation, but:
For some, their 'waiting time' is (upon reallocation) reduced to 1 to 3 secs.
For most, their 'waiting time' is increased with the time that they just spend downloading.
« Last Edit: October 23, 2009, 06:51:06 PM by RRM »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
RRM's epic struggle for a better aMule on high-speed connections
« Reply #237 on: October 25, 2009, 09:59:17 AM »

Maybe I didn't make myself clear...
Leave your "max simultaneous connections" at what they were (500 - or what did you have there?).
Limit your upload to 3000 kB/s if your connection can handle it. (And please notice - kB stands for kilobyte,  kb for kilobit.)
Set your Slot Allocation to 150 kB/s which will result in 20 upload slots.

I'd like to see if aMule performs well with sensible settings.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #238 on: October 26, 2009, 05:19:21 PM »

Thank you. Sorry, i misunderstood.
New settings:
max connections: 2000
upload limit: 3000 kB/s
Slot allocation: 100 kB/s - I tried 150 kB/s, but aMule changes that to 100 kB/s

The number of clients in queue almost immediately goes up (from 0)
to 20, 30, 50 etc.
However, the total upload speed goes drastically down as well.
Somehow, everybody seems to get eliminated step by step,
as the average upload speed doesnt go up; even down...
The latter is because the fastest downloaders (over 100 kB/s) get eliminated first,
as they are done the soonest with their 10MB, and nobody gets reallocated.

Ultimately, they are all gone...
No more downloaders...
So, im changing back my settings, naturally.

I always though that slot allocation means that this is the miminum download speed
for potential downloaders. And nobody starts downloading at a speed of 100 kB/s,
so that naturally, nobody can get over that threshold.
right?
« Last Edit: October 26, 2009, 06:01:01 PM by RRM »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
RRM's epic struggle for a better aMule on high-speed connections
« Reply #239 on: October 26, 2009, 10:37:35 PM »

No more downloaders - but still people on queue ?  ???
How many downloaders were there at maximum?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon
Pages: 1 ... 14 15 [16] 17 18 ... 37