summaryrefslogtreecommitdiff
path: root/4b/d26471b6d7afadad9a3983bb2d49d58b12a8bb
blob: 52638996c8dabb46fd60e09269bb17467e484ca3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
Return-Path: <jameson.lopp@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 3B3904A5
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Thu, 23 Jul 2015 15:55:17 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com
	[209.85.212.182])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 350F5F0
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Thu, 23 Jul 2015 15:55:16 +0000 (UTC)
Received: by wibxm9 with SMTP id xm9so156154173wib.1
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Thu, 23 Jul 2015 08:55:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=hK+6/ik6rqUxByAMVjIxYpf0NSYBow9ELn0aFz/UMuI=;
	b=Przkj0MNBmpl03doUbF4tAXdPqSSLH+GN3vVvDhQdi8CLZH0Zp2vTFMV/uOrzallrd
	lqTNXz26A2JAONZxW7KZGtPhNIEvSrmOtZ5QBeersfTq4uphtig+6P+liidZGwNdDnh5
	6gdUhchwOjjjlW6q8pygbIHRyhpnDRCICy4GuFkfs6ugQJq5E0/R+toVQyJJtnhFTWFN
	KO+xakq+tZ1rGnjAHbATan0FHW0+ud0gONlgSJUc3trLOyXDQSAOOTgxo1NkxOsBedkX
	a6BDBv1F6bZB9OK4A3FjrwuzFF7iM/fR9WmMaNw1ocnX+s2yVLdQEzyXnha5gW/W0gO0
	i4Ag==
MIME-Version: 1.0
X-Received: by 10.194.209.167 with SMTP id mn7mr16592169wjc.64.1437666914897; 
	Thu, 23 Jul 2015 08:55:14 -0700 (PDT)
Received: by 10.27.171.138 with HTTP; Thu, 23 Jul 2015 08:55:14 -0700 (PDT)
In-Reply-To: <trinity-c97bc41b-a953-4580-b2d2-ebdda9eb96b2-1437661199263@3capp-mailcom-bs02>
References: <trinity-c97bc41b-a953-4580-b2d2-ebdda9eb96b2-1437661199263@3capp-mailcom-bs02>
Date: Thu, 23 Jul 2015 11:55:14 -0400
Message-ID: <CADL_X_dmeyjR2PJN8oLn8EutVCu8Pn_qsP9ATRCYadx3dh4Erg@mail.gmail.com>
From: Jameson Lopp <jameson.lopp@gmail.com>
To: slurms@gmx.us
Content-Type: multipart/alternative; boundary=047d7b3a8954c4959f051b8ce9b3
X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW
	autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
Cc: bitcoin-dev@lists.linuxfoundation.org
Subject: Re: [bitcoin-dev] Bitcoin Node Speed Test
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Bitcoin Development Discussion <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>,
	<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>,
	<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Jul 2015 15:55:17 -0000

--047d7b3a8954c4959f051b8ce9b3
Content-Type: text/plain; charset=UTF-8

Are you willing to share the code that you used to run the test?

- Jameson

On Thu, Jul 23, 2015 at 10:19 AM, slurms--- via bitcoin-dev <
bitcoin-dev@lists.linuxfoundation.org> wrote:

> On this day, the Bitcoin network was crawled and reachable nodes surveyed
> to find their maximum throughput in order to determine if it can safely
> support a faster block rate. Specifically this is an attempt to prove or
> disprove the common statement that 1MB blocks were only suitable slower
> internet connections in 2009 when Bitcoin launched, and that connection
> speeds have improved to the point of obviously supporting larger blocks.
>
>
> The testing methodology is as follows:
>
>  * Nodes were randomly selected from a peers.dat, 5% of the reachable
> nodes in the network were contacted.
>
>  * A random selection of blocks was downloaded from each peer.
>
>  * There is some bias towards higher connection speeds, very slow
> connections (<30KB/s) timed out in order to run the test at a reasonable
> rate.
>
>  * The connecting node was in Amsterdam with a 1GB NIC.
>
>
> Results:
>
>  * 37% of connected nodes failed to upload blocks faster than 1MB/s.
>
>  * 16% of connected nodes uploaded blocks faster than 10MB/s.
>
>  * Raw data, one line per connected node, kilobytes per second
> http://pastebin.com/raw.php?i=6b4NuiVQ
>
>
> This does not support the theory that the network has the available
> bandwidth for increased block sizes, as in its current state 37% of nodes
> would fail to upload a 20MB block to a single peer in under 20 seconds
> (referencing a number quoted by Gavin). If the bar for suitability is
> placed at taking only 1% of the block time (6 seconds) to upload one block
> to one peer, then 69% of the network fails for 20MB blocks. For comparison,
> only 10% fail this metric for 1MB blocks.
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>

--047d7b3a8954c4959f051b8ce9b3
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Are you willing to share the code that you used to run the=
 test?<div><br></div><div>- Jameson</div></div><div class=3D"gmail_extra"><=
br><div class=3D"gmail_quote">On Thu, Jul 23, 2015 at 10:19 AM, slurms--- v=
ia bitcoin-dev <span dir=3D"ltr">&lt;<a href=3D"mailto:bitcoin-dev@lists.li=
nuxfoundation.org" target=3D"_blank">bitcoin-dev@lists.linuxfoundation.org<=
/a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On this day, the Bi=
tcoin network was crawled and reachable nodes surveyed to find their maximu=
m throughput in order to determine if it can safely support a faster block =
rate. Specifically this is an attempt to prove or disprove the common state=
ment that 1MB blocks were only suitable slower internet connections in 2009=
 when Bitcoin launched, and that connection speeds have improved to the poi=
nt of obviously supporting larger blocks.<br>
<br>
<br>
The testing methodology is as follows:<br>
<br>
=C2=A0* Nodes were randomly selected from a peers.dat, 5% of the reachable =
nodes in the network were contacted.<br>
<br>
=C2=A0* A random selection of blocks was downloaded from each peer.<br>
<br>
=C2=A0* There is some bias towards higher connection speeds, very slow conn=
ections (&lt;30KB/s) timed out in order to run the test at a reasonable rat=
e.<br>
<br>
=C2=A0* The connecting node was in Amsterdam with a 1GB NIC.<br>
<br>
=C2=A0<br>
Results:<br>
<br>
=C2=A0* 37% of connected nodes failed to upload blocks faster than 1MB/s.<b=
r>
<br>
=C2=A0* 16% of connected nodes uploaded blocks faster than 10MB/s.<br>
<br>
=C2=A0* Raw data, one line per connected node, kilobytes per second <a href=
=3D"http://pastebin.com/raw.php?i=3D6b4NuiVQ" rel=3D"noreferrer" target=3D"=
_blank">http://pastebin.com/raw.php?i=3D6b4NuiVQ</a><br>
<br>
<br>
This does not support the theory that the network has the available bandwid=
th for increased block sizes, as in its current state 37% of nodes would fa=
il to upload a 20MB block to a single peer in under 20 seconds (referencing=
 a number quoted by Gavin). If the bar for suitability is placed at taking =
only 1% of the block time (6 seconds) to upload one block to one peer, then=
 69% of the network fails for 20MB blocks. For comparison, only 10% fail th=
is metric for 1MB blocks.<br>
_______________________________________________<br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.=
linuxfoundation.org</a><br>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" =
rel=3D"noreferrer" target=3D"_blank">https://lists.linuxfoundation.org/mail=
man/listinfo/bitcoin-dev</a><br>
</blockquote></div><br></div>

--047d7b3a8954c4959f051b8ce9b3--