Bitcoin Forum
December 31, 2025, 05:08:30 PM *
News: Latest Bitcoin Core release: 30.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 ... 164 »
  Print  
Author Topic: OLD: BFGMiner 3.10.0: modular ASIC+FPGA, GBT+Strtm, RPC, Mac/Lnx/W64, AntU1, DRB  (Read 1193891 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
Taugeran
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


CCNA: There i fixed the internet.


View Profile
September 04, 2013, 05:03:11 PM
 #681

Any idea if/when you'll be adding the getwork server to the Windows binaries?  No, I'm not prepared to compile myself (my head would explode trying).
The main problem here lies with libmicrohttpd, which doesn't really support Windows (some specific versions will build with a POSIX simulation layer, which itself only works on 32-bit).
So, someone would need to do one of these:
  • Port libmicrohttpd to Windows proper.
  • Fix PlibC to work on not only just 32-bit Windows.
  • Port BFGMiner to support another HTTP server library (I'm not aware of any decent alternatives, unfortunately).
wizkid057 thought he might have time to look into these options.

Have a looksie at http://lists.gnu.org/archive/html/libmicrohttpd/2013-03/msg00007.html

Sounds like someone already patched plibc to work on x64 and add utf-8 support but his patch was ignored/forgotten.  At least he posted a git where it can be had.

Bitfury HW & Habañero : 1.625Th/s
tips/Donations: 1NoS89H3Mr6U5CmP4VwWzU2318JEMxHL1
Come join Coinbase
Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2604
Merit: 1196



View Profile
September 04, 2013, 05:12:40 PM
 #682

Any idea if/when you'll be adding the getwork server to the Windows binaries?  No, I'm not prepared to compile myself (my head would explode trying).
The main problem here lies with libmicrohttpd, which doesn't really support Windows (some specific versions will build with a POSIX simulation layer, which itself only works on 32-bit).
So, someone would need to do one of these:
  • Port libmicrohttpd to Windows proper.
  • Fix PlibC to work on not only just 32-bit Windows.
  • Port BFGMiner to support another HTTP server library (I'm not aware of any decent alternatives, unfortunately).
wizkid057 thought he might have time to look into these options.

Have a looksie at http://lists.gnu.org/archive/html/libmicrohttpd/2013-03/msg00007.html

Sounds like someone already patched plibc to work on x64 and add utf-8 support but his patch was ignored/forgotten.  At least he posted a git where it can be had.
Well, latest plibc git didn't compile for me, so Sad

Taugeran
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


CCNA: There i fixed the internet.


View Profile
September 04, 2013, 05:20:55 PM
 #683

Was worth a shot. I may give it a go in a day or so. Out of town currently :/

Bitfury HW & Habañero : 1.625Th/s
tips/Donations: 1NoS89H3Mr6U5CmP4VwWzU2318JEMxHL1
Come join Coinbase
Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2604
Merit: 1196



View Profile
September 04, 2013, 06:33:06 PM
Last edit: September 06, 2013, 12:59:04 PM by Luke-Jr
 #684

Ok, I've figured out why I think people are reporting bad hashrates on Erupters with 3.2.0...

First, a summary: it's just your perception, it will take a few hours, at least, before the average hashrate displayed settles down.

This is due to the Erupter driver only reporting hash completion once every 12.8 seconds (the time it takes to find 1 share on average). During this time, the average is skewed because while the Erupter has been hashing, it hasn't reported its progress.

So for the first 12 seconds, the erupter has "completed" a total of zero hashes. So the average is 0 despite that it's been actually performing hashes the whole time.
For the next 12 nexts, it has "completed" 4 gigahashes (total, not per second), which are then divided across the 12 seconds (which gets an accurate 335 Mh/s average); but then across 13, 14, 15, etc seconds; by the time we get to 24 seconds, it's still using the same 4 gigahash "completed" number, so the average (of 4 Gh over 24 seconds) is 178 Mh/s.
Once the second 4 gigahash "completed" come back, now the total is up to 8 gigahash, and it once again shows the correct 335 Mh/s average. By 36 seconds, however, the same thing has happened again: we have 8 gigahash divided by 36 seconds now, which is only 238 Mh/s.

After a few hours, those last 12 seconds becomes less and less relevant, and your average should begin to settle on 335 Mh/s.

The reason this didn't affect 3.1 and earlier as much is that it was abandoning work when a share was found, thus cutting the 12 seconds down to 6 on average. Scanning the whole work is more or less the main thing responsible for reducing hardware errors in 3.2. Smiley

There are a few ways to fix this to get a usable average faster:
  • Only count seconds for which completed hashes are known, when performing averages. This would change behaviour such that averages would not account for time a device is disabled or waiting on failover or other issues. Probably not a good idea IMO.
  • Ignore the time after the last "hashes complete" report so long as a device is actively hashing. This is probably ideal, but I need to think what the best way to be sure the device is actively hashing reliably (shockingly enough, this isn't obvious yet internally).
  • Upgrade the Icarus driver to the newer API so it can report progress more often. I need to do this eventually anyway, but there are some complex issues to handle on Windows when I do.

All of these solutions have potential to introduce new bugs, so I don't expect to implement them until 3.3 at the soonest.

Edit: Original post accidentally said 355 instead of 335.

HellDiverUK
Hero Member
*****
Offline Offline

Activity: 1246
Merit: 501



View Profile
September 05, 2013, 10:25:51 AM
 #685

I wouldn't fuss too much about it Luke-Jr - bfg still handles the Erupters WAY better than the "Other Miner".  So what if the figures jump around, the little sticks do their thing no matter what.
JLM
Full Member
***
Offline Offline

Activity: 164
Merit: 100



View Profile
September 05, 2013, 04:43:45 PM
 #686

Hi Luke!!!!

Could i mine SHA and scrypt AT SAME TIME?
SHA with Block Erupters and FPGA´s; Scrypt With GPU.
If possible?
What should do?

Thanks!!!

1Hyawq17jkzfpunPC6tTikpgMGSsekd98z
Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2604
Merit: 1196



View Profile
September 05, 2013, 04:45:10 PM
 #687

Hi Luke!!!!

Could i mine SHA and scrypt AT SAME TIME?
SHA with Block Erupters and FPGA´s; Scrypt With GPU.
If possible?
What should do?

Thanks!!!
No. It doesn't even make sense - there are no blockchains with multiple POWs.

-Redacted-
Hero Member
*****
Offline Offline

Activity: 574
Merit: 501


View Profile
September 05, 2013, 04:47:51 PM
 #688

Hi Luke!!!!

Could i mine SHA and scrypt AT SAME TIME?
SHA with Block Erupters and FPGA´s; Scrypt With GPU.
If possible?
What should do?

Thanks!!!

Run multiple instances....
PatMan
Hero Member
*****
Offline Offline

Activity: 924
Merit: 1000


Watch out for the "Neg-Rep-Dogie-Police".....


View Profile WWW
September 05, 2013, 08:29:41 PM
Last edit: September 05, 2013, 09:06:04 PM by PatMan
 #689

OK, decided to try out bfg due to high cpu usage with my other mining program & need a little guidance compiling bfg for usb eruptors, getting this at the end of make log:

checking whether HASH_ITER is declared... no
configure: error: Could not find HASH_ITER - please install uthash-dev 1.9.2+
blahblah@btc:~/bfgminer$ make
make: *** No targets specified and no makefile found. Stop.

If I apt-get install uthash-dev 1.9.2+ thats over 1000mb's!!  Not gonna happen  Roll Eyes

Where am I going wrong here?

..................

Anyone?

..................

"When one person is deluded it is called insanity - when many people are deluded it is called religion" - Robert M. Pirsig.  I don't want your coins, I want change.
Amazon UK BTC payment service - https://asktom.cf/index.php?topic=301229.0 - with FREE delivery!
http://www.ae911truth.org/ - http://rethink911.org/ - http://rememberbuilding7.org/
Taugeran
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


CCNA: There i fixed the internet.


View Profile
September 05, 2013, 09:56:58 PM
 #690

OK, decided to try out bfg due to high cpu usage with my other mining program & need a little guidance compiling bfg for usb eruptors, getting this at the end of make log:

checking whether HASH_ITER is declared... no
configure: error: Could not find HASH_ITER - please install uthash-dev 1.9.2+
blahblah@btc:~/bfgminer$ make
make: *** No targets specified and no makefile found. Stop.

If I apt-get install uthash-dev 1.9.2+ thats over 1000mb's!!  Not gonna happen  Roll Eyes

Where am I going wrong here?

..................

Anyone?

..................


im going to guess debian. the 1.9.7-1 uthash-dev package weighs in at ~400Kb so i think you may have either selected wrong package, have pending package installs, or misread apt-get output

Bitfury HW & Habañero : 1.625Th/s
tips/Donations: 1NoS89H3Mr6U5CmP4VwWzU2318JEMxHL1
Come join Coinbase
PatMan
Hero Member
*****
Offline Offline

Activity: 924
Merit: 1000


Watch out for the "Neg-Rep-Dogie-Police".....


View Profile WWW
September 05, 2013, 10:11:26 PM
 #691

OK, decided to try out bfg due to high cpu usage with my other mining program & need a little guidance compiling bfg for usb eruptors, getting this at the end of make log:

checking whether HASH_ITER is declared... no
configure: error: Could not find HASH_ITER - please install uthash-dev 1.9.2+
blahblah@btc:~/bfgminer$ make
make: *** No targets specified and no makefile found. Stop.

If I apt-get install uthash-dev 1.9.2+ thats over 1000mb's!!  Not gonna happen  Roll Eyes

Where am I going wrong here?

..................

Anyone?

..................


im going to guess debian. the 1.9.7-1 uthash-dev package weighs in at ~400Kb so i think you may have either selected wrong package, have pending package installs, or misread apt-get output

Close - Xubuntu 13.04 64bit - & the text was copy/pasted.....it's also listed in the dependency list on bfg git. Never used it before when compiling though......

"When one person is deluded it is called insanity - when many people are deluded it is called religion" - Robert M. Pirsig.  I don't want your coins, I want change.
Amazon UK BTC payment service - https://asktom.cf/index.php?topic=301229.0 - with FREE delivery!
http://www.ae911truth.org/ - http://rethink911.org/ - http://rememberbuilding7.org/
Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2604
Merit: 1196



View Profile
September 05, 2013, 10:17:12 PM
 #692

uthash isn't even 1 MB.

Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2604
Merit: 1196



View Profile
September 06, 2013, 12:11:47 PM
 #693


After a few hours, those last 12 seconds becomes less and less relevant, and your average should begin to settle on 355 Mh/s.
Is this error or is USB ASICminer really doing 355GH with your software? I thought 336 is theoretical max...
It's really doing 335 Mh/s for me at least (5½ day average):
Code:
 BES 0:       | 336.0/335.7/335.7Mh/s | A: 37464 R: 72+0(.19%) HW:202/.54%
 BES 1:       | 336.0/335.7/336.5Mh/s | A: 37564 R: 66+0(.18%) HW:191/.51%
 BEE 0:       | 327.5/335.8/333.1Mh/s | A: 37177 R: 60+0(.16%) HW:153/.41%
 BES 2:       | 336.0/335.7/330.5Mh/s | A: 36887 R: 71+0(.19%) HW:202/.54%

Any idea if/when you'll be adding the getwork server to the Windows binaries?
The main problem here lies with libmicrohttpd
Is this the same issue with the OpenWRT version?  I just picked up a little TP-Link pocket router to run my Block Erupters, but it'd be nice if it'd run the Blades as well.
No, OpenWrt has a native port of libmicrohttpd already, so it should be possible.
The problem there is that it's all or nothing: if I build with libmicrohttpd support, it won't be usable without it, and may increase the flash requirements.
I haven't taken the time to measure just how much yet... Maybe I can offer multiple alternative BFGMiner packages to get around this.

Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2604
Merit: 1196



View Profile
September 06, 2013, 12:14:25 PM
 #694

Is this the same issue with the OpenWRT version?  I just picked up a little TP-Link pocket router to run my Block Erupters, but it'd be nice if it'd run the Blades as well.
No, OpenWrt has a native port of libmicrohttpd already, so it should be possible.
The problem there is that it's all or nothing: if I build with libmicrohttpd support, it won't be usable without it, and may increase the flash requirements.
I haven't taken the time to measure just how much yet... Maybe I can offer multiple alternative BFGMiner packages to get around this.
I would be very keen to use this if you did.  I'm planning on using the TL-WR703N, which I think has 4MB flash and 32MB RAM. 
4 MB flash is too small for even the normal BFGMiner packages (or really any packages).
The only way I expect you'll be able to make this work is to build a custom firmware with BFGMiner included in the main image.
Whether libmicrohttpd could be squeezed into this or not, I'm not sure of.

Lucko
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000



View Profile
September 06, 2013, 12:50:28 PM
 #695

After a few hours, those last 12 seconds becomes less and less relevant, and your average should begin to settle on 355 Mh/s.
Is this error or is USB ASICminer really doing 355GH with your software? I thought 336 is theoretical max...
It's really doing 335 Mh/s for me at least (5½ day average):
Code:
 BES 0:       | 336.0/335.7/335.7Mh/s | A: 37464 R: 72+0(.19%) HW:202/.54%
 BES 1:       | 336.0/335.7/336.5Mh/s | A: 37564 R: 66+0(.18%) HW:191/.51%
 BEE 0:       | 327.5/335.8/333.1Mh/s | A: 37177 R: 60+0(.16%) HW:153/.41%
 BES 2:       | 336.0/335.7/330.5Mh/s | A: 36887 R: 71+0(.19%) HW:202/.54%
OK I made a mistake with GH and you made a mistake with 355...
Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2604
Merit: 1196



View Profile
September 06, 2013, 12:59:28 PM
 #696

OK I made a mistake with GH and you made a mistake with 355...
Right, sorry, missed that distinction somehow. Fixed my original post.

HellDiverUK
Hero Member
*****
Offline Offline

Activity: 1246
Merit: 501



View Profile
September 06, 2013, 01:03:37 PM
 #697


I would be very keen to use this if you did.  I'm planning on using the TL-WR703N, which I think has 4MB flash and 32MB RAM. 
4 MB flash is too small for even the normal BFGMiner packages (or really any packages).
The only way I expect you'll be able to make this work is to build a custom firmware with BFGMiner included in the main image.
Whether libmicrohttpd could be squeezed into this or not, I'm not sure of.

Yeah, I think running the system off a 4GB USB stick is probably a better idea.  Cheesy  Assuming there's no limitation in storage space, is there any other issues you can foresee?

I'm guessing most people running OpenWRT will be running it on bigger routers that have more flash.
Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2604
Merit: 1196



View Profile
September 06, 2013, 01:07:12 PM
 #698

Yeah, I think running the system off a 4GB USB stick is probably a better idea.  Cheesy  Assuming there's no limitation in storage space, is there any other issues you can foresee?
OpenWrt doesn't seem to handle external storage for applications too well Sad

JLM
Full Member
***
Offline Offline

Activity: 164
Merit: 100



View Profile
September 06, 2013, 03:20:18 PM
 #699

Hi Luke!!!!

Could i mine SHA and scrypt AT SAME TIME?
SHA with Block Erupters and FPGA´s; Scrypt With GPU.
If possible?
What should do?

Thanks!!!

Run multiple instances....
I had that idea, but i don´t know how.
Could you give a hand?Huh?

1Hyawq17jkzfpunPC6tTikpgMGSsekd98z
Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2604
Merit: 1196



View Profile
September 06, 2013, 04:09:08 PM
 #700

I was wondering how stratum pool distributes work to miners.  Does it split extranonce1,2 ranges among miners?
On the miner side, if you have 10 devices attached to one PC, is bfgminer splitting work and distributes ranges to individual devices.
And finally do devices split work to individual chips and engines?
Extranonce1 is assigned by the pool, unique to each connection.
Extranonce2 is what the miner is free to do whatever they want with.
BFGMiner currently just increments extranonce2 to create unique block headers for the drivers.

Someday ASICs might get fast enough that they need to do the their own header production, in which case drivers will be able to get a stratum-like job for them. Some devices are already in development to work this way, but it's a risky thing to do because it can negatively impact Bitcoin scalability if they have unreasonable limits on how quickly they can produce headers internally.

Is it better to have many miners or few more powerful miners.  Say in case of mini rig, would it be better to run 24 miners each 60GH/s or one 1440 GH/s miner?
A single 1.4 Th/s miner (eg, 3 minirigs) would make more sense.

Pages: « 1 2 3 4 5 6 7 8 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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 ... 164 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!