Author Topic: Test Net for Advanced Users  (Read 266782 times)

0 Members and 1 Guest are viewing this topic.

Offline Fox

I have added additional resources to my block producing node(s) in an attempt to meet the peak TPS spam testing. Please continue these tests and I will adjust node resources to match peak demand.
Witness: fox

Offline Stan

  • Hero Member
  • *****
  • Posts: 2908
  • You need to think BIGGER, Pinky...
    • View Profile
    • Cryptonomex
  • BitShares: Stan
The 3 second blocks going to be the standard or is there a planned change later with a hard fork?

No hard fork needed.  Speed is an adjustable parameter as networking code is optimized over the next few months. 
Expectation is to ramp up to 1 second blocks in 2 or 3 steps if shareholders approve.
« Last Edit: September 28, 2015, 02:13:10 pm by Stan »
Anything said on these forums does not constitute an intent to create a legal obligation or contract of any kind.   These are merely my opinions which I reserve the right to change at any time.

Offline spartako

  • Sr. Member
  • ****
  • Posts: 401
    • View Profile
Any chance that we could get an estimate of the number of broadcast transactions that expire before being included in the blockchain?

I just tried to send 1500 tx  (at 500 per block) and I got 235 tx in blockchain so 15.6% included:
Code: [Select]
268186 '1.6.4' 'init3' 15
268185 '1.6.11' 'init10' 9
268184 '1.6.1527' 'dele-puppy' 5
268183 '1.6.2' 'init1' 82
268182 '1.6.2104' 'fox' 7
268181 '1.6.3' 'init2' 1
268180 '1.6.5252' 'betaxtrade' 53
268179 '1.6.7' 'init6' 0
268178 '1.6.1' 'init0' 52
268177 '1.6.9' 'init8' 11

Spamming a 300 tx/block I obtained: 441/600  (73.5%)
Code: [Select]
268326 '1.6.1' 'init0' 67
268325 '1.6.1531' 'delegate-1.lafona' 52
268324 '1.6.11' 'init10' 11
268323 '1.6.1531' 'delegate-1.lafona' 32
268322 '1.6.12' 'init11' 3
268321 '1.6.3356' 'mr.agsexplorer' 51
268320 '1.6.3360' 'mrs.agsexplorer' 119
268319 '1.6.4949' 'xeldal' 65


Spamming at 200 tx /block I lost no transactions 600/600 (100%)
Code: [Select]
268375 '1.6.3360' 'mrs.agsexplorer' 110
268374 '1.6.11' 'init10' 3
268373 '1.6.3356' 'mr.agsexplorer' 201
268372 '1.6.6' 'init5' 36
268371 '1.6.1569' 'delegate.baozi' 5
268370 '1.6.3184' 'maqifrnswa' 75
268369 '1.6.7' 'init6' 0
268368 '1.6.3968' 'riverhead' 121
268367 '1.6.5' 'init4' 24
268366 '1.6.4' 'init3' 10
268365 '1.6.5252' 'betaxtrade' 15
wallet_account_set_approval spartako

Offline BunkerChainLabs-DataSecurityNode

+-+-+-+-+-+-+-+-+-+-+
www.Peerplays.com | Decentralized Gaming Built with Graphene - Now with BookiePro and Sweeps!
+-+-+-+-+-+-+-+-+-+-+

Offline bytemaster

Any chance that we could get an estimate of the number of broadcast transactions that expire before being included in the blockchain?
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline bytemaster



wow....

This is a clear indication that the network isn't efficiently propagating transactions.
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline lakerta06

Test is done

Duration: 30 min
Total Transactions: approximately 40,000 txs
Max TPS: 435.7 (block #262215)

Participation rate before testing: 97%
Participation rate after testing: 79%

Assuming similar delegate configuration at launch, cost of  getting 1/5 of delegates down is ~5.2k $

I spent 100k CORE. (But will withdraw 75k of them as a vesting)
AFAIK cost per transaction will be 20 BTS at the beginning. So in the real network, transaction cost will be 20 x 40k = 800k BTS

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
The 3 second blocks going to be the standard or is there a planned change later with a hard fork?
3 secs initially .. then reducing it if shareholders approve

Offline spartako

  • Sr. Member
  • ****
  • Posts: 401
    • View Profile


wow....

You can see the two spikes is my delegate spartako producing blocks, in the second "storm" my delegate started to miss blocks and so no spikes.
wallet_account_set_approval spartako

Offline CalabiYau


Offline spartako

  • Sr. Member
  • ****
  • Posts: 401
    • View Profile
I tried to spam the network using my delegate spartako as witness to broadcast txs, I obtain a good result with a single machine:

https://graphene.bitshares.org/#/block/264951
tx: 876
tx/s: 292

But when I try to push more, my delegate start to miss blocks....
wallet_account_set_approval spartako

Offline Fernandez

  • Newbie
  • *
  • Posts: 11
    • View Profile
The 3 second blocks going to be the standard or is there a planned change later with a hard fork?

Offline CalabiYau

Code: [Select]
15:48 from network with latency of 320 ms from init2
951317ms th_a       application.cpp:388           handle_block         ] Got block #248796 with time 2015-09-27T19:15:51 from network with latency of 318 ms from init3
954311ms th_a       application.cpp:388           handle_block         ] Got block #248797 with time 2015-09-27T19:15:54 from network with latency of 312 ms from init6
957353ms th_a       application.cpp:388           handle_block         ] Got block #248798 with time 2015-09-27T19:15:57 from network with latency of 354 ms from maqifrnswa
960544ms th_a       application.cpp:388           handle_block         ] Got block #248799 with time 2015-09-27T19:16:00 from network with latency of 546 ms from delegate-dev2.btsnow
960869ms th_a       application.cpp:518           get_item             ] Serving up block #248799
961012ms th_a       application.cpp:432           handle_transaction   ] Got transaction from network
961232ms th_a       application.cpp:432           handle_transaction   ] Got transaction from network
witness_node: /home/calabiyau/graphene/libraries/fc/src/thread/thread_d.hpp:370: bool fc::thread_d::start_next_fiber(bool): Assertion `std::current_exception() == std::exception_ptr()' failed.
Aborted (core dumped)
after running stable for days, witness didn`t survive the storm  :(

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
A word of warning, make sure you sync before you start producing blocks, OR you will miss a huge amount of blocks. ~500 blocks missed whilst syncing. Either that or I got all the blocks missed by everyone ;)

Code: [Select]

  "id": "1.6.5252",
  "witness_account": "1.2.7109",
  "last_aslot": 214677,
  "signing_key": "GPH6saDVJCEaHreyMhp4yumANMyyr73b8cYg3PCyWxrnufop2NwXs",
  "pay_vb": "1.13.50",
  "vote_id": "1:5275",
  "total_votes": "9563612188418",
  "url": "",
  "total_missed": 1379
}
unlocked >>> get_witness betaxtrade
get_witness betaxtrade
{
  "id": "1.6.5252",
  "witness_account": "1.2.7109",
  "last_aslot": 214677,
  "signing_key": "GPH6saDVJCEaHreyMhp4yumANMyyr73b8cYg3PCyWxrnufop2NwXs",
  "pay_vb": "1.13.50",
  "vote_id": "1:5275",
  "total_votes": "9563612188418",
  "url": "",
  "total_missed": 1388
}
unlocked >>> get_witness betaxtrade
get_witness betaxtrade
{
  "id": "1.6.5252",
  "witness_account": "1.2.7109",
  "last_aslot": 214677,
  "signing_key": "GPH6saDVJCEaHreyMhp4yumANMyyr73b8cYg3PCyWxrnufop2NwXs",
  "pay_vb": "1.13.50",
  "vote_id": "1:5275",
  "total_votes": "9563612188418",
  "url": "",
  "total_missed": 1388
}
unlocked >>> get_witness betaxtrade
get_witness betaxtrade
{
  "id": "1.6.5252",
  "witness_account": "1.2.7109",
  "last_aslot": 214677,
  "signing_key": "GPH6saDVJCEaHreyMhp4yumANMyyr73b8cYg3PCyWxrnufop2NwXs",
  "pay_vb": "1.13.50",
  "vote_id": "1:5275",
  "total_votes": "9563612188418",
  "url": "",
  "total_missed": 1397
}
unlocked >>> get_witness betaxtrade
get_witness betaxtrade
{
  "id": "1.6.5252",
  "witness_account": "1.2.7109",
  "last_aslot": 274302,
  "signing_key": "GPH6saDVJCEaHreyMhp4yumANMyyr73b8cYg3PCyWxrnufop2NwXs",
  "pay_vb": "1.13.50",
  "vote_id": "1:5275",
  "total_votes": "9524011927872",
  "url": "",
  "total_missed": 1806
}

https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

clout

  • Guest
Test is done

Duration: 30 min
Total Transactions: approximately 40,000 txs
Max TPS: 435.7 (block #262215)

Participation rate before testing: 94%
Participation rate after testing: 79%

Actually the max tps was 571 from block  262244. And the participation rate during the test was about 50%