Author

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

legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
If it means anything, I think BFL has specified that a throttle period lasts 15 seconds.
You got a link/reference?
Coz that one from BFL-Engineer ... is from BFL-Engineer Tongue

15.3355, in fact Smiley
Yeah that seems to suggest it also.
But was there a 'BUSY' reply as BFL-Engineer said there is?
legendary
Activity: 1795
Merit: 1208
This is not OK.
If it means anything, I think BFL has specified that a throttle period lasts 15 seconds.
You got a link/reference?
Coz that one from BFL-Engineer ... is from BFL-Engineer Tongue

15.3355, in fact Smiley
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
If it means anything, I think BFL has specified that a throttle period lasts 15 seconds.
You got a link/reference?
Coz that one from BFL-Engineer ... is from BFL-Engineer Tongue
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
Also, I started adding the temp to the log when a unit throttles...
I'm thinking about adding code with slows the unit a bit as it reaches it's individual throttle temp. Like waiting 500ms before sending new work or something. Maybe. Dunno.
When my 2nd FPGA "died" in my BFL I did exactly this.
The result was useless in my case.
Adjusting it up and down (I used a getenv() to set it) appeared to make no difference at all.
(I set it to delay getenv() ms before sending new work - I tried from 100 up to about 1000)
I got the impression that the idle time was doing more bad than good

Though the death was probably something else in it crapping out since:
In my case the final fix was stupid anyway Smiley
I installed the 880 bitstream ... and it's been fine ... 2 weeks and counting ...

tl;dr story follows Smiley
I got it 4-May, but working OK from 5-May then got problems 11-Jul ... as the weather got colder ... it started to throttle and fail Tongue
(It's now the coldest part of winter here)
Then it would only mine on one FPGA.
I'd never touched the firmware coz that meant moving the stupid thing to my kids windows computer and plugging it in there to use the POS EasyMiner program.
So I did this (moved it upstairs to me instead of down in my cold basement garage) and EasyMiner said it was no good (running a test) ... but cgminer would still mine on one FPGA.

I did find a few times that if I pulled the power on it completely it would start up mining normally at 825MH/s for a while and in one case this lasted 2 days (21-Jul to 23-Jul)
After being annoyed at it for 2 weeks (code changes, power cycles etc) I decided to try kill it by putting in the 880 bitstream (26-Jul)
(sending from Aus->USA is not a cheap thing to do, so while it still partially worked I didn't want to do that)
With the 880 bitstream it's been fine ever since, upstairs here next to me, under a chair, reporting 10C higher Tongue
(air coming out is only slightly warm, not hot)
My BFL is the version with the new heatsink but only 1 fan on top so not exceptionally loud

Yeah my opinion of the throttling hardware/design is ... not good Smiley
rjk
sr. member
Activity: 462
Merit: 250
1ngldh
If it means anything, I think BFL has specified that a throttle period lasts 15 seconds.
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
If I had the time/could be bothered I'd put timers around each of the send/receive and find the max/min/avg values. But that ain't gonna happen in the next week or so.

I've done that, get the following:

ID: BFL0   Dev Max: 0.024049   Dev Min: 0.000366   Dev Av: 0.009301
ID: BFL1   Dev Max: 15.335547   Dev Min: 0.000389   Dev Av: 0.012155
ID: BFL2   Dev Max: 15.335506   Dev Min: 3.8E-5   Dev Av: 0.011484
ID: BFL3   Dev Max: 15.33545   Dev Min: 0.00036   Dev Av: 0.027547
ID: BFL4   Dev Max: 0.02345   Dev Min: 0.00036   Dev Av: 0.009153
ID: BFL5   Dev Max: 0.023163   Dev Min: 0.000404   Dev Av: 0.008941

So I put get times immedately before and after the serial port read function inside BFgets.
Dev max is (surpisingly) the max time a read took
Dev min is (surpisingly) the min time a read took
Dev av is (surpisingly) the overall average, that is all the read times summed, then divided my the read count.

So it's pretty apparent that when the single throttles, comms just stop.
Ah well, then that just means BFL is full of shit as usual:
https://bitcointalksearch.org/topic/m.885143
During throttle, the device does respond to temperature read, status read, etc.
A new job, however, cannot be issued, as the unit will respond with 'BUSY'.

Good Luck,

Now to decide a workaround for more BFL design shit that doesn't involve simply saying "a BFL appearing dead for up to 30s is OK" ...

The MiniRig cards are ~twice this speed, and I have one person with 2xMR running 2.6.2 modified and he's had 29 comm errors out of 4,171,889 accepted shares - so no issue at all.

... sigh - I presume this crap is all due to the fscking stupid throttling design done by BFL where their hardware decides and controls the whole process rather than allowing the software to control it (or know about it)
legendary
Activity: 1795
Merit: 1208
This is not OK.
Also, I started adding the temp to the log when a unit throttles...
I'm thinking about adding code with slows the unit a bit as it reaches it's individual throttle temp. Like waiting 500ms before sending new work or something. Maybe. Dunno.
legendary
Activity: 1795
Merit: 1208
This is not OK.
If I had the time/could be bothered I'd put timers around each of the send/receive and find the max/min/avg values. But that ain't gonna happen in the next week or so.

I've done that, get the following:

ID: BFL0   Dev Max: 0.024049   Dev Min: 0.000366   Dev Av: 0.009301
ID: BFL1   Dev Max: 15.335547   Dev Min: 0.000389   Dev Av: 0.012155
ID: BFL2   Dev Max: 15.335506   Dev Min: 3.8E-5   Dev Av: 0.011484
ID: BFL3   Dev Max: 15.33545   Dev Min: 0.00036   Dev Av: 0.027547
ID: BFL4   Dev Max: 0.02345   Dev Min: 0.00036   Dev Av: 0.009153
ID: BFL5   Dev Max: 0.023163   Dev Min: 0.000404   Dev Av: 0.008941

So I put get times immedately before and after the serial port read function inside BFgets.
Dev max is (surpisingly) the max time a read took
Dev min is (surpisingly) the min time a read took
Dev av is (surpisingly) the overall average, that is all the read times summed, then divided my the read count.

So it's pretty apparent that when the single throttles, comms just stop.
legendary
Activity: 952
Merit: 1000
You create a .bat file with a loop that runs CGMiner, and when CGMiner closes itself after 5000 shares, the loop restarts CGMiner. Lather, rinse, repeat.

I would be careful about this. You may want to add a TIMEOUT or use the ping technique to make sure threads are closed, and that the OS has released handles, otherwise the new cgminer instance won't properly grab them. 5 or 10 seconds should do the trick.

When I did this, I added a 30 delay after startup to start, and a timeout of 10 second in the loop.
newbie
Activity: 63
Merit: 0
You create a .bat file with a loop that runs CGMiner, and when CGMiner closes itself after 5000 shares, the loop restarts CGMiner. Lather, rinse, repeat.

I would be careful about this. You may want to add a TIMEOUT or use the ping technique to make sure threads are closed, and that the OS has released handles, otherwise the new cgminer instance won't properly grab them. 5 or 10 seconds should do the trick.
legendary
Activity: 952
Merit: 1000
is really annoying for the 7 days bug !

i wonder if possible to add auto restart feature for windows CGminer

so every 7 days it will auto restart itself !


well you should be able to with task schedule

You can also use:
--shares       Quit after mining N shares (default: unlimited)

in a loop

i dont know how to use window scheduler and

--shares       Quit after mining N shares (default: unlimited) 

you mean the miner will quit after mining example : 5000 share and it will auto restart and mining again ?


You create a .bat file with a loop that runs CGMiner, and when CGMiner closes itself after 5000 shares, the loop restarts CGMiner. Lather, rinse, repeat.
member
Activity: 99
Merit: 10
MMM EXTRA - THE RIGHT STEP TOWARDS THE GOAL
is really annoying for the 7 days bug !

i wonder if possible to add auto restart feature for windows CGminer

so every 7 days it will auto restart itself !


well you should be able to with task schedule

You can also use:
--shares       Quit after mining N shares (default: unlimited)

in a loop

i dont know how to use window scheduler and

--shares       Quit after mining N shares (default: unlimited) 

you mean the miner will quit after mining example : 5000 share and it will auto restart and mining again ?
legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
So, is it safe to use 2.6.4 for ltc mining now? I'm on solo and one message I received among the "new block detected on network" was "rejected 040ccc8e blabla Gpu1". Do I have to worry? Should I use an older version? Total noob to cgminer. Used cgeasy to configure (Thanks! great help) to set everything for solo ltc mining.
It is quite normal to get reject just after new block and/or longpool on any version.
legendary
Activity: 1526
Merit: 1001
So, is it safe to use 2.6.4 for ltc mining now? I'm on solo and one message I received among the "new block detected on network" was "rejected 040ccc8e blabla Gpu1". Do I have to worry? Should I use an older version? Total noob to cgminer. Used cgeasy to configure (Thanks! great help) to set everything for solo ltc mining.

Edit: Thanks Rav3n ------------->
hero member
Activity: 988
Merit: 1000
is really annoying for the 7 days bug !

i wonder if possible to add auto restart feature for windows CGminer

so every 7 days it will auto restart itself !


well you should be able to with task schedule

You can also use:
--shares       Quit after mining N shares (default: unlimited)

in a loop
420
hero member
Activity: 756
Merit: 500
is really annoying for the 7 days bug !

i wonder if possible to add auto restart feature for windows CGminer

so every 7 days it will auto restart itself !


well you should be able to with task schedule
member
Activity: 99
Merit: 10
MMM EXTRA - THE RIGHT STEP TOWARDS THE GOAL
is really annoying for the 7 days bug !

i wonder if possible to add auto restart feature for windows CGminer

so every 7 days it will auto restart itself !
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Thanks. It looks like the code was up to date, but I built it before pulling the version number change on the laptop, sorry about that. Reuploaded packages.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
2.6.4 still shows 2.6.3 in the display.
One of my binaries? Which one?
Jump to: