Bitcoin Forum
April 27, 2024, 04:43:43 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 18 19 20 21 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 »
  Print  
Author Topic: An (even more) optimized version of cpuminer (pooler's cpuminer, CPU-only)  (Read 1958267 times)
Andrey123
Sr. Member
****
Offline Offline

Activity: 1750
Merit: 305



View Profile
December 21, 2018, 05:05:52 AM
 #1341

https://github.com/ckazi/cpuminer-mc-yespower

Is this the same miner?
Can't run it on Rapsberry Pi3.

Hello! Voluntary donations that will go towards the development of my coin.
34bwEhH3GMx6swYXt2NBfFbYGkdTcaWtXz....BTC

1714193023
Hero Member
*
Offline Offline

Posts: 1714193023

View Profile Personal Message (Offline)

Ignore
1714193023
Reply with quote  #2

1714193023
Report to moderator
1714193023
Hero Member
*
Offline Offline

Posts: 1714193023

View Profile Personal Message (Offline)

Ignore
1714193023
Reply with quote  #2

1714193023
Report to moderator
"You Asked For Change, We Gave You Coins" -- casascius
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714193023
Hero Member
*
Offline Offline

Posts: 1714193023

View Profile Personal Message (Offline)

Ignore
1714193023
Reply with quote  #2

1714193023
Report to moderator
1714193023
Hero Member
*
Offline Offline

Posts: 1714193023

View Profile Personal Message (Offline)

Ignore
1714193023
Reply with quote  #2

1714193023
Report to moderator
scottmatheina
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
April 12, 2019, 01:13:29 PM
 #1342

I forked Bitcoin source to run my own network.. everything is working. I'm using Cpuminer to mine blocks... I had to change the script 'first letter' base because i changed the address first letter, but other than that it works fine.

The miner isn't adding any transactions to blocks. The transactions are in the mempool, but the miner isn't adding any of them. I've played with the transaction fees. Anyone else have this issue? I thought to ask. i didn't see anything in the history about this, and looking at the cpuminer code,there doesn't seem to be anything for me to update. Any advice would be welcome... this project is teaching me bitcoin development, so I'm learning as I go.
dissi_xD
Member
**
Offline Offline

Activity: 181
Merit: 65


View Profile WWW
January 22, 2020, 05:52:04 AM
 #1343

Does this miner work with a Raspberry Pi 4 modell B? I want to mine Litecoin for a graduation project for the school and i have used the fork of tpruvot, but somehow it doesn't work. So i want to try this one.

0xcosmos
Full Member
***
Offline Offline

Activity: 585
Merit: 110


View Profile
January 22, 2020, 06:37:30 AM
 #1344

Does this miner work with a Raspberry Pi 4 modell B? I want to mine Litecoin for a graduation project for the school and i have used the fork of tpruvot, but somehow it doesn't work. So i want to try this one.

no i do not think so it will work with raspberry pi
as the binaries are only available for x86 and x64 arch and not for arm arch which is pi
minerja
Sr. Member
****
Offline Offline

Activity: 1248
Merit: 297


View Profile
January 22, 2020, 01:01:00 PM
 #1345

Does this miner work with a Raspberry Pi 4 modell B? I want to mine Litecoin for a graduation project for the school and i have used the fork of tpruvot, but somehow it doesn't work. So i want to try this one.


As far as i know, https://github.com/tpruvot/cpuminer-multi, it the main one.

I found this https://github.com/afritzler/cpuminer-arm, but have never used it, so don't know if its safe.

I have used this in the past on Pi3, ti mine XMG. Not sure if it covers scrypt, but i seem to remember it does various algos
https://github.com/novaspirit/wolf-m7m-cpuminer-V2-RPi

Another article to read.
https://medium.com/@simeg/mine-coin-magi-xmg-on-a-raspberry-pi-2-3-41bdc2f2f441

Good luck
(oh take note of OS to use, i think that is the most critical part - pretty sure i ended up using mint and ubuntu rather than raspian)
knolixman65
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
January 29, 2020, 12:08:55 PM
Last edit: January 29, 2020, 12:20:41 PM by knolixman65
 #1346

Coming to the party VERY late.

Sorry.

I downloaded https://github.com/pooler/cpuminer/releases/download/v2.5.0/pooler-cpuminer-2.5.0-win64.zip for Win 10 64-bit.
Is CPUMiner.exe no longer included in the pre-built package?

I am comfortable using "command.com", nee cmd.exe... and very comfortable with commandline everything... just checking. Smiley

If there is a pretty gui module somewhere, I'd sorta like to have it in the binary package too Wink but I'm cool using just the daemon.

I'll also pop back to the top of the thread and see about stratus stuff. If it's on the command line coolio... but if it has to be in a config file that the daemon looks for or creates and then I edit the config file... I use NoptePad++ for most of my data/coding/scripting. Yes, I am a dinosaur. Any .bas / .cob / .bat programmers out there who used PC-DOS 2.0? Smiley I also used cygwin, Z/nix, Unix, and more versions of Linux (and more shells) than I should be allowed to admit. also did a whole $#!+ ton of web stuff and server-side scripting... yes, including various decryption on files then encryption before returning files back to the client... all from inside csh/ksh/bash scripts. Wink 

In the latest vernacular, I'm an experienced "data scientist" of 44y with major admin and web admin skills, in case you or someone you know is/are looking for one. Wink

I saw MinGW instructions. I installed cygwin, not sure that I installed MinGW on this box. Smiley

Looks like I did enabled PMs and emails after all. Smiley

Peace!
joblo
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 29, 2020, 10:10:55 PM
 #1347

About 10 years late.

This miner is obsolete and has been for about that long. It was awesome in its time but its time is gone.
It only mines sha2d and scrypt.

Mining anything with a single ARM CPU is futile. A cluster, maybe, but that gets really complicated.

ARM miner software is poor as there is little interest from good developpers due to the futility previously
mentioned. TPruvot has a multi algo miner that supports ARM but it hasn't been updated in about a year.

If you want to learn about mining just use your regular PC's CPU or GPU with a wide choice of excellent
up to date mining software.

Mining on a Pi is just child's play, but it makes a good wallet host.

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

Activity: 6
Merit: 0


View Profile
January 30, 2020, 01:33:09 AM
 #1348

Joblo,

There are many pool servers for many coins that use scrypt.

minerd mines altcoins through scrypt... so respectfully I'm NOT "10 years too late".
I was actually led to minerd because it mines Litecoin and ethereum natively... and both ethereum and litecoin is almost as popular as Bitcoin.
So "10 years late" should really be rephrased slightly... respectfully.

Politely, I request that if you know of another miner as strong and as current that supports mining through stratum with scrypt... please list the tools which you use and explain why your tools are better. Unfortunately, I prefer a CPU miner that can also run as a daemon from the command line. js Wink

I just with that there was a GUI to supply parameters to minerd and start/stop minerd from a control gui (or a controller that used ANSI color, in order to maintain the level of tight control... maybe to create profiles and schedule the saved profiles to run at required times of the day). Wink
 
Peace.

About 10 years late.

This miner is obsolete and has been for about that long. It was awesome in its time but its time is gone.
It only mines sha2d and scrypt.

Mining anything with a single ARM CPU is futile. A cluster, maybe, but that gets really complicated.

ARM miner software is poor as there is little interest from good developpers due to the futility previously
mentioned. TPruvot has a multi algo miner that supports ARM but it hasn't been updated in about a year.

If you want to learn about mining just use your regular PC's CPU or GPU with a wide choice of excellent
up to date mining software.

Mining on a Pi is just child's play, but it makes a good wallet host.
joblo
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 30, 2020, 03:02:08 AM
Merited by minerja (1)
 #1349

Joblo,

There are many pool servers for many coins that use scrypt.

minerd mines altcoins through scrypt... so respectfully I'm NOT "10 years too late".
I was actually led to minerd because it mines Litecoin and ethereum natively... and both ethereum and litecoin is almost as popular as Bitcoin.
So "10 years late" should really be rephrased slightly... respectfully.

Politely, I request that if you know of another miner as strong and as current that supports mining through stratum with scrypt... please list the tools which you use and explain why your tools are better. Unfortunately, I prefer a CPU miner that can also run as a daemon from the command line. js Wink

I just with that there was a GUI to supply parameters to minerd and start/stop minerd from a control gui (or a controller that used ANSI color, in order to maintain the level of tight control... maybe to create profiles and schedule the saved profiles to run at required times of the day). Wink
 
Peace.

How about showing me the respect of reading my post before going passive-aggressive and asking
the questions I already answered? I counted 3.

1. Pooler can't mine ethereum, only sha256d and scrypt.

2. CPUs aren't "strong" enough to mine litecoin anymore, Ten years ago you could so you're ten years
too late.

3. I mentioned a good CPU miner and you also completely ignored the one in my sig.

As for your other questions, do you're own research.

I feel like listening to some Aretha Franklin.

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

Activity: 1470
Merit: 1114


View Profile
February 09, 2020, 08:39:35 PM
 #1350

Hello Pooler,

I'm not sure you read this thread anymore but you should know your scrypt CPU code is getting some
good use due to Verium which uses N = 1024**2 making it exclusive to CPU mining only.

It's currently optimized up to AVX2 but AVX512 is now available. Unfortunately I don't have
the ASM skills necessary or the understanding of your code to attempt promoting it to AVX512.

There's a big team behind Verium, they may welcome the opprtunity for a more efficient miner.

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

Activity: 1
Merit: 0


View Profile
March 01, 2020, 04:36:05 AM
 #1351


I downloaded https://github.com/pooler/cpuminer/releases/download/v2.5.0/pooler-cpuminer-2.5.0-win64.zip for Win 10 64-bit.
Is CPUMiner.exe no longer included in the pre-built package?


The executable in the package is minerd.exe, not cpuminer.exe.
cpu-pool
Jr. Member
*
Offline Offline

Activity: 129
Merit: 8


View Profile WWW
March 11, 2020, 12:20:13 PM
 #1352

We wrote an article on how to install AOCC (AMD Optimizing C / C ++ Compiler) and tested CPUminer it on a ryzen 2600 CPU.

Read full article: http://cpu-mining.info/post.php?post=2



AOCC Docs - https://developer.amd.com/wp-content/resources/AOCC-2.1-Install-Guide.pdf

Install depends

Code:
sudo apt-get install -y git
sudo apt-get install -y automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev make g++
sudo apt-get install -y lib32z1-dev

download aocc-compiler-2.1.0_1_amd64.deb from https://developer.amd.com/amd-aocc/

install AOCC in Ubuntu

Code:
sudo dpkg -i aocc-compiler-2.1.0_1_amd64.deb
source /opt/AMD/aocc-compiler-2.1.0/setenv_AOCC.sh

check the installed AOCC compiler

Code:
clang -v

Tested bitzeny cpuminer (based on pooler cpuminer)

Code:
git clone https://github.com/bitzeny/cpuminer.git bitzeny-miner
cd bitzeny-miner
./autogen.sh

configure with AOCC

Code:
./configure CC=clang CFLAGS="-O3 -march=native -funroll-loops -fomit-frame-pointer"

Code:
make

benchmark

Code:
./minerd --benchmark -a yescrypt -t 1

You can check this compiler on your favorite algorithm.
map_ua
Copper Member
Jr. Member
*
Offline Offline

Activity: 59
Merit: 2

Tg: @map_ua Discrod: vjmap#6929


View Profile
April 02, 2020, 03:04:37 PM
 #1353

Hello. I'm looking to rent a lot of CPU power. Those who mines xmr can increase earnings by 50-60%. I'm looking for high scale rent only.

In case you know some big xmr miner, i can include your fee.

No scam, all legit, I will pay in advance.

Private CPU pool, pm me to join 150%-180% of xmr profit.
spilk76
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
August 17, 2020, 06:23:06 PM
 #1354

so
spilk76
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
August 17, 2020, 06:32:01 PM
 #1355

so it's working here
https://imgur.com/a/O09BPaj
but on nicehash rig management it doesn't accept any hash speed or anything and everything is zero except the difficulty number
I'm I mining ? I been running the process for 2 days and I don't know if I'm mining
JayDDee
Full Member
***
Offline Offline

Activity: 1383
Merit: 220


View Profile
August 17, 2020, 08:36:59 PM
 #1356

so it's working here

but on nicehash rig management it doesn't accept any hash speed or anything and everything is zero except the difficulty number
I'm I mining ? I been running the process for 2 days and I don't know if I'm mining

Oh dear, technically you are mining but realistically you aren't. To mine sha256 you need PH/s but you only have kH/s.
Divide the estimated profitability by 1 000 000 000 000 to see what you can expect with your CPU. You need an ASIC miner
for sha256.

spilk76
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
August 17, 2020, 08:48:41 PM
 #1357

I thought it's better
I have 0.63 khash/s with scrypt algorithm
if I keep mining with this hashes speeds will I make any bitcoin
Perp
Jr. Member
*
Offline Offline

Activity: 45
Merit: 1


View Profile
October 04, 2020, 07:04:50 AM
 #1358

Hello.
I'm asked on the different forums but no answer. Maybe here?

There in cgminer(based on cpuminer) exist such code:

static uint8_t diff_to_bits(double diff)
{
   uint64_t diff64;
   uint8_t i;

   diff /= 0.9999847412109375;
   diff *= (double)2147483648.0;
   if (diff > 0x8000000000000000ULL)
      diff = 0x8000000000000000ULL;
   /* Convert it to an integer */
   diff64 = diff;
   for (i = 0; diff64; i++, diff64 >>= 1);

   return i;
}

static double bits_to_diff(uint8_t bits)
{
   double ret = 1.0;

   if (likely(bits > 32))
      ret *= 1ull << (bits - 32);
   else if (unlikely(bits < 32))
      ret /= 1ull << (32 - bits);
   return ret;
}

How to adapt this code for scrypt to calculate diff to bits and vice versa?

Thanks!
registertwpcboy
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
January 15, 2021, 07:21:23 AM
 #1359

Please ask if there is a proxy function
Example:https://github.com/xmrig/xmrig-proxy
Claudio99
Member
**
Offline Offline

Activity: 210
Merit: 10

Sovryn - Brings DeFi to Bitcoin


View Profile
January 15, 2021, 07:55:10 AM
 #1360

I've tried to used cpuminer to mine Scrypt algorithm before but until this day I still can't configure or make it work, after many tutors through reddit it's still not working, can someone drop me the full configuration here ? I will appreciate

Pages: « 1 ... 18 19 20 21 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 »
  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!