Pages:
Author

Topic: Bitcoin client upload saturating my DSL connection. (No bandwidth throttling ?) (Read 12751 times)

newbie
Activity: 56
Merit: 0
Bitcoin client downloaded data is too large, it is a hassle.
donator
Activity: 1731
Merit: 1008
Give the drop in number of nodes I think this might be a reason / solution.
legendary
Activity: 1792
Merit: 1008
/dev/null
In linux you can use a tool called "trickle" to limit your bandwidth like this:

Code:
trickle -u50 bitcoind

That will limit its upload to 50kb/s

So useful even now, half year later, I dug this from google. Thanks!

Is there anything equivalent to trickle for cpu usage?
cpulimit Wink
zvs
legendary
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
In linux you can use a tool called "trickle" to limit your bandwidth like this:

Code:
trickle -u50 bitcoind

That will limit its upload to 50kb/s

So useful even now, half year later, I dug this from google. Thanks!

Is there anything equivalent to trickle for cpu usage?
setting affinity?

sr. member
Activity: 280
Merit: 250
In linux you can use a tool called "trickle" to limit your bandwidth like this:

Code:
trickle -u50 bitcoind

That will limit its upload to 50kb/s

So useful even now, half year later, I dug this from google. Thanks!

Is there anything equivalent to trickle for cpu usage?

$ man nice
legendary
Activity: 1106
Merit: 1016
090930
In linux you can use a tool called "trickle" to limit your bandwidth like this:

Code:
trickle -u50 bitcoind

That will limit its upload to 50kb/s

So useful even now, half year later, I dug this from google. Thanks!

Is there anything equivalent to trickle for cpu usage?
legendary
Activity: 1036
Merit: 1000
DARKNETMARKETS.COM
In linux you can use a tool called "trickle" to limit your bandwidth like this:

Code:
trickle -u50 bitcoind

That will limit its upload to 50kb/s

So useful even now, half year later, I dug this from google. Thanks!
zvs
legendary
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
If You are behind NAT then don't open incoming 8333 port (disable UPnP in bitcoin settings) and bitcoin will connect to max of 8 nodes. Just that simple, just that clean!
Thanks all for your numerous "Just that simple" solution.

If you haven't noticed, I'm inquiring about a solution for the general public.

The general public has their bitcoin client behind a NAT without a forwarded port and therefore only 8 connections. Those who know how to open a port know who to limit the bandwidth using an external program.
But it would be neater to have it integrated in the client itself.
The general public should not be using computers at all unless some miracle pills are found that can cure retardation.
Quote
use netlimiter
Net Limiter occupies NDIS driver interface and introduces additional problems.

you can disable/enable the netlimiter drivers at will
legendary
Activity: 1400
Merit: 1005
If You are behind NAT then don't open incoming 8333 port (disable UPnP in bitcoin settings) and bitcoin will connect to max of 8 nodes. Just that simple, just that clean!
Thanks all for your numerous "Just that simple" solution.

If you haven't noticed, I'm inquiring about a solution for the general public.

Can you answer to this guy's problem two post up ?
I've noticed too that bitcoind is saturating my upload speed, and I don't even have port forwarding from my gateway linux machine to the 'internal' linux server where I have bitcoind running.

Seems pretty poor design to not have it in the client already to limit upload bandwidth like bittorrent etc. has done for YEARS.
...
That IS a solution for the general public.  Post 8333 isn't going to be open on the general public's routers, therefore, at max, 8 connections will be made on the general public's computers, limited the upload bandwidth used and solving the "problem".
legendary
Activity: 1512
Merit: 1049
Death to enemies!
If You are behind NAT then don't open incoming 8333 port (disable UPnP in bitcoin settings) and bitcoin will connect to max of 8 nodes. Just that simple, just that clean!
Thanks all for your numerous "Just that simple" solution.

If you haven't noticed, I'm inquiring about a solution for the general public.

The general public has their bitcoin client behind a NAT without a forwarded port and therefore only 8 connections. Those who know how to open a port know who to limit the bandwidth using an external program.
But it would be neater to have it integrated in the client itself.
The general public should not be using computers at all unless some miracle pills are found that can cure retardation.
Quote
use netlimiter
Net Limiter occupies NDIS driver interface and introduces additional problems.
zvs
legendary
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
If You are behind NAT then don't open incoming 8333 port (disable UPnP in bitcoin settings) and bitcoin will connect to max of 8 nodes. Just that simple, just that clean!
Thanks all for your numerous "Just that simple" solution.

If you haven't noticed, I'm inquiring about a solution for the general public.

The general public has their bitcoin client behind a NAT without a forwarded port and therefore only 8 connections. Those who know how to open a port know who to limit the bandwidth using an external program.
But it would be neater to have it integrated in the client itself.
pretty much.

like i said a month or so ago in this thread, i use netlimiter

there are also free utilities that will do the same thing for windows

or you can use the QoS that comes with windows, I believe.. or should at least be on your router/DSL modem/whatever
member
Activity: 85
Merit: 10
If You are behind NAT then don't open incoming 8333 port (disable UPnP in bitcoin settings) and bitcoin will connect to max of 8 nodes. Just that simple, just that clean!
Thanks all for your numerous "Just that simple" solution.

If you haven't noticed, I'm inquiring about a solution for the general public.

The general public has their bitcoin client behind a NAT without a forwarded port and therefore only 8 connections. Those who know how to open a port know who to limit the bandwidth using an external program.
But it would be neater to have it integrated in the client itself.
legendary
Activity: 1512
Merit: 1036
1. Multi-homed machine; Bitcoin has it's own IP address
2. HTB to throttle bandwidth on that interface or configure your gateway to limit it's bandwidth.
legendary
Activity: 980
Merit: 1008
In linux you can use a tool called "trickle" to limit your bandwidth like this:

Code:
trickle -u50 bitcoind

That will limit its upload to 50kb/s
You rock! This is exactly what I need.

EDIT: Looks like trickle only supports dynamically linked executables. Looks like my bitcoin-qt is statically linked:

Code:
rune@rune-desktop:~$ ldd /usr/bin/bitcoind
not a dynamic executable

I'm using the PPA version (0.7.0-precise1). Which version are you using?

In linux you can use a tool called "trickle" to limit your bandwidth like this:

Code:
trickle -u50 bitcoind

That will limit its upload to 50kb/s
Sorry but what about adding a way to set connection limiting setting of bitcoin.conf to the UI ?

This is ridiculously weird.

And NO I am not editing my conf file nor am I going to install Linux for this.

Thanks HeavyMetal for trying to help
Sounds like a useful feature. You should implement it, or put up a bounty for someone to implement it.
donator
Activity: 1731
Merit: 1008
If You are behind NAT then don't open incoming 8333 port (disable UPnP in bitcoin settings) and bitcoin will connect to max of 8 nodes. Just that simple, just that clean!
Thanks all for your numerous "Just that simple" solution.

If you haven't noticed, I'm inquiring about a solution for the general public.

Can you answer to this guy's problem two post up ?
I've noticed too that bitcoind is saturating my upload speed, and I don't even have port forwarding from my gateway linux machine to the 'internal' linux server where I have bitcoind running.

Seems pretty poor design to not have it in the client already to limit upload bandwidth like bittorrent etc. has done for YEARS.
...
legendary
Activity: 1512
Merit: 1049
Death to enemies!
If You are behind NAT then don't open incoming 8333 port (disable UPnP in bitcoin settings) and bitcoin will connect to max of 8 nodes. Just that simple, just that clean!
donator
Activity: 1731
Merit: 1008
There has to been numerous speed limiting algorithm developed for eMule and uTorrent.

Here's more. :
   http://bittorrent.org/beps/bep_0029.html
   http://tools.ietf.org/html/draft-ietf-ledbat-congestion-00

Quote
...μTP eliminates this problem by being better at only using bandwidth when there is no other traffic competing, and automatically slowing or stopping BitTorrent transfers before network connections seize up.
...
It does this by being able to detect congestion on a network based on how long a packet takes to be sent from one peer to the next. If things start to take longer, then μTP adjusts the rate of sending accordingly....
full member
Activity: 163
Merit: 100
Trying 'trickled' and then 'trickle' for the process. More often that not bitcoin will run for a bit and then die. Looking at 'bitcoind getinfo' shows that it has no connections. It seems to try to find connections and then exits. namecoind exits really very quickly.

Anyone else have luck with the 'trickle' traffic shaper?

UpdatE: Also noticed that bitcoind doesn't keep synchronized to the network, even though it shows as having connections, when run via 'trickle'. If I run it normally, it synchronizes just fine.
full member
Activity: 163
Merit: 100
I've noticed too that bitcoind is saturating my upload speed, and I don't even have port forwarding from my gateway linux machine to the 'internal' linux server where I have bitcoind running.

Seems pretty poor design to not have it in the client already to limit upload bandwidth like bittorrent etc. has done for YEARS.

Got to try 'trickle', that might work well.
legendary
Activity: 1512
Merit: 1036
Start with the command line option -maxconnections=X, where X is the largest number of other peers you want to maintain connections with. This won't prevent one of the clients wanting to get the whole blockchain from you, but it will lower the chance.
Pages:
Jump to: