Bitcoin Forum
February 21, 2019, 02:57:22 AM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 9 10 11 12 13 14 15 16 17 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 »
  Print  
Author Topic: An (even more) optimized version of cpuminer (pooler's cpuminer, CPU-only)  (Read 1952933 times)
TradeForProfits
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
May 19, 2016, 05:23:51 AM
 #1161

appreciate your work. Is there a way for a noob to compile scrypt-jane support into your latest optimized cpuminer? Thanks.
1550717842
Hero Member
*
Offline Offline

Posts: 1550717842

View Profile Personal Message (Offline)

Ignore
1550717842
Reply with quote  #2

1550717842
Report to moderator
1550717842
Hero Member
*
Offline Offline

Posts: 1550717842

View Profile Personal Message (Offline)

Ignore
1550717842
Reply with quote  #2

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

Activity: 773
Merit: 501


View Profile
May 19, 2016, 06:26:05 AM
 #1162

appreciate your work. Is there a way for a noob to compile scrypt-jane support into your latest optimized cpuminer? Thanks.

Sorry, I don't think so.

BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
May 19, 2016, 01:35:22 PM
 #1163

appreciate your work. Is there a way for a noob to compile scrypt-jane support into your latest optimized cpuminer? Thanks.

cpuminer-opt (see sig) supports scrypt-jane and many other algos.

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

Activity: 2
Merit: 0


View Profile
May 27, 2016, 07:55:15 AM
 #1164

Hello! I'm trying to build 64 bit binary on AIX 7.1, but configure fails with an error. Any suggestions?
config.log:
Code:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by cpuminer configure 2.4.4, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure CFLAGS=-O3

## --------- ##
## Platform. ##
## --------- ##

hostname = srvcrp6
uname -m = 00CC01114C00
uname -r = 1
uname -s = AIX
uname -v = 7

/usr/bin/uname -p = powerpc
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = 7.1.0.0
/bin/universe          = unknown

PATH: /usr/bin
PATH: /etc
PATH: /usr/sbin
PATH: /usr/ucb
PATH: /usr/bin/X11
PATH: /sbin
PATH: /usr/java/jre/bin
PATH: /usr/java/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2336: checking build system type
configure:2350: result: powerpc-ibm-aix7.1.0.0
configure:2370: checking host system type
configure:2383: result: powerpc-ibm-aix7.1.0.0
configure:2403: checking target system type
configure:2416: result: powerpc-ibm-aix7.1.0.0
configure:2460: checking for a BSD-compatible install
configure:2528: result: ./install-sh -c
configure:2539: checking whether build environment is sane
configure:2594: result: yes
configure:2745: checking for a thread-safe mkdir -p
configure:2784: result: ./install-sh -c -d
configure:2791: checking for gawk
configure:2807: found /usr/bin/gawk
configure:2818: result: gawk
configure:2829: checking whether make sets $(MAKE)
configure:2851: result: yes
configure:2880: checking whether make supports nested variables
configure:2897: result: yes
configure:3026: checking whether to enable maintainer-specific portions of Makefiles
configure:3035: result: no
configure:3061: checking for style of include used by make
configure:3089: result: GNU
configure:3160: checking for gcc
configure:3176: found /usr/bin/gcc
configure:3187: result: gcc
configure:3416: checking for C compiler version
configure:3425: gcc --version >&5
gcc (GCC) 4.8.3
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3436: $? = 0
configure:3425: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/freeware/libexec/gcc/powerpc-ibm-aix7.1.0.0/4.8.3/lto-wrapper
Target: powerpc-ibm-aix7.1.0.0
Configured with: ../gcc-4.8.3/configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --enable-languages=c,c++,fortran --prefix=/opt/freeware --mandir=/opt/freeware/man --infodir=/opt/freeware/info --enable-version-specific-runtime-libs --disable-nls --enable-decimal-floa
t=dpd --host=powerpc-ibm-aix7.1.0.0
Thread model: aix
gcc version 4.8.3 (GCC)
configure:3436: $? = 0
configure:3425: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3436: $? = 1
configure:3425: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3436: $? = 1
configure:3456: checking whether the C compiler works
configure:3478: gcc -O3   conftest.c  >&5
Assembler:
/tmp//cci5yi3I.s: line 12: Only .llong should be used for relocatable expressions.
configure:3482: $? = 1
configure:3520: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cpuminer"
| #define PACKAGE_TARNAME "cpuminer"
| #define PACKAGE_VERSION "2.4.4"
| #define PACKAGE_STRING "cpuminer 2.4.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "cpuminer"
| #define VERSION "2.4.4"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3525: error: in `/usr/cpuminer/cpuminer-2.4.4':
configure:3527: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=powerpc-ibm-aix7.1.0.0
ac_cv_env_CCASFLAGS_set=''
ac_cv_env_CCASFLAGS_value=''
ac_cv_env_CCAS_set=''
ac_cv_env_CCAS_value=''
ac_cv_env_CC_set=''
ac_cv_env_CC_value=''
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=-O3
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_LIBS_set=''
ac_cv_env_LIBS_value=''
ac_cv_env_build_alias_set=''
ac_cv_env_build_alias_value=''
ac_cv_env_host_alias_set=''
ac_cv_env_host_alias_value=''
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_host=powerpc-ibm-aix7.1.0.0
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=powerpc-ibm-aix7.1.0.0
am_cv_make_support_nested_variables=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /usr/cpuminer/cpuminer-2.4.4/missing aclocal-1.14'
ALLOCA=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
ARCH_ARM_FALSE=''
ARCH_ARM_TRUE=''
ARCH_PPC_FALSE=''
ARCH_PPC_TRUE=''
ARCH_x86_64_FALSE=''
ARCH_x86_64_TRUE=''
ARCH_x86_FALSE=''
ARCH_x86_TRUE=''
AUTOCONF='${SHELL} /usr/cpuminer/cpuminer-2.4.4/missing autoconf'
AUTOHEADER='${SHELL} /usr/cpuminer/cpuminer-2.4.4/missing autoheader'
AUTOMAKE='${SHELL} /usr/cpuminer/cpuminer-2.4.4/missing automake-1.14'
AWK='gawk'
CC='gcc'
CCAS=''
CCASDEPMODE=''
CCASFLAGS=''
CCDEPMODE=''
CFLAGS='-O3'
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP=''
EXEEXT=''
GREP=''
HAVE_WINDOWS_FALSE=''
HAVE_WINDOWS_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
JANSSON_LIBS=''
LDFLAGS=''
LIBCURL=''
LIBCURL_CPPFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /usr/cpuminer/cpuminer-2.4.4/missing makeinfo'
MKDIR_P='./install-sh -c -d'
OBJEXT=''
PACKAGE='cpuminer'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='cpuminer'
PACKAGE_STRING='cpuminer 2.4.4'
PACKAGE_TARNAME='cpuminer'
PACKAGE_URL=''
PACKAGE_VERSION='2.4.4'
PATH_SEPARATOR=':'
PTHREAD_FLAGS=''
PTHREAD_LIBS=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
USE_ASM_FALSE=''
USE_ASM_TRUE=''
VERSION='2.4.4'
WANT_JANSSON_FALSE=''
WANT_JANSSON_TRUE=''
WS2_LIBS=''
_libcurl_config=''
ac_ct_CC='gcc'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCCAS_FALSE=''
am__fastdepCCAS_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='powerpc-ibm-aix7.1.0.0'
build_alias=''
build_cpu='powerpc'
build_os='aix7.1.0.0'
build_vendor='ibm'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='powerpc-ibm-aix7.1.0.0'
host_alias=''
host_cpu='powerpc'
host_os='aix7.1.0.0'
host_vendor='ibm'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /usr/cpuminer/cpuminer-2.4.4/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='powerpc-ibm-aix7.1.0.0'
target_alias=''
target_cpu='powerpc'
target_os='aix7.1.0.0'
target_vendor='ibm'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "cpuminer"
#define PACKAGE_TARNAME "cpuminer"
#define PACKAGE_VERSION "2.4.4"
#define PACKAGE_STRING "cpuminer 2.4.4"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "cpuminer"
#define VERSION "2.4.4"

configure: exit 77
pooler
Hero Member
*****
Offline Offline

Activity: 773
Merit: 501


View Profile
May 27, 2016, 08:23:42 AM
 #1165

Hello! I'm trying to build 64 bit binary on AIX 7.1, but configure fails with an error. Any suggestions?
config.log:
Code:
configure:3456: checking whether the C compiler works
configure:3478: gcc -O3   conftest.c  >&5
Assembler:
/tmp//cci5yi3I.s: line 12: Only .llong should be used for relocatable expressions.
configure:3482: $? = 1
configure:3520: result: no

This seems relevant: http://www.hpc.cineca.it/content/i-cannot-use-gcc-compiler-even-very-simple-programs

BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
realgera
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
May 27, 2016, 09:17:43 AM
 #1166

Hello! I'm trying to build 64 bit binary on AIX 7.1, but configure fails with an error. Any suggestions?
config.log:
Code:
configure:3456: checking whether the C compiler works
configure:3478: gcc -O3   conftest.c  >&5
Assembler:
/tmp//cci5yi3I.s: line 12: Only .llong should be used for relocatable expressions.
configure:3482: $? = 1
configure:3520: result: no

This seems relevant: http://www.hpc.cineca.it/content/i-cannot-use-gcc-compiler-even-very-simple-programs
Don't think so, I'm using OBJECT_MODE=64. It seems there is an incorrect gcc option in config script:
Code:
configure:3425: gcc -V >&5
gcc: error: unrecognized command line option '-V'
pooler
Hero Member
*****
Offline Offline

Activity: 773
Merit: 501


View Profile
May 27, 2016, 09:38:22 AM
 #1167

Hello! I'm trying to build 64 bit binary on AIX 7.1, but configure fails with an error. Any suggestions?
config.log:
Code:
configure:3456: checking whether the C compiler works
configure:3478: gcc -O3   conftest.c  >&5
Assembler:
/tmp//cci5yi3I.s: line 12: Only .llong should be used for relocatable expressions.
configure:3482: $? = 1
configure:3520: result: no
This seems relevant: http://www.hpc.cineca.it/content/i-cannot-use-gcc-compiler-even-very-simple-programs
Don't think so, I'm using OBJECT_MODE=64.
So you've tried adding -maix64 to CFLAGS?

It seems there is an incorrect gcc option in config script:
Code:
configure:3425: gcc -V >&5
gcc: error: unrecognized command line option '-V'
I believe that is normal.

BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
johnjacksonbtc
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
June 10, 2016, 07:14:01 AM
 #1168

memleak still is present - 2MB per getblocktemplate request.

I must have missed this one because it only happens when long polling is enabled. Anyway, I've just pushed a fix to the git repo. Thank you again!

Could you re release binaries for download? Thanks.
pooler
Hero Member
*****
Offline Offline

Activity: 773
Merit: 501


View Profile
June 10, 2016, 09:07:24 AM
 #1169

Version 2.4.5

This is a bugfix release to address a memory leak affecting long polling.

The source code is, as always, available at GitHub. Source tarball and binaries are available at Sourceforge.

BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
TradeForProfits
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
June 12, 2016, 04:36:59 PM
 #1170

appreciate your work. Is there a way for a noob to compile scrypt-jane support into your latest optimized cpuminer? Thanks.

Sorry, I don't think so.

K, thanks. I see someone else posted with one that may work.
TradeForProfits
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
June 12, 2016, 04:41:39 PM
 #1171

appreciate your work. Is there a way for a noob to compile scrypt-jane support into your latest optimized cpuminer? Thanks.

cpuminer-opt (see sig) supports scrypt-jane and many other algos.


Thank you. Will check into it.
maverick528
Full Member
***
Offline Offline

Activity: 136
Merit: 100


View Profile
July 02, 2016, 08:26:35 PM
 #1172

somebody has benchmarks using VIA Padlock engine with CPU miner?
I have a C3 computer in storage, if its worth it I can bring it back to life...
pooler
Hero Member
*****
Offline Offline

Activity: 773
Merit: 501


View Profile
July 02, 2016, 09:03:29 PM
 #1173

somebody has benchmarks using VIA Padlock engine with CPU miner?
I have a C3 computer in storage, if its worth it I can bring it back to life...

I don't have precise benchmarks at hand right now, but it's definitely not worth it. The performance per MHz is still way lower than that of modern Intel CPUs.

BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
maverick528
Full Member
***
Offline Offline

Activity: 136
Merit: 100


View Profile
July 04, 2016, 09:11:00 PM
 #1174

somebody has benchmarks using VIA Padlock engine with CPU miner?
I have a C3 computer in storage, if its worth it I can bring it back to life...

I don't have precise benchmarks at hand right now, but it's definitely not worth it. The performance per MHz is still way lower than that of modern Intel CPUs.

yeah, but the power it uses is very small.......
pooler
Hero Member
*****
Offline Offline

Activity: 773
Merit: 501


View Profile
July 04, 2016, 09:51:40 PM
 #1175

somebody has benchmarks using VIA Padlock engine with CPU miner?
I have a C3 computer in storage, if its worth it I can bring it back to life...

I don't have precise benchmarks at hand right now, but it's definitely not worth it. The performance per MHz is still way lower than that of modern Intel CPUs.

yeah, but the power it uses is very small.......

Unfortunately not small enough. It's still far less power-efficient than a GPU.

BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
baldrob
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
July 12, 2016, 03:27:07 AM
 #1176

@pooler
I contacted u a few days ago by email about scrypt_core() for aarch64, I don't know how to code a .S file but I came up with a temporary solution:
A fallback written in C++ for unsupported architectures.  
simply place the fallback before the others in build order and it would compile, and be replace by optimized version if the architecture is supported Smiley

As I've told you in my email, I still haven't been able to test cpuminer on aarch64, but time allowing I plan to look into this soon.
If you're OK with an unoptimized build, I think as a temporary solution configuring with --disable-assembly should be enough.

I can confirm that ./configure --disable-assembly does in fact work, at least on a pine64 running debian.  Of course, at 2.5 kH/s I'm not really sure it's worth doing.
gimomars
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile
August 04, 2016, 04:54:45 AM
 #1177

Thus the cpuminer support Lyra2re algo?
Isildur (official)
Hero Member
*****
Offline Offline

Activity: 966
Merit: 528


Bitsler.com - Community Manager


View Profile WWW
August 07, 2016, 02:37:04 AM
 #1178

Thanks, will test this out on some shitcoin ..

QuadraQ
Sr. Member
****
Offline Offline

Activity: 480
Merit: 250



View Profile
August 17, 2016, 08:28:06 PM
 #1179

If at all possible can solo mining for HODL be added? I think the coin has potential, but I don't trust leaving my coins with a pool for a year, which I think is kind of the point - true distributed mining. I would love to have the extra speed without it requiring a pool to mine.
Percivul
Member
**
Offline Offline

Activity: 69
Merit: 10


View Profile
August 21, 2016, 07:07:23 PM
 #1180

Hey guys, I was curious if there was a way to have cpuminer run a benchmark for all the algos that it supports?  I know I can do them individually but I was hoping there was a way to do it that's similar to the ccminer type --benchmark.

If so, maybe I'm just doing it wrong???
Pages: « 1 ... 9 10 11 12 13 14 15 16 17 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 »
  Print  
 
Jump to:  

Bitcointalk.org is not available or authorized for sale. Do not believe any fake listings.
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!