Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: manicminer on January 17, 2013, 05:27:23 AM



Title: Is the Qt client killing the hard drive slowly?
Post by: manicminer on January 17, 2013, 05:27:23 AM
I'm just asking this because I read it downloads much faster on an SSD. Even much faster on a RAM disk. I have an older machine. I download the chain for 5 days. Does the downloading process or simply operating the client kill the hard drive?


Title: Re: Is the Qt client killing the hard drive slowly?
Post by: niko on January 17, 2013, 05:51:15 AM
I'm just asking this because I read it downloads much faster on an SSD. Even much faster on a RAM disk. I have an older machine. I download the chain for 5 days. Does the downloading process or simply operating the client kill the hard drive?

No. Hard drives are designed to be used as hard drives, which is exactly what you are doing when using the computer with a hard drive. I hope this is clear enough.


Title: Re: Is the Qt client killing the hard drive slowly?
Post by: payb.tc on January 17, 2013, 05:51:58 AM
^ if downloading the blockchain kills your harddrive, your harddrive was probably at the end of it's life anyway.


Title: Re: Is the Qt client killing the hard drive slowly?
Post by: Kluge on January 17, 2013, 06:24:28 AM
I'm just asking this because I read it downloads much faster on an SSD. Even much faster on a RAM disk. I have an older machine. I download the chain for 5 days. Does the downloading process or simply operating the client kill the hard drive?

No. Hard drives are designed to be used as hard drives, which is exactly what you are doing when using the computer with a hard drive. I hope this is clear enough.
Could you explain why hard drives are different from GPUs or gasoline engines which have "health" decreased with excessive use? For example, assume you have two otherwise identical engines -- one has 10k miles on it, the other has 100k miles on it (or km). Why would the engine with less miles on it fetch a higher price, even if they were manufactured in the same year?

Or for GPUs, a GPU used lightly should fetch a higher price than a GPU which mined for the past 3 years. They are otherwise identical, but one has more "wear."

Why would a hard drive be any different?


Title: Re: Is the Qt client killing the hard drive slowly?
Post by: niko on January 17, 2013, 06:58:26 AM
I'm just asking this because I read it downloads much faster on an SSD. Even much faster on a RAM disk. I have an older machine. I download the chain for 5 days. Does the downloading process or simply operating the client kill the hard drive?

No. Hard drives are designed to be used as hard drives, which is exactly what you are doing when using the computer with a hard drive. I hope this is clear enough.
Could you explain why hard drives are different from GPUs or gasoline engines which have "health" decreased with excessive use? For example, assume you have two otherwise identical engines -- one has 10k miles on it, the other has 100k miles on it (or km). Why would the engine with less miles on it fetch a higher price, even if they were manufactured in the same year?

Or for GPUs, a GPU used lightly should fetch a higher price than a GPU which mined for the past 3 years. They are otherwise identical, but one has more "wear."

Why would a hard drive be any different?

There is some normal wear of mechanical components with use, and this will eventually lead to failure. Before this point is reached, however, other causes may and do trigger failures: abuse, mechanical shocks, ESD, thermal stress cycles, dusty or smoky environment, etc.  The probability of most of these does not increase with use. Failure due to thermal stress is in fact more likely in systems subject to on/off cycles (less use!) than those that are constantly turned on.

Unlike GPUs or HDDs, internal combustion engines are mainly mechanical devices, with rather violent vibrations and stress in normal use, so wear and tear may in fact be a dominant mechanism of failure.



Title: Re: Is the Qt client killing the hard drive slowly?
Post by: Kluge on January 17, 2013, 07:00:53 AM
I'm just asking this because I read it downloads much faster on an SSD. Even much faster on a RAM disk. I have an older machine. I download the chain for 5 days. Does the downloading process or simply operating the client kill the hard drive?

No. Hard drives are designed to be used as hard drives, which is exactly what you are doing when using the computer with a hard drive. I hope this is clear enough.
Could you explain why hard drives are different from GPUs or gasoline engines which have "health" decreased with excessive use? For example, assume you have two otherwise identical engines -- one has 10k miles on it, the other has 100k miles on it (or km). Why would the engine with less miles on it fetch a higher price, even if they were manufactured in the same year?

Or for GPUs, a GPU used lightly should fetch a higher price than a GPU which mined for the past 3 years. They are otherwise identical, but one has more "wear."

Why would a hard drive be any different?

There is some normal wear of mechanical components with use, and this will eventually lead to failure. Before this point is reached, however, other causes may and do trigger failures: abuse, mechanical shocks, ESD, thermal stress cycles, dusty or smoky environment, etc.  The probability of most of these does not increase with use. Failure due to thermal stress is in fact more likely in systems subject to on/off cycles (less use!) than those that are constantly turned on.

Unlike GPUs or HDDs, internal combustion engines are mainly mechanical devices, with rather violent vibrations and stress in normal use, so wear and tear may in fact be a dominant mechanism of failure.
Thanks!


Title: Re: Is the Qt client killing the hard drive slowly?
Post by: manicminer on January 17, 2013, 07:32:14 AM
Clear enough!


Title: Re: Is the Qt client killing the hard drive slowly?
Post by: Pieter Wuille on January 17, 2013, 10:35:15 AM
Current versions of the reference client indeed causes excessive disk I/O. The next version (0.8, not yet released) should improve upon this significantly (it uses a more modern database engine, and a new database layout).


Title: Re: Is the Qt client killing the hard drive slowly?
Post by: Meni Rosenfeld on January 17, 2013, 12:28:48 PM
I'm just asking this because I read it downloads much faster on an SSD. Even much faster on a RAM disk. I have an older machine. I download the chain for 5 days. Does the downloading process or simply operating the client kill the hard drive?

No. Hard drives are designed to be used as hard drives, which is exactly what you are doing when using the computer with a hard drive. I hope this is clear enough.
Could you explain why hard drives are different from GPUs or gasoline engines which have "health" decreased with excessive use? For example, assume you have two otherwise identical engines -- one has 10k miles on it, the other has 100k miles on it (or km). Why would the engine with less miles on it fetch a higher price, even if they were manufactured in the same year?

Or for GPUs, a GPU used lightly should fetch a higher price than a GPU which mined for the past 3 years. They are otherwise identical, but one has more "wear."

Why would a hard drive be any different?

There is some normal wear of mechanical components with use, and this will eventually lead to failure. Before this point is reached, however, other causes may and do trigger failures: abuse, mechanical shocks, ESD, thermal stress cycles, dusty or smoky environment, etc.  The probability of most of these does not increase with use. Failure due to thermal stress is in fact more likely in systems subject to on/off cycles (less use!) than those that are constantly turned on.

Unlike GPUs or HDDs, internal combustion engines are mainly mechanical devices, with rather violent vibrations and stress in normal use, so wear and tear may in fact be a dominant mechanism of failure.
Consumer hard drives are designed to be used as hard drives by consumers. Desktop computers, unlike servers, don't usually access the disks 24/7, so these drives are not designed to withstand such use (you have server-grade drives for that). It will create wear & tear which will shorten the expected component life.

Whether this effect is significant with current usage pattern of bitcoin-qt is not something I can readily answer. It also depends greatly on the specific drive. Some drives park their heads when not actively seeking to spare the wear&tear of the heads hovering close to the platters. Constant usage can interfere with this endurance feature in various ways; it can prevent the heads from ever being parked, or worse, it can create repeated park/unpark operations, for which the drive is only rated for a certain number.

With SSDs there is the well-known write endurance problem, and excessive random write operations can degrade the drive's write performance.


Title: Re: Is the Qt client killing the hard drive slowly?
Post by: manicminer on January 18, 2013, 11:01:29 AM
Current versions of the reference client indeed causes excessive disk I/O.
Only when downloading the database or for normal use as well?

The next version (0.8, not yet released) should improve upon this significantly (it uses a more modern database engine, and a new database layout).
Does it mean a new database download? :) Cool, when it will be released?


Title: Re: Is the Qt client killing the hard drive slowly?
Post by: grue on January 18, 2013, 02:55:42 PM

The next version (0.8, not yet released) should improve upon this significantly (it uses a more modern database engine, and a new database layout).
Does it mean a new database download? :) Cool, when it will be released?
not anytime soon because sipa wants to be sure that the new database is stable. you can help test it too: https://bitcointalk.org/index.php?topic=129861.0


Title: Re: Is the Qt client killing the hard drive slowly?
Post by: manicminer on January 19, 2013, 03:57:26 AM
you can help test it too: https://bitcointalk.org/index.php?topic=129861.0
Disclaimer: don't use these for any serious stuff - I am not responsible for destroyed wallets or exploded CPU's.

Well.


Title: Re: Is the Qt client killing the hard drive slowly?
Post by: Diapolo on January 19, 2013, 02:02:53 PM
you can help test it too: https://bitcointalk.org/index.php?topic=129861.0
Disclaimer: don't use these for any serious stuff - I am not responsible for destroyed wallets or exploded CPU's.

Well.

Use it on testnet and help creating some feedback for sipa and the other devs :).
Btw.: I think this thread should not be called is the Qt client, but better "the reference client", as bitcoind behaves just the same afaik.

Dia


Title: Re: Is the Qt client killing the hard drive slowly?
Post by: Gyrsur on January 19, 2013, 04:15:36 PM
Current versions of the reference client indeed causes excessive disk I/O. The next version (0.8, not yet released) should improve upon this significantly (it uses a more modern database engine, and a new database layout).

sounds very good, the excessive disk usage of the 0.7 release is terrible on older hardware.


Title: Re: Is the Qt client killing the hard drive slowly?
Post by: manicminer on January 19, 2013, 08:41:57 PM
Disclaimer: don't use these for any serious stuff - I am not responsible for destroyed wallets or exploded CPU's.

Well.
Use it on testnet and help creating some feedback for sipa and the other devs :)
It won't destroy the wallet for sure but how about the exploded CPU? Can you guarantee with testnet against it? Wondering.


Title: Re: Is the Qt client killing the hard drive slowly?
Post by: b!z on January 20, 2013, 04:17:40 AM
Disclaimer: don't use these for any serious stuff - I am not responsible for destroyed wallets or exploded CPU's.

Well.
Use it on testnet and help creating some feedback for sipa and the other devs :)
It won't destroy the wallet for sure but how about the exploded CPU? Can you guarantee with testnet against it? Wondering.

Hopefully nothing will blow up.


Title: Re: Is the Qt client killing the hard drive slowly?
Post by: niko on January 20, 2013, 09:11:14 AM
Disclaimer: don't use these for any serious stuff - I am not responsible for destroyed wallets or exploded CPU's.

Well.
Use it on testnet and help creating some feedback for sipa and the other devs :)
It won't destroy the wallet for sure but how about the exploded CPU? Can you guarantee with testnet against it? Wondering.

Hopefully nothing will blow up.
Hopefully a CPU will blow up and save us from manicminer. In the meantime, there's the "ignore" button.


Title: Re: Is the Qt client killing the hard drive slowly?
Post by: manicminer on January 22, 2013, 05:43:09 AM
Hopefully a CPU will blow up and save us from manicminer. In the meantime, there's the "ignore" button.
?