Bitcoin Forum
December 05, 2016, 08:51:35 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1] 2 3 4 5 6 7 8 »  All
  Print  
Author Topic: Bitcoin x64 for Windows  (Read 25847 times)
Olipro
Member
**
Offline Offline

Activity: 70


View Profile
July 20, 2010, 09:02:02 PM
 #1

So, after a lot of experimentation, pulling out of hair, cursing of the developer, I finally managed to get a build of Bitcoin compiled under MSVC.

all optimizations are on including SSE2, LTCG and favouring of Intel64 (well hey, that's my processor)

Performance difference? The two builds I made (namely 32 and 64 bit) are practically equal in terms of performance - however, their performance is not equal to the stock build currently available.

On my quad-core with the stock Windows binary available from bitcoin.org I get about 1700k hashes a second. With the builds I produced under MSVC I get 2500K a second. Anyone interested?
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480927895
Hero Member
*
Offline Offline

Posts: 1480927895

View Profile Personal Message (Offline)

Ignore
1480927895
Reply with quote  #2

1480927895
Report to moderator
Bitcoiner
Member
**
Offline Offline

Activity: 70


View Profile
July 20, 2010, 09:04:36 PM
 #2

I am... would it be even faster on SSE3?

Want to thank me for this post? Donate here! Flip your coins over to: 13Cq8AmdrqewatRxEyU2xNuMvegbaLCvEe  Smiley
ender_x
Newbie
*
Offline Offline

Activity: 10


View Profile
July 20, 2010, 09:05:29 PM
 #3

sure, I'd like to see if it removes my 20% difference from the linux bin's.
knightmb
Sr. Member
****
Offline Offline

Activity: 308


Timekoin - Save Electricity, Don't Waste It!


View Profile WWW
July 20, 2010, 09:30:02 PM
 #4

So, after a lot of experimentation, pulling out of hair, cursing of the developer, I finally managed to get a build of Bitcoin compiled under MSVC.

all optimizations are on including SSE2, LTCG and favouring of Intel64 (well hey, that's my processor)

Performance difference? The two builds I made (namely 32 and 64 bit) are practically equal in terms of performance - however, their performance is not equal to the stock build currently available.

On my quad-core with the stock Windows binary available from bitcoin.org I get about 1700k hashes a second. With the builds I produced under MSVC I get 2500K a second. Anyone interested?
I've got a spare server using a 8-core 64-bit Intel - 64 bit Windows 2003 server. I'd be curious if there is a difference from the stock, the machine currently does about 5000khash/s, I'd be curious if the 64bit native build would be better.

Olipro
Member
**
Offline Offline

Activity: 70


View Profile
July 20, 2010, 09:35:41 PM
 #5

I am... would it be even faster on SSE3?

potentially yes, I compiled it with the Microsoft compiler, I'm in the process of getting the Intel compiler so that could well offer a significant performance boost given that it supports far more instruction sets than MS's does.

Anyhow, I've uploaded the 2 binaries and the required DLLs to make them work and you can get them from right here. After a bit of testing I found that the x64 binary does outperform the 32 bit by 100-200k or so but it does depend a lot on what other crap you have running on your system.

And if anyone feels generous... 18em7jEuKe1W74ChAZMFShUuqmwudWmpgu
SmokeTooMuch
Legendary
*
Offline Offline

Activity: 873


View Profile
July 20, 2010, 09:49:44 PM
 #6

Anyone interested?
Yep.

Date Registered: 2009-12-10 | I'm using GPG, pm me for my public key. | Bitcoin on Reddit: https://www.reddit.com/r/btc
You like what I'm doing? Why don't you send me a coin: 17Pj8jpUgY6qTaKgiopL5U48zxU4rTrkuB
Olipro
Member
**
Offline Offline

Activity: 70


View Profile
July 20, 2010, 09:53:08 PM
 #7

see my previous post.

Feedback on performance is appreciated, bitcoins even moreso.
knightmb
Sr. Member
****
Offline Offline

Activity: 308


Timekoin - Save Electricity, Don't Waste It!


View Profile WWW
July 20, 2010, 11:52:41 PM
 #8

see my previous post.

Feedback on performance is appreciated, bitcoins even moreso.
I keep getting a "MSVCR100.dll" not found error when trying to start it. I copied the file over from another system into the system32 folder, but the program still can't find it for some reason. Do we need the full Microsoft dev environment installed to test it?

jimbobway
Legendary
*
Offline Offline

Activity: 1380



View Profile
July 20, 2010, 11:54:25 PM
 #9

How do we know this is not a scam?  Give us your IP to donate with or something so we can make sure you are reputable.  I am scared to install it, it might steal my bitcoins.

░░░░░░░░░██████░░░░░░░░░░░░▄▄▄
░░███░░██████░░░░░▄▄▄▄▄░░██
░░███░░█████████████
░░░░░░░░██████▀▀██████████
░░░░░░░░██████░░░░░██████████
░░░░░░▄▄▄▄▄▄░░░▄▄▄░░░░███████
░░░░░██████░░░███░░░░███████
░░░░░██████░░░███
░░░░░███████▄▄▄▄▄████████
░░░░░████████████████████
░░▄▄▄▄▄░░█████░░░░█████████
█████░░█████░░░░█████████
█████░░░░░░░░░░░░█████████
█████░░░░░░░░░░░░░█████████

START GETTING PAID FOR YOUR ATTENTION!
███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
JUSTICE IN THE WORLD OF ONLINE ADVERTISING!

BUY MASS COIN 】【 ICO PROSPECTUS
VISIT OUR WEBSITE
TWITTER 】【 FACEBOOK 】【 TELEGRAM

knightmb
Sr. Member
****
Offline Offline

Activity: 308


Timekoin - Save Electricity, Don't Waste It!


View Profile WWW
July 20, 2010, 11:57:07 PM
 #10

How do we know this is not a scam?  Give us your IP to donate with or something so we can make sure you are reputable.  I am scared to install it, it might steal my bitcoins.
I'll guinea pig, I'm running it on a test system that has no balance yet, well trying to run, it won't start.

martin
Full Member
***
Offline Offline

Activity: 150



View Profile WWW
July 20, 2010, 11:57:56 PM
 #11

It's not a scam, I decided to install it and see. Unless it's a very complex scam which waits for a while before stealing my coins Wink

This version has between 200-700 more khash per second on my machine.

knightmb
Sr. Member
****
Offline Offline

Activity: 308


Timekoin - Save Electricity, Don't Waste It!


View Profile WWW
July 21, 2010, 12:01:20 AM
 #12

It's not a scam, I decided to install it and see. Unless it's a very complex scam which waits for a while before stealing my coins Wink

This version has between 200-700 more khash per second on my machine.
No missing DLL errors when you try to start it?

Olipro
Member
**
Offline Offline

Activity: 70


View Profile
July 21, 2010, 12:46:27 AM
 #13

It's not a scam, I decided to install it and see. Unless it's a very complex scam which waits for a while before stealing my coins Wink

This version has between 200-700 more khash per second on my machine.

correct, it's not a scam, the code is completely vanilla, I didn't obsfusicate it so you can feel free to examine it in the disassembler of your choice.

so, with my build you've gone from 5000k to 5700k?
Ground Loop
Member
**
Offline Offline

Activity: 112


View Profile
July 21, 2010, 12:49:33 AM
 #14

Get visual C 2010 redist from Microsoft -- pointers here:

http://www.mydigitallife.info/2010/04/17/visual-c-2010-runtime-redistributable-package-x86-x64-ia64-free-download/

The new code is full of win.. hash rate (4 core) went from 1350 to 1880 khash/s.  Sweet!

Bitcoin accepted here: 1HrAmQk9EuH3Ak6ugsw3qi3g23DG6YUNPq
knightmb
Sr. Member
****
Offline Offline

Activity: 308


Timekoin - Save Electricity, Don't Waste It!


View Profile WWW
July 21, 2010, 12:50:03 AM
 #15

For those that get the DLL error and don't want to install the full dev environment, you need to download the Visual C++ 2010 Redistributable x64 located
http://www.microsoft.com/downloads/details.aspx?FamilyID=BD512D9E-43C8-4655-81BF-9350143D5867&displaylang=en

Olipro
Member
**
Offline Offline

Activity: 70


View Profile
July 21, 2010, 12:52:31 AM
 #16

I recommend getting the redist from the official source:

x86 here: http://www.microsoft.com/downloads/details.aspx?FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84

x64 here: http://www.microsoft.com/downloads/details.aspx?FamilyID=bd512d9e-43c8-4655-81bf-9350143d5867

If there's demand for it, I can compile an Itanic Itanium build... for a reasonable consideration Smiley
Olipro
Member
**
Offline Offline

Activity: 70


View Profile
July 21, 2010, 01:01:12 AM
 #17

How do we know this is not a scam?  Give us your IP to donate with or something so we can make sure you are reputable.  I am scared to install it, it might steal my bitcoins.

If I were scamming, what incentive would I have to ask for donations knowing that those who used it would have their account emptied anyway. Frankly though, my username is far more of a verification of my authenticity than my IP would ever be Smiley

I can assure you the code is 100% clean.
Olipro
Member
**
Offline Offline

Activity: 70


View Profile
July 21, 2010, 01:03:40 AM
 #18

Get visual C 2010 redist from Microsoft -- pointers here:

http://www.mydigitallife.info/2010/04/17/visual-c-2010-runtime-redistributable-package-x86-x64-ia64-free-download/

The new code is full of win.. hash rate (4 core) went from 1350 to 1880 khash/s.  Sweet!


that's very interesting, what processor/frequency are you on? x86 or x64?
Ground Loop
Member
**
Offline Offline

Activity: 112


View Profile
July 21, 2010, 01:14:07 AM
 #19

Win7 64-bit
Intel Xeon 5130 (2.0GHz dual-proc)

I'll send you the first 50.0 it finds. Smiley

Bitcoin accepted here: 1HrAmQk9EuH3Ak6ugsw3qi3g23DG6YUNPq
knightmb
Sr. Member
****
Offline Offline

Activity: 308


Timekoin - Save Electricity, Don't Waste It!


View Profile WWW
July 21, 2010, 01:20:48 AM
 #20

Nice job, this is just my initial testing, but the 64 bit compile speeds up hashing by over 28% so far over the 32 bit counterpart.

So for example, my 8-core system does (600 khash/s per core =  4800 khash/s) for normally, but now averages 5700 khash/s

I'll certainly be sending some bitcoins your way  Wink

Pages: [1] 2 3 4 5 6 7 8 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!