Bitcoin Forum
April 26, 2024, 04:37:08 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [15] 16 17 18 19 »  All
  Print  
Author Topic: [ANN] cpuminer-opt v24.1, Optimized multi-algo CPU miner for x86_64 and AArch64  (Read 9692 times)
JayDDee (OP)
Full Member
***
Online Online

Activity: 1383
Merit: 220


View Profile
January 15, 2022, 08:07:35 PM
 #281

Sounds good enough  Smiley
Have a great weekend!

Back to you, thanks for the great help.

1714106228
Hero Member
*
Offline Offline

Posts: 1714106228

View Profile Personal Message (Offline)

Ignore
1714106228
Reply with quote  #2

1714106228
Report to moderator
1714106228
Hero Member
*
Offline Offline

Posts: 1714106228

View Profile Personal Message (Offline)

Ignore
1714106228
Reply with quote  #2

1714106228
Report to moderator
1714106228
Hero Member
*
Offline Offline

Posts: 1714106228

View Profile Personal Message (Offline)

Ignore
1714106228
Reply with quote  #2

1714106228
Report to moderator
"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.
1714106228
Hero Member
*
Offline Offline

Posts: 1714106228

View Profile Personal Message (Offline)

Ignore
1714106228
Reply with quote  #2

1714106228
Report to moderator
1714106228
Hero Member
*
Offline Offline

Posts: 1714106228

View Profile Personal Message (Offline)

Ignore
1714106228
Reply with quote  #2

1714106228
Report to moderator
1714106228
Hero Member
*
Offline Offline

Posts: 1714106228

View Profile Personal Message (Offline)

Ignore
1714106228
Reply with quote  #2

1714106228
Report to moderator
JayDDee (OP)
Full Member
***
Online Online

Activity: 1383
Merit: 220


View Profile
January 29, 2022, 09:32:53 PM
 #282

Check out my new open source nVidia GPU miner with X16RT.

https://bitcointalk.org/index.php?topic=5383533.0

JayDDee (OP)
Full Member
***
Online Online

Activity: 1383
Merit: 220


View Profile
January 31, 2022, 04:28:24 AM
Last edit: January 31, 2022, 04:46:41 AM by JayDDee
Merited by The Sceptical Chymist (8)
 #283

cpuminer-opt-3.19.5 includes an enhanced stratum-keepalive feature to prevent lost shares.

TLDR stop here.

There really is no actual stratum-keepalive, it's a hack as described below. It doesn't really keep the
connection alive but it prevents the negative effects of the pool server timing out if no shares are
submitted for a long time.

CPU miners are challenged by pools that set a minimum difficulty too high for CPUs to find shares
regularly. After around 5 minutes with no shares submitted the pool will drop the connection but not
notify the miner. Often the miner detects the dropped connection only when submitting a share.
This results in a lost share and is noted in the summary log as stratum errors and share count mismatches.
Every mismatch in the counter represents a lost share. When shares are so rare this is a big loss.

The first stratum-keepalive was a futile attempt to send a harmless message to the server in the hope it would
prevent the timeout. It was also convenient that the protocol defines a specific method "mining.suggest-difficulty"
which perfectly suits the situation. Unfortunately this was not successful. Pools not only ignore the request for
lower difficulty it doesn't reset the's pool timeout either. In effect it's useless.

However, it will remain in case pools decide to support the method some time in the future.

The enhanced stratum-keepalive goes one step further, it will pre-emptively reset the stratum connection before
the pool times out and closes it. This will prevent the miner from sending a share over a dead connection. It also
eliminates wasted time hashing with a dead connection even if no share is found.

The suggest difficulty method is sent after 3 minutes with no shares submitted and the pre-emptive reset is done
after 4 minutes with still no shares submitted. Timing is not precise but the reset is usually done before 5 minutes.

The option is disabled by default and can be enabled with --stratum-keepalive. There should be no harm in using
even if timeouts aren't a problem.

Here's a sample of it in action:

Code:
[2022-01-30 22:41:54] New Block 1373920, Net diff 0.00082473, Job 2ae5
                      Diff: Net 0.00082473, Stratum 0.05, Target 7.6294e-07
                      TTF @ 50.73 h/s: Block 19h23m, Share 1m04s
                      Net hash rate (est) 60.04 kh/s
[2022-01-30 22:42:14] Stratum keepalive requesting lower difficulty
[2022-01-30 22:42:14] New Block 1373921, Net diff 0.00082874, Job 2ae6
                      Diff: Net 0.00082874, Stratum 0.05, Target 7.6294e-07
                      TTF @ 48.44 h/s: Block 20h24m, Share 1m07s
                      Net hash rate (est) 60.33 kh/s
[2022-01-30 22:43:18] No shares submitted, resetting stratum connection
[2022-01-30 22:43:18] Stratum connection reset
[2022-01-30 22:43:18] Stratum extranonce1= 810dff03, extranonce2 size= 4
[2022-01-30 22:43:18] Stratum connection established

The Sceptical Chymist
Legendary
*
Online Online

Activity: 3318
Merit: 6796


Cashback 15%


View Profile
March 19, 2022, 07:20:13 AM
 #284

Please don't post links like that. There is too much malware around.
The only valid links are in the FIRST POST, like I've said many times.
I just stumbled across your cpuminer-opt program today and incidentally when I was Googling it I found this thread.  Just want to say it's nice to see the developer keeping his thread updated and on the straight and narrow.

Over the last year I've gotten interested in computers to the point of obsession, and that was after years of being into cryptocurrency.  That led me to learn about CPUs, which in turn led me to CPU mining--hence the reason why I'm writing this.  I downloaded cpuminer-opt and started running it on a mini PC that I have in another room, and right now it's tuning.  We'll see how much RTM I can mine.  It's not exactly my favorite CPU-minable coin but I'm having fun and it's certainly a learning experience.  Thanks for that!

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
alucard20724
Sr. Member
****
Offline Offline

Activity: 703
Merit: 272


View Profile
March 19, 2022, 12:13:41 PM
Merited by The Sceptical Chymist (3)
 #285

Please don't post links like that. There is too much malware around.
The only valid links are in the FIRST POST, like I've said many times.
I just stumbled across your cpuminer-opt program today and incidentally when I was Googling it I found this thread.  Just want to say it's nice to see the developer keeping his thread updated and on the straight and narrow.

Over the last year I've gotten interested in computers to the point of obsession, and that was after years of being into cryptocurrency.  That led me to learn about CPUs, which in turn led me to CPU mining--hence the reason why I'm writing this.  I downloaded cpuminer-opt and started running it on a mini PC that I have in another room, and right now it's tuning.  We'll see how much RTM I can mine.  It's not exactly my favorite CPU-minable coin but I'm having fun and it's certainly a learning experience.  Thanks for that!

except this doesn't do RTM ,i.e. raptoreum , i.e. ghosterider.

you might have one of the forks from this one, where they did raptoreum.  there are a lot of forks out there where someone forked cpuminer to make enhancements on one algo.
The Sceptical Chymist
Legendary
*
Online Online

Activity: 3318
Merit: 6796


Cashback 15%


View Profile
March 19, 2022, 12:32:34 PM
 #286

except this doesn't do RTM ,i.e. raptoreum , i.e. ghosterider.
Oh my lord....I must have had way too many txt documents up all at once, because I ended up successfully creating the cpu miner that I think is Wyvern or whatever Raptoreum has up on their website.  I had the READ ME of cpuminer-opt up and I was trying to figure that one out as well, so obviously my brain is a wee bit addled.  I just took a look and it does say right there in the READ ME doc that the gr algo isn't supported anymore.

The miner that's the object of this thread (cpuminer-opt) looks much more interesting now that I've begun to understand the workings of it.  I'll let the RTM miner run a little longer then try the other.  Thanks for catching my boo-boo.  I still give mucho props to JayDDee; that wasn't a mistake.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
JayDDee (OP)
Full Member
***
Online Online

Activity: 1383
Merit: 220


View Profile
March 19, 2022, 01:54:58 PM
 #287

One of my goals was to make the miner somewhat modular to make it easier to add (or remove) algos.
Unfortunately it doesn't work with most of the newer miners/algos that use cmake & c++.
Also with most new coins choosing new unique algos the work to support new coins has increased.

As a result those new coins that can use the cpuminer mining architecture fork the miner to build their own.
My only disappointment with that approach is those who take open source code, close it, then charge a fee.

Thanks for the kind words.

stavrosg
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
April 15, 2022, 09:36:47 AM
 #288

Hello, is there any documentation on how to use the tool? Which coins and pools are supported? Tried with binance but no success
Lafu
Legendary
*
Offline Offline

Activity: 2954
Merit: 3038



View Profile
April 15, 2022, 09:57:04 AM
 #289

Hello, is there any documentation on how to use the tool? Which coins and pools are supported? Tried with binance but no success
You will find all the needed Info here on the Github page  : https://github.com/JayDDee/cpuminer-opt

Specialy here and read all things : https://github.com/JayDDee/cpuminer-opt#requirements
Supported Algos : https://github.com/JayDDee/cpuminer-opt#supported-algorithms
But you should be also find all this Information on the first post in this Thread here.

JayDDee (OP)
Full Member
***
Online Online

Activity: 1383
Merit: 220


View Profile
April 15, 2022, 03:45:58 PM
 #290

Hello, is there any documentation on how to use the tool? Which coins and pools are supported? Tried with binance but no success

Based on your question in the Pooler thread it seems you're using it correctly but the mining difficulty is
too high to find any shares. Choose an algorithm/coin that is more suitable for CPU mining.

iGodPro
Jr. Member
*
Offline Offline

Activity: 58
Merit: 10


View Profile
April 24, 2022, 01:47:03 AM
 #291

Hi, could you support to add  XDAG ?
XDAG is the first mineable DAG.
It is CPU mining , RandomX Algo.

XDAG's WEB:
xdag.io

Github:
https://github.com/XDagger

BitcoinTalk:
https://bitcointalk.org/index.php?topic=2552368.0
JayDDee (OP)
Full Member
***
Online Online

Activity: 1383
Merit: 220


View Profile
April 24, 2022, 07:15:43 PM
 #292

cpuminer-opt doesn't support RandomX or any variants, xmrig does.

guytechie
Hero Member
*****
Offline Offline

Activity: 677
Merit: 500


View Profile
May 03, 2022, 07:37:23 PM
 #293

Is stratum+ssl still not well supported?  Doesn't seem to work with zergpool

Put something in my tip jar if I made your day. Smiley
BTC:
1MkmBHDjonAFXui6JEx9ZmEemfMtUo9Cmu
JayDDee (OP)
Full Member
***
Online Online

Activity: 1383
Merit: 220


View Profile
May 03, 2022, 07:51:50 PM
 #294

Is stratum+ssl still not well supported?  Doesn't seem to work with zergpool

I don't think Zergpool supports it. I'm not aware of many pools that do.

alucard20724
Sr. Member
****
Offline Offline

Activity: 703
Merit: 272


View Profile
May 04, 2022, 04:29:00 AM
 #295

Is stratum+ssl still not well supported?  Doesn't seem to work with zergpool

I don't think Zergpool supports it. I'm not aware of many pools that do.

on their front page says they do.  

-o stratum+ssl://<ALGO>.mine.zergpool.com:<PORT> -u <WALLET_ADDRESS> [-p <OPTIONS>]
though it might not be working and the pool operator doesn't know it.

you have a better chance of finding out on their discord.
https://discord.com/channels/407610160580657164/412146651185020938

a message from march 29, 2022 on the discord channel
!pinpin [zergpool.com] — 03/29/2022
Happy to announce that we are adding TLS/SSL support also for all mining ports. All regular mining ports have its sibling now, which starts with 1. As example for sha256, TLS/SSL mining port is 13333. Happy mining, and please report if some of ports does not work for you in TLS mode. @everyone
JayDDee (OP)
Full Member
***
Online Online

Activity: 1383
Merit: 220


View Profile
May 04, 2022, 05:46:01 AM
 #296

on their front page says they do.  

-o stratum+ssl://<ALGO>.mine.zergpool.com:<PORT> -u <WALLET_ADDRESS> [-p <OPTIONS>]

Thanks, I didn't scroll down far enough.

I tried it with stratum+tcps and it worked. I can add parsing for stratum+ssl as a cli convenience
but I have no releases planned at this time.

guytechie
Hero Member
*****
Offline Offline

Activity: 677
Merit: 500


View Profile
May 05, 2022, 03:34:04 PM
 #297

on their front page says they do.  

-o stratum+ssl://<ALGO>.mine.zergpool.com:<PORT> -u <WALLET_ADDRESS> [-p <OPTIONS>]

Thanks, I didn't scroll down far enough.

I tried it with stratum+tcps and it worked. I can add parsing for stratum+ssl as a cli convenience
but I have no releases planned at this time.

that worked for me, thanks.  If you can add parsing for stratum+ssl that'll work. If you don't at least add an explaination to use tcps instead of ssl in the pool URL.  I don't know if other pools use "stratum+ssl" rather than "stratum+tcps" in their guides.

Put something in my tip jar if I made your day. Smiley
BTC:
1MkmBHDjonAFXui6JEx9ZmEemfMtUo9Cmu
JayDDee (OP)
Full Member
***
Online Online

Activity: 1383
Merit: 220


View Profile
May 05, 2022, 04:42:57 PM
 #298

It will be in the next release, I just don't know when. In the meantime I posted a note in the Zergpool thread
and opened a git issue to document the workaround.


minerja
Sr. Member
****
Offline Offline

Activity: 1248
Merit: 297


View Profile
May 14, 2022, 12:43:43 PM
 #299

Hi JayDDee,

Any chance you can re-introduce scryptjane  into your next release.
I'm stuck using 3.11.0 (scryptjane:20), and would love to see if the newer optimizations make a difference on Zen3. The extra L3 cache seems to make a small diff in all the newer miners.

Thanks
J
JayDDee (OP)
Full Member
***
Online Online

Activity: 1383
Merit: 220


View Profile
May 14, 2022, 01:25:25 PM
 #300

Hi JayDDee,

Any chance you can re-introduce scryptjane  into your next release.
I'm stuck using 3.11.0 (scryptjane:20), and would love to see if the newer optimizations make a difference on Zen3. The extra L3 cache seems to make a small diff in all the newer miners.

Thanks
J

SJ doesn't use the common Scrypt base code so it would not have benefitted from any optimzations to Scrypt.
 

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [15] 16 17 18 19 »  All
  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!