Bitcoin Forum
April 20, 2024, 01:39:37 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2] 3 »  All
  Print  
Author Topic: 0.3 almost ready -- please test the Mac version!  (Read 25233 times)
satoshi (OP)
Founder
Sr. Member
*
qt
Offline Offline

Activity: 364
Merit: 6722


View Profile
June 24, 2010, 05:40:05 PM
Last edit: June 26, 2010, 12:14:27 AM by satoshi
 #21

Here's RC1 for linux for testing:
(link removed, see below)

It contains both 32-bit and 64-bit binaries.

Recent changes:

build-unix.txt:
- Added instructions for building wxBase, which is needed to compile bitcoind.
- The package libboost-dev doesn't install anything anymore, you need to get libboost-all-dev.
- Updated version numbers.

makefile.unix:
- The libboost libraries have removed the "-mt" from their filenames in 1.40.  If you're compiling with Boost 1.38 or lower, like on Ubuntu Karmic, you would need to change it back to boost_system-mt and boost_filesystem-mt.
1713577177
Hero Member
*
Offline Offline

Posts: 1713577177

View Profile Personal Message (Offline)

Ignore
1713577177
Reply with quote  #2

1713577177
Report to moderator
"If you don't want people to know you're a scumbag then don't be a scumbag." -- margaritahuyan
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713577177
Hero Member
*
Offline Offline

Posts: 1713577177

View Profile Personal Message (Offline)

Ignore
1713577177
Reply with quote  #2

1713577177
Report to moderator
1713577177
Hero Member
*
Offline Offline

Posts: 1713577177

View Profile Personal Message (Offline)

Ignore
1713577177
Reply with quote  #2

1713577177
Report to moderator
1713577177
Hero Member
*
Offline Offline

Posts: 1713577177

View Profile Personal Message (Offline)

Ignore
1713577177
Reply with quote  #2

1713577177
Report to moderator
virtualcoin
Newbie
*
Offline Offline

Activity: 13
Merit: 1


View Profile
June 24, 2010, 08:49:24 PM
 #22

Nice. :-)

64-bit version works fine on Ubuntu 10.04, of course it's (much) faster than through WINE emulation (and because it's 64-bit!?)

4 cores: 2850 khash/s
3 cores: 2130 khash/s
2 cores: 1420 khash/s
1 core: 700 khash/s

WINE (32-bit):

4 cores - 2300 khash/s
3 cores - 1740 khash/s
2 cores - 1150 khash/s
1 core - 580 khash/s

Thank you - looks pretty nice, too.

http://i50.tinypic.com/2ih1h0p.jpg

edit: What's the difference between "Sent/Received" and "All transactions"?
HostFat
Staff
Legendary
*
Offline Offline

Activity: 4214
Merit: 1203


I support freedom of choice


View Profile WWW
June 24, 2010, 10:19:34 PM
 #23

will it change something if you release a x64 bit version for Windows?

NON DO ASSISTENZA PRIVATA - http://hostfatmind.com
Vasiliev
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile
June 24, 2010, 11:26:03 PM
 #24

Ubuntu 9.04 x86:

vlad@vlad:~/bitcoin/bin/32$ ./bitcoind
./bitcoind: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by ./bitcoind)

Anybody know what Bitcoin needs?
satoshi (OP)
Founder
Sr. Member
*
qt
Offline Offline

Activity: 364
Merit: 6722


View Profile
June 25, 2010, 02:17:41 AM
Last edit: June 25, 2010, 03:00:14 AM by satoshi
 #25

I don't know.  Maybe someone with more Linux experience knows how to install the library it needs.

I built it on Ubuntu 10.04.  I hope that wasn't a mistake.  Maybe it should have been built on an older version for more backward compatibility.  Is this a problem on Linux, that if you build on the latest version, then it has trouble working on older versions?  Is there any way I can downgrade to an older version of GCC on 10.04?

The 64-bit version shouldn't be any faster than the 32-bit version, but it would be great if someone could do a side-by-side comparison of the two linux versions and check.  SHA-256 is a 32-bit algorithm and nothing in BitcoinMiner uses 64-bit at all.

We don't need to bother with a 64-bit version for Windows.  32-bit programs work on all versions of Windows.  It's not like Linux where the 64-bit OS wants 64-bit programs.

I'm also curious if it's a little faster on linux than windows.

Do you think I should make the directories:
/bin32/
/bin64/
instead of
/bin/32/
/bin/64/
HostFat
Staff
Legendary
*
Offline Offline

Activity: 4214
Merit: 1203


I support freedom of choice


View Profile WWW
June 25, 2010, 04:47:28 AM
 #26

Windows 7 x64
4 GB RAM
Intel i7 860

4 cores ( 8 virtuals ): 2200 khash/s

It's lower than Ubuntu :|


NON DO ASSISTENZA PRIVATA - http://hostfatmind.com
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5180
Merit: 12865


View Profile
June 25, 2010, 07:18:54 AM
 #27

Linux on an overclocked Pentium D:
- 1 core: 565 khash/s, 1.01 kW h/day
- 2 cores: 1100 khash/s, 1.78 kW h/day

The new version seems to give me an improvement of 20-30 khash/s (with two cores) over SVN 80 with laszlo's patch.

Does anyone know what I have to change in the makefile so that I don't have to add LD_LIBRARY_PATH pointing to the dependency libraries when executing BitCoin? I already have -I and -L pointing to the single, correct location. (This isn't caused by the new version; I've always had this problem.)

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
virtualcoin
Newbie
*
Offline Offline

Activity: 13
Merit: 1


View Profile
June 25, 2010, 10:29:54 AM
Last edit: June 25, 2010, 10:48:24 AM by virtualcoin
 #28

The 64-bit version shouldn't be any faster than the 32-bit version, but it would be great if someone could do a side-by-side comparison of the two linux versions and check.  SHA-256 is a 32-bit algorithm and nothing in BitcoinMiner uses 64-bit at all.

But look here:

32-bit Linux version on Ubuntu 10.04

4 cores: 2500 khash/s
3 cores: 1900 khash/s
2 cores: 1260 khash/s
1 core: 630 khash/s

64-bit Linux version on Ubuntu 10.04 (new measure)

4 cores: 2880 khash/s
3 cores: 2150 khash/s
2 cores: 1450 khash/s
1 core: 720 khash/s

(Though I never created one coin, yet - but I don't let bitcoin run on 4 cores the whole day, not even on 1 core...)

@Joozero - The Intel i7 860 is @ 2.8 Ghz, isn't it? My Phenom II is @ 3 Ghz, that's another important fact I think. I will try bitcoin on Windows 7 at the same machine later.

/edit

32-bit Win version on Windows 7 64-bit

4 cores: 2310 khash/s
3 cores: 1740 khash/s
2 cores: 1160 khash/s
1 core: 580 khash/s
satoshi (OP)
Founder
Sr. Member
*
qt
Offline Offline

Activity: 364
Merit: 6722


View Profile
June 25, 2010, 02:10:06 PM
 #29

Thanks virtualcoin, that's a perfect comparison.

The 8% speedup from 32-bit Windows (2310k) to 32-bit Linux (2500k) is probably from the newer version of GCC on Linux (4.4.3 vs 3.4.5).

The 15% speedup from 32-bit to 64-bit Linux is more of a mystery.  The code is completely 32-bit.

Hmm, I think the 8 extra registers added by x86-64 must be what's helping.  That would make a significant difference to SHA if it could hold most of the 16 state variables in registers.
satoshi (OP)
Founder
Sr. Member
*
qt
Offline Offline

Activity: 364
Merit: 6722


View Profile
June 26, 2010, 12:32:09 AM
Last edit: June 26, 2010, 07:20:09 PM by satoshi
 #30

Lets try using Laszlo's irc.lfnet.org instead of freenode.  Here's RC2, that's the only change in it:

(see below for download links)
NewLibertyStandard
Sr. Member
****
Offline Offline

Activity: 252
Merit: 268



View Profile WWW
June 26, 2010, 01:19:35 AM
 #31

It looks good! The number of hashes per second intermittently disappears for a few seconds at a time. I think it might be triggered by clicking on the file menu multiple times. I'm using the Linux 64-bit build.

Treazant: A Fullever Rewarding Bitcoin - Backup Your Wallet TODAY to Double Your Money! - Dual Currency Donation Address: 1Dnvwj3hAGSwFPMnkJZvi3KnaqksRPa74p
satoshi (OP)
Founder
Sr. Member
*
qt
Offline Offline

Activity: 364
Merit: 6722


View Profile
June 26, 2010, 03:10:10 PM
 #32

The first panel of the status bar is shared with the help description of menu items as you hover over them.  Since all our menu item descriptions are blank, it replaces it with blank when you're hovering in a menu.
satoshi (OP)
Founder
Sr. Member
*
qt
Offline Offline

Activity: 364
Merit: 6722


View Profile
June 26, 2010, 07:21:05 PM
Last edit: July 02, 2010, 09:56:11 PM by satoshi
 #33

Changed the version number to 1.3 and removed "Beta".

(links removed, see below)

Uses irc.lfnet.org.
laszlo
Full Member
***
Offline Offline

Activity: 199
Merit: 2072


View Profile
June 27, 2010, 02:45:28 PM
 #34

I'm not sure why but I noticed that as well - my Win32 build was a lot slower than the linux/mac builds I did.  I used MinGW and all that but maybe I made a mistake somewhere..  I probably used a different version of Berkeley DB than Satoshi too so that's why the logs weren't binary compatible.

BC: 157fRrqAKrDyGHr1Bx3yDxeMv8Rh45aUet
satoshi (OP)
Founder
Sr. Member
*
qt
Offline Offline

Activity: 364
Merit: 6722


View Profile
June 27, 2010, 03:30:13 PM
 #35

MinGW still only has good old stable 3.4.5.  There's not much reason for them to update it.

When I looked at the 3.4.5 compiled SHA disassembly, I couldn't see any room for improvement at all.  I can't imagine how 8% more could be squeezed out of it.  Is it possible Windows could have 8% more overhead?  Not making system calls or anything, just plain busy computational code, could task switching and other housekeeping operations take away that much?
dkaparis
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
June 27, 2010, 10:02:25 PM
 #36

MinGW still only has good old stable 3.4.5.  There's not much reason for them to update it.

When I looked at the 3.4.5 compiled SHA disassembly, I couldn't see any room for improvement at all.  I can't imagine how 8% more could be squeezed out of it.  Is it possible Windows could have 8% more overhead?  Not making system calls or anything, just plain busy computational code, could task switching and other housekeeping operations take away that much?

Maybe best to look at the 4.4.3 compiled disassembly as well and see if there are any differences.

On a related note, is the thing compilable by Visual C++? I'm inclined to give it a try when I get around to it.

Dimitri
satoshi (OP)
Founder
Sr. Member
*
qt
Offline Offline

Activity: 364
Merit: 6722


View Profile
July 02, 2010, 08:37:17 PM
 #37

On a related note, is the thing compilable by Visual C++? I'm inclined to give it a try when I get around to it.
It is, but generating is more than twice as slow.
satoshi (OP)
Founder
Sr. Member
*
qt
Offline Offline

Activity: 364
Merit: 6722


View Profile
July 02, 2010, 09:57:45 PM
Last edit: July 06, 2010, 07:44:42 PM by satoshi
 #38

(reverted to rc2)

Links removed, 0.3 is now released, so go to http://www.bitcoin.org to download it.
laszlo
Full Member
***
Offline Offline

Activity: 199
Merit: 2072


View Profile
July 04, 2010, 07:39:32 PM
 #39

Mac OS version - requires Intel processor and 10.5 (10.4 not supported)

http://heliacal.net/~solar/bitcoin/builds/MacOSX-Intel-0.3/bitcoin-0.3.0.zip

BC: 157fRrqAKrDyGHr1Bx3yDxeMv8Rh45aUet
satoshi (OP)
Founder
Sr. Member
*
qt
Offline Offline

Activity: 364
Merit: 6722


View Profile
July 04, 2010, 09:52:28 PM
 #40

Laszlo's build is going to be our first Mac release so please test it!
Pages: « 1 [2] 3 »  All
  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!