Bitcoin Forum
July 28, 2024, 11:16:10 PM *
News: Help 1Dq create 15th anniversary forum artwork.
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Blockchain Download/Update With Any Coin Constant Hard Drive Thrashing Question?  (Read 538 times)
MrMushroom (OP)
Newbie
*
Offline Offline

Activity: 48
Merit: 0



View Profile
May 18, 2013, 01:14:15 PM
 #1

Hello All,
Just curious as to what exactly is the cause of the excessive Hard Drive Thrashing when downloading or updating any of the Coin Blockchains?
Watching clients update 100 blocks or 1000 of any coin the client just seems to be constantly molesting the Hard drive.
Downloading data or not (When there are blocks left to download) does not make any difference either.
Sometimes they also just stop downloading blocks altogether and get stuck or block numbers go down without any data download.
Any insight appreciated.
MrMushroom (OP)
Newbie
*
Offline Offline

Activity: 48
Merit: 0



View Profile
May 27, 2013, 08:55:19 AM
 #2

 Shocked

No one has any clue even in this forum?
abbyd
Full Member
***
Offline Offline

Activity: 159
Merit: 100


View Profile
May 27, 2013, 09:22:48 AM
 #3

Hello All,
Just curious as to what exactly is the cause of the excessive Hard Drive Thrashing when downloading or updating any of the Coin Blockchains?
Watching clients update 100 blocks or 1000 of any coin the client just seems to be constantly molesting the Hard drive.
Downloading data or not (When there are blocks left to download) does not make any difference either.
Sometimes they also just stop downloading blocks altogether and get stuck or block numbers go down without any data download.
Any insight appreciated.


https://bitcointalk.org/index.php?topic=214202.0

The blockchain is huge so you'll need to be patient to download it all. While you download it's also verified.
MrMushroom (OP)
Newbie
*
Offline Offline

Activity: 48
Merit: 0



View Profile
May 27, 2013, 10:40:58 AM
 #4

Thank you for that but that really does not explain why All the Blockchains (Based on P2P correct?) thrash the Hard drive and consume so much CPU time.
Ill use:
http://linuxtracker.org/
As an example you can pick pretty much ANY torrent there with equal size to a Coin Block chain it will Download Faster,Thrash a Hard drive less,Not use so much CPU time and still verify every block of data to make sure its not corrupt.
If it really has to verify every single transaction from block zero how is it doing that exactly?
As Stated Ive watched Blockchains download it usually goes:
1.Downloading (Speed Varies) No Update on Block count not going down.
2.Downloading (Speed Varies) Updating. Block count going down.
3.Not Downloading Updating. Block count going down.
4.Not Downloading Not Updating. Block count going not down.
All with 100% CPU usage. Amount of Cores also mean nothing.
Ive Downloaded Blockchains on Single Cores just the same as the Quad core I just used today. That was with ALL 4 cores at 100% usage because of the Bitcoin client.


abbyd
Full Member
***
Offline Offline

Activity: 159
Merit: 100


View Profile
May 28, 2013, 06:34:01 AM
 #5

Thank you for that but that really does not explain why All the Blockchains (Based on P2P correct?) thrash the Hard drive and consume so much CPU time.
Ill use:
http://linuxtracker.org/
As an example you can pick pretty much ANY torrent there with equal size to a Coin Block chain it will Download Faster,Thrash a Hard drive less,Not use so much CPU time and still verify every block of data to make sure its not corrupt.
If it really has to verify every single transaction from block zero how is it doing that exactly?
As Stated Ive watched Blockchains download it usually goes:
1.Downloading (Speed Varies) No Update on Block count not going down.
2.Downloading (Speed Varies) Updating. Block count going down.
3.Not Downloading Updating. Block count going down.
4.Not Downloading Not Updating. Block count going not down.
All with 100% CPU usage. Amount of Cores also mean nothing.
Ive Downloaded Blockchains on Single Cores just the same as the Quad core I just used today. That was with ALL 4 cores at 100% usage because of the Bitcoin client.




OK I don't have an in-depth technical answer for you -  you should probably start reading descriptions of the code architecture (https://bitcointalk.org/index.php?topic=41718.0;all) if you really want to know this.

Put simply: Bitcoin uses a database for the blockchain that requires a lot of I/O to verify transactions. Note that the database recently changed from BerkeleyDB to LevelDB, so the above description will differ slightly in this respect. I can tell you that performance improved about 500% when this change occurred...
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!