Pages:
Author

Topic: OLD: BFGMiner 3.10.0: modular ASIC+FPGA, GBT+Strtm, RPC, Mac/Lnx/W64, AntU1, DRB - page 22. (Read 1193271 times)

newbie
Activity: 37
Merit: 0
Two things I noticed. First of all, you are using different settings for BFGMiner versus SGMiner. You are using Intensity 17 with BFGMiner and 18 with SGMiner. You are also specifying thread-concurrency with SGMiner and not BFGMiner. This should make a big difference when set correctly.

"intensity" : "17",
"vectors" : "1",
"worksize" : "256",
"lookup-gap" : "0",
"thread-concurrency" : "0",
"shaders" : "0",

"intensity" : "18",
"vectors" : "1",
"worksize" : "256",
"lookup-gap" : "0",
"thread-concurrency" : "8000",
"shaders" : "836",

Additionally, CGMiner (and it seems SGMiner) report the work done by weighing it with diff 1. So you will see inherently different numbers for Accepted, Rejected, etc. when comparing to BFGMiner. If you would like to have BFGMiner do the same so you can compare things more closely, run BFGMiner with the --weighed-stats argument.

Edit: Luke let me know that even with --weighed-stats it may not match up. Best bet is to compare the # of Accepts shown in the BFGMiner UI with the total # of Accepts shown when you quit SGMiner (75 in your post, not 2400).

The results after a half hour with your changes=

 bfgminer version 3.10.0 - Started: [2014-03-07 18:15:57] - [  0 days 00:29:54]
 [M]anage devices [P]ool management S]ettings [D]isplay options                                                       [H]elp [Q]uit
 Connected to stratum.scryptguild.com diff 0 with stratum as user Harwood
 Block: ...7bc0817e #240851  Diff:2 (20.79Mh/s)  Started: [18:45:44]]]
 ST:0  F:0  NB:105  AS:0  BW:[ 40/ 20 B/s]  E:0.00  I:69.93mBTC/hr  BS:0
 1            |  0.17/ 0.19/635.1Mh/s | A:0 R:0+0(none) HW:0/none
-------------------------------------------------------------------------------------------------------------------------------------
C:\bfgminer>  |  0.20/ 0.19/634.4Mh/s | A:0 R:0+0(none) HW:0/none

Conf=

{
"pools" : [
   {
      "url" : "stratum+tcp://us-east.multipool.us:7777",
      "user" : "Harwood.2",
      "pass" : "x",
      "pool-priority" : "1"
   },
   {
      "url" : "stratum+tcp://stratum.scryptguild.com:3333",
      "user" : "Harwood",
      "pass" : "none",
      "pool-priority" : "0"
   },
   {
      "url" : "stratum+tcp://us.litecoinpool.org:3333",
      "user" : "Harwood.2",
      "pass" : "1",
      "pool-priority" : "2"
   }
]
,
"intensity" : "18",
"vectors" : "1",
"worksize" : "256",
"kernel" : "scrypt",
"lookup-gap" : "0",
"thread-concurrency" : "8000",
"shaders" : "0",
"gpu-engine" : "750-830",
"gpu-fan" : "0-85",
"gpu-memclock" : "1800-1800",
"gpu-memdiff" : "0",
"gpu-powertune" : "0",
"gpu-vddc" : "0.000",
"temp-overheat" : "85",
"api-mcast-port" : "4028",
"api-port" : "4028",
"auto-fan" : true,
"auto-gpu" : true,
"expiry" : "120",
"expiry-lp" : "3600",
"gpu-dyninterval" : "7",
"gpu-platform" : "0",
"gpu-threads" : "2",
"log" : "5",
"no-pool-disable" : true,
"no-show-processors" : true,
"no-show-procs" : true,
"no-unicode" : true,
"queue" : "1",
"scan-time" : "60",
"scrypt" : true,
"skip-security-checks" : "0",
"submit-stale" : true,
"temp-hysteresis" : "3",
"shares" : "0",
"kernel-path" : "C:\\Program Files\\BFGMiner\\/share/bfgminer",
"scan" : [
   "opencl:auto"
]
}

Now from another post on this thread about your MultiMiner, I am going to check this out since I have one hub with USB BlockEruptors, a ANT U1, and a BE Cube from ANT.  They are currently on separate boxes, I could consolidate.

Thanks
hero member
Activity: 840
Merit: 1002
Two things I noticed. First of all, you are using different settings for BFGMiner versus SGMiner. You are using Intensity 17 with BFGMiner and 18 with SGMiner. You are also specifying thread-concurrency with SGMiner and not BFGMiner. This should make a big difference when set correctly.

"intensity" : "17",
"vectors" : "1",
"worksize" : "256",
"lookup-gap" : "0",
"thread-concurrency" : "0",
"shaders" : "0",

"intensity" : "18",
"vectors" : "1",
"worksize" : "256",
"lookup-gap" : "0",
"thread-concurrency" : "8000",
"shaders" : "836",

Additionally, CGMiner (and it seems SGMiner) report the work done by weighing it with diff 1. So you will see inherently different numbers for Accepted, Rejected, etc. when comparing to BFGMiner. If you would like to have BFGMiner do the same so you can compare things more closely, run BFGMiner with the --weighed-stats argument.

Edit: Luke let me know that even with --weighed-stats it may not match up. Best bet is to compare the # of Accepts shown in the BFGMiner UI with the total # of Accepts shown when you quit SGMiner (75 in your post, not 2400).
newbie
Activity: 37
Merit: 0
Not that I have much time, but I did the following for you.  And I could not get the stats from BFGMiner after the q because it just ABENDs when I quit. ABEND=Abnormal End, I am old IBM Mainframer programer (have had a email address since 1969).

So here is copy and past of the last of BFGMiner=
 bfgminer version 3.10.0 - Started: [2014-03-07 16:27:41] - [  0 days 00:19:10]
 [M]anage devices [P]ool management S]ettings [D]isplay options                                                       [H]elp [Q]uit
 Connected to stratum.scryptguild.com diff 0 with stratum as user Harwood
 Block: ...645281b2 #155121  Diff:7 (50.68Mh/s)  Started: [16:46:50]]]1]
 ST:2  F:0  NB:69  AS:0  BW:[ 36/  6 B/s]  E:0.00  I:  162mBTC/hr  BS:0
 0            |  0.00/ 0.04/112.4Mh/s | A:30 R:10+0(none) HW:0/none
-------------------------------------------------------------------------------------------------------------------------------------
 OCL 0:       |  0.05/ 0.04/112.0Mh/s | A:30 R:10+0(none) HW:0/none
-------------------------------------------------------------------------------------------------------------------------------------
 [2014-03-07 16:43:16] Network difficulty changed to 5 (38.85Mh/s)
 [2014-03-07 16:43:16] Stratum from pool 1 detected new block
 [2014-03-07 16:43:16] Pool 1 stale share detected, submitting as user requested
 [2014-03-07 16:43:16] Accepted 0f770fa5 OCL 0  pool 1 Diff 0/0
 [2014-03-07 16:43:22] Pool 1 is issuing work for an old block: 70feb37a94831bb85c73c387c8b84a8c575d2324f5c7d675b36b60ac973ac04a
 [2014-03-07 16:43:25] Stratum from pool 1 requested work update
 [2014-03-07 16:43:26] Pool 1 stale share detected, submitting as user requested
 [2014-03-07 16:43:26] Rejected 0ddf5c27 OCL 0  pool 1 Diff 0/0 (stale)
 [2014-03-07 16:43:59] Network difficulty changed to 19 (138.7Mh/s)

The Conf for BFGMiner =
{
"pools" : [
   {
      "url" : "stratum+tcp://us-east.multipool.us:7777",
      "user" : "Harwood.2",
      "pass" : "x",
      "pool-priority" : "1"
   },
   {
      "url" : "stratum+tcp://stratum.scryptguild.com:3333",
      "user" : "Harwood",
      "pass" : "none",
      "pool-priority" : "0"
   },
   {
      "url" : "stratum+tcp://us.litecoinpool.org:3333",
      "user" : "Harwood.2",
      "pass" : "1",
      "pool-priority" : "2"
   }
]
,
"intensity" : "17",
"vectors" : "1",
"worksize" : "256",
"kernel" : "scrypt",
"lookup-gap" : "0",
"thread-concurrency" : "0",
"shaders" : "0",
"gpu-engine" : "750-830",
"gpu-fan" : "0-85",
"gpu-memclock" : "1800-1800",
"gpu-memdiff" : "0",
"gpu-powertune" : "0",
"gpu-vddc" : "0.000",
"temp-overheat" : "85",
"api-mcast-port" : "4028",
"api-port" : "4028",
"auto-fan" : true,
"auto-gpu" : true,
"expiry" : "120",
"expiry-lp" : "3600",
"gpu-dyninterval" : "7",
"gpu-platform" : "0",
"gpu-threads" : "2",
"log" : "5",
"no-pool-disable" : true,
"no-show-processors" : true,
"no-show-procs" : true,
"no-unicode" : true,
"queue" : "1",
"scan-time" : "60",
"scrypt" : true,
"skip-security-checks" : "0",
"submit-stale" : true,
"temp-hysteresis" : "3",
"shares" : "0",
"kernel-path" : "C:\\Program Files\\BFGMiner\\/share/bfgminer",
"scan" : [
   "opencl:auto"
]
}


SGMiner session=
[17:02:08]  Share submissions: 75
[17:02:08]  Accepted shares: 75
[17:02:08]  Rejected shares: 0
[17:02:08]  Accepted difficulty shares: 2400
[17:02:08]  Rejected difficulty shares: 0
[17:02:08]  Reject ratio: 0.0%
[17:02:08]  Items worked on: 32
[17:02:08]  Stale submissions discarded due to new blocks: 0
[17:02:08]  Unable to get work from server occasions: 0
[17:02:08]  Submitting work remotely delay occasions: 0

[17:02:08] Pool: stratum+tcp://stratum.scryptguild.com:3333
[17:02:08]  Share submissions: 0
[17:02:08]  Accepted shares: 0
[17:02:08]  Rejected shares: 0
[17:02:08]  Accepted difficulty shares: 0
[17:02:08]  Rejected difficulty shares: 0
[17:02:08]  Items worked on: 0
[17:02:08]  Stale submissions discarded due to new blocks: 0
[17:02:08]  Unable to get work from server occasions: 0
[17:02:08]  Submitting work remotely delay occasions: 0

[17:02:08] Pool: stratum+tcp://us.litecoinpool.org:3333
[17:02:08]  Share submissions: 0
[17:02:08]  Accepted shares: 0
[17:02:08]  Rejected shares: 0
[17:02:08]  Accepted difficulty shares: 0
[17:02:08]  Rejected difficulty shares: 0
[17:02:08]  Items worked on: 0
[17:02:08]  Stale submissions discarded due to new blocks: 0
[17:02:08]  Unable to get work from server occasions: 0
[17:02:08]  Submitting work remotely delay occasions: 0

[17:02:08] Pool: stratum+tcp://us2.litecoinpool.org:3333
[17:02:08]  Share submissions: 0
[17:02:08]  Accepted shares: 0
[17:02:08]  Rejected shares: 0
[17:02:08]  Accepted difficulty shares: 0
[17:02:08]  Rejected difficulty shares: 0
[17:02:08]  Items worked on: 0
[17:02:08]  Stale submissions discarded due to new blocks: 0
[17:02:08]  Unable to get work from server occasions: 0
[17:02:08]  Submitting work remotely delay occasions: 0

[17:02:08] Summary of per device statistics:

[17:02:08] GPU0                | (5s):198.7K (avg):199.0Kh/s | A:2400 R:0 HW:0 WU:168.2/m
[17:02:08]
[17:
C:\SGMINER>

SGMiner conf=
{
"pools" : [
   {
      "url" : "stratum+tcp://us-east.multipool.us:3362",
      "user" : "Harwood.1",
      "pass" : "x"
   },
   {
      "url" : "stratum+tcp://stratum.scryptguild.com:3333",
      "user" : "Harwood",
      "pass" : "x"
   },
   {
      "url" : "stratum+tcp://us.litecoinpool.org:3333",
      "user" : "Harwood.2",
      "pass" : "1"
   },
   {
      "url" : "stratum+tcp://us2.litecoinpool.org:3333",
      "user" : "Harwood.2",
      "pass" : "1"
   }
]
,
"intensity" : "18",
"vectors" : "1",
"worksize" : "256",
"lookup-gap" : "0",
"thread-concurrency" : "8000",
"shaders" : "836",
"gpu-engine" : "0-0",
"gpu-fan" : "0-85",
"gpu-memclock" : "1800",
"gpu-memdiff" : "0",
"gpu-powertune" : "20",
"gpu-vddc" : "0.000",
"temp-cutoff" : "95",
"temp-overheat" : "85",
"temp-target" : "75",
"auto-fan" : true,
"auto-gpu" : true,
"expiry" : "120",
"failover-only" : true,
"gpu-dyninterval" : "7",
"gpu-platform" : "0",
"log" : "5",
"no-pool-disable" : true,
"queue" : "1",
"scan-time" : "30",
"tcp-keepalive" : "30",
"temp-hysteresis" : "3",
"shares" : "0",
"kernel-path" : "/usr/local/bin"
}

I haven't diagnosed for differences, and I currently don't have the time since one of them is working. The box is a ASUS Sabertooth 990FX r2, 32 GBytes of RAM, Phenom II x8 @4.02 Ghz, running Windows Server 2012.  The box is part of my web hosting business.  The GPU is a R7 260x. Since you asked I gave it to you.



What was hashing with a passion on Scrypt was not so productive on BGMiner, apparently.  Not very scientific, I just looked at accepted per minute.

Do you have time to be scientific? If so:

What hardware are you using?
What arguments are you launching BFGMiner with?
What arguments are you launching SGMiner with?
Can you run each for 15 minutes, then hit Q, and then Copy & Paste the summary here?
newbie
Activity: 25
Merit: 0
Thanks. Now I seem to be getting disabled proxy:stratum "To enable proxy:stratum, install libevent 2.0.3+", when I do ./configure. After I received that error, I installed libevent-2.0-5, and re-ran ./autogen.sh, then ./configure again, but it still gives me the message that the proxy is disabled.

When you install libmicrohttpd and libevent there are generally instructions printed out on the screen for other steps you need to take afterward. You may need to run ldconfig and / or logout & back in.

Oddly enough, I am able to run the bfgminer with --http-port option, and my cubes connect to it as stratum. High reject rates though (20%), may be the pool.
hero member
Activity: 520
Merit: 500
Thanks. Now I seem to be getting disabled proxy:stratum "To enable proxy:stratum, install libevent 2.0.3+", when I do ./configure. After I received that error, I installed libevent-2.0-5, and re-ran ./autogen.sh, then ./configure again, but it still gives me the message that the proxy is disabled.

When you install libmicrohttpd and libevent there are generally instructions printed out on the screen for other steps you need to take afterward. You may need to run ldconfig and / or logout & back in.

So, trying to compile bfgminer in windows per those instructions in the readme file, I use MinGW and tried to install Git.  I did manage  to install git, but when trying to run the git clone from MinGW it says Git doesn't exist...Also the instructions in the windows-build.txt file says:
********************
** Install libusb **
********************

1.  Visit http://git.libusb.org/?p=libusb.git;a=snapshot;h=master;sf=zip
2.  Download and open the resulting zip file
3.  Extract the libusb-master folder to C:\MinGW\msys\1.0\home\USER
4.  Return to the MinGW Shell
5.  Type the following (replace XYZ with actual identifier):

   cd ~/libusb-master-XYZ
   ./autogen.sh --disable-debug-log --prefix=/MinGW
   make
   make install

but the website doesn't exist so I can't install libusb like that.  is there another libusb to install?
hero member
Activity: 840
Merit: 1002
Thanks. Now I seem to be getting disabled proxy:stratum "To enable proxy:stratum, install libevent 2.0.3+", when I do ./configure. After I received that error, I installed libevent-2.0-5, and re-ran ./autogen.sh, then ./configure again, but it still gives me the message that the proxy is disabled.

When you install libmicrohttpd and libevent there are generally instructions printed out on the screen for other steps you need to take afterward. You may need to run ldconfig and / or logout & back in.
newbie
Activity: 25
Merit: 0
I am trying to run bfgminer as a stratum proxy on my LAN so I can connect with my BE cubes, but I am not having much success. I downloaded the 3.10.0 source from github and compiled it. But when I try to run bfgminer with the --http-port option, i get "/bfgminer: --http-port: unrecognized option"

Did I have to specify any options with ./configure? I did not.  Undecided

You need to have libmicrohttpd installed before you configure and compile BFGMiner.

Thanks. Now I seem to be getting disabled proxy:stratum "To enable proxy:stratum, install libevent 2.0.3+", when I do ./configure. After I received that error, I installed libevent-2.0-5, and re-ran ./autogen.sh, then ./configure again, but it still gives me the message that the proxy is disabled.
hero member
Activity: 840
Merit: 1002
I am trying to run bfgminer as a stratum proxy on my LAN so I can connect with my BE cubes, but I am not having much success. I downloaded the 3.10.0 source from github and compiled it. But when I try to run bfgminer with the --http-port option, i get "/bfgminer: --http-port: unrecognized option"

Did I have to specify any options with ./configure? I did not.  Undecided

You need to have libmicrohttpd installed before you configure and compile BFGMiner.
newbie
Activity: 25
Merit: 0
I am trying to run bfgminer as a stratum proxy on my LAN so I can connect with my BE cubes, but I am not having much success. I downloaded the 3.10.0 source from github and compiled it. But when I try to run bfgminer with the --http-port option, i get "/bfgminer: --http-port: unrecognized option"

Did I have to specify any options with ./configure? I did not.  Undecided

What am I missing here? Can someone else help me out? Much thanks.
legendary
Activity: 1288
Merit: 1004
You can mine other SHA-256 coins.  Here is a good list of them to choose from.
I suggest checking exchange rates on them as well to decide what to mine.
https://cryptocointalk.com/forum/179-sha-256-cryptocoins/

can asic usb block eruptor be used for anything other than mining BTC? or can they scrypt as well?
hero member
Activity: 840
Merit: 1002
I wasn't sure since info seems scarce so far on the U2 and most of what I've seen refers to using CG. I'm not looking to jump camps yet!

I've already contacted Bitmain. They've been good about sending us dev samples in the past.
legendary
Activity: 966
Merit: 1003
I've tried looking back and can't find anything on this- does BFG support or work with the Antminer U2?

It should.  Same everything except a slightly easier overclock and bigger heat sink..

 I wasn't sure since info seems scarce so far on the U2 and most of what I've seen refers to using CG. I'm not looking to jump camps yet!
hero member
Activity: 840
Merit: 1002
A 2nd preview of the DualMiner driver for BFGMiner is now available for testing. There's a Windows download available here:

https://www.dropbox.com/s/dqbk841frvxdsmk/bfgminer_dualminer_pr2.7z

And you can clone the feature branch here:

https://github.com/nwoolls/bfgminer/tree/feature/dualminer-support

You can now mine SHA2 and Scrypt at the same time with two BFGMiner processes by using the --dual-mode argument. You can also specify a clock frequency using --set-device, e.g.:

Code:
--set-device dualminer:clock=850

Tested on OS X and Windows so far. Thanks in advance for the feedback!
hero member
Activity: 520
Merit: 500
I've tried looking back and can't find anything on this- does BFG support or work with the Antminer U2?

It should.  Same everything except a slightly easier overclock and bigger heat sink..
legendary
Activity: 966
Merit: 1003
I've tried looking back and can't find anything on this- does BFG support or work with the Antminer U2?
full member
Activity: 207
Merit: 100
can asic usb block eruptor be used for anything other than mining BTC? or can they scrypt as well?

No. A SHA-256 ASIC cannot be used for mine a scrypt coin.
JBT
full member
Activity: 165
Merit: 100
can asic usb block eruptor be used for anything other than mining BTC? or can they scrypt as well?
hero member
Activity: 1246
Merit: 501

Edit: To be clear, I believe that the folks behind SGMiner are delivering a lot of value to the community. That should go without saying. My point is that I do not think that creating another fork of CGMiner in order to accomplish this was necessary, and I don't think having an ever-growing collection of slightly-modified source code for each device, algorithm, coin, etc. is a positive status or direction for the community.


A fork was totally necessary, because kano/ck removed GPU code from cgminer.  There HAD to be a fork.  

Yes, there's the 'other' fork of cgminer (karlroth's 3.7.3) that's taking bits out bfgminer and sgminer, making what I think is a 'super cgminer'.  It's got the TUI from bfgminer and the xIntensity stuff from sgminer, etc.

I'd rather have a fork of cgminer for doing scrypt, than what the CUDA miners are stuck with - a bodge of pooler's cpuminer with basically no features, it's like mining in 2009 all over again. 

I'd still love to see CUDA mining in bfgminer - these Marshall nVidia chips are fantastic, 260kH for less than 60W of power, impossible to beat with AMD for price/power/performance.
hero member
Activity: 840
Merit: 1002
So, you keep saying solo is the only issue, but if I have two apps that are nearly identical, and one has a feature that works and the other doesnt, it's kind of a no-brainer which one I will be using.

I respect your decision as I've stated, but this is specific to you and your usage. You say they are nearly identical - they are not. One has support for multiple algorithms and types of hardware. One does not. I understand that may not matter to you but it is a defining difference.

As I have stated there is an issue solo mining Scrypt. And if that is what you are interested in doing then it is better to use something else for now. And I completely understand anyone doing that.

A different and unrelated discussion started when you stated that you feel that CGMiner forks are taking a preferable direction for Scrypt mining. I challenged that assertion and, so far, really haven't heard anything to convince me, other than going back to the (unrelated) discussion about solo mining Scrypt.

I'm all for dropping the negative back-and-forth. There seems like some form of misunderstanding as you are making counter-arguments to arguments I never made.

Edit: To be clear, I believe that the folks behind SGMiner are delivering a lot of value to the community. That should go without saying. My point is that I do not think that creating another fork of CGMiner in order to accomplish this was necessary, and I don't think having an ever-growing collection of slightly-modified source code for each device, algorithm, coin, etc. is a positive status or direction for the community.

Edit 2: tl;dr - imagine if all these bright folks (BFGMiner, CGMiner, SGMiner, VertMiner, etc.) were working on the same codebase...
sr. member
Activity: 470
Merit: 250
Better to have 100 friends than 100 rubles
You can solo mine with bfgminer... I've done it.  In fact, I think its discussed back around page 122 or so, but see the Bfgminer README (from github), down around line 523... ah heck, here it is:


I assure you that there is a bug in solo mining, and it's been confirmed.

Ok.  Guess I got lucky, because my notes tell me this worked back when I was trying it:

./bfgminer -S opencl:auto --gpu-fan 100 --auto-gpu --intensity 18,20 --temp-overheat 90 --temp-cutoff 100 --temp-target 80 --scrypt -t 4 -o http://localhost:6332 -O yaccoinrpc:471EQrAidMjGKb8GYk9P2S4wLcbmKWhNkKXNV4g3vi9M

Sure it works, as long as you don't mind rejected blocks.

Ah, I had a mix of accepted and rejected, presumed it was just do to the early testing and ultra low difficulty.  Thanks for clarifying.
Pages:
Jump to: