Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Bernard Lerring on June 24, 2014, 05:41:46 PM



Title: Controlling bitcoin core bandwidth usage
Post by: Bernard Lerring on June 24, 2014, 05:41:46 PM
OK, so I've learned how to install and use bitcoin-qt, insert bootstrap.dat to get up to date, run a full node and run headless bitcoin core thanks to this forum.

Now that I've got a headless node running I'd like to limit my upload speed, if possible, to keep it below 50Kb/s. My connection is 100Kb/s max and I don't want it interfering with other stuff I'm running, like torrents.

I know I can limit the number of connections (thanks DeathAndTaxes) but this doesn't necessarily mean that my upload isn't being max'ed out.

Is there a command line option to set a maximum up speed?


Title: Re: Controlling bitcoin core bandwidth usage
Post by: gadman2 on June 24, 2014, 06:01:53 PM
You could try netlimiter. I believe you can control the bandwidth of individual applications and monitor them as well with the tool.

http://www.netlimiter.com


Title: Re: Controlling bitcoin core bandwidth usage
Post by: grue on June 24, 2014, 06:20:07 PM
https://www.google.ca/search?q=site%3Abitcointalk.org+limit+OR+control+bitcoin+upload&


Title: Re: Controlling bitcoin core bandwidth usage
Post by: cp1 on June 24, 2014, 06:21:47 PM
What OS?  There are software options, and routers can limit bandwidth as well.


Title: Re: Controlling bitcoin core bandwidth usage
Post by: Bernard Lerring on June 24, 2014, 08:07:43 PM
I'm using the latest Ubuntu.


Title: Re: Controlling bitcoin core bandwidth usage
Post by: dserrano5 on June 24, 2014, 08:18:07 PM
I'm using the latest Ubuntu.

One option is iptables -m limit.


Title: Re: Controlling bitcoin core bandwidth usage
Post by: cp1 on June 24, 2014, 08:22:52 PM
Another option is something like trickle, but I've never really gotten it to work well.


Title: Re: Controlling bitcoin core bandwidth usage
Post by: Bernard Lerring on June 24, 2014, 09:34:06 PM
I've looked at google results and it seems like maxconnections=12 will have to do for now.

I hope an uplimit=x downlimit=x setting is implemented in future.


Title: Re: Controlling bitcoin core bandwidth usage
Post by: Newar on June 25, 2014, 05:35:39 AM

http://linux.die.net/man/8/trickled

Works for me.


Title: Re: Controlling bitcoin core bandwidth usage
Post by: Justin00 on June 30, 2014, 11:44:39 AM
yeah trickled is pretty cool.
what type of router ? quite a few of the routers with newer images have rate limiting features these days.


Title: Re: Controlling bitcoin core bandwidth usage
Post by: Ayers on June 30, 2014, 06:13:44 PM
i was searching for something like that too, i will try it