Bitcoin Forum
February 18, 2019, 01:16:14 AM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 163 ... 191 »
  Print  
Author Topic: [ANN]: cpuminer-opt v3.8.8.1, open source optimized multi-algo CPU miner  (Read 418591 times)
giagge
Legendary
*
Offline Offline

Activity: 1134
Merit: 1001


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

I use cpuminer-opt-3.5.12-windows for hexxcoin on suprnova , its ok ? .
Your Bitcoin transactions
The Ultimate Bitcoin mixer
made truly anonymous.
with an advanced technology.
Mix coins
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1550452574
Hero Member
*
Offline Offline

Posts: 1550452574

View Profile Personal Message (Offline)

Ignore
1550452574
Reply with quote  #2

1550452574
Report to moderator
1550452574
Hero Member
*
Offline Offline

Posts: 1550452574

View Profile Personal Message (Offline)

Ignore
1550452574
Reply with quote  #2

1550452574
Report to moderator
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


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

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.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


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

@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);

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
HexxoDev
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
March 11, 2017, 08:13:20 PM
Last edit: March 11, 2017, 08:50:25 PM by HexxoDev
 #2244

@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);

Your first post about 330/height/8096 was not related to our problem.
(original miner fork)

What you just posted: may be.
I try to find time  to work on this.
Sorry, im doing this left handed right now.

I guess the size.

Look:
https://github.com/hexxcointakeover/hexxcoin/blob/master/src/rpcmining.cpp#L259

If memory serves me right, original miner wont work with zcoin(solo)

I can re test it.
No need for compile any miner.
Likely it would be only waste of time.
No one ever solo mined zcoin...


joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
March 11, 2017, 08:50:25 PM
 #2245

@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);

Your first post about 330/height/8096 was not related to our problem.

What you just posted: may be.
I try to find time  to work on this.
Sorry, im doing this left handed right now.

I guess the size.

Look:
https://github.com/hexxcointakeover/hexxcoin/blob/master/src/rpcmining.cpp#L259

If memory serves me right, original miner wont work with zcoin(solo)


Actually just a couple of lines lower...

Code:
        for (int i = 0; i < 128/4; i++)
((unsigned int*)pdata)[i] = ByteReverse(((unsigned int*)pdata)[i]);

In my code it was using the size of the struct instead of the size of the algo's data.
The struct is bigger because it needs to support algos that have bigger data.

Ignore the zcoin mod stuff for now. You're right it has nothing to do with the getwork problem.
I was thinking of using it to look at the problem from a different angle. It's always easier if there
is a working model to compare with.




cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
HexxoDev
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
March 11, 2017, 09:00:40 PM
Last edit: March 11, 2017, 09:16:15 PM by HexxoDev
 #2246

Im going to test that line updated.
1 hour...

That was something i really missed,
i saw it but forgot.

These all bugs lead upto Zcoin, Vertcoin..
Edit:
Done and testing

Edit; 128/132 no help

im going to sleep.

joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
March 11, 2017, 10:11:01 PM
Last edit: March 12, 2017, 01:37:32 AM by joblo
 #2247

Im going to test that line updated.
1 hour...

That was something i really missed,
i saw it but forgot.

These all bugs lead upto Zcoin, Vertcoin..
Edit:
Done and testing

Edit; 128/132 no help

im going to sleep.

We're making progress faster than I expected. 128 is the correct data size.

I've found another major miss in the code, this time in cpu-miner.c line 1678.
Add one line...

Code:
            if (have_stratum)
             {
                pthread_mutex_unlock(&g_work_lock);
                continue;
             }
// add the following line
             algo_gate.get_new_work( &work, &g_work, thr_id, &end_nonce, true );

             pthread_mutex_unlock( &g_work_lock );
          }


Edit: Please add  "-D -P" options to command line to provide more output

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
matejbilahora
Sr. Member
****
Offline Offline

Activity: 770
Merit: 255


Community built, Privacy driven


View Profile
March 12, 2017, 06:27:01 AM
 #2248

For information about ryzen cpu, 16 cores loaded

▄██▄░░░░░░░░░▄█▄░░░░░░░░░▄██▄
██████░░░░░░███████░░░░░░██████
███░░████░░████░░░████░░░███░░███
███░░░░██████░░░░░░░██████░░░░███
███░░░░░████░░░░░░░░░████░░░░░███
███░░░░░░░███░░░░░░░███░░░░░░░███
███░░░░░░░░███░░░░░███░░░░░░░░███
███░░░░░░░░░███░░░███░░░░░░░░░███
███░░░░░░░░░░██████░░░░░░░░░░███
███░░░░░░░░░░░█████░░░░░░░░░░░███
███░░░░░░░░░░░░███░░░░░░░░░░░░███
███░░░░░░░░░░░███░░░░░░░░░░░░░███
███░░░░░░░░░░███░░░░░░░░░░░░░░███
███░░░░░░░░░███░░░░░░░░░░░░░░░███
██▄.░░░░░▐███░░░░░░░░░░░░░░░███
███░░░░▄██▀░░░░░░░░░░░░░░░███
███░░▐██▀░░░░░░░░░░░░░░░███
█████▌░░░░░░░░░░░░░░░███
█████░░░░░░░░░░░░░░████
████░░░░░░░░░░░████
████▄░░░░░▄████
██████████
▀▀▀
AMSTERDEX




























HexxoDev
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
March 12, 2017, 09:59:33 AM
Last edit: March 12, 2017, 12:44:26 PM by HexxoDev
 #2249

Code:
[2017-03-12 13:51:58] 1 miner threads started, using 'lyra2z330' algorithm.
[2017-03-12 13:51:58] JSON protocol request:
{"method": "getblocktemplate", "params": [{"capabilities": ["coinbasetxn", "coinbasevalue", "longpoll", "workid"]}], "id
":0}


* Rebuilt URL to: http://127.0.0.1:29200/
* timeout on name lookup is not supported
* Hostname was NOT found in DNS cache
*   Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to 127.0.0.1 (127.0.0.1) port 29200 (#0)
* Server auth using Basic with user 'xxxx'
> POST / HTTP/1.1
Authorization: Basic TUFLRVVQWU9VUk9XTlVTRVI1NDY3NDU2NDVOQU1FOk1BS0VVUFk0NTY0NTY0NTY0T1VST1dOUEFTU1dPUkQ=
Host: 127.0.0.1:29200
Accept: */*
Accept-Encoding: deflate, gzip
Content-Type: application/json
Content-Length: 126
User-Agent: cpuminer-opt/3.5.13
X-Mining-Extensions: longpoll reject-reason
Expect: 100-continue

* Done waiting for 100-continue
< HTTP/1.1 200 OK
< Date: Sun, 12 Mar 2017 11:51:59 +0000
< Connection: keep-alive
< Content-Length: 486
< Content-Type: application/json
< Server: Hexxcoin-json-rpc/v3.0.0.9
<
* Connection #0 to host 127.0.0.1 left intact
[2017-03-12 13:51:59] JSON protocol response:
{
   "error": null,
   "result": {
      "version": 2,
      "target": "000000c636000000000000000000000000000000000000000000000000000000",
      "previousblockhash": "9544851be86616cf93bb72a6f616ae8e2a93c4ea7a76501fb8de62f5625e448d",
      "coinbasevalue": 1250000000,
      "sizelimit": 4000000,
      "transactions": [],
      "coinbaseaux": {
         "flags": "062f503253482f"
      },
      "mutable": [
         "time",
         "transactions",
         "prevblock"
      ],
      "mintime": 1489318795,
      "height": 20465,
      "curtime": 1489319519,
      "noncerange": "00000000ffffffff",
      "sigoplimit": 40000,
      "bits": "1e00c636"
   },
   "id": 0
}
[2017-03-12 13:51:59] Current block is 20465
[2017-03-12 13:51:59] No payout address provided, switching to getwork
[2017-03-12 13:51:59] JSON protocol request:
{"method": "getwork", "params": [], "id":0}


* Rebuilt URL to: http://127.0.0.1:29200/
* Found bundle for host 127.0.0.1: 0xa0abc0
* Re-using existing connection! (#0) with host 127.0.0.1
* Connected to 127.0.0.1 (127.0.0.1) port 29200 (#0)
* Server auth using Basic with user 'xxxx'
> POST / HTTP/1.1
Authorization: Basic TUFLRVVQWU9VUk9XTlVTRVI1NDY3NDU2NDVOQU1FOk1BS0VVUFk0NTY0NTY0NTY0T1VST1dOUEFTU1dPUkQ=
Host: 127.0.0.1:29200
Accept: */*
Accept-Encoding: deflate, gzip
Content-Type: application/json
Content-Length: 45
User-Agent: cpuminer-opt/3.5.13
X-Mining-Extensions: longpoll reject-reason
Expect: 100-continue

* Done waiting for 100-continue
< HTTP/1.1 200 OK
< Date: Sun, 12 Mar 2017 11:52:00 +0000
< Connection: keep-alive
< Content-Length: 592
< Content-Type: application/json
< Server: Hexxcoin-json-rpc/v3.0.0.9
<
* Connection #0 to host 127.0.0.1 left intact
[2017-03-12 13:52:00] JSON protocol response:
{
   "error": null,
   "result": {
      "data": "00000002625e448db8de62f57a76501f2a93c4eaf616ae8e93bb72a6e86616cf9544851ba458635750186a25ca698fba5e7072e0f
66db6c717fc5ec42e57b8bd7df17a5258c536601e00c6360000000000000080000000000000000000000000000000000000000000000000000000000
0000000000000000000000080020000",
      "midstate": "06cb9fc40aeca1a1b37d1feb82d99c0b7798bdacd6d221bc003a59db78c2f015",
      "hash1": "00000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000
000000000000000000010000",
      "target": "00000000000000000000000000000000000000000000000000000036c6000000"
   },
   "id": 0
}
[2017-03-12 13:52:00] got new work in 1341.60 ms
[2017-03-12 13:52:00] JSON protocol request:
{"method": "getmininginfo", "params": [], "id":8}


* Rebuilt URL to: http://127.0.0.1:29200/
* Found bundle for host 127.0.0.1: 0xa0abc0
* Re-using existing connection! (#0) with host 127.0.0.1
* Connected to 127.0.0.1 (127.0.0.1) port 29200 (#0)
* Server auth using Basic with user 'xxxx'
> POST / HTTP/1.1
Authorization: Basic TUFLRVVQWU9VUk9XTlVTRVI1NDY3NDU2NDVOQU1FOk1BS0VVUFk0NTY0NTY0NTY0T1VST1dOUEFTU1dPUkQ=
Host: 127.0.0.1:29200
Accept: */*
Accept-Encoding: deflate, gzip
Content-Type: application/json
Content-Length: 51
User-Agent: cpuminer-opt/3.5.13
X-Mining-Extensions: longpoll reject-reason
Expect: 100-continue

* Done waiting for 100-continue
< HTTP/1.1 200 OK
< Date: Sun, 12 Mar 2017 11:52:01 +0000
< Connection: keep-alive
< Content-Length: 231
< Content-Type: application/json
< Server: Hexxcoin-json-rpc/v3.0.0.9
<
* Connection #0 to host 127.0.0.1 left intact
[2017-03-12 13:52:01] JSON protocol response:
{
   "error": null,
   "result": {
      "blocks": 20464,
      "genproclimit": -1,
      "hashespersec": 0,
      "currentblocksize": 1000,
      "currentblocktx": 0,
      "difficulty": 0.0050562100000000002,
      "errors": "",
      "generate": false,
      "networkhashps": 168115,
      "testnet": false,
      "pooledtx": 0
   },
   "id": 8
}
[2017-03-12 13:52:02] CPU #0: 2 H, 128.21 H/s
[2017-03-12 13:52:02] JSON protocol request:
{"method": "getwork", "params": [], "id":0}

I must move to linux to test that line you added.
Takes some time..

joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
March 12, 2017, 03:59:23 PM
 #2250

Code:
[2017-03-12 13:51:58] 1 miner threads started, using 'lyra2z330' algorithm.
[2017-03-12 13:51:58] JSON protocol request:
{"method": "getblocktemplate", "params": [{"capabilities": ["coinbasetxn", "coinbasevalue", "longpoll", "workid"]}], "id
":0}


* Rebuilt URL to: http://127.0.0.1:29200/
* timeout on name lookup is not supported
* Hostname was NOT found in DNS cache
*   Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to 127.0.0.1 (127.0.0.1) port 29200 (#0)
* Server auth using Basic with user 'xxxx'
> POST / HTTP/1.1
Authorization: Basic TUFLRVVQWU9VUk9XTlVTRVI1NDY3NDU2NDVOQU1FOk1BS0VVUFk0NTY0NTY0NTY0T1VST1dOUEFTU1dPUkQ=
Host: 127.0.0.1:29200
Accept: */*
Accept-Encoding: deflate, gzip
Content-Type: application/json
Content-Length: 126
User-Agent: cpuminer-opt/3.5.13
X-Mining-Extensions: longpoll reject-reason
Expect: 100-continue

* Done waiting for 100-continue
< HTTP/1.1 200 OK
< Date: Sun, 12 Mar 2017 11:51:59 +0000
< Connection: keep-alive
< Content-Length: 486
< Content-Type: application/json
< Server: Hexxcoin-json-rpc/v3.0.0.9
<
* Connection #0 to host 127.0.0.1 left intact
[2017-03-12 13:51:59] JSON protocol response:
{
   "error": null,
   "result": {
      "version": 2,
      "target": "000000c636000000000000000000000000000000000000000000000000000000",
      "previousblockhash": "9544851be86616cf93bb72a6f616ae8e2a93c4ea7a76501fb8de62f5625e448d",
      "coinbasevalue": 1250000000,
      "sizelimit": 4000000,
      "transactions": [],
      "coinbaseaux": {
         "flags": "062f503253482f"
      },
      "mutable": [
         "time",
         "transactions",
         "prevblock"
      ],
      "mintime": 1489318795,
      "height": 20465,
      "curtime": 1489319519,
      "noncerange": "00000000ffffffff",
      "sigoplimit": 40000,
      "bits": "1e00c636"
   },
   "id": 0
}
[2017-03-12 13:51:59] Current block is 20465
[2017-03-12 13:51:59] No payout address provided, switching to getwork
[2017-03-12 13:51:59] JSON protocol request:
{"method": "getwork", "params": [], "id":0}


* Rebuilt URL to: http://127.0.0.1:29200/
* Found bundle for host 127.0.0.1: 0xa0abc0
* Re-using existing connection! (#0) with host 127.0.0.1
* Connected to 127.0.0.1 (127.0.0.1) port 29200 (#0)
* Server auth using Basic with user 'xxxx'
> POST / HTTP/1.1
Authorization: Basic TUFLRVVQWU9VUk9XTlVTRVI1NDY3NDU2NDVOQU1FOk1BS0VVUFk0NTY0NTY0NTY0T1VST1dOUEFTU1dPUkQ=
Host: 127.0.0.1:29200
Accept: */*
Accept-Encoding: deflate, gzip
Content-Type: application/json
Content-Length: 45
User-Agent: cpuminer-opt/3.5.13
X-Mining-Extensions: longpoll reject-reason
Expect: 100-continue

* Done waiting for 100-continue
< HTTP/1.1 200 OK
< Date: Sun, 12 Mar 2017 11:52:00 +0000
< Connection: keep-alive
< Content-Length: 592
< Content-Type: application/json
< Server: Hexxcoin-json-rpc/v3.0.0.9
<
* Connection #0 to host 127.0.0.1 left intact
[2017-03-12 13:52:00] JSON protocol response:
{
   "error": null,
   "result": {
      "data": "00000002625e448db8de62f57a76501f2a93c4eaf616ae8e93bb72a6e86616cf9544851ba458635750186a25ca698fba5e7072e0f
66db6c717fc5ec42e57b8bd7df17a5258c536601e00c6360000000000000080000000000000000000000000000000000000000000000000000000000
0000000000000000000000080020000",
      "midstate": "06cb9fc40aeca1a1b37d1feb82d99c0b7798bdacd6d221bc003a59db78c2f015",
      "hash1": "00000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000
000000000000000000010000",
      "target": "00000000000000000000000000000000000000000000000000000036c6000000"
   },
   "id": 0
}
[2017-03-12 13:52:00] got new work in 1341.60 ms
[2017-03-12 13:52:00] JSON protocol request:
{"method": "getmininginfo", "params": [], "id":8}


* Rebuilt URL to: http://127.0.0.1:29200/
* Found bundle for host 127.0.0.1: 0xa0abc0
* Re-using existing connection! (#0) with host 127.0.0.1
* Connected to 127.0.0.1 (127.0.0.1) port 29200 (#0)
* Server auth using Basic with user 'xxxx'
> POST / HTTP/1.1
Authorization: Basic TUFLRVVQWU9VUk9XTlVTRVI1NDY3NDU2NDVOQU1FOk1BS0VVUFk0NTY0NTY0NTY0T1VST1dOUEFTU1dPUkQ=
Host: 127.0.0.1:29200
Accept: */*
Accept-Encoding: deflate, gzip
Content-Type: application/json
Content-Length: 51
User-Agent: cpuminer-opt/3.5.13
X-Mining-Extensions: longpoll reject-reason
Expect: 100-continue

* Done waiting for 100-continue
< HTTP/1.1 200 OK
< Date: Sun, 12 Mar 2017 11:52:01 +0000
< Connection: keep-alive
< Content-Length: 231
< Content-Type: application/json
< Server: Hexxcoin-json-rpc/v3.0.0.9
<
* Connection #0 to host 127.0.0.1 left intact
[2017-03-12 13:52:01] JSON protocol response:
{
   "error": null,
   "result": {
      "blocks": 20464,
      "genproclimit": -1,
      "hashespersec": 0,
      "currentblocksize": 1000,
      "currentblocktx": 0,
      "difficulty": 0.0050562100000000002,
      "errors": "",
      "generate": false,
      "networkhashps": 168115,
      "testnet": false,
      "pooledtx": 0
   },
   "id": 8
}
[2017-03-12 13:52:02] CPU #0: 2 H, 128.21 H/s
[2017-03-12 13:52:02] JSON protocol request:
{"method": "getwork", "params": [], "id":0}

I must move to linux to test that line you added.
Takes some time..

The protocol dump looks ok, you can drop the -P option.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
March 12, 2017, 06:00:09 PM
Last edit: March 12, 2017, 06:19:08 PM by joblo
 #2251


Closer
Atleast there is rejected after your line added.

[2017-03-12 19:24:37] 1 miner threads started, using 'lyra2z330' algorithm.
[2017-03-12 19:24:38] Current block is 1
[2017-03-12 19:24:38] No payout address provided, switching to getwork
[2017-03-12 19:25:07] CPU #0: 1086 H, 40.05 H/s
[2017-03-12 19:25:09] Rejected 1/1 (100.0%), 1086 H, 40.05 H/s, 0C
[2017-03-12 19:25:16] CPU #0: 201 H, 41.92 H/s
[2017-03-12 19:25:23] CPU #0: 210 H, 42.57 H/s
[2017-03-12 19:25:30] CPU #0: 213 H, 42.59 H/s
[2017-03-12 19:25:35] CPU #0: 102 H, 41.72 H/s
[2017-03-12 19:25:37] Rejected 2/2 (100.0%), 102 H, 41.72 H/s, 0C


Good work. It apears to be hashing properly but there is still a problem with the data,
wrong block number. Submitting a hash based on the wrong data will be rejected.

If optiminer, modified for lyra2z330, crashes on solo mining it doesn't make for a good
comparison. I may revisit this idea using cpuminer-multi if I get stuck but for now I'll
focus on verifying the data.

If I can't find anything else by analyzing the code I may build a debug load with some
extra data collection.

I'll update after analyzing the code some more.

Edit: In previous test block number was correct. Did you test differently? The code change should
not have affected this.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
ol92
Sr. Member
****
Offline Offline

Activity: 432
Merit: 250


View Profile
March 12, 2017, 08:00:08 PM
 #2252

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.
...
Hello,
Could you try with 4 threads, with affinity setted by task managers on physicals cores, two by CCX. You may try with HT disabled.
For many algo, max performance is obtained with a good choice of threads different than max number of virtual cores/physical cores.

On my 6900k@4ghz with DDR3200, I could reach around 1900 around 4-6 threads.
With a xeon 2696V3 (18 cores) max on hexxcoin is 3200 with 7 cores and some kind of turbo boost hack and bclk @140hz: 3,3-3.950 ghz (and HT disabled to have higher turbo boost).
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
March 12, 2017, 08:27:44 PM
 #2253

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.
...
Hello,
Could you try with 4 threads, with affinity setted by task managers on physicals cores, two by CCX. You may try with HT disabled.
For many algo, max performance is obtained with a good choice of threads different than max number of virtual cores/physical cores.

On my 6900k@4ghz with DDR3200, I could reach around 1900 around 4-6 threads.
With a xeon 2696V3 (18 cores) max on hexxcoin is 3200 with 7 cores and some kind of turbo boost hack and bclk @140hz: 3,3-3.950 ghz (and HT disabled to have higher turbo boost).

Lyra2z330 shouldn't drop in performance with too many threads the way cryptonight does. It should remain relatively steady once
it reaches it's peak.

As for compiling for Ryzen there are 2 points: compilers would first need to be updated with support for Ryzen and Ryzen contains
no new technology, it's just catching up to Intel with AVX2 (still not clear on their implementation) and hyperthreading so there's
no need for special compilation.

As with many AMD architectures compiling for native architecture is probably not the best choice, core-aes-avx2 is probably best.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
March 13, 2017, 04:56:55 AM
 #2254

I haven't found any more getwork bugs, it now appears functionaly identical to cpuminer-multi.
My next step is to confirm getwork works with multi, if it doesn't I have no reference to use.
But first i'll have to implement lyra2z330. Will update when available.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
HexxoDev
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
March 13, 2017, 12:55:34 PM
 #2255

I haven't found any more getwork bugs, it now appears functionaly identical to cpuminer-multi.
My next step is to confirm getwork works with multi, if it doesn't I have no reference to use.
But first i'll have to implement lyra2z330. Will update when available.

I give it a try when you are ready.
It is not only about lyra2z330, but then also other algos can have a decent miner for solo.

ol92
Sr. Member
****
Offline Offline

Activity: 432
Merit: 250


View Profile
March 13, 2017, 03:49:12 PM
 #2256

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.
...
Hello,
Could you try with 4 threads, with affinity setted by task managers on physicals cores, two by CCX. You may try with HT disabled.
For many algo, max performance is obtained with a good choice of threads different than max number of virtual cores/physical cores.

On my 6900k@4ghz with DDR3200, I could reach around 1900 around 4-6 threads.
With a xeon 2696V3 (18 cores) max on hexxcoin is 3200 with 7 cores and some kind of turbo boost hack and bclk @140hz: 3,3-3.950 ghz (and HT disabled to have higher turbo boost).

Lyra2z330 shouldn't drop in performance with too many threads the way cryptonight does. It should remain relatively steady once
it reaches it's peak.

As for compiling for Ryzen there are 2 points: compilers would first need to be updated with support for Ryzen and Ryzen contains
no new technology, it's just catching up to Intel with AVX2 (still not clear on their implementation) and hyperthreading so there's
no need for special compilation.

As with many AMD architectures compiling for native architecture is probably not the best choice, core-aes-avx2 is probably best.
This is note what I observed with my tests (maybe because I have cpu with large cache).
With the 6900k and the xeon E5 2696V3 (= 2699V3), it seems there is a sweet spot probably related to cache size and to the memory bandwith available which can increase with threads till some optimal value (4? I suppose with quad channel): 4-6 for the 6900k (20M cache) 7 for the xeon (45m of cache, there is some turbo boost effect for the xeon with fewer threads, but the 6900k was oc @4ghz for all cores).
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
March 13, 2017, 04:46:47 PM
 #2257

I haven't found any more getwork bugs, it now appears functionaly identical to cpuminer-multi.
My next step is to confirm getwork works with multi, if it doesn't I have no reference to use.
But first i'll have to implement lyra2z330. Will update when available.

I give it a try when you are ready.
It is not only about lyra2z330, but then also other algos can have a decent miner for solo.

Exactly. The getwork code is identical for every algo except cryptonight cryptolight. If I can get
getwork working on lyra2z330 it should also work on those other algos who support getwork.

GBT will be another issue and will require a similar iterative process to get it working.

Your testing is very much appreciated

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
March 14, 2017, 03:53:23 PM
Last edit: March 14, 2017, 09:17:12 PM by joblo
 #2258

I haven't found any more getwork bugs, it now appears functionaly identical to cpuminer-multi.
My next step is to confirm getwork works with multi, if it doesn't I have no reference to use.
But first i'll have to implement lyra2z330. Will update when available.

I give it a try when you are ready.
It is not only about lyra2z330, but then also other algos can have a decent miner for solo.

Exactly. The getwork code is identical for every algo except cryptonight cryptolight. If I can get
getwork working on lyra2z330 it should also work on those other algos who support getwork.

GBT will be another issue and will require a similar iterative process to get it working.

Your testing is very much appreciated


First lyra2z330 solo block with 3.5.14!
Still, not yet used original HexxCoin wallet..

That's excellent news. It's looking like the miner side is working and it's just a wallet issue now.
That means it should work with almost any coin who's wallet already supports getwork.

Keep me updated on your progress. The next release will be 3.6.0 with getwork support.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
giagge
Legendary
*
Offline Offline

Activity: 1134
Merit: 1001


View Profile
March 15, 2017, 08:17:10 AM
 #2259

Guys anyone with ryzen , what is hashrate with xmr , zcoin , hexxcoin ? .
felixbrucker
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile WWW
March 15, 2017, 09:58:03 AM
Last edit: March 15, 2017, 02:58:35 PM by felixbrucker
 #2260


That's excellent news. It's looking like the miner side is working and it's just a wallet issue now.
That means it should work with almost any coin who's wallet already supports getwork.

Keep me updated on your progress. The next release will be 3.6.0 with getwork support.


i have thought about writing a small tool to setup multiple wallets and only mine when nethashrate is below a certain limit
this is intended for me walking through the ann section, finding a new coin with no pools which just launched, setting it up in the tool and boom, miner starts working there till there are enough other people so its unlikely to be profitable

awesomeminer might be able to do that already im not sure, but i want it to be able to run on linux as well

will see if this project is possible in a short timeframe and if mining even works, so im glad getwork/gbt is being worked on Smiley

edit: im interested in testing as well, i have noticed the api hashrate isnt updated when using getwork it seems, it always returns 0
Pages: « 1 ... 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 163 ... 191 »
  Print  
 
Jump to:  

Bitcointalk.org is not available or authorized for sale. Do not believe any fake listings.
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!