Bitcoin Forum
December 16, 2017, 12:31:28 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 [72] 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 ... 349 »
  Print  
Author Topic: Nexus - Pure SHA3 + CPU/GPU + nPoS + 15 Active Innovations + More to Come  (Read 732328 times)
Chris84
Jr. Member
*
Offline Offline

Activity: 51


View Profile
October 21, 2014, 09:58:58 AM
 #1421

So, if a coin developer really wants a "CPU only" coin, what should he do? He should use an algorithm, that is proofed to be inefficent to parallize.

...

As far as I know, searching for primeclusters is only efficent with wheel factorization + sieve of erastosthenes. But the quality of this is bound to the use of much memory. From this point, choosing this proof-of-work isn't a bad idea and GPU-miners will never become nearly such efficient like on sha256 (or similar).

BUT.... this is not inefficient to parallize and doesn't require much RAM per thread: all threads could work on the same sieve...
The sieve of Eratosthenes is highly parallelizable: just use one different prime per thread. After that, testing the remaining candidates is also a highly parallelizable task.

After all, the PoW has to be a parallelizable thing by nature, since all miners try to solve a block in parallel. So it's hard to make an algo that's more efficiently mined by a CPU than a GPU.

Sure, you are able to parallize the algorithm itself. But you need many memory-accesses...
And yes, you can also try to solve multiple blocks at a time, but here comes the high memory usage (if you wanna find a fair amount of candidates)...

I don't know, how efficient this would be
1513384288
Hero Member
*
Offline Offline

Posts: 1513384288

View Profile Personal Message (Offline)

Ignore
1513384288
Reply with quote  #2

1513384288
Report to moderator
1513384288
Hero Member
*
Offline Offline

Posts: 1513384288

View Profile Personal Message (Offline)

Ignore
1513384288
Reply with quote  #2

1513384288
Report to moderator
1513384288
Hero Member
*
Offline Offline

Posts: 1513384288

View Profile Personal Message (Offline)

Ignore
1513384288
Reply with quote  #2

1513384288
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513384288
Hero Member
*
Offline Offline

Posts: 1513384288

View Profile Personal Message (Offline)

Ignore
1513384288
Reply with quote  #2

1513384288
Report to moderator
1513384288
Hero Member
*
Offline Offline

Posts: 1513384288

View Profile Personal Message (Offline)

Ignore
1513384288
Reply with quote  #2

1513384288
Report to moderator
skunk
Sr. Member
****
Offline Offline

Activity: 329


View Profile
October 21, 2014, 12:05:45 PM
 #1422

hi viz, are gpu miners ready for tonight's channel launch?

mumus
Sr. Member
****
Offline Offline

Activity: 291



View Profile
October 21, 2014, 12:51:59 PM
 #1423

Code:
/CoinShield/cpu# make -f makefile.unix
g++ -c -pthread -static-libgcc -static-libstdc++ -Wall -Wextra -Wno-sign-compare -Wno-invalid-offsetof -Wno-unused-parameter -Wformat -Wformat-security -g -DBOOST_SPIRIT_THREADSAFE -DBOOST_THREAD_USE_LIB -I/home/CoinShield/cpu -I/home/CoinShield/cpu/build -I/home/CoinShield/cpu/hash -O2 -MMD -o build/prime.o prime.cpp
In file included from util.h:5:0,
from types.h:4,
from core.h:5,
from prime.cpp:9:
hash/templates.h: In function ‘uint256 SK256(const std::vector<unsigned char>&)’:
hash/templates.h:40:23: warning: unused variable ‘pblank’ [-Wunused-variable]
In file included from core.h:5:0,
from prime.cpp:9:
types.h: At global scope:
types.h:26:19: error: ISO C++ forbids initialization of member ‘fStopped’ [-fpermissive]
types.h:26:19: error: making ‘fStopped’ static [-fpermissive]
types.h:26:19: error: ISO C++ forbids in-class initialization of non-const static member ‘fStopped’
types.h: In member function ‘LLP:DOS_Score& LLP:DOS_Score:perator++(int)’:
types.h:109:3: warning: no return statement in function returning non-void [-Wreturn-type]
types.h: In constructor ‘LLP:DOS_Filter:DOS_Filter(unsigned int)’:
types.h:119:22: warning: ‘LLP:DOS_Filter::cSCORE’ will be initialized after [-Wreorder]
types.h:116:16: warning: ‘unsigned int LLP:DOS_Filter::BANTIME’ [-Wreorder]
types.h:121:3: warning: when initialized here [-Wreorder]
In file included from core.h:5:0,
from prime.cpp:9:
types.h: In constructor ‘LLP::Connection::Connection()’:
types.h:231:18: warning: ‘LLP::Connection:DOS’ will be initialized after [-Wreorder]
types.h:204:17: warning: ‘LLP::Packet LLP::Connection::INCOMING’ [-Wreorder]
types.h:235:3: warning: when initialized here [-Wreorder]
types.h: In constructor ‘LLP::Connection::Connection(LLP::Socket_t, LLP:DOS_Filter*)’:
types.h:231:18: warning: ‘LLP::Connection:DOS’ will be initialized after [-Wreorder]
types.h:204:17: warning: ‘LLP::Packet LLP::Connection::INCOMING’ [-Wreorder]
types.h:236:3: warning: when initialized here [-Wreorder]
In file included from prime.cpp:9:0:
core.h: In constructor ‘LLP::Outbound::Outbound(std::string, std::string)’:
core.h:66:19: warning: ‘LLP::Outbound::PORT’ will be initialized after [-Wreorder]
core.h:87:79: warning: base ‘LLP::Connection’ [-Wreorder]
core.h:87:3: warning: when initialized here [-Wreorder]
prime.cpp: In function ‘void Core::InitializePrimes()’:
prime.cpp:160:69: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘__mpz_struct*’ [-Wformat]
prime.cpp: In function ‘double Core::GetPrimeDifficulty(CBigNum, int)’:
prime.cpp:193:13: warning: statement has no effect [-Wunused-value]
prime.cpp: In function ‘std::vector<unsigned int> Core::Eratosthenes(int)’:
prime.cpp:258:81: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘std::vector<unsigned int>::size_type {aka long unsigned int}’ [-Wformat]
prime.cpp: In function ‘long unsigned int Core::PrimeSieve(CBigNum, unsigned int, unsigned int)’:
prime.cpp:502:8: warning: name lookup of ‘i’ changed [enabled by default]
prime.cpp:332:16: warning: matches this ‘i’ under ISO standard rules [enabled by default]
prime.cpp:375:21: warning: matches this ‘i’ under old rules [enabled by default]
prime.cpp:527:15: warning: statement has no effect [-Wunused-value]
In file included from /usr/include/boost/asio/read.hpp:540:0,
from /usr/include/boost/asio.hpp:76,
from util.h:23,
from types.h:4,
from core.h:5,
from prime.cpp:9:
/usr/include/boost/asio/impl/read.hpp: In function ‘std::size_t boost::asio::read(SyncReadStream&, const MutableBufferSequence&, CompletionCondition, boost::system::error_code&) [with SyncReadStream = boost::asio::basic_stream_socket<boost::asio::ip:: tcp>, MutableBufferSequence = boost::asio::mutable_buffers_1, CompletionCondition = boost::system::error_code, std::size_t = long unsigned int]’:
/usr/include/boost/asio/impl/read.hpp:71:76: instantiated from ‘std::size_t boost::asio::read(SyncReadStream&, const MutableBufferSequence&, CompletionCondition) [with SyncReadStream = boost::asio::basic_stream_socket<boost::asio::ip:: tcp>, MutableBufferSequence = boost::asio::mutable_buffers_1, CompletionCondition = boost::system::error_code, std::size_t = long unsigned int]’
types.h:334:186: instantiated from here
/usr/include/boost/asio/impl/read.hpp:43:3: error: no match for call to ‘(boost::system::error_code) (boost::system::error_code&, std::size_t&)’
/usr/include/boost/system/error_code.hpp:310:11: note: candidate is:
/usr/include/boost/asio/impl/read.hpp:43:3: note: boost::system::error_code::unspecified_bool_type {aka void (*)()} <conversion>
/usr/include/boost/asio/impl/read.hpp:43:3: note: candidate expects 1 argument, 3 provided
/usr/include/boost/asio/impl/read.hpp:71:76: instantiated from ‘std::size_t boost::asio::read(SyncReadStream&, const MutableBufferSequence&, CompletionCondition) [with SyncReadStream = boost::asio::basic_stream_socket<boost::asio::ip:: tcp>, MutableBufferSequence = boost::asio::mutable_buffers_1, CompletionCondition = boost::system::error_code, std::size_t = long unsigned int]’
types.h:334:186: instantiated from here
/usr/include/boost/asio/impl/read.hpp:50:5: error: no match for call to ‘(boost::system::error_code) (boost::system::error_code&, std::size_t&)’
/usr/include/boost/system/error_code.hpp:310:11: note: candidate is:
/usr/include/boost/asio/impl/read.hpp:50:5: note: boost::system::error_code::unspecified_bool_type {aka void (*)()} <conversion>
/usr/include/boost/asio/impl/read.hpp:50:5: note: candidate expects 1 argument, 3 provided
In file included from /usr/include/boost/asio/write.hpp:537:0,
from /usr/include/boost/asio/buffered_write_stream.hpp:30,
from /usr/include/boost/asio/buffered_stream.hpp:21,
from /usr/include/boost/asio.hpp:34,
from util.h:23,
from types.h:4,
from core.h:5,
from prime.cpp:9:
/usr/include/boost/asio/impl/write.hpp: In function ‘std::size_t boost::asio::write(SyncWriteStream&, const ConstBufferSequence&, CompletionCondition, boost::system::error_code&) [with SyncWriteStream = boost::asio::basic_stream_socket<boost::asio::ip:: tcp>, ConstBufferSequence = boost::asio::mutable_buffers_1, CompletionCondition = boost::system::error_code, std::size_t = long unsigned int]’:
/usr/include/boost/asio/impl/write.hpp:69:77: instantiated from ‘std::size_t boost::asio::write(SyncWriteStream&, const ConstBufferSequence&, CompletionCondition) [with SyncWriteStream = boost::asio::basic_stream_socket<boost::asio::ip:: tcp>, ConstBufferSequence = boost::asio::mutable_buffers_1, CompletionCondition = boost::system::error_code, std::size_t = long unsigned int]’
types.h:339:165: instantiated from here
/usr/include/boost/asio/impl/write.hpp:41:3: error: no match for call to ‘(boost::system::error_code) (boost::system::error_code&, std::size_t&)’
/usr/include/boost/system/error_code.hpp:310:11: note: candidate is:
/usr/include/boost/asio/impl/write.hpp:41:3: note: boost::system::error_code::unspecified_bool_type {aka void (*)()} <conversion>
/usr/include/boost/asio/impl/write.hpp:41:3: note: candidate expects 1 argument, 3 provided
/usr/include/boost/asio/impl/write.hpp:69:77: instantiated from ‘std::size_t boost::asio::write(SyncWriteStream&, const ConstBufferSequence&, CompletionCondition) [with SyncWriteStream = boost::asio::basic_stream_socket<boost::asio::ip:: tcp>, ConstBufferSequence = boost::asio::mutable_buffers_1, CompletionCondition = boost::system::error_code, std::size_t = long unsigned int]’
types.h:339:165: instantiated from here
/usr/include/boost/asio/impl/write.hpp:48:5: error: no match for call to ‘(boost::system::error_code) (boost::system::error_code&, std::size_t&)’
/usr/include/boost/system/error_code.hpp:310:11: note: candidate is:
/usr/include/boost/asio/impl/write.hpp:48:5: note: boost::system::error_code::unspecified_bool_type {aka void (*)()} <conversion>
/usr/include/boost/asio/impl/write.hpp:48:5: note: candidate expects 1 argument, 3 provided
make: *** [build/prime.o] Error 1

all lib looks good, but probably bad version for one. any idear to solve this on V1.2 mining code?

Best regards


In types.h the Timer class should start like this:

   class Timer
   {
   private:
      boost::posix_time::ptime TIMER_START, TIMER_END;
      bool fStopped;
   public:
      Timer()
      {
         fStopped = false;
      }

      inline void Start() { TIMER_START = boost::posix_time::microsec_clock::local_time(); fStopped = false; }

and in the miner.cpp at the beginning of the MinerThread class should be look like this:

class MinerThread
   {
   public:
      CBlock* BLOCK;
      bool fBlockFound, fNewBlock;
      LLP::Thread_t THREAD;
      boost::mutex MUTEX;
      
      unsigned int nSearches, nPrimes;
      
      MinerThread() : BLOCK(NULL), fBlockFound(false), fNewBlock(true), THREAD(boost::bind(&MinerThread::PrimeMiner, this)) { nSearches = 0; nPrimes = 0; }

lobertse
Member
**
Offline Offline

Activity: 62


View Profile
October 21, 2014, 02:13:48 PM
 #1424

GPU tool where to download?
What time GPU mining?
cestballot
Sr. Member
****
Offline Offline

Activity: 318


Nexus pool : http://nexusniropool.cestballot.fr/


View Profile WWW
October 21, 2014, 03:14:21 PM
 #1425

////////////////////////

...

all lib looks good, but probably bad version for one. any idear to solve this on V1.2 mining code?

Best regards


In types.h the Timer class should start like this:

   class Timer
   {
   private:
      boost::posix_time::ptime TIMER_START, TIMER_END;
      bool fStopped;
   public:
      Timer()
      {
         fStopped = false;
      }

      inline void Start() { TIMER_START = boost::posix_time::microsec_clock::local_time(); fStopped = false; }

and in the miner.cpp at the beginning of the MinerThread class should be look like this:

class MinerThread
   {
   public:
      CBlock* BLOCK;
      bool fBlockFound, fNewBlock;
      LLP::Thread_t THREAD;
      boost::mutex MUTEX;
      
      unsigned int nSearches, nPrimes;
      
      MinerThread() : BLOCK(NULL), fBlockFound(false), fNewBlock(true), THREAD(boost::bind(&MinerThread::PrimeMiner, this)) { nSearches = 0; nPrimes = 0; }



Thx, Thx, I solved that quickly

Best

skunk
Sr. Member
****
Offline Offline

Activity: 329


View Profile
October 21, 2014, 06:22:48 PM
 #1426

 Cry

Videlicet
Legendary
*
Offline Offline

Activity: 861


Creator of Nexus http://www.nexusearth.com


View Profile WWW
October 21, 2014, 06:35:13 PM
 #1427

GPU Launch Extended. Will release the SKMiners this Friday, 10/24/14 @ 12:00 GMT - 7

The reason for this extension, is that ironically the OpenCL miner is not as efficient as the Cuda miner. More time will be required to get them up to par with each other. This is for the fairest distribution possible.

Thank You,
Viz.


[Nexus] Created by Viz. [Videlicet] : "videre licet - it may be seen; evidently; clearly"
go6ooo1212
Legendary
*
Online Online

Activity: 1232


Get smart !


View Profile
October 21, 2014, 06:55:16 PM
 #1428

Ok friday seems more suitable...
bigreddmachine
Full Member
***
Offline Offline

Activity: 176


View Profile
October 21, 2014, 10:44:35 PM
 #1429

GPU Launch Extended. Will release the SKMiners this Friday, 10/24/14 @ 12:00 GMT - 7

The reason for this extension, is that ironically the OpenCL miner is not as efficient as the Cuda miner. More time will be required to get them up to par with each other. This is for the fairest distribution possible.

Thank You,
Viz.



Not sure why that is ironic... CUDA miners are better than OpenCL ~50% of the time.  Or is it just ironic because more time was spent on the OpenCL one?

Anyway, glad to see things are going well here.
Videlicet
Legendary
*
Offline Offline

Activity: 861


Creator of Nexus http://www.nexusearth.com


View Profile WWW
October 22, 2014, 04:20:08 AM
 #1430

GPU Launch Extended. Will release the SKMiners this Friday, 10/24/14 @ 12:00 GMT - 7

The reason for this extension, is that ironically the OpenCL miner is not as efficient as the Cuda miner. More time will be required to get them up to par with each other. This is for the fairest distribution possible.

Thank You,
Viz.



Not sure why that is ironic... CUDA miners are better than OpenCL ~50% of the time.  Or is it just ironic because more time was spent on the OpenCL one?

Anyway, glad to see things are going well here.

Irony is that we were short a CUDA miner come last GPU Activation, and now it is the OpenCL lacking Wink
Performance difference was 100x which I'm sure could be improved.

Thank You,
Viz.

[Nexus] Created by Viz. [Videlicet] : "videre licet - it may be seen; evidently; clearly"
Videlicet
Legendary
*
Offline Offline

Activity: 861


Creator of Nexus http://www.nexusearth.com


View Profile WWW
October 22, 2014, 08:05:05 AM
 #1431

GPU CUDA Miner Release

So it appears the extension to the GPU launch will not be possible since someone decided to start mining on that channel. I can't let this one individual rape the channel while nobody gets the benefits, so this is as fair as I can make it. Here are the miners as they stand right now. Keep in mind the difficulty you'll get from getmininginfo will not be correct for this channel, I will release a fix in 1.0.1c.

Windows CUDA Binaries
Windows CUDA Source - This source code needs to be ported for linux.

OpenCL:
I asked Bitslapper to post his source, that will be coming soon.


I wish I could make this more fair, but my hands are tied.
Viz.





[Nexus] Created by Viz. [Videlicet] : "videre licet - it may be seen; evidently; clearly"
vedran82
Member
**
Offline Offline

Activity: 111


View Profile
October 22, 2014, 08:19:50 AM
 #1432

Sorry, but I didn't get it - how should we mine on GPU channel? Is there a specific port or...?
Videlicet
Legendary
*
Offline Offline

Activity: 861


Creator of Nexus http://www.nexusearth.com


View Profile WWW
October 22, 2014, 08:22:25 AM
 #1433

Download the gpu miner and run it with commandline arguments 127.0.0.1 9325.
It will mine for the GPU channel once you are synced.

Thank You,
Viz.

[Nexus] Created by Viz. [Videlicet] : "videre licet - it may be seen; evidently; clearly"
vedran82
Member
**
Offline Offline

Activity: 111


View Profile
October 22, 2014, 08:24:47 AM
 #1434

Thank you! Any news about other exchanges (with better volume)? It's standing still on cryptoine, bid is way too low.
mumus
Sr. Member
****
Offline Offline

Activity: 291



View Profile
October 22, 2014, 08:32:40 AM
 #1435

Download the gpu miner and run it with commandline arguments 127.0.0.1 9325.
It will mine for the GPU channel once you are synced.

Thank You,
Viz.

Doesn't seams to work for me. This is the output:
Code:
Initializing Miner 127.0.0.1:9325 Threads = 1 Timeout = 10
Connected to 127.0.0.1:9325...
[MASTER] Coinshield Network: New Block 22949
[MASTER] Block Found by GeForce GTX 750 Ti on thread 0                  0.0 kHash/s (rejected) Booo !!!
[MASTER] Block Found by (null) on thread 1                  0.0 kHash/s (rejected) Booo !!!
[MASTER] Block Found by GeForce GTX 750 Ti on thread 0                  0.0 kHash/s (rejected) Booo !!!
[MASTER] Block Found by (null) on thread 2                  0.0 kHash/s (rejected) Booo !!!
[MASTER] Block Found by GeForce GTX 750 Ti on thread 0                  0.0 kHash/s (rejected) Booo !!!
[MASTER] Block Found by (null) on thread 1                  0.0 kHash/s (rejected) Booo !!!
[MASTER] Block Found by GeForce GTX 750 Ti on thread 0                  0.0 kHash/s (rejected) Booo !!!
[MASTER] Block Found by (null) on thread 3                  0.0 kHash/s (rejected) Booo !!!
[MASTER] Block Found by GeForce GTX 750 Ti on thread 0                  0.0 kHash/s (rejected) Booo !!!
Videlicet
Legendary
*
Offline Offline

Activity: 861


Creator of Nexus http://www.nexusearth.com


View Profile WWW
October 22, 2014, 08:41:56 AM
 #1436

mumus,

E-mail me your debug.log so I can take a look why it is rejected from your node.

Thank You,
Viz.

[Nexus] Created by Viz. [Videlicet] : "videre licet - it may be seen; evidently; clearly"
skunk
Sr. Member
****
Offline Offline

Activity: 329


View Profile
October 22, 2014, 08:45:31 AM
 #1437

any good soul for fixing linux build scripts?

vedran82
Member
**
Offline Offline

Activity: 111


View Profile
October 22, 2014, 08:49:18 AM
 #1438

Download the gpu miner and run it with commandline arguments 127.0.0.1 9325.
It will mine for the GPU channel once you are synced.

Thank You,
Viz.

Doesn't seams to work for me. This is the output:
Code:
Initializing Miner 127.0.0.1:9325 Threads = 1 Timeout = 10
Connected to 127.0.0.1:9325...
[MASTER] Coinshield Network: New Block 22949
[MASTER] Block Found by GeForce GTX 750 Ti on thread 0                  0.0 kHash/s (rejected) Booo !!!
[MASTER] Block Found by (null) on thread 1                  0.0 kHash/s (rejected) Booo !!!
[MASTER] Block Found by GeForce GTX 750 Ti on thread 0                  0.0 kHash/s (rejected) Booo !!!
[MASTER] Block Found by (null) on thread 2                  0.0 kHash/s (rejected) Booo !!!
[MASTER] Block Found by GeForce GTX 750 Ti on thread 0                  0.0 kHash/s (rejected) Booo !!!
[MASTER] Block Found by (null) on thread 1                  0.0 kHash/s (rejected) Booo !!!
[MASTER] Block Found by GeForce GTX 750 Ti on thread 0                  0.0 kHash/s (rejected) Booo !!!
[MASTER] Block Found by (null) on thread 3                  0.0 kHash/s (rejected) Booo !!!
[MASTER] Block Found by GeForce GTX 750 Ti on thread 0                  0.0 kHash/s (rejected) Booo !!!

I've got the same problem here.
Videlicet
Legendary
*
Offline Offline

Activity: 861


Creator of Nexus http://www.nexusearth.com


View Profile WWW
October 22, 2014, 08:53:14 AM
 #1439

Send your debug.log file. I didn't code this miner so I need to start debugging at the node, I'll then work my way into the miner source to isolate where its issue resides. This will need to be tested by you as I do not have an Nvidia GPU.

Thank You,
Viz.


[Nexus] Created by Viz. [Videlicet] : "videre licet - it may be seen; evidently; clearly"
skunk
Sr. Member
****
Offline Offline

Activity: 329


View Profile
October 22, 2014, 09:01:21 AM
 #1440

Send your debug.log file. I didn't code this miner so I need to start debugging at the node, I'll then work my way into the miner source to isolate where its issue resides. This will need to be tested by you as I do not have an Nvidia GPU.

Thank You,
Viz.


i'm available all the day for testing, just post here once you get it to compile correctly.
thank you

Pages: « 1 ... 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 [72] 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 ... 349 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!