Olipro (OP)
Member
Offline
Activity: 70
Merit: 10
|
|
July 20, 2010, 09:02:02 PM |
|
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?
|
|
|
|
Bitcoiner
Member
Offline
Activity: 70
Merit: 11
|
|
July 20, 2010, 09:04:36 PM |
|
I am... would it be even faster on SSE3?
|
Want to thank me for this post? Donate here! Flip your coins over to: 13Cq8AmdrqewatRxEyU2xNuMvegbaLCvEe
|
|
|
ender_x
Newbie
Offline
Activity: 10
Merit: 0
|
|
July 20, 2010, 09:05:29 PM |
|
sure, I'd like to see if it removes my 20% difference from the linux bin's.
|
|
|
|
knightmb
|
|
July 20, 2010, 09:30:02 PM |
|
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.
|
Timekoin - The World's Most Energy Efficient Encrypted Digital Currency
|
|
|
Olipro (OP)
Member
Offline
Activity: 70
Merit: 10
|
|
July 20, 2010, 09:35:41 PM Last edit: July 20, 2010, 09:53:25 PM by Olipro |
|
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
Activity: 860
Merit: 1026
|
|
July 20, 2010, 09:49:44 PM |
|
|
|
|
|
Olipro (OP)
Member
Offline
Activity: 70
Merit: 10
|
|
July 20, 2010, 09:53:08 PM |
|
see my previous post.
Feedback on performance is appreciated, bitcoins even moreso.
|
|
|
|
knightmb
|
|
July 20, 2010, 11:52:41 PM |
|
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?
|
Timekoin - The World's Most Energy Efficient Encrypted Digital Currency
|
|
|
jimbobway
Legendary
Offline
Activity: 1304
Merit: 1015
|
|
July 20, 2010, 11:54:25 PM |
|
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.
|
|
|
|
knightmb
|
|
July 20, 2010, 11:57:07 PM |
|
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.
|
Timekoin - The World's Most Energy Efficient Encrypted Digital Currency
|
|
|
martin
|
|
July 20, 2010, 11:57:56 PM |
|
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 This version has between 200-700 more khash per second on my machine.
|
|
|
|
knightmb
|
|
July 21, 2010, 12:01:20 AM |
|
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 This version has between 200-700 more khash per second on my machine. No missing DLL errors when you try to start it?
|
Timekoin - The World's Most Energy Efficient Encrypted Digital Currency
|
|
|
Olipro (OP)
Member
Offline
Activity: 70
Merit: 10
|
|
July 21, 2010, 12:46:27 AM |
|
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 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?
|
|
|
|
|
|
Olipro (OP)
Member
Offline
Activity: 70
Merit: 10
|
|
July 21, 2010, 12:52:31 AM Last edit: July 21, 2010, 02:56:43 AM by Olipro |
|
|
|
|
|
Olipro (OP)
Member
Offline
Activity: 70
Merit: 10
|
|
July 21, 2010, 01:01:12 AM Last edit: July 21, 2010, 01:16:42 AM by Olipro |
|
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.
|
|
|
|
Olipro (OP)
Member
Offline
Activity: 70
Merit: 10
|
|
July 21, 2010, 01:03:40 AM |
|
that's very interesting, what processor/frequency are you on? x86 or x64?
|
|
|
|
Ground Loop
Member
Offline
Activity: 111
Merit: 10
|
|
July 21, 2010, 01:14:07 AM |
|
Win7 64-bit Intel Xeon 5130 (2.0GHz dual-proc) I'll send you the first 50.0 it finds.
|
Bitcoin accepted here: 1HrAmQk9EuH3Ak6ugsw3qi3g23DG6YUNPq
|
|
|
knightmb
|
|
July 21, 2010, 01:20:48 AM |
|
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
|
Timekoin - The World's Most Energy Efficient Encrypted Digital Currency
|
|
|
|