Author Topic: minerd based cpu miner  (Read 10160 times)

0 Members and 1 Guest are viewing this topic.

Offline reorder

  • Sr. Member
  • ****
  • Posts: 400
    • View Profile
to compile miner you need ssl library
in makefile.am change
Code: [Select]
minerd_LDADD        = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@to
Code: [Select]
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.

Offline barwizi

  • Hero Member
  • *****
  • Posts: 764
  • Noirbits, NoirShares, NoirEx.....lol, noir anyone?
    • View Profile
    • Noirbitstalk.org
to compile miner you need ssl library
in makefile.am change
Code: [Select]
minerd_LDADD        = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@to
Code: [Select]
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.

Offline ig0tik3d

  • Full Member
  • ***
  • Posts: 50
    • View Profile
to compile miner you need ssl library
in makefile.am change
Code: [Select]
minerd_LDADD        = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@to
Code: [Select]
minerd_LDADD        = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ -lssl -lcrypto
« Last Edit: December 27, 2013, 05:09:04 pm by ig0tik3d »

Offline luckye

  • Newbie
  • *
  • Posts: 19
    • View Profile

How to use it for solo mining?

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

Offline Grekk

  • Jr. Member
  • **
  • Posts: 29
    • View Profile
I can`t compile from source.
Code: [Select]
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

Offline pvp1982

  • Jr. Member
  • **
  • Posts: 29
    • View Profile
How to use it for solo mining?

Offline FreeTrade

  • Moderator
  • Hero Member
  • *****
  • Posts: 700
    • View Profile
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

Offline FreeTrade

  • Moderator
  • Hero Member
  • *****
  • Posts: 700
    • View Profile
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

Offline alexxy

  • Full Member
  • ***
  • Posts: 175
    • View Profile
Sorry, I have a missing dependency.. ?

Running Debian
Code: [Select]
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

Offline alexxy

  • Full Member
  • ***
  • Posts: 175
    • View Profile
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

Offline reorder

  • Sr. Member
  • ****
  • Posts: 400
    • View Profile
Nice one, but doing one hash per thread instead of splitting the job between threads is asking for orphans..

Offline Delinquency

  • Sr. Member
  • ****
  • Posts: 370
    • View Profile
Sorry, I have a missing dependency.. ?

Running Debian
Code: [Select]
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)

Offline FaSan

  • Full Member
  • ***
  • Posts: 130
    • View Profile
I've work with Minerd too for my Pool.

Congratulations for your code  :)



FaSan

Offline alexxy

  • Full Member
  • ***
  • Posts: 175
    • View Profile
I can upload binary for 64bit linux only
Vote for my delegates! alexxy | lexx
PTS: PmraxfZ852y9oEKrYMLX1ee3e4qRWPUTFC
BTS: alexxy

Offline agran

  • Full Member
  • ***
  • Posts: 93
    • View Profile
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