Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: PoulGrym on May 22, 2011, 01:26:34 AM



Title: Save my SSD! Bitcoin is eating it ALIVE! I/O Write's
Post by: PoulGrym on May 22, 2011, 01:26:34 AM
If've you noticed when you install the "offical" bitcoin software.
It's is downloading the blocks and it's writing way way to often to my SSD path C:\Users\Username\AppData\Roaming\Bitcoin

How can I move the Users AppData to JunktionLink it too an normal HDD??

I really wouldn't want to buy a new SSD in the next two weeks with my newly earned Bitcoins..

Suggestions anyone?


Title: Re: Save my SSD! Bitcoin is eating it ALIVE! I/O Write's
Post by: error on May 22, 2011, 01:39:15 AM
Your SSD will live long past its warranty period, even with Bitcoin running on it. If it doesn't, whoever made it owes you a new one for free.


Title: Re: Save my SSD! Bitcoin is eating it ALIVE! I/O Write's
Post by: Andris on May 22, 2011, 01:47:18 AM
You need to get into the multi-gig per day range to seriously impact your SSD's life. The quarter-gig blockchain hardly qualifies.

Just shut down bitcoin, move the directory to where you want it, then open up a command prompt as administrator and run

mklink /J C:\Users\Username\AppData\Roaming\Bitcoin H:\Bitcoin

Or wherever you moved it to.


Title: Re: Save my SSD! Bitcoin is eating it ALIVE! I/O Write's
Post by: PoulGrym on May 22, 2011, 02:42:33 AM
Awesome! Worked like a charm! Just remember anyone trying this you need to move it! AKA delete from where it is and copy it over to where you want it or you get an error.

Big Thanks!

Hmm.. now it's Chrome's turn.. that bastard is shagging my SSD from behind! you little google prick! your going to be getting spanking today! Moving you to the cellar


Title: Re: Save my SSD! Bitcoin is eating it ALIVE! I/O Write's
Post by: Basiley on May 22, 2011, 03:13:45 AM
1. use hdd. 2. disable FS forced flush OS "default"[dangerous]. 3. use non-flash-based SSD. p.s. increase IOPageLockLimit.

p.s.
you SSD don't support "trim" command ?

note: its TRUE nature of flash-memory: slow writes, horrific energy consuption[not notably only because SSD sizes], short lifecycle, so don't invest to/use flash-using stuff, in you Really need something, to rely on.


Title: Re: Save my SSD! Bitcoin is eating it ALIVE! I/O Write's
Post by: error on May 22, 2011, 03:49:22 AM
What's the point of having a SSD if you don't use it?


Title: Re: Save my SSD! Bitcoin is eating it ALIVE! I/O Write's
Post by: smooth on May 22, 2011, 03:52:51 AM
What's the point of having a SSD if you don't use it?

You use it for things that don't do a lot of I/O.

OP: When you are ready to sell your used SSD, send me a PM.

:) BTW.


Title: Re: Save my SSD! Bitcoin is eating it ALIVE! I/O Write's
Post by: Andris on May 22, 2011, 03:55:06 AM
Awesome! Worked like a charm! Just remember anyone trying this you need to move it! AKA delete from where it is and copy it over to where you want it or you get an error.

Big Thanks!

Hmm.. now it's Chrome's turn.. that bastard is shagging my SSD from behind! you little google prick! your going to be getting spanking today! Moving you to the cellar

Just whatever you do, don't delete the junction. The normal delete command recurses through where it links to in Windows.

Alternately, back up your wallet regularly.


Title: Re: Save my SSD! Bitcoin is eating it ALIVE! I/O Write's
Post by: Carandiru on May 22, 2011, 05:22:03 AM
You need to get into the multi-gig per day range to seriously impact your SSD's life. The quarter-gig blockchain hardly qualifies.

Just shut down bitcoin, move the directory to where you want it, then open up a command prompt as administrator and run

mklink /J C:\Users\Username\AppData\Roaming\Bitcoin H:\Bitcoin

Or wherever you moved it to.

awesome tip!!


Title: Re: Save my SSD! Bitcoin is eating it ALIVE! I/O Write's
Post by: SgtSpike on May 22, 2011, 07:09:41 AM
I wrote 112GB/day in 4KB files to a 60GB SSD for 2 months straight.  It's still alive and kicking today, and still says 100% life.

Bitcoin is NOT eating your SSD alive.  Not even close.  Not even remotely close.  Running Bitcoin for your entire lifetime would be a literal drop in the bucket compared to the life of your SSD.


Title: Re: Save my SSD! Bitcoin is eating it ALIVE! I/O Write's
Post by: SmokeTooMuch on May 22, 2011, 09:50:25 AM
You need to get into the multi-gig per day range to seriously impact your SSD's life. The quarter-gig blockchain hardly qualifies.

Just shut down bitcoin, move the directory to where you want it, then open up a command prompt as administrator and run

mklink /J C:\Users\Username\AppData\Roaming\Bitcoin H:\Bitcoin

Or wherever you moved it to.
there is also a -DataFolder (or similar) switch for bitcoin, someone made a portable bitcoin version like this.
I'm just not sure whether it was the original client or a modded one.


Title: Re: Save my SSD! Bitcoin is eating it ALIVE! I/O Write's
Post by: khal on May 22, 2011, 09:54:59 AM
there is also a -DataFolder (or similar) switch for bitcoin, someone made a portable bitcoin version like this.
I'm just not sure whether it was the original client or a modded one.

It's in the default builds :
Quote
-datadir=<dir>     Specify data directory


Title: Re: Save my SSD! Bitcoin is eating it ALIVE! I/O Write's
Post by: PoulGrym on May 23, 2011, 08:01:34 PM
Big thanks to all new tips.. will give some of them a go.