|
NewLibertyStandard
|
|
August 09, 2010, 08:26:15 PM Last edit: August 10, 2010, 04:58:29 AM by NewLibertyStandard |
|
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.
|
Treazant: A Fullever Rewarding Bitcoin - Backup Your Wallet TODAY to Double Your Money! - Dual Currency Donation Address: 1Dnvwj3hAGSwFPMnkJZvi3KnaqksRPa74p
|
|
|
jgarzik
Legendary
Offline
Activity: 1596
Merit: 1100
|
|
August 09, 2010, 08:46:14 PM |
|
IMO, SSE should be required for generation, not simply to run the client.
|
Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own. Visit bloq.com / metronome.io Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
|
|
|
satoshi (OP)
Founder
Sr. Member
Offline
Activity: 364
Merit: 7248
|
|
August 09, 2010, 08:55:06 PM |
|
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)
|
|
|
|
dkaparis
Newbie
Offline
Activity: 53
Merit: 0
|
|
August 09, 2010, 08:57:02 PM |
|
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.
|
|
|
|
dkaparis
Newbie
Offline
Activity: 53
Merit: 0
|
|
August 09, 2010, 09:02:49 PM |
|
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.
|
|
|
|
knightmb
|
|
August 10, 2010, 12:02:25 AM |
|
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
|
Timekoin - The World's Most Energy Efficient Encrypted Digital Currency
|
|
|
tcatm
|
|
August 10, 2010, 12:04:45 AM |
|
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.
|
|
|
|
NewLibertyStandard
|
|
August 10, 2010, 02:45:47 AM |
|
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.
|
Treazant: A Fullever Rewarding Bitcoin - Backup Your Wallet TODAY to Double Your Money! - Dual Currency Donation Address: 1Dnvwj3hAGSwFPMnkJZvi3KnaqksRPa74p
|
|
|
Ground Loop
Member
Offline
Activity: 111
Merit: 10
|
|
August 10, 2010, 03:38:23 AM Last edit: August 10, 2010, 05:44:20 AM by Ground Loop |
|
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.
|
Bitcoin accepted here: 1HrAmQk9EuH3Ak6ugsw3qi3g23DG6YUNPq
|
|
|
Ground Loop
Member
Offline
Activity: 111
Merit: 10
|
|
August 10, 2010, 03:47:28 AM |
|
Just to confirm -- this fix is in SVN 125?
|
Bitcoin accepted here: 1HrAmQk9EuH3Ak6ugsw3qi3g23DG6YUNPq
|
|
|
mizerydearia
|
|
August 10, 2010, 06:18:28 AM |
|
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. You're not the only one. I haven't generated in over a month.
|
|
|
|
ArtForz
|
|
August 10, 2010, 09:37:49 AM |
|
Fix is in svn r124, r125 added -maxconnections.
|
bitcoin: 1Fb77Xq5ePFER8GtKRn2KDbDTVpJKfKmpz i0coin: jNdvyvd6v6gV3kVJLD7HsB5ZwHyHwAkfdw
|
|
|
satoshi (OP)
Founder
Sr. Member
Offline
Activity: 364
Merit: 7248
|
|
August 10, 2010, 11:46:00 PM |
|
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.
|
|
|
|
SEN-5241
Newbie
Offline
Activity: 4
Merit: 0
|
|
August 14, 2010, 02:24:52 PM |
|
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.
|
|
|
|
NewLibertyStandard
|
|
August 14, 2010, 02:54:57 PM |
|
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.
|
Treazant: A Fullever Rewarding Bitcoin - Backup Your Wallet TODAY to Double Your Money! - Dual Currency Donation Address: 1Dnvwj3hAGSwFPMnkJZvi3KnaqksRPa74p
|
|
|
|