Bitcoin Forum
May 05, 2024, 03:05:25 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 ... 197 »
  Print  
Author Topic: [LOCKED] cpuminer-opt v3.12.3, open source optimized multi-algo CPU miner  (Read 443972 times)
th3.r00t
Sr. Member
****
Offline Offline

Activity: 312
Merit: 250



View Profile WWW
March 10, 2017, 06:35:37 AM
 #2221

I'm looking at updating the errata for old AMD CPUs and would like more precision on which CPUs work
and which don't.

Athlon 64 x2 and Phenom II x4 are confirmed not to work. It appears anything less than Bulldozer, which
introduced AVX, will not work with all algos.

If no one has data that says otherwise I'll update the errata in the OP.
These CPUs are working fine with legacy versions on zr5 algo.
I haven't tested other algos, since I have no interest in them.
m7m also works if I recall corectly - will test that on a weekend.

Thanks, that helps localize the incompatible code, it's not in code used by zr5 or m7m.
Let me know if something is broken using an AVX enabled AMD CPU, that would be
unexpected.
If that can help you identify (and hopefully fix) broken algos, I will do a full test tomorrow on all algos supported on zpool.ca.
That includes Linux and Windows builds of legacy versions (since they are faster on these CPUs).

BitSend ◢◤Clients | Source
www.bitsend.info
█▄
█████▄
████████▄
███████████▄
██████████████
███████████▀
████████▀
█████▀
█▀












Your Digital Network | 10MB Blocks
Algo: XEVAN | DK3 | Masternodes
Bitcore - BTX/BTC -Project












BSD -USDT | Bittrex | C.Gather | S.Exchange
Cryptopia | NovaExchange | Livecoin
CoinPayments | Faucet | Bitsend Airdrop













████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████

████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- Greg Maxwell
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
March 10, 2017, 11:36:18 AM
 #2222

I'm looking at updating the errata for old AMD CPUs and would like more precision on which CPUs work
and which don't.

Athlon 64 x2 and Phenom II x4 are confirmed not to work. It appears anything less than Bulldozer, which
introduced AVX, will not work with all algos.

If no one has data that says otherwise I'll update the errata in the OP.
These CPUs are working fine with legacy versions on zr5 algo.
I haven't tested other algos, since I have no interest in them.
m7m also works if I recall corectly - will test that on a weekend.

Thanks, that helps localize the incompatible code, it's not in code used by zr5 or m7m.
Let me know if something is broken using an AVX enabled AMD CPU, that would be
unexpected.
If that can help you identify (and hopefully fix) broken algos, I will do a full test tomorrow on all algos supported on zpool.ca.
That includes Linux and Windows builds of legacy versions (since they are faster on these CPUs).

I appreciate the effort but It's not something that I can fix easilly, so the work would only be for information purposes.
My main focus is on the newer architectures so I want to make sure all algos work on AVX enabled AMD CPUs.
Any problems with them would need to be fixed.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
giagge
Legendary
*
Offline Offline

Activity: 1134
Merit: 1001


View Profile
March 10, 2017, 12:55:23 PM
 #2223

Anyone have result with Ryzen and Hexxcoin ?  Smiley .
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
March 10, 2017, 03:36:10 PM
 #2224

Anyone have result with Ryzen and Hexxcoin ?  Smiley .

There are a couple of threads discussing Ryzen but the only results I've seen are for cryptonight
which are in line with Intel based on L3 cache size.

I'd like to see a test with lyra2z330 as a real memory stress test regardless of cache. I'd also like to see
a test with deep to give those 16 threads a good workout. They represent the extremes of I/O bound
and compute bound algos.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
esfomeado
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
March 10, 2017, 03:55:44 PM
 #2225

Is there any tutorial of how to compile this on Windows?

Thanks
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
March 10, 2017, 05:07:31 PM
 #2226

cpuminer-opt-3.5.13 is released, see OP.

There is a smalll optimization but more importantly for those interested in solo mining
there is a major fix to getwork.

I am unable to test the fix but I encourage users to try with their favorite coin and report
their results:

1. Basic info on test environment: CPU, OS, algo, coin,

2. Information for each miner used: version, compiled from source or binaries, link if not well known

2. Does solo mining using the wallet miner work?

3. Does cpuminer-opt work solo mining? Provide details including console session showing command line options.

4. Is there another miner available that works solo mining? Provide details.

5. Any technical info available about the algo/coin that affects solo mining, ie similarities/differences with other algos
    that produce different test results.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
matejbilahora
Sr. Member
****
Offline Offline

Activity: 1414
Merit: 275

Community built, Privacy driven


View Profile
March 11, 2017, 08:06:14 AM
Last edit: March 11, 2017, 08:25:38 AM by matejbilahora
 #2227

Anyone have result with Ryzen and Hexxcoin ?  Smiley .
I think it would be nice if some could compile new version incl. new ryzen cpu. I am trying to get it to work, but somehow ryzen is not so good as intel cpus for mining.
marte1982
Member
**
Offline Offline

Activity: 129
Merit: 10


View Profile
March 11, 2017, 10:16:15 AM
 #2228

hi please help....i have need of dependencies for linux of this miner  https://github.com/JayDDee/cpuminer-opt
thanks to all for your support
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
March 11, 2017, 12:39:42 PM
 #2229

Anyone have result with Ryzen and Hexxcoin ?  Smiley .
I think it would be nice if some could compile new version incl. new ryzen cpu. I am trying to get it to work, but somehow ryzen is not so good as intel cpus for mining.

Try cpuminer-aes-avx2.exe, that should work. If not try cpuminer-aes-avx.exe.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
March 11, 2017, 12:40:18 PM
 #2230

hi please help....i have need of dependencies for linux of this miner  https://github.com/JayDDee/cpuminer-opt
thanks to all for your support

RELEASE_NOTES

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
HexxoDev
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
March 11, 2017, 02:14:26 PM
Last edit: March 11, 2017, 02:35:09 PM by HexxoDev
 #2231

HexxCoin/Lyra2z330 solo tested with 3.5.13
Switching to getwork works now without coinaddress, but still not able to find blocks.

giagge
Legendary
*
Offline Offline

Activity: 1134
Merit: 1001


View Profile
March 11, 2017, 02:40:59 PM
 #2232

Anyone have result with Ryzen and Hexxcoin ?  Smiley .
I think it would be nice if some could compile new version incl. new ryzen cpu. I am trying to get it to work, but somehow ryzen is not so good as intel cpus for mining.


Ohhh  Sad , its the same result with my i5 6600 with only 4 core ...

I think ryzen have a real good performance for this , but not optimized .
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
March 11, 2017, 04:13:40 PM
 #2233

HexxCoin/Lyra2z330 solo tested with 3.5.13
Switching to getwork works now without coinaddress, but still not able to find blocks.

Thanks for testing. Can you show me the output? How long did you test vs expected block time?
Is there another miner where solo works for this algo?


AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
HexxoDev
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
March 11, 2017, 04:48:59 PM
Last edit: March 11, 2017, 05:04:29 PM by HexxoDev
 #2234

HexxCoin/Lyra2z330 solo tested with 3.5.13
Switching to getwork works now without coinaddress, but still not able to find blocks.

Thanks for testing. Can you show me the output? How long did you test vs expected block time?
Is there another miner where solo works for this algo?



There is currently no other miner than yours.
So we cant test it else.
Using false algo would give same results.  <---hint..

It shows block we are on and nethashrate, all seems like it is working.
Still, shown hashrate is about 1.5x compared to possible hashrate at pool.
It is doing some hash but not valid work.
Hashrate is extremely reacting to cpu load, not like with pool.
Edit:
Using 2 instances solo + pool cpuminer.
Pool cpuminer speed stays at 100% even when solo miner is "hashing".
It is not really giving any real load to cpu.


[2017-03-11 18:48:29] 1 miner threads started, using 'lyra2z330' algorithm.
[2017-03-11 18:48:30] API bind to port 4048 failed - trying again in 20sec
[2017-03-11 18:48:30] Current block is 19930
[2017-03-11 18:48:30] No payout address provided, switching to getwork
[2017-03-11 18:48:32] CPU #0: 2 H, 64.10 H/s
[2017-03-11 18:48:35] CPU #0: 2 H, 64.10 H/s
[2017-03-11 18:48:37] CPU #0: 2 H, 64.10 H/s
[2017-03-11 18:48:39] CPU #0: 2 H, 64.10 H/s
[2017-03-11 18:48:41] CPU #0: 2 H, 64.10 H/s

Rachelin
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
March 11, 2017, 04:56:58 PM
 #2235

It's very great for this version . I tried many algo for many coins. It's faster than old version 15%-20%.
Thank you, Dev
HexxoDev
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
March 11, 2017, 05:30:27 PM
Last edit: March 13, 2017, 08:50:17 AM by HexxoDev
 #2236

Input needed!
Im trying to help user to setup cloud mining.
Currently I have no fresh linux setup to use.

This is a "hands free" guess:

sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install -y build-essential libssl-dev libcurl4-openssl-dev libjansson-dev libgmp-dev automake screen git
git clone https://github.com/JayDDee/cpuminer-opt
cd cpuminer-opt
./build.sh
screen -d -m  ./cpuminer -a lyra2z330 -o stratum+tcp://hexx.suprnova.cc:2876 -u myuser -p mypassword


Please modify and repost

joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
March 11, 2017, 06:48:54 PM
Last edit: March 11, 2017, 07:10:04 PM by joblo
 #2237

HexxCoin/Lyra2z330 solo tested with 3.5.13
Switching to getwork works now without coinaddress, but still not able to find blocks.

Thanks for testing. Can you show me the output? How long did you test vs expected block time?
Is there another miner where solo works for this algo?



There is currently no other miner than yours.
So we cant test it else.
Using false algo would give same results.  <---hint..

It shows block we are on and nethashrate, all seems like it is working.
Still, shown hashrate is about 1.5x compared to possible hashrate at pool.
It is doing some hash but not valid work.
Hashrate is extremely reacting to cpu load, not like with pool.
Edit:
Using 2 instances solo + pool cpuminer.
Pool cpuminer speed stays at 100% even when solo miner is "hashing".
It is not really giving any real load to cpu.


[2017-03-11 18:48:29] 1 miner threads started, using 'lyra2z330' algorithm.
[2017-03-11 18:48:30] API bind to port 4048 failed - trying again in 20sec
[2017-03-11 18:48:30] Current block is 19930
[2017-03-11 18:48:30] No payout address provided, switching to getwork
[2017-03-11 18:48:32] CPU #0: 2 H, 64.10 H/s
[2017-03-11 18:48:35] CPU #0: 2 H, 64.10 H/s
[2017-03-11 18:48:37] CPU #0: 2 H, 64.10 H/s
[2017-03-11 18:48:39] CPU #0: 2 H, 64.10 H/s
[2017-03-11 18:48:41] CPU #0: 2 H, 64.10 H/s

Excellent info. I'll take another look at the code to see why it's not hashing correctly. That part
should have nothing to do with getwork so it might be something simple.

Edit: In the meantime you might be able to mod the zcoin miner by optiminer even if you have no
coding skills.

https://github.com/Optiminer/cpuminer-xzc

Just change the rows arg in algo/lyra2rev2.c line 25 to 330.

Code:
old:	LYRA2(wholeMatrix, hash, 32, input, 80, input, 80, 2, height, 256);

new: LYRA2(wholeMatrix, hash, 32, input, 80, input, 80, 2, 330, 256);

Just remember to use -a lyra2v2 on the command line, he just modified lyra2v2 to work for zcoin,
now you can modify it to work for lyra2z330. If getwork works it gives me something to compare with.


AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
giagge
Legendary
*
Offline Offline

Activity: 1134
Merit: 1001


View Profile
March 11, 2017, 07:11:53 PM
 #2238

I use cpuminer-opt-3.5.12-windows for hexxcoin on suprnova , its ok ? .
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
March 11, 2017, 07:36:01 PM
 #2239

I use cpuminer-opt-3.5.12-windows for hexxcoin on suprnova , its ok ? .

Thanks. The discussion with hexxodev is about solo mining, nothing to do with pool mining using
stratum. I don't want anyone following the advice I give to him unless they know what they are doing.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
March 11, 2017, 07:42:18 PM
 #2240

@hexxodev

I think I've found another bug in getwork. You may want to do this before modding the zcoin miner.
It's a one line change in cpu-miner.c line 289.

Code:
bool std_work_decode( const json_t *val, struct work *work)
{
    int i;
    int data_size   = algo_gate.work_data_size;
    int target_size = sizeof(work->target);
//    int adata_sz    = ARRAY_SIZE(work->data);
    int adata_sz    = data_size / 4;
    int atarget_sz  = ARRAY_SIZE(work->target);

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
Pages: « 1 ... 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 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 ... 197 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!