Bitcoin x64 for Windows
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?
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.
Related entries
Related entries
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!
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 😊
I can assure you the code is 100% clean.
Win7 64-bit Intel Xeon 5130 (2.0GHz dual-proc)
I’ll send you the first 50.0 it finds. 😊
Here’s a weird question.. has anyone actually generated a block with this faster version?
I have a few machines that used to regularly generate, and since switching to this version — zip. I know these things are subject to random variation, and it could be a dry spell, and the difficulty is going up, but… could it be a bug?
So --- Bitquux, that was Olipro’s binary that found the coin?
OK, I’ve made a new build of Bitcoin, this one is compiled using the Intel compiler which is considerably more advanced than the standard MS compiler.
Please note this build is 64-bit only since I see no reason to compile a build for 32-bit when most 32-bit processors lack the newer SSE instructions anyway.
Performance? my MSVC build averages about 2400K for me, this averages 2900K so you’re looking at an improvement of about 125k per core or thereabouts although this does come at the cost of a larger EXE, improved performance is worth it in my opinion 😊
My next goal is to see if this PolarSSL SHA256 algo really is faster. for now however, download Bitcoin x64 ICC optimised build here (http://www.4shared.com/file/mOP_WMgN/Bitcoin_IntelBuild.html)
Runs about the same speed as the VC++ version here (Xeon, Win7 64-bit).
Vista x64 here
From regular version ~1700khash/s to this version ~2300khash/s (last versios posted here)
Really nice, but i think need to be more stable
OK, I’ve made a new build now; this version uses the 64bit SHA256 Assembler code from Crypto++ which means the Byteswap function is now only used for re-ordering the resulting hash - and of course it’s using 64-bit ASM to create the hash in the first place.
Performance? I’ve gone from an average of 2900k hashes on my previous builds up to a pretty stellar 3300k hashes (an improvement of about 100k per core) - I would be very surprised if the Linux builds outperform this.
Grab x64 Asm Optimised Bitcoin here (http://www.4shared.com/file/etsKJC9d/Bitcoin_Asm_Optimized.html)
OK, now for some absolutely incredible performance.
Credit to tcatm for the caching part of the SHA context - this offers absolutely brilliant performance. Additionally, the Intel compiler really comes into its own here as its parallelisation abilities give a massive performance boost over Visual Studio.
Performance: 4700khash/s on 4 cores, I think that speaks for itself.
I’ve included both the VS and Intel build, but there’s really no comparison, the Intel build craps all over VS.
Grab SHA state caching Bitcoin here
Um.. Wow. That last one was a bit of a leap.
Intel Core i7-870 (2.93 GHz) running 4950 khash/s here. (4 cores Turbo’d to 3.2 GHz) (Intel version)
Anyone seeing a speed difference between VS and Intel?
OK, now for some absolutely incredible performance.
Credit to tcatm for the caching part of the SHA context - this offers absolutely brilliant performance. Additionally, the Intel compiler really comes into its own here as its parallelisation abilities give a massive performance boost over Visual Studio.
Performance: 4700khash/s on 4 cores, I think that speaks for itself.
I’ve included both the VS and Intel build, but there’s really no comparison, the Intel build craps all over VS.
Grab SHA state caching Bitcoin here
Wow, this is the biggest jump I’ve ever seen. Nearly a 250% increase in speed from the stock version, amazing. Now let’s see how stable it is
They do physically, but if you use a virtual machine, you can set environments to have 3 for example. Windows will work with 3 cores or 4 cores just fine, it doesn’t care how many it has.
They do physically, but if you use a virtual machine, you can set environments to have 3 for example. Windows will work with 3 cores or 4 cores just fine, it doesn’t care how many it has.
VMware only permits even numbers of processors/cores although I believe you can expose 8 cores and then configure the OS to only see 7.
if he really does have this setup, I’m going to bet that he’s opted for more processors/cores than his CPU actually has (yep, you can do this but it will have a pretty negative effect on performance)
KQuote from: knightmb on July 26, 2010, 3:33:34 PM UTCThey do physically, but if you use a virtual machine, you can set environments to have 3 for example. Windows will work with 3 cores or 4 cores just fine, it doesn’t care how many it has.
VMware only permits even numbers of processors/cores although I believe you can expose 8 cores and then configure the OS to only see 7.
if he really does have this setup, I’m going to bet that he’s opted for more processors/cores than his CPU actually has (yep, you can do this but it will have a pretty negative effect on performance)
I was thinking about Virtual Box when I wrote that 😉
I’ve thought about dialing BitCoin down to 7 active cores on my desktop machine, just to keep one free for general lightweight UI use.
I’ve thought about dialing BitCoin down to 7 active cores on my desktop machine, just to keep one free for general lightweight UI use.
the BitCoin threads are automatically assigned low priority; as soon as any other processes want to use the CPU it will automatically lose CPU time
Credit to tcatm for the caching part of the SHA context - this offers absolutely brilliant performance. Additionally, the Intel compiler really comes into its own here as its parallelisation abilities give a massive performance boost over Visual Studio.
Performance: 4700khash/s on 4 cores, I think that speaks for itself.
I’ve included both the VS and Intel build, but there’s really no comparison, the Intel build craps all over VS.
Is that still starting from Crypto++? Lets get this into the main sourcecode.
Other external sources: Satoshi Nakamoto Institute
OQuote from: Olipro on July 26, 2010, 6:39:17 AM UTCCredit to tcatm for the caching part of the SHA context - this offers absolutely brilliant performance. Additionally, the Intel compiler really comes into its own here as its parallelisation abilities give a massive performance boost over Visual Studio.
Performance: 4700khash/s on 4 cores, I think that speaks for itself.
I’ve included both the VS and Intel build, but there’s really no comparison, the Intel build craps all over VS.
Is that still starting from Crypto++? Lets get this into the main sourcecode.
no, it’s not Crypto++ now, check the x86 thread for relevant source links.
OQuote from: Olipro on July 26, 2010, 6:39:17 AM UTCOK, now for some absolutely incredible performance.
Credit to tcatm for the caching part of the SHA context - this offers absolutely brilliant performance. Additionally, the Intel compiler really comes into its own here as its parallelisation abilities give a massive performance boost over Visual Studio.
Performance: 4700khash/s on 4 cores, I think that speaks for itself.
I’ve included both the VS and Intel build, but there’s really no comparison, the Intel build craps all over VS.
Grab SHA state caching Bitcoin here
Wow, this is the biggest jump I’ve ever seen. Nearly a 250% increase in speed from the stock version, amazing. Now let’s see how stable it is
This one blows the other one out of the water, even on my AMD.
Yeah, I easily see 10,000 khash/s on some of my lower end 8 core servers. This should give just about anyone a major speed boost.
OK, finally got around to doing the builds, thanks to the fact Satoshi is now using the crypto++ stuff I’ve been able to build it with VS without there being any performance difference between it and the Intel compiler, so with any luck we should have good stability.
Please note that the x86 and x64 builds are not equal; the x64 version uses the full x64 SHA256 ASM code.
I’m getting close to 5000khash/s on the x64 build and about 200k less on the x86 build (so no doubt the more cores you have the more you’ll notice the difference)
Link Updated, I removed the pointless ByteReverse operations and I’ve broken over 5000khash/s
anyway, grab it here (http://www.4shared.com/file/PrvzpN4U/Bitcoin0340_Win-x86_and_x64.html)
From 3800 (the last realease x64) to 4300 (actual realease).
Now i hope more stability
Thanks
Related entries
Related entries
and with that addition, I’ve broken over 5000khash/s for the first time.
I’ve updated the link above, so just redownload.
New Link please




