Tweaking for high bandwidth I2P router

HowTos, FAQs, Tips & Tricks, & Guides
Post Reply
echelon
Posts: 261
Joined: 10 Feb 2018 13:36

Tweaking for high bandwidth I2P router

Post by echelon »

Hi

Some tweaks to run high profile router:
0. raise bandwidth to limits above 1000 on http://127.0.0.1:7657/config - more than 8000 is useless, inbuilt bloom filter is limited to 8 MB/sec
1. set share percentage to 100%
2. be reachable - open the port shown on http://127.0.0.1:7657/confignet in your firewall and forard that port in UDP and TCP to your I2P router. DO NOT tell that port anyone!
2.a. Do NOT use VPN or Tor on top of I2P - beside is fine
3. raise java heap memory to 512 or 756 MB in wrapper.config
4. raise the number of active files in /etc/security/limits.conf on linux with this line to 8192 or alike:
* hard nofile 8192
5. on <a href="http://127.0.0.1:7657/configadvanced - or in config file ~/.i2p/router.config set these paramters to sane values you like:
i2np.ntcp.maxConnections=4000
i2np.udp.maxConnections=4000
router.maxParticipatingTunnels=15000
6. restart server
Those values are more or less sane. I have higher limits, use only less than one core of my hexcore root server and push roughly 4 MB/sec to the net.

echelon
LarryOfArabia2
Posts: 6
Joined: 25 Mar 2018 05:41

Re: Tweaking for high bandwidth I2P router

Post by LarryOfArabia2 »

Not sure where to ask this question:

How can I determine my up and down speeds w/o asking the isp?
echelon
Posts: 261
Joined: 10 Feb 2018 13:36

Re: Tweaking for high bandwidth I2P router

Post by echelon »

Hi

You can look that value up in the descition of your contract. ISP need to write the line speed into the contract.
But as those are mostly theoretical values, better it is to do some speedtests on those webservices.
As those are really dependant on the location you are, search for 2 or 3 of those services and do run speedtests on those webpages. It will give you a value which is practivally OK for your line.

echelon
LarryOfArabia2
Posts: 6
Joined: 25 Mar 2018 05:41

Re: Tweaking for high bandwidth I2P router

Post by LarryOfArabia2 »

echelon wrote: 25 Mar 2018 11:25 Hi

You can look that value up in the descition of your contract. ISP need to write the line speed into the contract.
But as those are mostly theoretical values, better it is to do some speedtests on those webservices.
As those are really dependant on the location you are, search for 2 or 3 of those services and do run speedtests on those webpages. It will give you a value which is practivally OK for your line.

echelon
Thank you, echelon. I just located the info on my bill. I will also check for speedtest services.
slumlord

Re: Tweaking for high bandwidth I2P router

Post by slumlord »

LarryOfArabia2 wrote: 25 Mar 2018 14:16
echelon wrote: 25 Mar 2018 11:25 Hi

You can look that value up in the descition of your contract. ISP need to write the line speed into the contract.
But as those are mostly theoretical values, better it is to do some speedtests on those webservices.
As those are really dependant on the location you are, search for 2 or 3 of those services and do run speedtests on those webpages. It will give you a value which is practivally OK for your line.

echelon
Thank you, echelon. I just located the info on my bill. I will also check for speedtest services.
As echelon mentioned, your ISP would be able to tell you what plan you are on.
You can run a "real-world" test using websites like https://speedtest.net/ and using tools like speedtest-cli https://github.com/sivel/speedtest-cli

---

Good suggestions in this thread for running a high bandwidth I2P router! Hope to see more high bandwidth I2P nodes :)
spammywindy
Posts: 11
Joined: 02 May 2018 20:00

Re: Tweaking for high bandwidth I2P router

Post by spammywindy »

Will I2P consume more cores of my computer if I rise all of the numbers higher than yours suggestions:

3. raise java heap memory to 512 or 2GB in wrapper.config
4. "this line to 8192 or alike" what if I put it 9000
5. what if I have
i2np.ntcp.maxConnections=8000
i2np.udp.maxConnections=8000
router.maxParticipatingTunnels=30000
echelon wrote: 27 Feb 2018 08:49 Hi

Some tweaks to run high profile router:
0. raise bandwidth to limits above 1000 on http://127.0.0.1:7657/config - more than 8000 is useless, inbuilt bloom filter is limited to 8 MB/sec
1. set share percentage to 100%
2. be reachable - open the port shown on http://127.0.0.1:7657/confignet in your firewall and forard that port in UDP and TCP to your I2P router. DO NOT tell that port anyone!
2.a. Do NOT use VPN or Tor on top of I2P - beside is fine
3. raise java heap memory to 512 or 756 MB in wrapper.config
4. raise the number of active files in /etc/security/limits.conf on linux with this line to 8192 or alike:
* hard nofile 8192
5. on <a href="http://127.0.0.1:7657/configadvanced - or in config file ~/.i2p/router.config set these paramters to sane values you like:
i2np.ntcp.maxConnections=4000
i2np.udp.maxConnections=4000
router.maxParticipatingTunnels=15000
6. restart server
Those values are more or less sane. I have higher limits, use only less than one core of my hexcore root server and push roughly 4 MB/sec to the net.

echelon
abc
Posts: 2
Joined: 22 May 2018 14:59

Re: Tweaking for high bandwidth I2P router

Post by abc »

echelon wrote: 27 Feb 2018 08:49 2.a. Do NOT use VPN or Tor on top of I2P - beside is fine
Hi echelon,

Thank you a lot for the guide. Sorry for asking, but can you please tell why VPN should not be use to connect to i2p?
I read on some sites it is good so ISP does not know you are using i2p. And as extra layer too. Port can be forwarded.

Thank you again.
echelon
Posts: 261
Joined: 10 Feb 2018 13:36

Re: Tweaking for high bandwidth I2P router

Post by echelon »

Hi

There is no trustworthy VPN at all.
You trust all your I2P to a unknow VPN provider which you do not control. Also it adds a not needed hop to your connections.

Sure, this way the ISP does only see a connection to a VPN provider. But thats not better than it´s knowing you do use I2P.
It gains you nothing, except for more uncertain and doubt about the VPN and more latency and configuration issues.

echelon
abc
Posts: 2
Joined: 22 May 2018 14:59

Re: Tweaking for high bandwidth I2P router

Post by abc »

Ok, because I thought it was like Tor on VPN, since the data is encrypted the VPN can do nothing with it. It is a bit confusing, because in this case there is no trust issue. Also did not think about performance hit. Thank you for the answer :-)
Post Reply