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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
|
Return-Path: <pindar.wong@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
[172.17.192.35])
by mail.linuxfoundation.org (Postfix) with ESMTPS id 4C2B21CFC
for <bitcoin-dev@lists.linuxfoundation.org>;
Fri, 9 Oct 2015 22:06:50 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com
[209.85.212.170])
by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 27615251
for <bitcoin-dev@lists.linuxfoundation.org>;
Fri, 9 Oct 2015 22:06:49 +0000 (UTC)
Received: by wicge5 with SMTP id ge5so85908867wic.0
for <bitcoin-dev@lists.linuxfoundation.org>;
Fri, 09 Oct 2015 15:06:47 -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=7BBwhEZ0pmhIkd2wUpuOLQLq0SSVEkFD2z/oRaFpEj4=;
b=Z5zWwsTUM0TS7TqNC8nHDJuWNxhlbFavHEITju46ZpDk4EAXEw1GHN114rVxbTPLmJ
hQ90PPPZJDQZhxFRf1noii1JdpVOeUH2/aGb5GEAxHQJTBnxDIWgjH+tMB1jL/LnVMl+
80bErfTudOFPHrb6pvUIPMyjJpt69v1WEaK4W0yzZ0GAiqKOBhREo9vWdEJ3w+huYSjq
Xv0cSJXBBmFdd/qN8cIJjvd9bY0R0DOJgvJdbsABpTbsBuD8ptkkxYVcG9a+eoLNlUrn
Z4hFDHOcB+aRa6lUF9fHjS25RjpurOew1UFw/cxBO0E9DISvt/Vm6WrPVPckZSNc3jZD
Pgxw==
MIME-Version: 1.0
X-Received: by 10.180.23.67 with SMTP id k3mr1508390wif.78.1444428407491; Fri,
09 Oct 2015 15:06:47 -0700 (PDT)
Received: by 10.194.158.71 with HTTP; Fri, 9 Oct 2015 15:06:47 -0700 (PDT)
In-Reply-To: <CAOVG1oOAUKhzYKfYEd20nXSqy0wcn01cO86oxBRutJJpUj9TjQ@mail.gmail.com>
References: <CAOVG1oNimYpzSnB7NUuugagufbD1JnZmAWsuXhMjq45dEF=w-g@mail.gmail.com>
<E8AC44C1-310F-44AE-AB5E-63064A3DE1BE@gmail.com>
<CAF7tpEyPqMVXBmbNcSKKywo=sstWxca+4h6_-Tp3-5t_vofbWA@mail.gmail.com>
<CAOVG1oOAUKhzYKfYEd20nXSqy0wcn01cO86oxBRutJJpUj9TjQ@mail.gmail.com>
Date: Sat, 10 Oct 2015 06:06:47 +0800
Message-ID: <CAM7BtUohgYcxQ9mixNAP3ja4Et1MOQsOfoXSWfi-pmXNPhridw@mail.gmail.com>
From: Pindar Wong <pindar.wong@gmail.com>
To: Byron Gibson <byron@mirror.co>
Content-Type: multipart/alternative; boundary=e89a8f83a2f721d8a20521b332e8
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 <bitcoin-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] Bitcoin network simulation testing?
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: Fri, 09 Oct 2015 22:06:50 -0000
--e89a8f83a2f721d8a20521b332e8
Content-Type: text/plain; charset=UTF-8
Byron: I'd be interested to collaborate on this in some fashion.
p.
On Sat, Oct 10, 2015 at 1:11 AM, Byron Gibson via bitcoin-dev <
bitcoin-dev@lists.linuxfoundation.org> wrote:
> Thanks Nina and Andrew, I may have the capability to run a simulator large
> scale on many nodes on AWS/GCE, but am looking to optimize the ROI by
> selecting categories of experiments that benefit from a more controlled
> environment, rather than be invalidated by its divergence/s from livenet.
> But wondering if anyone else has already been doing this, would be nice to
> collaborate.
>
> Byron Gibson
> CoS | http://mirrorx.com/
> https://onename.io/bgibson
> https://keybase.io/byrongibson
>
>
> On Oct 6, 2015 14:00, "Andrew Miller" <amiller@cs.umd.edu> wrote:
>
>> Shadow uses virtual time, entirely decoupled from real time. So while it
>> may slow down your machine, this would not affect the stats collected
>>
>> (although it does make shadow somewhat unpleasant to run, unless you have
>> a fast machine, compared to abstract simulators that avoid running the
>> actual Bitcoin code).
>> Hi Byron,
>>
>> I've been using shadow a bit-- I think these simulators are important for
>> testing, but Shadow, at least, certainly seems to have limitations, in some
>> crucial respects. Running shadow w Tor (which is only logical, because
>> many BCT transactions transpire over Tor) is not as 'light' as presented
>> and slows my own box down quite a bit, so the stats can't possibly be
>> accurate... I don't know if this answers any questions or if you've had
>> this experience at all -- perhaps it is negligible on a more powerful
>> machine than my own-- or perhaps there is an adjustment still unaccounted?
>>
>> Regards,
>> Nina K
>>
>> Sent from my iPhone
>>
>> On Oct 4, 2015, at 2:04 PM, Byron Gibson via bitcoin-dev <
>> bitcoin-dev@lists.linuxfoundation.org> wrote:
>>
>> Hi all, is anyone using simulators like Shadow (https://shadow.github.io),
>> BTCSim (https://github.com/btcsuite/btcsim), etc. to test proposed
>> changes to Bitcoin? I have a few questions about their capabilities and
>> limitations.
>>
>> Byron Gibson
>> http://mirror.co/
>> https://keybase.io/byrongibson
>>
>>
>>
>> _______________________________________________
>> bitcoin-dev mailing list
>> bitcoin-dev@lists.linuxfoundation.org
>> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>>
>>
>> _______________________________________________
>> bitcoin-dev mailing list
>> bitcoin-dev@lists.linuxfoundation.org
>> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>>
>>
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>
>
--e89a8f83a2f721d8a20521b332e8
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div>Byron: I'd be interested to collaborate on this i=
n some fashion.<br><br></div>p.<br><br></div><div class=3D"gmail_extra"><br=
><div class=3D"gmail_quote">On Sat, Oct 10, 2015 at 1:11 AM, Byron Gibson v=
ia bitcoin-dev <span dir=3D"ltr"><<a href=3D"mailto:bitcoin-dev@lists.li=
nuxfoundation.org" target=3D"_blank">bitcoin-dev@lists.linuxfoundation.org<=
/a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir=3D"ltr">Than=
ks Nina and Andrew, I may have the capability to run a simulator large scal=
e on many nodes on AWS/GCE, but am looking to optimize the ROI by selecting=
categories of experiments that benefit from a more controlled environment,=
rather than be invalidated by its divergence/s from livenet.=C2=A0 But won=
dering if anyone else has already been doing this, would be nice to collabo=
rate.<br></p>
<p dir=3D"ltr">Byron Gibson<br>
CoS |=C2=A0<a href=3D"http://mirrorx.com/" target=3D"_blank">http://mirrorx=
.com/</a><br>
<a href=3D"https://onename.io/bgibson" target=3D"_blank">https://onename.io=
/bgibson</a><br>
<a href=3D"https://keybase.io/byrongibson" target=3D"_blank">https://keybas=
e.io/byrongibson</a></p><div class=3D"HOEnZb"><div class=3D"h5">
<p dir=3D"ltr">=C2=A0=C2=A0=C2=A0</p>
<div class=3D"gmail_quote">On Oct 6, 2015 14:00, "Andrew Miller" =
<<a href=3D"mailto:amiller@cs.umd.edu" target=3D"_blank">amiller@cs.umd.=
edu</a>> wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quote=
" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><=
p dir=3D"ltr">Shadow uses virtual time, entirely decoupled from real time. =
So while it may slow down your machine, this would not affect the stats col=
lected</p>
<p dir=3D"ltr"> (although it does make shadow somewhat unpleasant to run, u=
nless you have a fast machine,=C2=A0 compared to abstract simulators that a=
void running the actual Bitcoin code).</p>
<div style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
"><div dir=3D"auto"><div>Hi Byron,=C2=A0</div><div><br></div><div>I've =
been using shadow a bit-- I think these simulators are important for testin=
g, but Shadow, at least, certainly seems to have limitations, in some cruci=
al respects.=C2=A0 Running shadow w Tor (which is only logical, because man=
y BCT transactions transpire over Tor) is not as 'light' as present=
ed and slows my own box down quite a bit, so the stats can't possibly b=
e accurate... I don't know if this answers any questions or if you'=
ve had this experience at all -- perhaps it is negligible on a more powerfu=
l machine than my own-- or perhaps there is an adjustment still unaccounted=
?</div><div><br></div><div>Regards,</div><div>Nina K</div><div><br>Sent fro=
m my iPhone</div><div><br>On Oct 4, 2015, at 2:04 PM, Byron Gibson via bitc=
oin-dev <<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=
=3D"_blank">bitcoin-dev@lists.linuxfoundation.org</a>> wrote:<br><br></d=
iv><blockquote type=3D"cite"><div><p dir=3D"ltr">Hi all, is anyone using si=
mulators like Shadow (<a href=3D"https://shadow.github.io" target=3D"_blank=
">https://shadow.github.io</a>), BTCSim (<a href=3D"https://github.com/btcs=
uite/btcsim" target=3D"_blank">https://github.com/btcsuite/btcsim</a>), etc=
. to test proposed changes to Bitcoin?=C2=A0 I have a few questions about t=
heir capabilities and limitations.<br></p>
<p dir=3D"ltr">Byron Gibson<br>
<a href=3D"http://mirror.co/" target=3D"_blank">http://mirror.co/</a><br>
<a href=3D"https://keybase.io/byrongibson" target=3D"_blank">https://keybas=
e.io/byrongibson</a><br></p>
<p dir=3D"ltr">=C2=A0=C2=A0=C2=A0 </p>
</div></blockquote><blockquote type=3D"cite"><div><span>___________________=
____________________________</span><br><span>bitcoin-dev mailing list</span=
><br><span><a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=
=3D"_blank">bitcoin-dev@lists.linuxfoundation.org</a></span><br><span><a hr=
ef=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" targe=
t=3D"_blank">https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev=
</a></span><br></div></blockquote></div><br>_______________________________=
________________<br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank">=
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>
<br></div>
</blockquote></div>
</div></div><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>
<br></blockquote></div><br></div>
--e89a8f83a2f721d8a20521b332e8--
|