Main Menu

Test Net for Advanced Users

Started by bytemaster, August 14, 2015, 10:39:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

puppies

I was seeing average latency times around 1500ms on all three of my nodes during the spam test this morning.  I usually see around 100-300. 
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

sittingduck

Only an issue during spamming


Sent from my iPhone using Tapatalk

clayop

Quote from: bytemaster on September 25, 2015, 10:18:09 PM
I suspect what is happening is the other peers are forgetting about the inventory notification and it is never being rebroadcast so it sits in the local node's cache until it expires.

Is it problematic or natural?
Bitshares Korea - [url="http://www.bitshares.kr"]http://www.bitshares.kr[/url]
Vote for me and see Korean Bitshares community grows
delegate-clayop

spartako

#1223
Quote from: clayop on September 25, 2015, 09:59:46 PM

Can it be an issue or considered just as node performance problem?

Actually I don't know whats going on, if the wallet has problem to broadcast or it try and the transactions are refused by peers...

Meanwile new record: 225.6 tx/sec!:

https://graphene.bitshares.org/#/block/197175

I was able to do it launching 10 cli_wallet pointing to a single witness and flooding 10 tx per block each cli_wallet
wallet_account_set_approval spartako

bytemaster

http://127.0.0.1:8080/#/block/197175  had 660 transactions which is enough to choke the web GUI :) 

Don't try to load that block.




For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
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.

bytemaster

I suspect what is happening is the other peers are forgetting about the inventory notification and it is never being rebroadcast so it sits in the local node's cache until it expires.
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
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.

clayop

Quote from: spartako on September 25, 2015, 08:56:02 PM
Quote from: clayop on September 25, 2015, 07:53:18 PM
Quote from: spartako on September 25, 2015, 02:37:22 PM
Quote from: clayop on September 25, 2015, 02:18:11 PM
155 tps! Good job spartako.

https://graphene.bitshares.org/#/block/187317

Thanks your help spamming with me!  +5%

Btw, my spamming performance is too low; about 10 tps only. Because of I'm using virtual machine in my laptop? is there any tips for well-performed spamming?

I don't know why, probably depend on power of machine, I'm on digital ocean with 16G, 8 core (anyway is a virtual machine).
What I see if I try to push too many transaction I see that transactions are not broadcasted so I start a command like this

node bin/flood.js spartako spartako1 ws://127.0.0.1:8099 400


But after 1000/1200 tx I kill the program (C-c) and usually I have spikes similar when I obtained 155 tps.

If I continue to spam at this rate it seems that transactions are not broadcasted.
The balance goes down and after a while goes up, example:


list_account_balances spartako
725729.97991 CORE

unlocked >>> list_account_balances spartako
list_account_balances spartako
718831.99894 CORE

unlocked >>> list_account_balances spartako
list_account_balances spartako
715724.23278 CORE

unlocked >>> list_account_balances spartako
list_account_balances spartako
710737.10803 CORE

unlocked >>> list_account_balances spartako
list_account_balances spartako
705602.99434 CORE

unlocked >>> list_account_balances spartako
list_account_balances spartako
724512.07155 CORE



Can it be an issue or considered just as node performance problem?
Bitshares Korea - [url="http://www.bitshares.kr"]http://www.bitshares.kr[/url]
Vote for me and see Korean Bitshares community grows
delegate-clayop

Xeldal

witness 'xeldal' is updated to master

spartako

Quote from: clayop on September 25, 2015, 07:53:18 PM
Quote from: spartako on September 25, 2015, 02:37:22 PM
Quote from: clayop on September 25, 2015, 02:18:11 PM
155 tps! Good job spartako.

https://graphene.bitshares.org/#/block/187317

Thanks your help spamming with me!  +5%

Btw, my spamming performance is too low; about 10 tps only. Because of I'm using virtual machine in my laptop? is there any tips for well-performed spamming?

I don't know why, probably depend on power of machine, I'm on digital ocean with 16G, 8 core (anyway is a virtual machine).
What I see if I try to push too many transaction I see that transactions are not broadcasted so I start a command like this

node bin/flood.js spartako spartako1 ws://127.0.0.1:8099 400


But after 1000/1200 tx I kill the program (C-c) and usually I have spikes similar when I obtained 155 tps.

If I continue to spam at this rate it seems that transactions are not broadcasted.
The balance goes down and after a while goes up, example:


list_account_balances spartako
725729.97991 CORE

unlocked >>> list_account_balances spartako
list_account_balances spartako
718831.99894 CORE

unlocked >>> list_account_balances spartako
list_account_balances spartako
715724.23278 CORE

unlocked >>> list_account_balances spartako
list_account_balances spartako
710737.10803 CORE

unlocked >>> list_account_balances spartako
list_account_balances spartako
705602.99434 CORE

unlocked >>> list_account_balances spartako
list_account_balances spartako
724512.07155 CORE

wallet_account_set_approval spartako

clayop

Quote from: spartako on September 25, 2015, 02:37:22 PM
Quote from: clayop on September 25, 2015, 02:18:11 PM
155 tps! Good job spartako.

https://graphene.bitshares.org/#/block/187317

Thanks your help spamming with me!  +5%

Btw, my spamming performance is too low; about 10 tps only. Because of I'm using virtual machine in my laptop? is there any tips for well-performed spamming?
Bitshares Korea - [url="http://www.bitshares.kr"]http://www.bitshares.kr[/url]
Vote for me and see Korean Bitshares community grows
delegate-clayop

spartako

wallet_account_set_approval spartako

clayop

#1215
Bitshares Korea - [url="http://www.bitshares.kr"]http://www.bitshares.kr[/url]
Vote for me and see Korean Bitshares community grows
delegate-clayop

bytemaster

Quote from: liondani on September 25, 2015, 11:54:18 AM
Quote from: bytemaster on September 24, 2015, 10:27:05 PM
Quote from: Fox on September 24, 2015, 09:44:43 PM
Is it best practice to git install ntp on the witness node, or does Graphene have a built in time syncing protocol?

It is best practice to have NTP or PTP installed... to get to 1 second blocks we will need PTP installed on all witness nodes using a single source.

what if this source get screwed/manipulated in future?

There are more complex algorithms that do not depend upon a central source that would use a phase-locked loop.   An example of how this could work:

1. Each machine is assumed broadcast their blocks at multiples of the block interval (1 second)
2. Each machine receives blocks from the other machine with some random latency added on to the time signal.
3. The receiver "KNOWS" the blocks were sent 1 second apart even if they were received .95 or 1.05 seconds apart.
4. The receiver can used this input stream to find the time that minimizes the error for all of the samples.
5. The receiver can then adjust his own clock (slowly) to get closer to his estimate of the sender's clock

So long as the adjustments made are very small relative to the noise in the signal, then both parties can lock to each other at the same time.  Under this system the two machines may drift from real time, but they will drift together and maintain an average of 1 second blocks.

For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
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.

liondani

Quote from: bytemaster on September 24, 2015, 10:27:05 PM
Quote from: Fox on September 24, 2015, 09:44:43 PM
Is it best practice to git install ntp on the witness node, or does Graphene have a built in time syncing protocol?

It is best practice to have NTP or PTP installed... to get to 1 second blocks we will need PTP installed on all witness nodes using a single source.

what if this source get screwed/manipulated in future?
[url="https://www.steempeak.com/@liondani"]https://www.steempeak.com/@liondani[/url]

betax

so that is the step missing !

import_key "delegate.ihashfury" "wif_priv_keywif_priv_keywif_priv_keywif_priv_key" true
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads