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?
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
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)
Quote from: knightmb on July 26, 2010, 6:33:34 AM 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.
Quote 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.
Quote 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.