Opened 6 years ago

Last modified 5 years ago

#1261 new defect

i2psnark can starve and block all i2p activity - no load ballancing

Reported by: rfree Owned by: zzz
Priority: major Milestone: 0.9.20
Component: router/general Version: 0.9.12
Keywords: limit, ballance, load, bandwidth Cc:
Parent Tickets: Sensitive: no


This is especially visible for new users, on not strong nodes (e.g. firewalled) and mostly for users who did NOT configured their b/w settings
(but also for users who have slow ISP connection anyway).

The problem is that adding even 1 (and certainly 2,3) torrents can make entire i2p not work (80% of i2p sites did not load) before there is no load balancing.

While load balancing might be more complex subject to implement (e.g. load between i2psnark, http proxy, irc proxy, exploratory tunnels), we could fix it for i2psnark which is important, popular default app.

Proposed solution:
in addition to seeding-torrents-count and seeding-bandwidth limits,
add download-torrents-count and download-limits.

Also add option to set to 50% of router's respective up/down bandwidth (so that it will auto configure when ever router setting is changed).
And default this option to ON.

Proposed UI:

Total uploader limit: [10] peers
Up bandwidth limit: ( ) manual[ ] KBps -or- (*) use [50%] of i2p node bandwidth (recommended, at 50%)

Total downloader limit: [10] peers
Down bandwidth limit: ( ) manual[ ] KBps -or- (*) use [50%] of i2p node bandwidth (recommended, at 50%)

See also your i2p router configuration [here].

I would count this bug as majort defect in fact, because it can easily turn away new users who will add their first torrent(s).


Change History (3)

comment:1 Changed 6 years ago by rfree

Component: unspecifiedapps/i2psnark
Keywords: limit ballance load bandwidth added
Owner: set to zzz

comment:2 Changed 6 years ago by zzz

Component: apps/i2psnarkrouter/general

related: #719 #720

The default now is about 2/3 of router bandwidth.

comment:3 Changed 5 years ago by zzz

Note: See TracTickets for help on using tickets.