Cgminer Hardware Performance

Discussion in 'Proof-of-work Mining' started by tacotime, Jan 27, 2016.

  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. Jamie Keefer

    Jamie Keefer New Member
    Advocate (Twitter)

    Jan 16, 2016
    69
    12
    Male
    Yes cgminer usually contains that info, I suspect.that will need to be added or perhaps there is a flag I need to set. Would be nice to see temp and fan speed.
     
  2. CommanderVenus

    CommanderVenus New Member

    Jan 11, 2016
    27
    4
    Linux 64 bit.
  3. Bill Threewits

    Jan 16, 2016
    146
    69
    Male
    Banker
    North Carolina
    I am getting 1.3GH on 2x AMD R9 280X also. (So, 2.6 total) I only used W7 drivers. Are you using latest AMD drivers?
     
  4. Wolf

    Wolf Jr. Member

    Jan 25, 2016
    107
    45
    Stop using their build and build it properly and you'll get ADL support - which gives you GPU temp read support and core/memclock/powertune/fanspeed read/write support.
     
    jimmy16 likes this.
  5. Bill Threewits

    Jan 16, 2016
    146
    69
    Male
    Banker
    North Carolina
    I also have 2x7950s mining testnet at 1GH each on W10.
     
  6. David

    David Sr. Member

    Jan 22, 2016
    364
    207
    Male
    USA
    I like to use HWmonitor for monitoring temps. MSI Afterburner is another good one and I believe you can set a custom fan profile through that application (as well as view temperatures, usage, memory clock, etc).
     
  7. Wolf

    Wolf Jr. Member

    Jan 25, 2016
    107
    45
    If you're on Windows, they can use my build, which will allow all the controls they want (except possibly viewing GPU usage and stuff, but hell, GPU usage is a useless metric anyways - it would show 100% usage even if it was actually stalling on an LDS bank conflict, for example) - what is needed is a Linux binary, because apparently people are actually using the official CGMiner binary for linux (I would really have thought they would have built it themselves... I'm quite surprised.)

    Anyways, I guess this means my porn watching gets interrupted while I see if I can put together a CGMiner Linux x64 binary that should be as trouble-free as possible for people. >.<
     
  8. Wolf

    Wolf Jr. Member

    Jan 25, 2016
    107
    45
    #68 Wolf, Jan 28, 2016
    Last edited: Jan 28, 2016
    Okay, this isn't going to be of the same quality of my usual public builds - in part because I had to mangle the build system to get it to statically compile properly, in part because Linux distros vary a LOT more than Windows systems do in places that are important to this sort of thing, and in part because I'm simply not set up to make Linux binaries of my usual public quality because I almost never make Linux binaries.

    That said... go nuts:

    https://ottrbutt.com/miner/downloads/decred-cgminer/wolf-decred-cgminer-01272016-linux64.tar.xz
    https://ottrbutt.com/miner/downloads/decred-cgminer/wolf-decred-cgminer-01272016-linux64.tar.xz.sig

    It is, of course, signed by me. Here's the list of shared libraries it depends on:

    Code:
    [wolf@kineta ~/tmp]$ ldd wolf-decred-cgminer-01272016-linux64/cgminer
       linux-vdso.so.1 (0x00007fff0a3e2000)
       libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f7312d58000)
       libOpenCL.so.1 => /usr/lib/libOpenCL.so.1 (0x00007f7312b51000)
       libm.so.6 => /usr/lib/libm.so.6 (0x00007f7312853000)
       libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f7312636000)
       libc.so.6 => /usr/lib/libc.so.6 (0x00007f7312292000)
       /lib64/ld-linux-x86-64.so.2 (0x00007f7312f5c000)
       librt.so.1 => /usr/lib/librt.so.1 (0x00007f731208a000)
    
    Anyways, back to what I was doing...

    EDIT: Almost forgot to post why I did this - it's not *just* about ADL support - although that was SORELY needed - I also think a lot of people will have serious issues running the cgminer binary on... well, anything except the distro it was compiled on, and even then requiring some odd packages. Some of said packages actually not being required for the miner at all, but I'm going off topic...

    Anyways, for comparison - list of shared libs the official Linux x64 binary on GitHub ( here: https://github.com/decred/cgminer/r...gminer-decred-linux-x86_64-20160127-v3.tar.gz ) depends on...

    Code:
    [wolf@kineta ~/tmp/cgminer-decred-linux-x86_64-20160127-v3]$ ldd cgminer
       linux-vdso.so.1 (0x00007fff469f1000)
       libcurl.so.4 => /usr/lib/libcurl.so.4 (0x00007ffb39f79000)
       libOpenCL.so.1 => /usr/lib/libOpenCL.so.1 (0x00007ffb39d72000)
       librt.so.1 => /usr/lib/librt.so.1 (0x00007ffb39b6a000)
       libm.so.6 => /usr/lib/libm.so.6 (0x00007ffb3986c000)
       libncursesw.so.6 => /usr/lib/libncursesw.so.6 (0x00007ffb395ff000)
       libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007ffb393e2000)
       libc.so.6 => /usr/lib/libc.so.6 (0x00007ffb3903e000)
       libidn.so.11 => /usr/lib/libidn.so.11 (0x00007ffb38e0a000)
       libssh2.so.1 => /usr/lib/libssh2.so.1 (0x00007ffb38bde000)
       libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0x00007ffb38964000)
       libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0x00007ffb384ed000)
       libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00007ffb382a0000)
       libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00007ffb37fbb000)
       libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00007ffb37d8a000)
       libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x00007ffb37b86000)
       libz.so.1 => /usr/lib/libz.so.1 (0x00007ffb37970000)
       libdl.so.2 => /usr/lib/libdl.so.2 (0x00007ffb3776c000)
       /lib64/ld-linux-x86-64.so.2 (0x00007ffb3a1ed000)
       libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00007ffb3755f000)
       libkeyutils.so.1 => /usr/lib/libkeyutils.so.1 (0x00007ffb3735b000)
       libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007ffb37144000)
    
    It also packages libcurl and libncursesw as shared libraries inside the package >.<

    Mine only contains cgminer, the README, the blake256.cl, and possibly a couple of bin files that were generated while I tested it that I really can't be fucked to go remove from my official release, re-archive, re-sign, and re-upload. Enjoy.
     
  9. jolan

    jolan Sr. Member
    Developer

    Dec 7, 2015
    197
    226
    Male
    Decred Team Member
    Thanks, I did roll a newer release earlier in the day which fixes some of the shared library madness:

    https://forum.decred.org/threads/cgminer-hardware-performance.330/page-3#post-4624

    But the official builds definitely still need some work so build guidance would be quite welcome.
     
  10. adam2312

    adam2312 Jr. Member

    Jan 11, 2016
    118
    43
    Male
    Sapphire Radeon Nitro R9 380 4GB averaging just under 1 Gh/s (935 Mh/s) using cgminer.
    Attained 1.2 Gh/s when increasing intensity to 14.
     
  11. Wolf

    Wolf Jr. Member

    Jan 25, 2016
    107
    45
    Off the top of my head? First go download the sources for zlib and cURL - you'll need them. Oh, and ncurses, too. Build each IN THAT ORDER.

    Make a new dir for your prefix, of course, and then build + install a static x64 zlib, then cURL. For cURL, it'll pull in a LOT of shit you don't need - and no, even though CGMiner may be able to use it, you do NOT need SSL/TLS shit. No one mines over SSL/TLS, so it's never used. Since I have most of the flags I passed to cURL's configure, this should guide you, but it might not be complete.

    Code:
    ./configure --disable-option-checking --disable-silent-rules --disable-debug --disable-werror --disable-curldebug --disable-symbol-hiding --disable-hidden-symbols --disable-ares --disable-rt --disable-dependency-tracking --disable-largefile --disable-libtool-lock --disable-ftp --disable-file --disable-ldap --disable-ldaps --disable-rtsp --disable-proxy --disable-dict --disable-telnet --disable-tftp --disable-pop3 --disable-imap --disable-smb --disable-smtp --disable-gopher --disable-manual --disable-libcurl-option --disable-ipv6 --disable-versioned-symbols --disable-threaded-resolver --disable-verbose --disable-sspi --disable-crypto-auth --disable-ntlm-wb --disable-tls-srp --disable-unix-sockets --disable-cookies --disable-soname-bump --without-winssl --without-darwinssl --without-ssl --without-gnutls --without-polarssl --without-mbedtls --without-cyassl --without-nss --without-axtls --without-ca-bundle --without-ca-path --without-libpsl --without-libmetalink --without-libssh2 --without-librtmp --without-winidn --without-libidn --without-nghttp2 --without-zsh-functions-dir --disable-shared --enable-static --enable-http --prefix=/home/user/myprefix
    
    The build for ncurses shouldn't be too rough, not like cURL - just remember to pass the switch to generate the pkg-config .pc files if you want 'em, and you'll have to install them by paw, because it won't. Well, it didn't for me, when I did the "make install" command.

    As for cgminer itself? I ripped whole checks out of configure.ac, hardcoded shit into Makefile.am, and generally butchered the build system to get it to do a proper static build. It can, of course, be fixed properly.... but this was faster.
     
  12. TheUlttraGoo

    TheUlttraGoo New Member

    Jan 16, 2016
    18
    8
    Male
    Bum
    WA
    R9 280 running at 1.09Gh/s
    6950 running at 1.30Gh/s
     
  13. HeapsIoN

    HeapsIoN New Member
    Advocate (Facebook)

    Dec 28, 2015
    45
    4
    Male
    #73 HeapsIoN, Jan 29, 2016
    Last edited: Jan 29, 2016
    nvidia GTX 770 classified 4GB running at 344Mh/s
    nvidia GTX 750 2GB running at 380Mh/s
    nvidia GTX 560ti DS SC 1GB running at 212Mh/s
     
  14. davecgh

    davecgh Hero Member
    Developer Organizer

    Dec 31, 2015
    642
    788
    Male
    United States
    The default number of confirmations for the wallet getbalance is 1. Use the following to see your 0 confirmation balance:

    dcrctl --wallet --testnet --notls -u **** -P **** getbalance "default" 0
     
  15. Arqu

    Arqu New Member

    Jan 29, 2016
    1
    0
    Male
    What are the parameters you are running your 6950 at?
     
  16. MrHat7

    MrHat7 New Member

    Jan 4, 2016
    20
    3
    Male
    Anyone have Titan X? :p
     
  17. .m.

    .m. New Member

    Jan 23, 2016
    55
    10
    wouldn't be a Pascal better ? :)
     
  18. Johnshpon3

    Johnshpon3 Member

    Dec 25, 2015
    210
    86
    Male
    Telecommunications
    Slovenia
    Sapphire R9 290X VaporX got average 1.355GH/s with standard settings. Later I will try some CGminer tweaking with intensity, memory clock and maybe sligthly overvolting. Currently temp is 76°C and fans at 50%.
     
  19. cryptokrill

    cryptokrill New Member

    Jan 28, 2016
    3
    0
    Male
    2 year old AMD Sapphire Radeon 7970 - 1.23 Gh/s with no modification
     
  20. Blizzy

    Blizzy Full Member

    Jan 4, 2016
    225
    109
    Male
    #80 Blizzy, Jan 29, 2016
    Last edited: Jan 29, 2016
    just for fun with an old ATI radeon HD4800 (avg):205.8Mh/s

    cgminer version 3.7.2 - Started: [2016-01-29 20:37:35]
    --------------------------------------------------------------------------------
    (5s):240.0M (avg):151.1Mh/s | A:0 R:0 HW:0 WU:0.9/m
    ST: 3 SS: 0 NB: 1 LW: 0 GF: 0 RF: 0
    Connected to 127.0.0.1 diff 680 without LP as user blizzy
    Block: c305f005... Diff:604 Started: [20:37:22] Best share: 5
    --------------------------------------------------------------------------------
    [P]ool management [G]PU management ettings [D]isplay options [Q]uit
    GPU 0: | 232.1M/151.1Mh/s | A:0 R:0 HW:0 WU:0.9/m I: 4

    cgminer version 3.7.2 - Started: [2016-01-29 20:37:35]
    --------------------------------------------------------------------------------
    (5s):264.3M (avg):186.0Mh/s | A:0 R:0 HW:0 WU:1.1/m
    ST: 3 SS: 0 NB: 6 LW: 0 GF: 0 RF: 0
    Connected to 127.0.0.1 diff 680 without LP as user blizzy
    Block: fd945c00... Diff:604 Started: [20:45:34] Best share: 5
    --------------------------------------------------------------------------------
    [P]ool management [G]PU management ettings [D]isplay options [Q]uit
    GPU 0: | 263.4M/187.0Mh/s | A:0 R:0 HW:0 WU:1.1/m I: 4
    --------------------------------------------------------------------------------
    cgminer version 3.7.2 - Started: [2016-01-29 20:37:35]
    --------------------------------------------------------------------------------
    (5s):236.4M (avg):205.8Mh/s | A:0 R:0 HW:0 WU:1.4/m
    ST: 3 SS: 0 NB: 10 LW: 0 GF: 0 RF: 0
    Connected to 127.0.0.1 diff 680 without LP as user blizzy
    Block: a9d30c00... Diff:604 Started: [20:52:57] Best share: 91
    --------------------------------------------------------------------------------
    [P]ool management [G]PU management ettings [D]isplay options [Q]uit
    GPU 0: | 239.1M/206.0Mh/s | A:0 R:0 HW:0 WU:1.4/m I: 4
    --------------------------------------------------------------------------------


    --------------------------------------------------------------------------------
     
    Freemind likes this.

Share This Page