Bitcoin network simulation testing?

Bitcoin network simulation testing?
2015-10-06 20:14 ` naama.kates
  
From: Byron Gibson @ 2015-10-04 21:04 UTC (permalink / raw)
  To: bitcoin-dev

[-- Attachment #1: Type: text/plain, Size: 291 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 536 bytes --]

 permalink raw reply	[|nested]
2015-10-04 21:04 [bitcoin-dev] Bitcoin network simulation testing? Byron Gibson

  2015-10-06 21:00   ` Andrew Miller
  
From: naama.kates @ 2015-10-06 20:14 UTC (permalink / raw)
  To: Byron Gibson;  bitcoin-dev

[-- Attachment #1: Type: text/plain, Size: 1260 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 2053 bytes --]

 permalink raw reply	[|nested]
2015-10-06 20:14 ` naama.kates

  2015-10-09 17:11     ` Byron Gibson
  
From: Andrew Miller @ 2015-10-06 21:00 UTC (permalink / raw)
  To: naama.kates;  bitcoin-dev

[-- Attachment #1: Type: text/plain, Size: 1694 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 2913 bytes --]

 permalink raw reply	[|nested]
2015-10-06 21:00   ` Andrew Miller

  2015-10-09 22:06       ` Pindar Wong
  
From: Byron Gibson @ 2015-10-09 17:11 UTC (permalink / raw)
  To: Andrew Miller;  bitcoin-dev

[-- Attachment #1: Type: text/plain, Size: 2324 bytes --]

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
>
>

[-- Attachment #2: Type: text/html, Size: 3860 bytes --]

 permalink raw reply	[|nested]
2015-10-09 17:11     ` Byron Gibson

  
From: Pindar Wong @ 2015-10-09 22:06 UTC ( / )
  To: Byron Gibson;  Bitcoin Dev



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
>
>