summaryrefslogtreecommitdiff
path: root/9c/ff46a5579c6d42bd056085d746f541a4034946
blob: 82d436a188237c57f717019072278e469aa8832e (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
Return-Path: <marcel@jamin.net>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 44DF67AD
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Thu, 23 Jul 2015 19:56:38 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-yk0-f174.google.com (mail-yk0-f174.google.com
	[209.85.160.174])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 9700614F
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Thu, 23 Jul 2015 19:56:37 +0000 (UTC)
Received: by ykay190 with SMTP id y190so2505169yka.3
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Thu, 23 Jul 2015 12:56:37 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=AICfTSUARUEcoire4r/lBVSxyujYg4pmOc1HseWNqg8=;
	b=En1NCpqQQZ5/eolxQspGWBvYCodk6ukEPZhjiZwyZ8ta4vJo+4BY4RqzSaPPLMCa4N
	nblUZeLwBAdqI2Ih1Za8ItEUELfb6iVxnyq/r2AcuKnNcKHJXc7Dt597czQERU3eNceU
	mqbl9BaTt/ZilDTP4tVPMtCrlYO8+nvoRaTAP6I2vOLOOpp5kgXhH37N09KohDG/cZ8Z
	aMNXH2yoWPuZ3mRhGuGb7JAYvqQiD5+0INeQk4Ofh5CHi1Y7L1M003qcMbqUieinGNzB
	4E95Vc5yBB0hjRhfOWONMLhIa1svbfyz52E+Usy0AcLlVwZFIfDbpkulaKqYhnLQgsSy
	7u4Q==
X-Gm-Message-State: ALoCoQn2SrunMEPb7TAsjSkmb4Ndd+UDaJ3qBAzWjj+5NEdAsVyVoyLFLASmDC3TVDXd2CJzxZTs
MIME-Version: 1.0
X-Received: by 10.129.44.136 with SMTP id s130mr10365271yws.80.1437681396874; 
	Thu, 23 Jul 2015 12:56:36 -0700 (PDT)
Received: by 10.13.224.69 with HTTP; Thu, 23 Jul 2015 12:56:36 -0700 (PDT)
In-Reply-To: <25607701-D3ED-4D0D-A5B3-C02B727671BF@petertodd.org>
References: <trinity-c97bc41b-a953-4580-b2d2-ebdda9eb96b2-1437661199263@3capp-mailcom-bs02>
	<25607701-D3ED-4D0D-A5B3-C02B727671BF@petertodd.org>
Date: Thu, 23 Jul 2015 21:56:36 +0200
Message-ID: <CAAUq485RqbNpBa6i34H517Oo4+MHkT683inwU-sMX3Y=vBTwqg@mail.gmail.com>
From: Marcel Jamin <marcel@jamin.net>
To: Peter Todd <pete@petertodd.org>
Content-Type: multipart/alternative; boundary=001a1141e5f2f63297051b904820
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,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: slurms--- via bitcoin-dev <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 19:56:38 -0000

--001a1141e5f2f63297051b904820
Content-Type: text/plain; charset=UTF-8

He measured the upload capacity of the peers by downloading from them, or
am I being dumb? :)


2015-07-23 18:05 GMT+02:00 Peter Todd via bitcoin-dev <
bitcoin-dev@lists.linuxfoundation.org>:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
>
>
> On 23 July 2015 10:19:59 GMT-04:00, slurms--- via bitcoin-dev <
> bitcoin-dev@lists.linuxfoundation.org> wrote:
> >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.
>
> Note how due to bandwidth being generally asymetric your findings are
> probably optimistic - you've measured download capacity. On top of that
> upload is further reduced by the fact that multiple peers at once need to
> be sent blocks for reliability.
>
> Secondly you're measuring a network that isn't under attack - we need
> significant additional margin to resist attack as performance is
> consensus-critical.
>
> -----BEGIN PGP SIGNATURE-----
>
> iQE9BAEBCAAnIBxQZXRlciBUb2RkIDxwZXRlQHBldGVydG9kZC5vcmc+BQJVsRCj
> AAoJEMCF8hzn9Lnc47AIAIQbznavjd2Rbqxeq5a3GLqeYoI4BZIQYqfWky+6OQtq
> yGRKaqPtGuES5y9L0k7efivT385mOl87PWnWMy61xxZ9FJgoS+YHkEx8K4tfgfA2
> yLOKzeFSar2ROCcjHYyPWa2XXjRbNmiLzfNuQyIBArg/Ch9//iXUUM+GG0mChF5k
> nUxLstXgXDNh5H8xkHeLi4lEbt9HFiwcZnT1Tzeo2dvVTujrtyNb/zEhNZScMXDc
> UOlT8rBLxzHlytKdXt1GNKIq0feTRJNbreBh7/EB4nYTT54CItaaVXul0LdHd5/2
> kgKtdbUdeyaRUKrKcvxiuIwclyoOuRQp0DZThsB262o=
> =tBUM
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>

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

<div dir=3D"ltr">He measured the upload capacity of the peers by downloadin=
g from them, or am I being dumb? :)<div><br><div class=3D"gmail_extra"><br>=
<div class=3D"gmail_quote">2015-07-23 18:05 GMT+02:00 Peter Todd via bitcoi=
n-dev <span dir=3D"ltr">&lt;<a href=3D"mailto:bitcoin-dev@lists.linuxfounda=
tion.org" target=3D"_blank">bitcoin-dev@lists.linuxfoundation.org</a>&gt;</=
span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord=
er-left:1px #ccc solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----=
<br>
Hash: SHA256<br>
<span class=3D""><br>
<br>
<br>
On 23 July 2015 10:19:59 GMT-04:00, slurms--- via bitcoin-dev &lt;<a href=
=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.linuxfo=
undation.org</a>&gt; wrote:<br>
&gt;This does not support the theory that the network has the available<br>
&gt;bandwidth for increased block sizes, as in its current state 37% of<br>
&gt;nodes would fail to upload a 20MB block to a single peer in under 20<br=
>
&gt;seconds (referencing a number quoted by Gavin). If the bar for<br>
&gt;suitability is placed at taking only 1% of the block time (6 seconds)<b=
r>
&gt;to upload one block to one peer, then 69% of the network fails for 20MB=
<br>
&gt;blocks. For comparison, only 10% fail this metric for 1MB blocks.<br>
<br>
</span>Note how due to bandwidth being generally asymetric your findings ar=
e probably optimistic - you&#39;ve measured download capacity. On top of th=
at upload is further reduced by the fact that multiple peers at once need t=
o be sent blocks for reliability.<br>
<br>
Secondly you&#39;re measuring a network that isn&#39;t under attack - we ne=
ed significant additional margin to resist attack as performance is consens=
us-critical.<br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
<br>
iQE9BAEBCAAnIBxQZXRlciBUb2RkIDxwZXRlQHBldGVydG9kZC5vcmc+BQJVsRCj<br>
AAoJEMCF8hzn9Lnc47AIAIQbznavjd2Rbqxeq5a3GLqeYoI4BZIQYqfWky+6OQtq<br>
yGRKaqPtGuES5y9L0k7efivT385mOl87PWnWMy61xxZ9FJgoS+YHkEx8K4tfgfA2<br>
yLOKzeFSar2ROCcjHYyPWa2XXjRbNmiLzfNuQyIBArg/Ch9//iXUUM+GG0mChF5k<br>
nUxLstXgXDNh5H8xkHeLi4lEbt9HFiwcZnT1Tzeo2dvVTujrtyNb/zEhNZScMXDc<br>
UOlT8rBLxzHlytKdXt1GNKIq0feTRJNbreBh7/EB4nYTT54CItaaVXul0LdHd5/2<br>
kgKtdbUdeyaRUKrKcvxiuIwclyoOuRQp0DZThsB262o=3D<br>
=3DtBUM<br>
-----END PGP SIGNATURE-----<br>
<div class=3D"HOEnZb"><div class=3D"h5"><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>
</div></div></blockquote></div><br></div></div></div>

--001a1141e5f2f63297051b904820--