Bitcoin Forum
June 21, 2024, 06:12:49 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: « 1 ... 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 [162] 163 164 165 »
  Print  
Author Topic: OLD: BFGMiner 3.10.0: modular ASIC+FPGA, GBT+Strtm, RPC, Mac/Lnx/W64, AntU1, DRB  (Read 1192979 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.
Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
May 07, 2014, 06:34:41 PM
 #3221

I was always interested but till now never asked. Is there any advantage in 64 bit version over 32 bit one?
Not significantly. It runs on 64-bit OS and takes advantage of x86_64's larger and more numerous registers (so, a bit lower CPU usage).

Contrary to popular myth, 32-bit applications do not run on 64-bit OS; they require a compatibility layer (WoW64 on Windows) and loading into memory 32-bit versions of all the OS libraries - so basically you need to run a hybrid 32-bit/64-bit OS if you use both 32-bit and 64-bit applications.

hurricandave
Legendary
*
Offline Offline

Activity: 966
Merit: 1003



View Profile
May 07, 2014, 07:18:27 PM
 #3222

I was always interested but till now never asked. Is there any advantage in 64 bit version over 32 bit one?
Not significantly. It runs on 64-bit OS and takes advantage of x86_64's larger and more numerous registers (so, a bit lower CPU usage).

Contrary to popular myth, 32-bit applications do not run on 64-bit OS; they require a compatibility layer (WoW64 on Windows) and loading into memory 32-bit versions of all the OS libraries - so basically you need to run a hybrid 32-bit/64-bit OS if you use both 32-bit and 64-bit applications.
Soo.. does this explain the jump in Ram percentage in use on my computer when I changed from Windows 8.1 preview 32-bit to Windows 8.1 pro 64-bit? Because it seems that most Metro Apps are 32-bit.
Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
May 07, 2014, 09:05:11 PM
 #3223

I was always interested but till now never asked. Is there any advantage in 64 bit version over 32 bit one?
Not significantly. It runs on 64-bit OS and takes advantage of x86_64's larger and more numerous registers (so, a bit lower CPU usage).

Contrary to popular myth, 32-bit applications do not run on 64-bit OS; they require a compatibility layer (WoW64 on Windows) and loading into memory 32-bit versions of all the OS libraries - so basically you need to run a hybrid 32-bit/64-bit OS if you use both 32-bit and 64-bit applications.
Soo.. does this explain the jump in Ram percentage in use on my computer when I changed from Windows 8.1 preview 32-bit to Windows 8.1 pro 64-bit? Because it seems that most Metro Apps are 32-bit.
You also should keep in mind that even with pure 64-bit, programs use nearly 2x as much memory.
Loading 64-bit *and* 32-bit means nearly 3x.

Taugeran
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


CCNA: There i fixed the internet.


View Profile
May 08, 2014, 05:27:18 AM
 #3224

curious why the NF6 needs an osc6 ramp up

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

Activity: 2576
Merit: 1186



View Profile
May 08, 2014, 05:34:22 AM
 #3225

curious why the NF6 needs an osc6 ramp up
Apparently some USB hosts/hubs (I couldn't reproduce it myself) have trouble powering them when Chip A uses significantly more power than Chip B.
The gradual ramp up keeps the chips on similar power usage requirements.

Taugeran
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


CCNA: There i fixed the internet.


View Profile
May 08, 2014, 06:37:15 AM
 #3226

curious why the NF6 needs an osc6 ramp up
Apparently some USB hosts/hubs (I couldn't reproduce it myself) have trouble powering them when Chip A uses significantly more power than Chip B.
The gradual ramp up keeps the chips on similar power usage requirements.

ah. just wanted to make a note that on win7x64, bfgminer 32-bit the ramp up never occured. they stayed at 5 bits untill i manually changed them to 56.

maybe make this a polled thing and somehow only affecting the NF6, since it did this on a NF1 i was resoldering a version 2 chip onto.




another question, does the /webisect.php?dobuild=bfgminer

have any other parameters, maybe a commit parameter? just curious

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

Activity: 2576
Merit: 1186



View Profile
May 08, 2014, 08:13:43 AM
 #3227

curious why the NF6 needs an osc6 ramp up
Apparently some USB hosts/hubs (I couldn't reproduce it myself) have trouble powering them when Chip A uses significantly more power than Chip B.
The gradual ramp up keeps the chips on similar power usage requirements.

ah. just wanted to make a note that on win7x64, bfgminer 32-bit the ramp up never occured. they stayed at 5 bits untill i manually changed them to 56.
I don't see how this is possible.

maybe make this a polled thing and somehow only affecting the NF6, since it did this on a NF1 i was resoldering a version 2 chip onto.
It should be harmless on NF1...

another question, does the /webisect.php?dobuild=bfgminer

have any other parameters, maybe a commit parameter? just curious
dobuild is the commit parameter.
"bfgminer" is the name of the main branch, in this case.

vs3
Hero Member
*****
Offline Offline

Activity: 622
Merit: 500


View Profile WWW
May 08, 2014, 08:46:47 AM
 #3228

curious why the NF6 needs an osc6 ramp up

I guess I can better explain that one -

with any chained/strings versions (such as the NF6) the voltage between each chip is determined based on the amount of current that goes through the chip.
So with 6 chips that's about 0.81V per chip. And here is the catch - 0.81V but only when chips use roughly equal amount of power.

However, if half of the chips are using a lot more power then this will make voltage distribution quite disproportional - the power-hungry chips will use so much power that the voltage drop at each of them may go down to 0.5V, which leaves for the other 3 chips 1.2V per chip. As a result communication between chips might get disrupted as voltages ("0" and "1" levels) go way beyond the acceptable tolerances.
And that's the situation that the "gradual ramp up" option is preventing.

With the gradual ramp-up all chips start at a slow speed (but most importantly - they all still use equal amount of power, resulting in roughly equal voltage distribution between each of the chips), and then gradually increase the speed but in a way that keeps all chips in sync.

Edit: forgot to add that this effect is significantly more pronounced with Bitfury Gen1 chips. Gen2 chips seem to be almost immune to this issue. However since the gradual start doesn't have any downsides (at least none worth considering) it's safer to just do it for both generations.

Taugeran
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


CCNA: There i fixed the internet.


View Profile
May 08, 2014, 03:29:53 PM
 #3229

curious why the NF6 needs an osc6 ramp up
Apparently some USB hosts/hubs (I couldn't reproduce it myself) have trouble powering them when Chip A uses significantly more power than Chip B.
The gradual ramp up keeps the chips on similar power usage requirements.

ah. just wanted to make a note that on win7x64, bfgminer 32-bit the ramp up never occured. they stayed at 5 bits untill i manually changed them to 56.
I don't see how this is possible.

maybe make this a polled thing and somehow only affecting the NF6, since it did this on a NF1 i was resoldering a version 2 chip onto.
It should be harmless on NF1...

another question, does the /webisect.php?dobuild=bfgminer

have any other parameters, maybe a commit parameter? just curious
dobuild is the commit parameter.
"bfgminer" is the name of the main branch, in this case.

Ah so do build will accept a commit ID as well? Cool

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

Activity: 520
Merit: 500


View Profile
May 08, 2014, 04:45:06 PM
 #3230

I'm sure it's here somewhere, but which version of this runs a gridseed 5 chip on raspbian and how do i clone the git, ./configure it, make it and install it?  I'm having trouble trying to get a version of any program to run right on my pi.  I've checked all over google, downloaded cgminer-gc3355 from dtbartle (to no avail) tried bfgminer 3.99...what do i do?!
Cassey
Sr. Member
****
Offline Offline

Activity: 470
Merit: 250

Better to have 100 friends than 100 rubles


View Profile
May 08, 2014, 06:09:21 PM
 #3231

Hi Bradley...

I ended up building a Gentoo Linux distribution for my PI, its running 3.99.0 without problems driving Antminers.  Awaiting my Gridseeds... they are late, but support is in 3.99.

Your welcome to snag it, the 16 GB SDHC card compressed down to a bit over 1GB.  I'm new at hosting torrents, but look for GentooPIimage080513.

Cassey

Cassey
nwoolls
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1002


View Profile WWW
May 09, 2014, 06:02:37 PM
 #3232

I need help from those who have experienced any performance issues with the GridSeed drivers. I know several folks have mentioned using my older branches as they seemed to work better. What I need is hard numbers and potentially access to these systems that perform differently.

I have deleted my old branches and created a new branch, gridseed-scanhash-loop, that is based on the older code folks were using. However I am unable to find any appreciable performance difference between this and the current GridSeed driver in the BFGMiner repo across any of the systems I've tested (OS X, Windows, Raspberry Pi).

GridSeed Queue miner loop: https://github.com/luke-jr/bfgminer
GridSeed Scanhash miner loop: https://github.com/nwoolls/bfgminer/tree/feature/gridseed-scanhash-loop

Thanks in advance.

MultiMiner: Any Miner, Any Where, on Any Device |  Xgminer: Mine with popular miners on Mac OS X
btc: 1BmXY4ZZQh1iHSVre658gM1gPAEtDnq8rv  |  ltc: LP1SsHZTDexndkvRKsqAkXNsienPHwaMb5  |  hardware: nwoolls at gmail dot com
BRADLEYPLOOF
Hero Member
*****
Offline Offline

Activity: 520
Merit: 500


View Profile
May 09, 2014, 06:06:51 PM
 #3233

I need help from those who have experienced any performance issues with the GridSeed drivers. I know several folks have mentioned using my older branches as they seemed to work better. What I need is hard numbers and potentially access to these systems that perform differently.

I have deleted my old branches and created a new branch, gridseed-scanhash-loop, that is based on the older code folks were using. However I am unable to find any appreciable performance difference between this and the current GridSeed driver in the BFGMiner repo across any of the systems I've tested (OS X, Windows, Raspberry Pi).

GridSeed Queue miner loop: https://github.com/luke-jr/bfgminer
GridSeed Scanhash miner loop: https://github.com/nwoolls/bfgminer/tree/feature/gridseed-scanhash-loop

Thanks in advance.

NWools, I'd be happy to lend you my computer running Debain Wheezy with the gridseed attached.  You can do whatever you need to on it, reformat it, load new everything...not a big deal.  I've got a CD image of Wheezy in case something breaks...

Edit: If you have a preferred version of Linux, I can put that on there too...
nwoolls
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1002


View Profile WWW
May 09, 2014, 06:16:27 PM
 #3234

NWools, I'd be happy to lend you my computer running Debain Wheezy with the gridseed attached.  You can do whatever you need to on it, reformat it, load new everything...not a big deal.  I've got a CD image of Wheezy in case something breaks...

Edit: If you have a preferred version of Linux, I can put that on there too...

If you can confirm to me that the above two branches perform differently I'm not picky about the OS. I just need something that reproduces the issue reliably. Thanks!

MultiMiner: Any Miner, Any Where, on Any Device |  Xgminer: Mine with popular miners on Mac OS X
btc: 1BmXY4ZZQh1iHSVre658gM1gPAEtDnq8rv  |  ltc: LP1SsHZTDexndkvRKsqAkXNsienPHwaMb5  |  hardware: nwoolls at gmail dot com
BRADLEYPLOOF
Hero Member
*****
Offline Offline

Activity: 520
Merit: 500


View Profile
May 09, 2014, 06:18:05 PM
 #3235

NWools, I'd be happy to lend you my computer running Debain Wheezy with the gridseed attached.  You can do whatever you need to on it, reformat it, load new everything...not a big deal.  I've got a CD image of Wheezy in case something breaks...

Edit: If you have a preferred version of Linux, I can put that on there too...

If you can confirm to me that the above two branches perform differently I'm not picky about the OS. I just need something that reproduces the issue reliably. Thanks!

I'll clone them from GIT and try an install as soon as I get home.  It's currently 2:15PM my time, and I won't be home until 4PM or so, but when I get there, I'll play "Spot the Differences" between the two.
Taugeran
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


CCNA: There i fixed the internet.


View Profile
May 10, 2014, 05:48:39 AM
 #3236

just making an observation, and asking for thoughts.

System: Raspberry Pi
OS: Raspian Wheezy HF Kernel 3.10.25+

Hardware: Bitfury M-Board V1.0 (all chips are a single large string), so this is recognized with the generic BFY_GPIO driver

previous absolutely solid, stable build was from commit: a355ac63b5671abd7a373151b683cd4e6be9ae2d

just recently did what i call a -next compile, from git source HEAD.

the TLS support would NOT allow connecting to stratum.btcguild.com:3333

performed
Code:
git revert 6520d158eba3bcff1b6e0343951ff38437ffea80 -m 1
to revert the merge

then rebuilt. This allowed connection to the pool and hashing commenced.

however, i noticed: out of the 64 chips total, 64 were recognized however only 60 were hashing/returning nonces.

to rule out hardware state, i power cycled and tried again. same thing.

to see if the Gen 2 detection was the culprit or something in between i did the following.

Code:
git clone https://github.com/luke-jr/bfgminer bfgminer-nxt-2 && cd bfgminer-nxt-2

git checkout a355ac63b5671abd7a373151b683cd4e6be9ae2d //known solid, been running for months

git cherry-pick 9d647767620ef121452db7f1ebf1d6be524ea4d8 //added Rev.2 detection/

git cherry-pick 61a2b9aacb4ff779d8c5cd29c9eab3e346aeb8be //fixed hashrate reporting for Rev.2 chips

./autogen.sh

CFLAGS="-O2" ./configure --without-libusb --without-hidapi

make -j2

sudo ./bfgminer -o stratum.btcguild.com:3333 -O user:pass --set BFY:osc6_bits=55 --set BFY:baud=500000

this resulted in a version of my previous stable build with the addition of the Rev.2 detection and reporting. Lo and behold the same 4 chips that were not returning results before, were NOT returning results with this modified version of my stable.



All executions were allowed 10 minutes to run.


ill attempt to get chainminer working so i can get a .core.log for the chips in question. ( just have to wait for MBP Rpi img v1 to download)


Bonus: whats special about the new values in bitfury_init_chip payload? do they produce a hit on one of the additional cores in rev.2 chips?

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

Activity: 336
Merit: 250



View Profile
May 10, 2014, 07:29:44 PM
 #3237

Slowly but surely starting to switch from windows to linux...
So i build bfgminer...  ./autogen. sh   follwed by ./configure --enable-scrypt  --enable-opencl
Seems to be working... Amd 6970 fyi...    ocl is showing  :  605/578/268kH/s
Looking at bfg.readme file... it says :
An all time average hash rate
An all time average hash rate based on actual nonces found, adjusted for pool
reject and stale rate..

So im correct to assume that my current hash rate is 268kh/s?
If so.. its half of what i got on windows... did i miss something while building?

edit... pretty sure i missed something... it causes systemfreeze from time 2 time.. but what? Smiley

    ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄   
   ████████████████████████████████   
     ▀██████████████████████████▀     
        ▀████████████████████▀       
          ████████████████▀         
            █████████████           
            ▀████████████▀           
             ▀██████████▀             
              ██████████             
               ████████               
               ▀██████▀               
                ██████               
                 
.
trade.io.
██████
██████
███
███
███
███
███
███
███
███
███
██████
██████

▄██████████████████▄
███       ▀███████
███       █████████
███       █████████
███       █████████
███              ██
███   ▄▄▄▄▄▄▄▄   ███
███   ▄▄▄▄▄▄▄▄   ███
███              ███
███▄▄▄▄▄▄▄▄▄▄▄▄▄▄███
██████████████████▀

▄██████████████████▄
███████████▀ ███████
█████████▀   ███████
███████▀     ██▀ ███
███ ▀▀       █▄▄████
███          █▀▀▀▀██
███ ▄▄       ███████
██████▄     █▄ ▀███
█████████▄   ███▄███
███████████▄ ███████
▀██████████████████▀

▄██████████████████▄
████████████████████
███████████████▀▀ ██
█████████▀▀     ███
████▀▀     ▄█▀   ███
███▄    ▄██      ███
█████████▀      ▄██
█████████▄     ████
█████████████▄ ▄████
████████████████████
▀██████████████████▀
██████
██████
   ███
   ███
   ███
   ███
   ███
   ███
   ███
   ███
   ███
██████
██████
.
.Join the Trading Revolution.
nwoolls
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1002


View Profile WWW
May 10, 2014, 09:38:03 PM
 #3238

If anyone has access to a G-Blade please PM me. I'd like to test driver support for it. Thanks!

MultiMiner: Any Miner, Any Where, on Any Device |  Xgminer: Mine with popular miners on Mac OS X
btc: 1BmXY4ZZQh1iHSVre658gM1gPAEtDnq8rv  |  ltc: LP1SsHZTDexndkvRKsqAkXNsienPHwaMb5  |  hardware: nwoolls at gmail dot com
Harwood
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
May 11, 2014, 01:35:42 AM
 #3239

I don't know if this question has been asked before because I'm kinda new to the forums (not new to mining). I am using BFGMINER as a proxy for my 8 blades and 2 cubes and was wondering if its possible to use comma separated values in the username (-u) as in ... -u user1,user2,user3  and so on and would that also work in the password field ...the reason I am asking is that I want to be able to monitor each card or cube as separate workers in my mining pools dashboard so I don't have to keep the teamviewer window running all the time on my desktop. I also have 6 antminer S1s that I just watch from browser tabs (much cleaner) ...I am just trying to clear up some of my desktop clutter ...nothing like having to have 6 windows open all the time ...and that way I can stop relying on team viewer since it crashes like 5 times a day Sad ...

Try MultiMiner (and  maybe MobileMiner) it will fun multiple instances of BFGMiner and give you stats on each 'Cube and 'Blade.  It does it for me.
Luke-Jr (OP)
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
May 11, 2014, 04:58:58 AM
 #3240

just recently did what i call a -next compile, from git source HEAD.

the TLS support would NOT allow connecting to stratum.btcguild.com:3333

performed
Code:
git revert 6520d158eba3bcff1b6e0343951ff38437ffea80 -m 1
to revert the merge

then rebuilt. This allowed connection to the pool and hashing commenced.
Did you wait a bit? BTCGuild is just hanging on TLS attempts, so there's a 30 second timeout when initially connecting and then later following the redirect.
Eleuthria apparently does not plan to fix this, and I'm not sure whether it's worth removing (or requiring explicit enabling of) TLS just to workaround it.

however, i noticed: out of the 64 chips total, 64 were recognized however only 60 were hashing/returning nonces.

to rule out hardware state, i power cycled and tried again. same thing.

to see if the Gen 2 detection was the culprit or something in between i did the following.

Code:
git clone https://github.com/luke-jr/bfgminer bfgminer-nxt-2 && cd bfgminer-nxt-2

git checkout a355ac63b5671abd7a373151b683cd4e6be9ae2d //known solid, been running for months

git cherry-pick 9d647767620ef121452db7f1ebf1d6be524ea4d8 //added Rev.2 detection/

git cherry-pick 61a2b9aacb4ff779d8c5cd29c9eab3e346aeb8be //fixed hashrate reporting for Rev.2 chips

./autogen.sh

CFLAGS="-O2" ./configure --without-libusb --without-hidapi

make -j2

sudo ./bfgminer -o stratum.btcguild.com:3333 -O user:pass --set BFY:osc6_bits=55 --set BFY:baud=500000

this resulted in a version of my previous stable build with the addition of the Rev.2 detection and reporting. Lo and behold the same 4 chips that were not returning results before, were NOT returning results with this modified version of my stable.
Can you get me a debuglog with --device-protocol-dump of this?

Bonus: whats special about the new values in bitfury_init_chip payload? do they produce a hit on one of the additional cores in rev.2 chips?
The new payload has 8 nonces in it, a few of which are never found by gen1 chips.

ah. just wanted to make a note that on win7x64, bfgminer 32-bit the ramp up never occured. they stayed at 5 bits untill i manually changed them to 56.
FWIW, I found the bug causing this.
Code:
while (bitfury->osc6_bits < 50)
On the first iteration, bitfury points to data beyond the array.

Pages: « 1 ... 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 [162] 163 164 165 »
  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!