Bitcoin Forum
May 05, 2024, 10:36:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin client causing 1-2MB/s disk writes on OS X  (Read 973 times)
ashmoran (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile WWW
June 26, 2011, 02:07:41 PM
 #1

Hi

Hello everyone. First post so this has to go in the newbie section.

I'm running the standard Bitcoin.app 0.3.23 on OS X 10.6.7. I have to turn it off between transactions because it completely strangles my hard drive: it causes several MB/s reads, and 1-2MB/s writes, consistently.

I've used fseventer to see what's going on, and it's touching a huge number of the bands in my home folder's encrypted sparsebundle (I've got FileVault turned on).

Has anybody else seen this, and does anybody know what's causing it? I had a quick search but I couldn't see any answers.

Cheers
Ash
1714948571
Hero Member
*
Offline Offline

Posts: 1714948571

View Profile Personal Message (Offline)

Ignore
1714948571
Reply with quote  #2

1714948571
Report to moderator
1714948571
Hero Member
*
Offline Offline

Posts: 1714948571

View Profile Personal Message (Offline)

Ignore
1714948571
Reply with quote  #2

1714948571
Report to moderator
1714948571
Hero Member
*
Offline Offline

Posts: 1714948571

View Profile Personal Message (Offline)

Ignore
1714948571
Reply with quote  #2

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

Posts: 1714948571

View Profile Personal Message (Offline)

Ignore
1714948571
Reply with quote  #2

1714948571
Report to moderator
1714948571
Hero Member
*
Offline Offline

Posts: 1714948571

View Profile Personal Message (Offline)

Ignore
1714948571
Reply with quote  #2

1714948571
Report to moderator
Opsamk
Full Member
***
Offline Offline

Activity: 122
Merit: 100


View Profile
June 26, 2011, 02:12:53 PM
 #2

Store your block data file elsewhere.

1GPsFkReoJi8isJk1Vyry7NVnL2qpaC9Ja

Feeling generous? Send me some bits Smiley
ashmoran (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile WWW
June 26, 2011, 02:16:04 PM
 #3

Is there an easy way to do this? There are no preferences in Bitcoin.app to choose the location of the block data.
ashmoran (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile WWW
June 27, 2011, 02:32:28 PM
 #4

So I dug into the command line options, and then found this thread: client command line option -wallet= in addition to -datadir=?

Basically there's no easy way to run the standard Bitcoin.app (ie the Mac app) with the data directory in a different location, and even on the command line, there's no way to specify a different location for the wallet.

Does anyone see this as an issue? As it stands, running the app on a Mac with FileVault basically renders the machine unusable. I don't know what it's like on an SSD, but I suspect it could drastically shorten the life of the drive.

I'm trying to imagine getting my mum to use Bitcoin, and having to explain why her hard drive is constantly clicking and her machine slows down when it's open. I'm trying not to imagine telling her how to run the app from the command line with a wallet symlinked to a different location.
BombaUcigasa
Legendary
*
Offline Offline

Activity: 1442
Merit: 1000



View Profile
June 27, 2011, 04:50:34 PM
 #5

This is a big issue for me as well, during my regular gameplay I get framerate spikes due to randomly occuring 2-3mb reads and writes in the database files. Is this really needed? Why doesn't the OS cache smoothen up the disk operations?
ashmoran (OP)
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile WWW
July 24, 2011, 08:25:08 PM
 #6

I've just upgraded to Lion, and switching from the old to the new FileVault has solved the disk access problem. It's now down from several MB/s to on average about 200kB/s.

I think the problem before was that with Legacy FileVault, the large size of the block chain file meant it was repeatedly writing many home folder disk image bands. With the new full-disk encryption FileVault, that doesn't happen.
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!