Bitcoin Forum
April 22, 2019, 11:06:20 PM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 164 165 166 167 168 169 170 [171] 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 »
  Print  
Author Topic: [ANN]: cpuminer-opt v3.8.8.1, open source optimized multi-algo CPU miner  (Read 419396 times)
gingerbutt
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
February 13, 2018, 11:44:04 PM
 #3401

Hey there. I sent you an email yesterday about adding an algorithm. Did you get a chance to see it? I'd gladly tip you for your help.
I stayed up pretty late last night troubleshooting, and I've already added the algo, but I can't get CPU temps or accepted/rejected hashes to show up when actually connected to a testnet pool.
https://github.com/TheDankstoneMemery/cpuminer-opt

There was no link in the email, not that I had already read it.

Try using LYRA2REV2 instead of LYRA2RE. I'm not sure why it makes a difference but it does.
You'll need to add another argument for the matrix, take a look at lyra2rev2.c for how it's done.

You left a lot of defaults for gate functions. are you sure that's correct?

I can add the algo, when it's working, and it will be much faster (with AVX2) compared to the your
fork. CPU temps are only avaiable on Linux.

Currently working in Linux Mint 18. Will try your suggestion and give it a shot. Thank you! The source I used for Allium came from github.com/GarlicoinOrg/cpuminer-multi. After reading more about the algo itself, I did switch it over to LYRA2REV2 like you suggested, but I haven't taken a look at the extra args yet. Probably why I'm getting "too few arguments to function" when building.

As for the gate functions, I really don't know. I haven't dived into C for a couple years, and I just wanted to add the algo to the miner I prefer.
1555974380
Hero Member
*
Offline Offline

Posts: 1555974380

View Profile Personal Message (Offline)

Ignore
1555974380
Reply with quote  #2

1555974380
Report to moderator
1555974380
Hero Member
*
Offline Offline

Posts: 1555974380

View Profile Personal Message (Offline)

Ignore
1555974380
Reply with quote  #2

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

Posts: 1555974380

View Profile Personal Message (Offline)

Ignore
1555974380
Reply with quote  #2

1555974380
Report to moderator
gingerbutt
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
February 14, 2018, 12:11:17 AM
 #3402

I added null and 1 in the matrix, and now it builds, but it gives me a segmentation fault with either option. I think I'm missing something. Is there a chance I could chat with you through discord or something like that? Do you have time?
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
February 14, 2018, 12:34:12 AM
 #3403

I added null and 1 in the matrix, and now it builds, but it gives me a segmentation fault with either option. I think I'm missing something. Is there a chance I could chat with you through discord or something like that? Do you have time?

You need to allocate the matrix when you register the algo, take a look at lyra2rev2-gate.c.
You're also missing some non-default gate functions. Take a look at the allium hooks in cpu-miner.c

Or do you just want me to do it?

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

Activity: 7
Merit: 0


View Profile
February 14, 2018, 12:40:16 AM
 #3404

If you can do it, I'll gladly tip in GRLC if you'll accept. I'll still try my hand at hacking it together with my fork. I want to learn. Will try figuring this out on my end. Thanks!
theboymaker
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
February 14, 2018, 10:29:57 AM
 #3405

Hi there,

I'm mining on x17 and I have this:

Code:
localhost:9286 detected new block, diff 15.186, target 0.000

is the fact of having target at 0 a problem?
what does it mean?

Thanks for your answers!
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
February 15, 2018, 08:01:31 PM
Last edit: February 15, 2018, 08:28:22 PM by joblo
 #3406

cpuminer-opt-3.8.2

https://github.com/JayDDee/cpuminer-opt/releases/tag/v3.8.2

Fixed and faster myr-gr.
Added x12 algo (Galaxie Cash), allium algo (Garlicoin).
Faster lyra2rev2, lbry, skein.
Large reduction in compiler warnings.

The Windows binaries crash mining neoscrypt, use the legacy version instead.
There is no estimate for resolution.

4 way has been implemented for sha256 and will be used instead of the SHA extension
on ryzen CPUs, as well as all CPUs with AVX2. Performance of sha256-4way is expected
to be better than SHA. Please report if otherwise. Affected algos are skein, lbry & myr-gr.

Garlicoin is  about to do a hard fork to switch to the allium algo. Please ensure the fork has
occurred before using allium.

There are occasional rejects mining allium (testnet) reporting low difficulty share. Based
on when they occur they appear to be stale instead of low diff. Low diff rejects are usually
a SW bug and affect all shares. Stale shares can occur and can sometimes occur in groups
until a new block is issued by the pool.

I messed up build.sh, changed to link to my local libraries and forgot to change it back.
It needs to be editted before using.

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

Activity: 7
Merit: 0


View Profile
February 15, 2018, 08:41:23 PM
 #3407

Got a Garlicoin wallet I can donate to?
wildzer0
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
February 15, 2018, 10:16:53 PM
 #3408

Can't mine any Garlicoin, shares are always rejected (tried 3 different pools):

Code:
[2018-02-15 23:16:32] Share submitted.
[2018-02-15 23:16:32] CPU #1: 107.11 kH, 113.17 kH/s
[2018-02-15 23:16:32] Rejected 14/14 (100.0%), diff 0.0294, 883.56 kH/s
[2018-02-15 23:16:32] reject reason: low difficulty share of 0.000040906673679398166
gingerbutt
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
February 15, 2018, 10:18:28 PM
 #3409

Can't mine any Garlicoin, shares are always rejected (tried 3 different pools):

Code:
[2018-02-15 23:16:32] Share submitted.
[2018-02-15 23:16:32] CPU #1: 107.11 kH, 113.17 kH/s
[2018-02-15 23:16:32] Rejected 14/14 (100.0%), diff 0.0294, 883.56 kH/s
[2018-02-15 23:16:32] reject reason: low difficulty share of 0.000040906673679398166


You can't mine Garlicoin with Allium until the fork. You have to use -a scrypt:2048 until then.
You can try mining on a testnet pool like stratum+tcp://testnet.garlic-factory.fun:3333
wildzer0
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
February 15, 2018, 10:26:50 PM
 #3410

Okay, thanks for the info. I was going by this list: http://pools.garlicoin.fun/ and choosing pools where it said "Allium ready: yes".
gingerbutt
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
February 15, 2018, 10:32:55 PM
 #3411

Okay, thanks for the info. I was going by this list: http://pools.garlicoin.fun/ and choosing pools where it said "Allium ready: yes".


Yeah, that just means they're ready for the switchover this Friday. Should be seamless. Until then, you have to use scrypt:2048.
zorachus99
Jr. Member
*
Offline Offline

Activity: 40
Merit: 2


View Profile
February 15, 2018, 11:01:06 PM
 #3412

I've read about 20 pages and the readme on the download, but I can't seem to find some decent Windows command line examples for AES-NI and non AES-NI CPU's.

Basic configs to start would be nice.  What algo's are most efficient for this miner?

Thanks!
ruplikminer
Jr. Member
*
Offline Offline

Activity: 364
Merit: 3


View Profile
February 15, 2018, 11:02:06 PM
 #3413

I want to try this cpu జ్ఞ‌ా mining
Enth
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
February 16, 2018, 02:03:01 AM
Last edit: February 16, 2018, 09:42:06 AM by Enth
 #3414

At now for my 4690k @4700GHz on lyra2z algo the best is 3.8.1 - 522.17 kH/s, 3.8.2 gives me only 505 kH/s

joblo, what do you think, intel hardware prefetch must be turn on for max performance?
theboymaker
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
February 16, 2018, 02:12:13 PM
 #3415

Hi there,

I'm mining on x17 and I have this:

Code:
localhost:9286 detected new block, diff 15.186, target 0.000

is the fact of having target at 0 a problem?
what does it mean?

Thanks for your answers!

Any answer please?
host21
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
February 16, 2018, 03:48:17 PM
 #3416

Hi is this normal?

[2018-02-16 16:46:12] Share submitted.
[2018-02-16 16:46:12] CPU #0: 2 H, 3.04 H/s
[2018-02-16 16:46:13] Accepted 39/39 (100%), 2 H, 3.04 H/s, 100C


Intel xeon 1.7ghz for cryptonight . Only 3.04 H/s.

Can I optimize something?
andnet
Member
**
Offline Offline

Activity: 142
Merit: 10


View Profile
February 16, 2018, 04:28:14 PM
 #3417

Hi is this normal?

[2018-02-16 16:46:12] Share submitted.
[2018-02-16 16:46:12] CPU #0: 2 H, 3.04 H/s
[2018-02-16 16:46:13] Accepted 39/39 (100%), 2 H, 3.04 H/s, 100C


Intel xeon 1.7ghz for cryptonight . Only 3.04 H/s.

Can I optimize something?
In Cryptonighte good result is 60-100 H\s on one core. My i7-2600K  360-400 H   .  xmr stak  or xmrig . Need cpu affinity for best result
host21
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
February 16, 2018, 05:30:44 PM
 #3418

I'm mining Intense Coin. How can I optimize for Intel XEON E5-2650L v4?

andnet
Member
**
Offline Offline

Activity: 142
Merit: 10


View Profile
February 16, 2018, 06:00:13 PM
 #3419

I'm mining Intense Coin. How can I optimize for Intel XEON E5-2650L v4?


Need write cpu affinity . U have 35Mb and will work 17 threads. Use XMR stak or XMrig.
In XMR stak. File  cpu.txt
"cpu_threads_conf" :
[
    { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 0 },
    { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 1 },
    { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 2 },
    { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 3 },
     { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 4 },
    { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 5 },
    { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 6 },
    { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 8 },
     { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 10 },
    { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 12 },
    { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 14 },
    { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 16 },
    { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 18 },
    { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 20 },
     { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 22 },
    { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 24 },
    { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 26 },
  
],


In XMRig . conf file
"cpu-affinity": 267037354,   // set process affinity to CPU core(s), mask "0x3" for cores 0 and 1
    "cpu-priority": 3,   // set process priority (0 idle, 2 normal to 5 highest)
    "donate-level": 1,      //
    "max-cpu-usage": 100,    //
    "threads": 17,    

And need
* LARGE PAGE SUPPORT
 * Large pages need a properly set up OS. It can be difficult if you are not used to systems administration,
 * but the performance results are worth the trouble - you will get around 20% boost. Slow memory mode is
 * meant as a backup, you won't get stellar results there. If you are running into trouble, especially
 * on Windows, please read the common issues in the README.
 *
 * By default we will try to allocate large pages. This means you need to "Run As Administrator" on Windows.
 * You need to edit your system's group policies to enable locking large pages. Here are the steps from MSDN
 *
 * 1. On the Start menu, click Run. In the Open box, type gpedit.msc.
 * 2. On the Local Group Policy Editor console, expand Computer Configuration, and then expand Windows Settings.
 * 3. Expand Security Settings, and then expand Local Policies.
 * 4. Select the User Rights Assignment folder.
 * 5. The policies will be displayed in the details pane.
 * 6. In the pane, double-click Lock pages in memory.
 * 7. In the Local Security Setting – Lock pages in memory dialog box, click Add User or Group.
 * 8. In the Select Users, Service Accounts, or Groups dialog box, add an account that you will run the miner on
 * 9. Reboot for change to take effect.
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
February 16, 2018, 07:16:01 PM
 #3420

At now for my 4690k @4700GHz on lyra2z algo the best is 3.8.1 - 522.17 kH/s, 3.8.2 gives me only 505 kH/s

I backed out a previous optimization from Lyra2 because I couldn't get allium to work with it. It didn't
seem to affect other lyra2 based algos so I may reenable it once I understand more.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
Pages: « 1 ... 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 164 165 166 167 168 169 170 [171] 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 »
  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!