Bitcoin Forum
April 27, 2024, 03:47:38 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin's disk activity issues  (Read 2154 times)
wolftaur (OP)
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
July 12, 2011, 08:36:29 PM
 #1

Bitcoin's disk usage makes the system completely useless on any system using a solid state disk that isn't top of the line. I was trying to set up a more secure second system, but since I'm not drowning in modern, high-end hardware, I was using an older, previously unused netbook.

Four days later it still hasn't finished with getting the block chain, because the amount of disk access it has to do when fetching each block is taking quite a long time on a relatively standard SSD. I tell the client to exit. Well, here we are three hours later and it still hasn't finished its disk activity and exited.

I suppose I'm not exactly surprised given that on a $3,000 Mac Pro with a hardware RAID10 array, the client often takes ten minutes before it finally quits.

Is there any plan whatsoever to address the fact that bitcoin's disk bandwidth requirements are so high that the notion of any lower-end system acting as a payment terminal is completely unattainable?

"MOOOOOOOM! SOME MYTHICAL WOLFBEAST GUY IS MAKING FUN OF ME ON THE INTERNET!!!!"
1714189658
Hero Member
*
Offline Offline

Posts: 1714189658

View Profile Personal Message (Offline)

Ignore
1714189658
Reply with quote  #2

1714189658
Report to moderator
1714189658
Hero Member
*
Offline Offline

Posts: 1714189658

View Profile Personal Message (Offline)

Ignore
1714189658
Reply with quote  #2

1714189658
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714189658
Hero Member
*
Offline Offline

Posts: 1714189658

View Profile Personal Message (Offline)

Ignore
1714189658
Reply with quote  #2

1714189658
Report to moderator
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4158
Merit: 8382



View Profile WWW
July 12, 2011, 08:40:58 PM
 #2

Bitcoin's disk usage makes the system completely useless on any system using a solid state disk that isn't top of the line. I was trying to set up a more secure second system, but since I'm not drowning in modern, high-end hardware, I was using an older, previously unused netbook.

Four days later it still hasn't finished with getting the block chain, because the amount of disk access it has to do when fetching each block is taking quite a long time on a relatively standard SSD. I tell the client to exit. Well, here we are three hours later and it still hasn't finished its disk activity and exited.

I suppose I'm not exactly surprised given that on a $3,000 Mac Pro with a hardware RAID10 array, the client often takes ten minutes before it finally quits.

Is there any plan whatsoever to address the fact that bitcoin's disk bandwidth requirements are so high that the notion of any lower-end system acting as a payment terminal is completely unattainable?

Something is wrong with your system.  I sync the full block chain onto a lowend SSD here on an old 2.3ghz cpu in about 35 minutes and then the system is much pretty idle.   You haven't provided much information: What version of bitcoin, what OS, what system, etc?



wolftaur (OP)
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
July 12, 2011, 08:43:42 PM
 #3

Something is wrong with your system.  I sync the full block chain onto a lowend SSD here on an old 2.3ghz cpu in about 35 minutes and then the system is much pretty idle.   You haven't provided much information: What version of bitcoin, what OS, what system, etc?

Debian GNU/Linux 6.0, bitcoin 0.3.24, Asus EeePC 900-something. 1.6GHz Atom, 1GB RAM, stock SSD. dmcrypt in use on entire drive. I've tried both JFS and ext4 so far.

"MOOOOOOOM! SOME MYTHICAL WOLFBEAST GUY IS MAKING FUN OF ME ON THE INTERNET!!!!"
wolftaur (OP)
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
July 12, 2011, 08:46:20 PM
 #4

Amendment: Not the stock SSD. It has an aftermarket one that's significantly faster than the stock. It's the other netbook that still has the stock SSD, I got them confused in my head for a moment.

"MOOOOOOOM! SOME MYTHICAL WOLFBEAST GUY IS MAKING FUN OF ME ON THE INTERNET!!!!"
error
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
July 12, 2011, 08:48:55 PM
 #5

I've seen this issue on some systems but not others. I was just about to dig into it and see if I can figure out what's going on.

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
wolftaur (OP)
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
July 12, 2011, 08:52:52 PM
 #6

I've seen this issue on some systems but not others. I was just about to dig into it and see if I can figure out what's going on.

I do know the partition is aligned correctly, for what that's worth.

"MOOOOOOOM! SOME MYTHICAL WOLFBEAST GUY IS MAKING FUN OF ME ON THE INTERNET!!!!"
error
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
July 12, 2011, 08:55:01 PM
 #7

I've seen this issue on some systems but not others. I was just about to dig into it and see if I can figure out what's going on.

I do know the partition is aligned correctly, for what that's worth.

Ha. As soon as I attach strace to it, it starts behaving. Go figure.

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
wolftaur (OP)
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
July 12, 2011, 08:56:55 PM
 #8

Ha. As soon as I attach strace to it, it starts behaving. Go figure.

Yay, a Heisenbug!

"MOOOOOOOM! SOME MYTHICAL WOLFBEAST GUY IS MAKING FUN OF ME ON THE INTERNET!!!!"
Economics
Newbie
*
Offline Offline

Activity: 35
Merit: 0


View Profile
July 12, 2011, 11:22:43 PM
 #9

I've seen the same issue on an older laptop.  It was running Puppy Linux and the block chain and wallet were on a USB Flash Memory stick.  The light on the USB stick never stopped flashing, even after days of downloading the initial block chain.  I ended up removing bitcoin from that computer, for fear of wearing out the flash memory.

--E
Mike Hearn
Legendary
*
expert
Offline Offline

Activity: 1526
Merit: 1128


View Profile
July 13, 2011, 10:20:24 AM
 #10

I think you'll find it's the addr.dat file and a fix has already been checked in. But Bitcoin is disk intensive, always will be.
error
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
July 13, 2011, 05:38:08 PM
 #11

I think you'll find it's the addr.dat file and a fix has already been checked in. But Bitcoin is disk intensive, always will be.

That might be why I can't find it. I'm tracking git pretty closely (not to mention several people's forks).

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
gim
Member
**
Offline Offline

Activity: 90
Merit: 10


View Profile
July 14, 2011, 02:06:52 AM
 #12

I've resurrected the original pull request.
This should reduce disk access. Please tell us whether this helps or not.
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!