Re: Example of BTRFS uglyssima performance : Bitcoin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 03, 2012 at 12:54:30PM +0100, Swâmi Petaramesh wrote:
> Hi folks,
> 
> My laptop is a Core i3-2310M with 4 GB RAM, running BTRFS on a 1 TB HD.
> 
> I run Ubuntu 12.10 Quantal, kernel 3.5.0-19-generic 64-bit.

   Try 3.7. That's had some significant performance improvements. 3.5
is over 6 months old, which is a long time in btrfs development.

> I wanted to give a shot at bitcoin so I installed it from the Ubuntu
> PPA, and started getting the database from the Internet. (it's now 4.5
> GB big on disk). I assume it an SQL DB (SQlite or so ?)

   Try marking the SQLite database file(s) as nocow, with chattr +C.
That also only works on 3.7, but should deal with your database
problems.

> My system currently has been crushing its data for more that 5 days now
> (5x24 hours) with the HD busy to the point that the system is completely
> unusable and I had to take another laptop to be able to surf the web and
> process my email. Disk LED is steadily lit, trying to switch between 2
> open windows takes 5 minutes or so...
> 
> Entering new blocks into the DB has now slowed down to the point that I
> assume that the last 6% that I miss (I'm now at 94.something %) may well
> take another couple weeks or so...
> 
> Friends running ext4 told me that the initial loading of the DB took
> them a couple hours... With BTRFS it's been 5x24 hours and counting... :-(
> 
> This filesystem is pure crap as soon as it comes to database processing :-(

   3.5 was. 3.7 shouldn't be -- particularly with the use of +C on the
database files.

   Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
   --- "No!  My collection of rare, incurable diseases! Violated!" ---   

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux