Commit Graph

5015 Commits

Author SHA1 Message Date
Michael Vines
1b79fe73a1 Emit a metrics datapoint if bench-tps terminates 2018-07-25 15:55:02 -07:00
Michael Vines
5fa072cf16 Avoid quotes around net name 2018-07-25 15:55:02 -07:00
Stephen Akridge
212874e155 Use BlobError for get_size return 2018-07-25 15:54:04 -07:00
Rob Walker
75212f40e7 fix off by one for send_to() of blob 2018-07-25 15:16:56 -07:00
Rob Walker
6fde65577e fixes #756 2018-07-25 11:07:03 -07:00
Stephen Akridge
80ecef2832 Add --sustained to ci testnet deploy script 2018-07-25 10:16:46 -07:00
Stephen Akridge
edf2ffaf4e Reduce complexity of main for clippy
...and readability
2018-07-25 10:16:46 -07:00
Stephen Akridge
6c275ea5ef More knobs. Arg for tx count per batch and also sustained mode
sustained mode overlaps tx generation with transfer. This mode seems
to have lower peak performance but higher average performance
2018-07-25 10:16:46 -07:00
Stephen Akridge
23ed65b339 Transfer and sign at the same time in bench-tps 2018-07-25 10:16:46 -07:00
Rob Walker
9c7913ac9e trying to raise an error 2018-07-25 08:12:20 -07:00
Rob Walker
8b01e6ac0b implement Blob::get_size(), the counterpart of Blob::set_size() 2018-07-25 08:12:20 -07:00
Rob Walker
ff5854396a deserialize using get_data_size(), which refers to blob.data()'s length,
instead of using msg.meta.size, which refers to the entire blob's length

fixes #752
2018-07-25 08:12:20 -07:00
Michael Vines
f0725b4900 Avoid panicking if poll_get_balance() fails while in the transaction loop 2018-07-24 23:31:28 -07:00
Michael Vines
327ba5301d Log token balance throughout the transfer loop 2018-07-24 22:40:12 -07:00
Michael Vines
dcce475f0b Progagate logging configuration to client nodes 2018-07-24 21:40:02 -07:00
Michael Vines
aa2104a21b Reclaim tokens before exiting to avoid leaking tokens 2018-07-24 21:40:02 -07:00
Michael Vines
0206020104 Make airdrops more robust 2018-07-24 21:40:02 -07:00
Rob Walker
33bd1229d9 make next_entries() smarter about fitting Transactions into a Blob 2018-07-24 21:38:06 -07:00
Michael Vines
195098ca2b Failure test case 2018-07-24 21:38:06 -07:00
pgarg66
9daa7bdbe2 Replace rayon with threads for dynamic network test (#745) 2018-07-24 17:54:29 -07:00
Stephen Akridge
6bd18e18ea Add error messages to ledger verify 2018-07-24 17:35:41 -07:00
Rob Walker
8f046cb1f8 disable erasure for large network testing 2018-07-24 16:54:52 -07:00
Michael Vines
735a0ee16d Switch back to running bench-tps in 10 minute iterations 2018-07-24 15:43:25 -07:00
Michael Vines
537be6a29d export SOLANA_DEFAULT_METRICS_RATE 2018-07-24 15:43:25 -07:00
Rob Walker
2b528e2225 fixups 2018-07-24 13:04:34 -07:00
Rob Walker
75505bbd72 fixups 2018-07-24 13:04:34 -07:00
Rob Walker
e1fc7444f9 fixups 2018-07-24 13:04:34 -07:00
Rob Walker
940caf7876 test large network with erasure 2018-07-24 13:04:34 -07:00
Rob Walker
fcdb0403ba eliminate unused parameter received, this branch fixes #636 2018-07-24 13:04:34 -07:00
Rob Walker
caeb55d066 placate clippy and reduce replicode 2018-07-24 13:04:34 -07:00
Rob Walker
f11e60b801 fix major bug: re-used blobs need to have their flags cleared
plus: lots of additional debug-ability
2018-07-24 13:04:34 -07:00
Rob Walker
54f2146429 fixups 2018-07-24 13:04:34 -07:00
Rob Walker
f60ee87a52 zero the tails of data blobs during generate() and recover() to enable blob reuse 2018-07-24 13:04:34 -07:00
Rob Walker
9c06fe25df enhance unit test to fail when erasure encodes stray bytes of data blobs 2018-07-24 13:04:34 -07:00
Rob Walker
1eec8bf57f fixups 2018-07-24 13:04:34 -07:00
Rob Walker
ddb24ebb61 fixups 2018-07-24 13:04:34 -07:00
Rob Walker
a58c83d999 prevent infinite loop on window wraparound 2018-07-24 13:04:34 -07:00
Rob Walker
6656ec816c protect generate and recover from u64->usize casting issues 2018-07-24 13:04:34 -07:00
Rob Walker
8d2bd43100 fixups 2018-07-24 13:04:34 -07:00
Rob Walker
429ea98ace mutable-coding-blocks 2018-07-24 13:04:34 -07:00
Rob Walker
3d80926508 fixups 2018-07-24 13:04:34 -07:00
Rob Walker
d713e3c2cf send coding in broadcast(), fixups 2018-07-24 13:04:34 -07:00
Rob Walker
5d20d1ddbf get test_window_recover_basic() passing 2018-07-24 13:04:34 -07:00
Rob Walker
257acdcda1 building now 2018-07-24 13:04:34 -07:00
Rob Walker
dab98dcd81 coded => coding 2018-07-24 13:04:34 -07:00
Rob Walker
99653a4d04 rework erasure to have data and coding blobs side-by-side in window 2018-07-24 13:04:34 -07:00
Rob Walker
dda563a169 document process_blob() 2018-07-24 13:04:34 -07:00
Michael Vines
782aa7b23b Cap at 4 threads 2018-07-24 11:35:03 -07:00
Michael Vines
813e438d18 Improve panic message 2018-07-24 11:20:13 -07:00
Michael Vines
7a71adaa8c Adjust threads by the number of cpus 2018-07-23 21:17:36 -07:00