Main Menu

minerd based cpu miner

Started by alexxy, December 24, 2013, 04:12:48 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

reorder

Quote from: barwizi on December 27, 2013, 05:32:50 PM
Quote from: ig0tik3d on December 27, 2013, 05:03:09 PM
to compile miner you need ssl library
in makefile.am change
minerd_LDADD        = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@
to
minerd_LDADD        = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ -lssl -lcrypto

hey, i wonder, does it help anything to increase memory usage?

If you mean - adding RAM to the system or closing other applications, then yes, it will decrease paging out of data miner needs to access. Turning off swap in Linux or setting a very low swappiness would help achieve that too.

barwizi

Quote from: ig0tik3d on December 27, 2013, 05:03:09 PM
to compile miner you need ssl library
in makefile.am change
minerd_LDADD        = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@
to
minerd_LDADD        = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ -lssl -lcrypto

hey, i wonder, does it help anything to increase memory usage?
--Bar--  PiNEJGUv4AZVZkLuF6hV4xwbYTRp5etWWJ

The magical land of crypto, no freebies people.

ig0tik3d

#14
to compile miner you need ssl library
in makefile.am change
minerd_LDADD        = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@
to
minerd_LDADD        = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ -lssl -lcrypto

luckye


Quote from: pvp1982 on December 24, 2013, 01:39:12 PM
How to use it for solo mining?

This is a really good question ! Does anybody knows how to do it ?

Grekk

I can`t compile from source.
mv -f .deps/minerd-momentum.Tpo .deps/minerd-momentum.Po
g++  -g -O2 -pthread  -o minerd minerd-cpu-miner.o minerd-util.o minerd-momentum.o -L/usr/lib/x86_64-linux-gnu -lcurl -ljansson -lpthread
/usr/bin/ld: minerd-momentum.o: undefined reference to symbol 'SHA512@@OPENSSL_1.0.0'
/lib/x86_64-linux-gnu/libcrypto.so.1.0.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [minerd] Error 1
make[2]: Leaving directory `/home/ubuntu/mmcminer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ubuntu/mmcminer'
make: *** [all] Error 2


pvp1982

How to use it for solo mining?

FreeTrade

Quote from: alexxy on December 24, 2013, 04:12:48 AM
Hi all!

I'm releasing sources for minerd based cpuminer. Its not fully optimized but it at least suitable for solo mine. Also it will work with any getwork based pools.

Sources available cpuminer
64bit linux here


Thanks for this. Will try a windows compile later.
"People should be more sophisticated? How are you gonna get that done?" - Jerry Seinfeld reply to Bill Maher

FreeTrade

Quote from: reorder on December 24, 2013, 09:41:10 AM
Nice one, but doing one hash per thread instead of splitting the job between threads is asking for orphans..

I think there is probably a happy medium between all the threads working on one hash (stock) and one thread per hash.

Working two hashes at a time, with half the threads in each would probably maximise the hash rate with a low orphan rate. Maybe 4 hashes for very powerful comps.
"People should be more sophisticated? How are you gonna get that done?" - Jerry Seinfeld reply to Bill Maher

alexxy

Quote from: Delinquency on December 24, 2013, 05:26:46 AM
Sorry, I have a missing dependency.. ?

Running Debian
uname -r
3.2.0-4-amd64

./minerd: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by ./minerd)

If you're on linux then its better to build it from source. I have more recent glibc on my laptop
Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

alexxy

Quote from: reorder on December 24, 2013, 09:41:10 AM
Nice one, but doing one hash per thread instead of splitting the job between threads is asking for orphans..

It will increase probability to find block btw.
Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

reorder

Nice one, but doing one hash per thread instead of splitting the job between threads is asking for orphans..

Delinquency

Sorry, I have a missing dependency.. ?

Running Debian
uname -r
3.2.0-4-amd64

./minerd: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by ./minerd)

FaSan

I've work with Minerd too for my Pool.

Congratulations for your code  :)



FaSan

alexxy

I can upload binary for 64bit linux only
Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

agran

Quote from: alexxy on December 24, 2013, 04:12:48 AM
Hi all!

I'm releasing sources for minerd based cpuminer. Its not fully optimized but it at least suitable for solo mine. Also it will work with any getwork based pools.

Sources available https://github.com/alexxy/cpuminer
Upload binary please.
MMC: MEKdGj95hNjuYn8xiw4iz1iQUQGA47UBMB | BTC: 1agran1xQ4Nwiqv1qegBDF6kqZdfESMUG