Author

Topic: Version 0.3.8.1 update for Linux 64-bit (Read 10023 times)

sr. member
Activity: 252
Merit: 268
August 14, 2010, 09:54:57 AM
#16
I think the client should have a "test coin generation" feature.  It would essentially just generate some known block just to show everything is working properly. 
I agree. I have a second computer with which I can test difficulty 1 block generation, but I never actually do it. If there was a button to do it, I would.
newbie
Activity: 4
Merit: 0
August 14, 2010, 09:24:52 AM
#15
I think the client should have a "test coin generation" feature.  It would essentially just generate some known block just to show everything is working properly. 
founder
Activity: 364
Merit: 7248
August 10, 2010, 06:46:00 PM
#14
SVN rev 128: disable SSE2 on 32-bit.  This may only disable it for MSVC and GCC.  Other compilers might have different 64-bit defines.
sr. member
Activity: 406
Merit: 257
August 10, 2010, 04:37:49 AM
#13
Fix is in svn r124, r125 added -maxconnections.
hero member
Activity: 574
Merit: 513
August 10, 2010, 01:18:28 AM
#12
Hah!  This sure helps explain a long-standing mystery.. why my 10,000 khash/sec Linux 64-bit machine is the only one that has never, in two weeks, generated a block. Smiley


You're not the only one.  I haven't generated in over a month.
member
Activity: 111
Merit: 10
August 09, 2010, 10:47:28 PM
#11
Just to confirm -- this fix is in SVN 125?
member
Activity: 111
Merit: 10
August 09, 2010, 10:38:23 PM
#10
Hah!  This sure helps explain a long-standing mystery.. why my 10,000 khash/sec Linux 64-bit machine is the only one that has never, in two weeks, generated a block. Smiley
sr. member
Activity: 252
Merit: 268
August 09, 2010, 09:45:47 PM
#9
My impression of the difficulty was based on my broken client, haha! I've already generated a block tonight for the first time in such a long time. Having older computers generate coins doesn't seem as futile as it did earlier today. If you can keep the compatibility intact, I think it would be well worth it.
sr. member
Activity: 337
Merit: 285
August 09, 2010, 07:04:45 PM
#8
I'm still running an old node without SSE2 @600khash/s. The algorithm works so I don't see why we should make SSE2 a requirement.
sr. member
Activity: 308
Merit: 258
August 09, 2010, 07:02:25 PM
#7
From what I understand, removing the offending define is required only for 64-bit builds and 64-bit architectures are already guaranteed to support SSE2 instructions. 32-bit builds can retain the flag and thus continue to disable SSE2 instructions and remain compatible with older computers.

Older CPU that don't support SSE2 shouldn't be excluded from coin generation in my opinion. They can still serve a vital role in block generation; I have many machines that don't support the SSE2 enhancements, but still generate blocks all the time, even if they are only churning 300-400 khash/s
newbie
Activity: 53
Merit: 0
August 09, 2010, 04:02:49 PM
#6
That's a good point, I believe you could run with generation off if you don't have SSE2.

How about add to the top of cryptopp/config.h:

#if !defined(_M_X64) && !defined(__x86_64__)
#define CRYPTOPP_DISABLE_SSE2  1
#endif

that would disable SSE2 for 32-bit builds.  (at least with GCC or MSVC)

Yes, but better have that specified in the makefile. That way anyone who doesn't care for old CPU's can compile with SSE2 support by removing the flag, without fiddling with the source.

I can also add a CMake property for that in the CMake build.
newbie
Activity: 53
Merit: 0
August 09, 2010, 03:57:02 PM
#5
From what I understand, removing the offending define is required only for 64-bit builds and 64-bit architectures are already guaranteed to support SSE2 instructions. 32-bit builds can retain the flag and thus continue to disable SSE2 instructions and remain compatible with older computers.
founder
Activity: 364
Merit: 7248
August 09, 2010, 03:55:06 PM
#4
That's a good point, I believe you could run with generation off if you don't have SSE2.

How about add to the top of cryptopp/config.h:

#if !defined(_M_X64) && !defined(__x86_64__)
#define CRYPTOPP_DISABLE_SSE2  1
#endif

that would disable SSE2 for 32-bit builds.  (at least with GCC or MSVC)
legendary
Activity: 1596
Merit: 1100
August 09, 2010, 03:46:14 PM
#3

IMO, SSE should be required for generation, not simply to run the client.

sr. member
Activity: 252
Merit: 268
August 09, 2010, 03:26:15 PM
#2
The difficulty has gotten high enough that I wouldn't worry about dropping block generation support for old computers if it's hard to maintain compatibility. But the client should definitely provide some feedback explaining why the feature isn't available. Perhaps you could make a message pop up that explains why generating bitcoins is not supported on old hardware.
founder
Activity: 364
Merit: 7248
August 09, 2010, 02:46:58 PM
#1
When we switched to Crypto++ 5.6.0 SHA-256 in version 0.3.6, generation got broken on the Linux 64-bit build.  Version 0.3.8.1 is on SourceForge with the 64-bit binary updated.

Download:
http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.8/bitcoin-0.3.8.1-linux.tar.gz/download

Future versions after 0.3.8 will probably require SSE2.  Anyone have Pentium 3 or older where this would be a problem?
Jump to: