mist icon indicating copy to clipboard operation
mist copied to clipboard

Syncing at 23 blocks per minute?

Open glesaint opened this issue 10 years ago • 10 comments

Node type: geth OS: osx Network type: main Mist version: 0.5.2

Found no existing issue, sorry if this is a duplicate. Mist was shutdown for ~24 hours, ~5000 blocks to synchronise when opened back. The client is syncing at the painfully slow speed of ~23 blocks per minute. I'm not sure, is this normal? It's very hard to make transactions when the client takes hours to start. Or is there a way to make transactions even if the node hasn't finished to sync?

Logs are below!

screen shot 2016-03-30 at 11 04 11 pm screen shot 2016-03-30 at 11 31 12 pm node.log.zip

glesaint avatar Mar 30 '16 16:03 glesaint

Depends on you connection speed. In case you have a 6mbps d/l connection it should go way faster. An alternative is to go to the terminal and type 'geth --fast' without the apostrophe. You will need to have geth installed. Once it is finished open mist again.

OmniEdge avatar Mar 31 '16 17:03 OmniEdge

Today synced at ~66.6blocks per minute (2400 blocks in 36 minutes). Could the speed be related to the number of peers? Currently at 25 peers one hour after launching the client. Speedtest reports 11ms, 20Mbps dl, 2Mbps up.

glesaint avatar Apr 04 '16 15:04 glesaint

@glesaint how is the latest version 0.7.2 (bundled with geth 1.3.6) behaving?

luclu avatar Apr 24 '16 12:04 luclu

@luclu after upgrade to 0.7.2, syncing at ~40blocks per minute today (1991 blocks in 50 minutes). Currently at 25 peers, 50 minutes after launching the client. Speedtest reports 11ms, 27Mbps dl, 2.2Mbps up.

I've attached today's logs as well. node.log.zip

glesaint avatar Apr 25 '16 14:04 glesaint

It's a problem related the geth. I guess it's not the download, but the block importing into the chain's replica on your computer. The very long processing times in your log point at the corresponding function InsertChain.

What hardware are you running on? What is your CPU and Harddisk utilization?

luclu avatar Apr 25 '16 15:04 luclu

@luclu I'm running on a late 2012 iMac, 2.9Ghz i5 and SATA 7200rpm disk, here's the utilization, while syncing at ~45 blocks per minute.

  • Disk utilization (all processes):
  • - reads in/sec - between 100 to 200
  • - writes out/sec - between 2 to 20
  • CPU utilization (geth): varies between 5% and 15%

glesaint avatar Apr 28 '16 16:04 glesaint

@karalabe @fjl you should look at this.

frozeman avatar Apr 28 '16 21:04 frozeman

@frozeman @luclu After upgrading from SATA 7200rpm to SSD, syncing at ~3000blocks per minute. I guess it was a hardware issue, I'll close it. Thanks for the help!

glesaint avatar Apr 30 '16 07:04 glesaint

We're aware of abysmal hdd performance. We have 2-3 prs pending for 1.5 that will significantly improve performance (3-4x). We're also prepping state trie pruning which should solve scalability issues for the mid-term. On Apr 30, 2016 10:06, "Guillaume" [email protected] wrote:

@frozeman https://github.com/frozeman @luclu https://github.com/luclu After upgrading from SATA 7200rpm to SDD, syncing at ~3000blocks per minute. I guess it was a hardware issue, I'll close it. Thanks for the help!

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/ethereum/mist/issues/439#issuecomment-215943126

karalabe avatar Apr 30 '16 11:04 karalabe

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

lock[bot] avatar Apr 01 '18 18:04 lock[bot]