Bitcoin Forum
May 04, 2024, 03:39:52 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Very preliminary Bloom filter test results  (Read 1889 times)
jim618 (OP)
Legendary
*
Offline Offline

Activity: 1708
Merit: 1066



View Profile WWW
February 05, 2013, 02:41:25 PM
Last edit: February 16, 2013, 12:00:27 PM by jim618
 #1

In the last couple of days I have been upgrading the test MultiBit code to use the bloom filters that are coming in bitcoind v0.8.0 + bitcoinj v0.7. (These are still in test yet).
Here are the very preliminary test results I am seeing.

Bloom filter testing

Server configuration:
An old Linux VM, only 512 MB ram.
Software: bitcoind master (what will become bitcoind v0.8 )
Mike set this up for me - thanks!

Client machine 1:
Mac laptop. dual core, 2 GHz.
Network: 3G, about 80 KB/s down.

MultiBit - test code, using bitcoinj-0.7-SNAPSHOT + encrypted wallets.
MultiBit has 6 wallets open, about 80 private keys.
This machine normally gets about 1 block/s when syncing.

Client machine 2:
Centos 6 server, Athlon II quad core, 2.3 GHz.
Network: 100 MB/s

MultiBit - test code, using bitcoinj-0.7-SNAPSHOT + encrypted wallets.
MultiBit has 1 wallet open, 3 private keys.
I normally get about 10 block/s with this machine.
(This is the multibit.org machine so it is also running a website with variable load).


Test performed:
Download 1 month of blocks (using 'Tools | Replay blockchain and transactions')
This was 4366 to 4385 blocks.


Results using client machine 1 (Mac laptop):
Using 3G
Sync time: 198 seconds.
22 block/s

Notes: Yesterday I saw about 40 block/s with a better network connection.
Both CPUs busy, at 100% max over half the time.


Using coffee shop wifi (About 200 KB/s down).
Sync time: 120 seconds.
36 blocks/s

Notes: Both CPUS maxed out almost all the time.


Results using client machine 2 (multibit.org server):
Sync time: 274 secs.
16 blocks/s

Notes: I am a bit surprised this much faster machine comes in slower than a laptop, perhaps backend related ?








MultiBit HD   Lightweight desktop client.                    Bitcoin Solutions Ltd   Bespoke software. Consultancy.
1714793992
Hero Member
*
Offline Offline

Posts: 1714793992

View Profile Personal Message (Offline)

Ignore
1714793992
Reply with quote  #2

1714793992
Report to moderator
1714793992
Hero Member
*
Offline Offline

Posts: 1714793992

View Profile Personal Message (Offline)

Ignore
1714793992
Reply with quote  #2

1714793992
Report to moderator
1714793992
Hero Member
*
Offline Offline

Posts: 1714793992

View Profile Personal Message (Offline)

Ignore
1714793992
Reply with quote  #2

1714793992
Report to moderator
I HATE TABLES I HATE TABLES I HA(╯°□°)╯︵ ┻━┻ TABLES I HATE TABLES I HATE TABLES
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714793992
Hero Member
*
Offline Offline

Posts: 1714793992

View Profile Personal Message (Offline)

Ignore
1714793992
Reply with quote  #2

1714793992
Report to moderator
1714793992
Hero Member
*
Offline Offline

Posts: 1714793992

View Profile Personal Message (Offline)

Ignore
1714793992
Reply with quote  #2

1714793992
Report to moderator
1714793992
Hero Member
*
Offline Offline

Posts: 1714793992

View Profile Personal Message (Offline)

Ignore
1714793992
Reply with quote  #2

1714793992
Report to moderator
Mike Hearn
Legendary
*
Offline Offline

Activity: 1526
Merit: 1129


View Profile
February 05, 2013, 02:44:25 PM
 #2

You should be able to get much faster than that on a laptop with coffee shop wifi. Profiling the app to find out where the CPU time is going would be the next step.
jim618 (OP)
Legendary
*
Offline Offline

Activity: 1708
Merit: 1066



View Profile WWW
February 05, 2013, 02:46:40 PM
 #3

Yeah - I suspect that I am wasting a lot of CPU updating the UI dealing with events (unnecessarily).
It is only early days yet.

MultiBit HD   Lightweight desktop client.                    Bitcoin Solutions Ltd   Bespoke software. Consultancy.
jim618 (OP)
Legendary
*
Offline Offline

Activity: 1708
Merit: 1066



View Profile WWW
February 12, 2013, 03:45:30 PM
 #4

In the v0.5.8beta code that has just been released, the bloom filter speeds I am getting are:

Mac laptop, with 3G network: about 80 blocks/second.

Mac laptop, with WiFi (1 MB/s down, 100kB/s up): about 130 blocks per second.

MultiBit HD   Lightweight desktop client.                    Bitcoin Solutions Ltd   Bespoke software. Consultancy.
freemoney458
Member
**
Offline Offline

Activity: 62
Merit: 10


View Profile
February 12, 2013, 10:11:02 PM
 #5

I just tried out v0.5.8beta
on a MacBook running OS X version 10.5.8,
connected to 1 bitcoind v0.8rc1 peer at riker.plan99.net (courtesy of Mike Hearn).
My internet connection is running at 100 Mbit/s.

One wallet with 20 addresses, reloading the whole blockchain (220867 blocks) from the genesis block took less than 11 minutes.
That equals 335 blocks/second.

Congratulations and a big THANK YOU to all bloom filter developers!
jim618 (OP)
Legendary
*
Offline Offline

Activity: 1708
Merit: 1066



View Profile WWW
February 12, 2013, 10:24:20 PM
 #6

That's great feedback Freemoney - thanks for that.

MultiBit HD   Lightweight desktop client.                    Bitcoin Solutions Ltd   Bespoke software. Consultancy.
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!