Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Mutithreaded IO #198

Merged
merged 12 commits into from Jan 22, 2016
Merged

Mutithreaded IO #198

merged 12 commits into from Jan 22, 2016

Conversation

arkpar
Copy link
Collaborator

@arkpar arkpar commented Jan 22, 2016

No description provided.

@arkpar arkpar changed the title Mutithreaded Io Mutithreaded IO Jan 22, 2016
@arkpar arkpar added the A0-pleasereview 🤓 Pull request needs code review. label Jan 22, 2016
let e = exit.clone();
CtrlC::set_handler(move || {
e.notify_all();
});
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indention

@debris
Copy link
Collaborator

debris commented Jan 22, 2016

looks and works good.

Just noticed one issue. After pressing ^C about 20000 blocks were not commited to db.

[ 200357 2716…edd79aa0 ]---[ 42 blk/s | 94 tx/s | 2549322 gas/s  //··· 3/3 peers, 230417 downloaded, 18 queued ···//  1650832 (-1173248) bl  1931712 (-50752) ex ]
[ 201769 0189…03b3561e ]---[ 282 blk/s | 305 tx/s | 8525721 gas/s  //··· 3/3 peers, 232661 downloaded, 389 queued ···//  2265232 (614400) bl  1959712 (28000) ex ]
[ 202851 2524…9a8cb113 ]---[ 216 blk/s | 338 tx/s | 8634326 gas/s  //··· 3/3 peers, 234340 downloaded, 0 queued ···//  3045264 (780032) bl  1987616 (27904) ex ]
^C
--- ethcore/ethcore ‹pull/198› » cargo run --release                                                                                                                                                  130 ↵
     Running `target/release/client`
INFO:ethcore_util::network::service: NetworkService::start(): id=c68b9c591254f48beebf422052706fac0f31847952bc540994a54c65011233b684fd35a0834f55a4890eb965182e75e19f7131f96b307d7ca489cd59e2d56bd7
INFO:ethcore::service: Starting parity
INFO:ethcore::service: Configured for Frontier using Ethash engine
INFO:ethcore::spec: Populating genesis state...
INFO:ethcore::spec: Genesis state is ready
INFO:ethcore::sync::chain: Connected 50:Geth/v1.3.3-c541b38f/linux/go1.5.1
INFO:ethcore::sync::chain: Connected 51:Geth/v1.3.3-c541b38f/linux/go1.5.1
INFO:ethcore::sync::chain: Connected 48:Geth/v1.3.3-c541b38f/linux/go1.5.1
[ 204619 0a2b…d5e8c860 ]---[ 201 blk/s | 132 tx/s | 5326698 gas/s  //··· 3/3 peers, 206111 downloaded, 0 queued ···//  940568 (938304) bl  278560 (274848) ex ]
[ 205550 e59d…75baa53e ]---[ 186 blk/s | 320 tx/s | 8321255 gas/s  //··· 3/3 peers, 207526 downloaded, 0 queued ···//  1929448 (988880) bl  546688 (268128) ex ]
[ 207303 af74…7fbacaec ]---[ 350 blk/s | 229 tx/s | 9413418 gas/s  //··· 3/3 peers, 210179 downloaded, 174 queued ···//  2539624 (610176) bl  562400 (15712) ex ]
[ 208207 6432…15662f42 ]---[ 181 blk/s | 337 tx/s | 9079871 gas/s  //··· 3/3 peers, 211301 downloaded, 0 queued ···//  2541800 (2176) bl  561568 (-832) ex ]

@debris debris added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jan 22, 2016
@arkpar
Copy link
Collaborator Author

arkpar commented Jan 22, 2016

@debris 20000 blocks from the downloaded section? These are in the queue, and are not supposed to be commited on exit

debris added a commit that referenced this pull request Jan 22, 2016
@debris debris merged commit f999e5e into master Jan 22, 2016
timxor added a commit to timxor/parity that referenced this pull request Aug 9, 2017
arkpar pushed a commit that referenced this pull request Aug 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants