Author

Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.0 - page 249. (Read 5806015 times)

sr. member
Activity: 360
Merit: 250
I've a basic question about the impact of hw-errors inside cgminer and on the over-all mining result at a pool.

I'm just doing different firmware optimizations inside the current BFL firmware for my ASIC singles and want to make sure that my understanding of the hw-error counter inside cgminer is really correct.

Let's say I'm getting an average hashrate of 100GH with 0% hw-errors showing up inside cgminer and nothing else is going wrong (retries, network problems etc.). In this case I would assume that I've also have an average hashrate of 100GH at the pool, right?

Now let's say cgminer is showing me 1% hw-errors. My basic understanding of software like cgminer is, that it's checking the mining result of the mining device and if the result is wrong, this result will not be forwarded to the pool and the hw-error counter is going up. Is my assumption correct, that in this case the average hashrate at the pool will be 99GH? Or is there anything else (relevant overhead, etc.) caused by hw-errors which has to be kept in mind when thinking about the over-all mining result at a pool?
 
hero member
Activity: 981
Merit: 500
DIV - Your "Virtual Life" Secured and Decentralize
May I ask why you don't use the normal cgminer binary with the -G flag ?
Because if you use standard CGMiner.exe and your only ASIC mining it will require OpenCL SDK/Runtime to be installed to run.  If you use CGMiner-nogpu.exe then you don't need any AMD software at all.

 Well that makes far too much sense. TIL. Thank you.

When I compile on Linux or windows I have 0 AMD software installed. It isn't required at all. You can run without having OpenCL. I do it frequently both pre and post the no GPU versions. Just use the switch for no gpu mining. I have run the official binaries built with support but it didn't matter except I could use it.
full member
Activity: 235
Merit: 100
Woops! I mis-read it before Kano, I just saw the edit now. Yeah, I'll get to running that.
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
Nope, I always run a fan on them. I've got one of the 92mm Antec USB ones and a Desktop fan for a backup. Like I said, it runs perfectly fine without the HUB. Gunna go work on debugging now.
https://bitcointalksearch.org/topic/m.2938585

(the bit you ignored when you replied)
full member
Activity: 235
Merit: 100
Nope, I always run a fan on them. I've got one of the 92mm Antec USB ones and a Desktop fan for a backup. Like I said, it runs perfectly fine without the HUB. Gunna go work on debugging now.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
I don't think power is the issue, Like I said it works fine when plugged into the OTG cable alone. When I just plug just ONE BE into the Hub it spits out the errors till after a while a the BE's LED starts glowing green. I think it's a software (I'm running Linux on a tablet which is kinda iffy) or the hub acting weird. I'm gunna try running debug mode and figuring it out before tonight. I mostly want this setup so I can mine at night to save on power costs.
Could be overheating. Try a simple fan over them for a while as a straight forward test.
full member
Activity: 235
Merit: 100
The Hub works perfectly fine on the PC, It spits out errors even with one BE is connected to the Hub. I'm thinking it's some kinda software issue as I don't have a normal Arch install.

BE draws way more power then most other devices. As I am sure you have read it is far over spec for usb1 and usb2. It might be in spec for usb3. People get around the power issue by wiring the hub in question to a higher current source like a computer PS. Then you just have to worry about the Vias on the board carrying the current without failing.

Good luck.
I don't think power is the issue, Like I said it works fine when plugged into the OTG cable alone. When I just plug just ONE BE into the Hub it spits out the errors till after a while a the BE's LED starts glowing green. I think it's a software (I'm running Linux on a tablet which is kinda iffy) or the hub acting weird. I'm gunna try running debug mode and figuring it out before tonight. I mostly want this setup so I can mine at night to save on power costs.
hero member
Activity: 742
Merit: 500


AMU1: TIMEOUT GetResults took 1711ms but was 100ms



I am also seeing these kinds of messages too...
The occasional timeout like this is okay, it's a kind of USB communication error.

Rgr that - it appears lowering my diff on btcguild 2 from 4 made them go away and also report a faster MH back to the dashboard... (have 31 BEs connected.. ) 

Appreciate the reply!

MM
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/


AMU1: TIMEOUT GetResults took 1711ms but was 100ms



I am also seeing these kinds of messages too...
The occasional timeout like this is okay, it's a kind of USB communication error.
hero member
Activity: 742
Merit: 500


AMU1: TIMEOUT GetResults took 1711ms but was 100ms



I am also seeing these kinds of messages too...
legendary
Activity: 1652
Merit: 1067
Christian Antkow
May I ask why you don't use the normal cgminer binary with the -G flag ?
Because if you use standard CGMiner.exe and your only ASIC mining it will require OpenCL SDK/Runtime to be installed to run.  If you use CGMiner-nogpu.exe then you don't need any AMD software at all.

 Well that makes far too much sense. TIL. Thank you.
newbie
Activity: 5
Merit: 0
Unofficial Mac binaries updated to 3.3.4 at http://spaceman.ca/cgminer.

This directly relates to the whole libusb monologue I've been having in here over the last month
That specifically means your libusb on your mac is bugged - the timeout option when doing I/O isn't working
The README says how to build with a working libusb and it works on Linux and Windows - no idea about a Mac ...
Tell whoever Karin is to read the README ...

Karin, read the README  Tongue
hero member
Activity: 981
Merit: 500
DIV - Your "Virtual Life" Secured and Decentralize
The Hub works perfectly fine on the PC, It spits out errors even with one BE is connected to the Hub. I'm thinking it's some kinda software issue as I don't have a normal Arch install.

BE draws way more power then most other devices. As I am sure you have read it is far over spec for usb1 and usb2. It might be in spec for usb3. People get around the power issue by wiring the hub in question to a higher current source like a computer PS. Then you just have to worry about the Vias on the board carrying the current without failing.

Good luck.
full member
Activity: 235
Merit: 100
The Hub works perfectly fine on the PC, It spits out errors even with one BE is connected to the Hub. I'm thinking it's some kinda software issue as I don't have a normal Arch install.
legendary
Activity: 3586
Merit: 1099
Think for yourself
Different drivers need to be installed with zadig between 3.1.1 and 3.3.4.  What works in 3.1.1 will not work with 3.3.4.
3.3.4 being the much simpler route if your setting up a new system.

If your already committed to the serial drivers then that may not be the case.
Sam
legendary
Activity: 3586
Merit: 1099
Think for yourself
May I ask why you don't use the normal cgminer binary with the -G flag ?
Because if you use standard CGMiner.exe and your only ASIC mining it will require OpenCL SDK/Runtime to be installed to run.  If you use CGMiner-nogpu.exe then you don't need any AMD software at all.
Sam
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
compiling the working libusb didn't help at all, but I think it's my USB Hub is what the issue is. My BE's work if I directly plug them into the OTG cable. The question is WHY is my USB Hub effecting the hashing? It works perfectly fine on my PC. It's a Digital Innovations 7 Port 2.0 Hub, maybe this has something to do with the Serial USB chips using USB 1.1?
Not enough power?
full member
Activity: 235
Merit: 100
compiling the working libusb didn't help at all, but I think it's my USB Hub is what the issue is. My BE's work if I directly plug them into the OTG cable. The question is WHY is my USB Hub effecting the hashing? It works perfectly fine on my PC. It's a Digital Innovations 7 Port 2.0 Hub, maybe this has something to do with the Serial USB chips using USB 1.1?
hero member
Activity: 574
Merit: 501
I tried this with nogpu.exe, but not working.
You are using a VERY old version of cgminer ... get the current one.
Yes - 3.1.1 working with
Code:
cgminer-nogpu.exe -o eu-stratum.btcguild.com:3333 -u user -p pass --icarus-options 115200:1:1 --icarus-timing 3.0=100 -S \\.\COM3 -S \\.\COM4
With 3.3.4 not working.

 May I ask why you don't use the normal cgminer binary with the -G flag ?

Different drivers need to be installed with zadig between 3.1.1 and 3.3.4.  What works in 3.1.1 will not work with 3.3.4.
legendary
Activity: 1652
Merit: 1067
Christian Antkow
I tried this with nogpu.exe, but not working.
You are using a VERY old version of cgminer ... get the current one.
Yes - 3.1.1 working with
Code:
cgminer-nogpu.exe -o eu-stratum.btcguild.com:3333 -u user -p pass --icarus-options 115200:1:1 --icarus-timing 3.0=100 -S \\.\COM3 -S \\.\COM4
With 3.3.4 not working.

 May I ask why you don't use the normal cgminer binary with the -G flag ?
Jump to: