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

0 Members and 1 Guest are viewing this topic.

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
Sent some CORE to puppies :)
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
Interesting.  I am just running top through ssh from my VPS, and when I either manually spam transactions or do a flood_network command I see a dramatic increase in the CPU usage of witness_node.  Up to 100% (its a dual core VPS, and I think top just references the core its running on)  Would there be a better way to test it locally, or would it be better to find a way to sync better between multiple users?  IRC, or Mumble?

Whenever I tried to flood_network, I met "Segmentation fault (core dumped)" error. How can you do this command?
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
Interesting.  I am just running top through ssh from my VPS, and when I either manually spam transactions or do a flood_network command I see a dramatic increase in the CPU usage of witness_node.  Up to 100% (its a dual core VPS, and I think top just references the core its running on)  Would there be a better way to test it locally, or would it be better to find a way to sync better between multiple users?  IRC, or Mumble?

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

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
Looks like someone is broadcasting lots of transactions.  Looking good.  Keep it up.

It's me. The network is much stable than previous testnets. Unfortunately I am only able to make 19 tps (93 txs per block)


Edit: How can I make as many transactions as possible?

I think you will need multiple CLI wallets. 

How much cpu usage are you using for your witness node and wallet?

Normally, approximately 3%. (1vCPU, 3.75 GB memory)
With a lot of transactions, it goes up to 50%

If you can try running to witness nodes and verify that only the one that is being used with your wallet is spiking during the flood attempt.   On my side I see almost no CPU usage even when you are flooding.

Yes you're correct. But my VPS's cpu spikes a little bit (from 3% to 30%) when I was spamming from another box.

Edit: I have to repeat my statement. There's no spike.
« Last Edit: September 03, 2015, 04:09:55 am by clayop »
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
My witness node does spike CPU usage when I manually spam transactions or when I flood_network from a different box. 

My witness node is on a VPS, and I am spamming from home.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline bytemaster

Looks like someone is broadcasting lots of transactions.  Looking good.  Keep it up.

It's me. The network is much stable than previous testnets. Unfortunately I am only able to make 19 tps (93 txs per block)


Edit: How can I make as many transactions as possible?

I think you will need multiple CLI wallets. 

How much cpu usage are you using for your witness node and wallet?

Normally, approximately 3%. (1vCPU, 3.75 GB memory)
With a lot of transactions, it goes up to 50%

If you can try running to witness nodes and verify that only the one that is being used with your wallet is spiking during the flood attempt.   On my side I see almost no CPU usage even when you are flooding.
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

Witness Participation:

"participation": 96.09375000000000000

That means 4 of the last 128 slots were missed.
« Last Edit: September 02, 2015, 10:44:15 pm by bytemaster »
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 clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
Looks like someone is broadcasting lots of transactions.  Looking good.  Keep it up.

It's me. The network is much stable than previous testnets. Unfortunately I am only able to make 19 tps (93 txs per block)


Edit: How can I make as many transactions as possible?

I think you will need multiple CLI wallets. 

How much cpu usage are you using for your witness node and wallet?

Normally, approximately 3%. (1vCPU, 3.75 GB memory)
With a lot of transactions, it goes up to 8750%
« Last Edit: September 02, 2015, 10:41:20 pm by clayop »
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline bytemaster

Looks like someone is broadcasting lots of transactions.  Looking good.  Keep it up.

It's me. The network is much stable than previous testnets. Unfortunately I am only able to make 19 tps (93 txs per block)


Edit: How can I make as many transactions as possible?

I think you will need multiple CLI wallets. 

How much cpu usage are you using for your witness node and wallet?
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 clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
Looks like someone is broadcasting lots of transactions.  Looking good.  Keep it up.
My statspage is of by a factor of 5 since i assumed 1sec blocks .. need to pull the date from the blockchain on next update

Can you record last 100 block stats (e.g. block number, witness, number of tx)
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
Looks like someone is broadcasting lots of transactions.  Looking good.  Keep it up.

It's me. The network is much more stable than previous testnets. Unfortunately I am only able to make 19 tps (93 txs per block)


Edit: How can I make as many transactions as possible?
« Last Edit: September 02, 2015, 10:33:12 pm by clayop »
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Looks like someone is broadcasting lots of transactions.  Looking good.  Keep it up.
My statspage is of by a factor of 5 since i assumed 1sec blocks .. need to pull the date from the blockchain on next update

Offline bytemaster

Looks like someone is broadcasting lots of transactions.  Looking good.  Keep it up.
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 spartako

  • Sr. Member
  • ****
  • Posts: 401
    • View Profile
Delegate spartako up and producing blocks:

get_witness spartako
{
  "id": "1.6.4232",
  "witness_account": "1.2.72728"
wallet_account_set_approval spartako

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore

Anyone else getting this when trying to update the submodule

Code: [Select]
fatal: reference is not a tree: 80d967a70d21d26d27ef3a1544a177925b2a7bbe
Unable to checkout '80d967a70d21d26d27ef3a1544a177925b2a7bbe' in submodule path 'libraries/fc'


Sorry about that, I goofed -- I forgot to push a commit to fc.  Try again, it should be good now.
The latest build of graphene is broken again (master branch, commit 00a2d2dac73188e7e265163dfec04c2a523b8e23).
When you submitted new commit to fc, please remember to update graphene as well to refer to correct commit of fc.
Pull request created. https://github.com/cryptonomex/graphene/pull/289
BitShares committee member: abit
BitShares witness: in.abit