aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Please allow "Max new connections" lower than 5/5 sec  (Read 3048 times)

blablubb

  • Newbie
  • Karma: 1
  • Offline Offline
  • Posts: 2
Please allow "Max new connections" lower than 5/5 sec
« on: January 07, 2010, 05:43:26 PM »

I recently tracked down packet loss present when aMule was running on my Linux file server/firewall (full PC with Debian, not an appliance). The only parameter that had a real effect was the "maximum number of connections per 5 seconds" under advanced settings. Unfortunately it only goes down to 5, at which setting I still have about 1% loss. Loss with 10 is about 5%. I am pretty sure the loss happens within the cable modem, which may have a not too well done Firmware, but unfortunately I cannot do anything about this.

So while I found a way to reduce loss (all other parameters have basically no effect), there seems to be a lower Limit on this to the effect that you cannot have less than 5 new connections per 5 seconds. Please remove this limit, there is already ample warning on the configuration page in amulegui and I would rather be able to eliminate the loss and have worse performance than better performance but occasional real network issues.
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Please allow "Max new connections" lower than 5/5 sec
« Reply #1 on: January 08, 2010, 08:44:36 AM »

5 connections per five seconds is just one connection each second. Any sane router/modem should be able to handle this, so I don't really see a reason to remove this limitation.

However, you can edit ~/.aMule/amule.conf (only while aMule is not running!), and set MaxConnectionsPerFiveSeconds to any value you want to.
Logged
concordia cum veritate

blablubb

  • Newbie
  • Karma: 1
  • Offline Offline
  • Posts: 2
Re: Please allow "Max new connections" lower than 5/5 sec
« Reply #2 on: January 11, 2010, 09:44:33 PM »

I don't want this low setting for regular production use, but for debugging. If a manual edit can bypass the limit, that is good enough for me.

As it turns out, the cause was not the cable modem, but the cable segment head-end, which was replaced today and the loss is gone now.

Thanks for the info.
Logged