Bitcoin Forum
May 05, 2024, 03:46:02 AM *
News: Latest Bitcoin Core release: 27.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 »
  Print  
Author Topic: [ANN] Bitfury is looking for alpha-testers of first chips! FREE MONEY HERE!  (Read 176664 times)
cscape
Sr. Member
****
Offline Offline

Activity: 251
Merit: 250



View Profile
July 30, 2013, 05:49:23 AM
Last edit: July 30, 2013, 06:21:10 AM by cscape
 #481

How often does the work change ? I don't know if bitfury chips can be interrupted. For normal mining, I just let them finish the old work (takes on average 1.5 seconds), which is acceptable since the work only changes every new block (nominally every 10 minutes)

If there's a way to interrupt bitfury chips, I'd be happy to modify the firmware to support quick work switching.

Edit: I looked it up. Apparently work changes every 10 seconds, which would make the 1.5 second delay too much. So, it all depends on whether the bitfury chips can be interrupt. I don't know that yet.

Happy with your c-scape product ? Consider a tip: 16X2FWVRz6UzPWsu4WjKBMJatR7UvyKzcy
1714880762
Hero Member
*
Offline Offline

Posts: 1714880762

View Profile Personal Message (Offline)

Ignore
1714880762
Reply with quote  #2

1714880762
Report to moderator
1714880762
Hero Member
*
Offline Offline

Posts: 1714880762

View Profile Personal Message (Offline)

Ignore
1714880762
Reply with quote  #2

1714880762
Report to moderator
TalkImg was created especially for hosting images on bitcointalk.org: try it next time you want to post an image
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
daemondazz
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250



View Profile
July 30, 2013, 06:12:45 AM
 #482

Edit: I looked it up. Apparently work changes every 10 seconds, which would make the 1.5 second delay too much. So, it all depends on whether the bitfury chips can be interrupt. I don't that yet.

The share time was recently increased to 30 seconds, primarily to assist with ASICs that can't respond that fast.

Computers, Amateur Radio, Electronics, Aviation - 1dazzrAbMqNu6cUwh2dtYckNygG7jKs8S
KNK
Hero Member
*****
Offline Offline

Activity: 692
Merit: 502


View Profile
July 30, 2013, 06:28:18 AM
 #483

Not sure if it resets just the SPI or the entire chip, but you may try using "SPI RESET sequence - rise MOSI and toggle SCK" https://bitcointalk.org/index.php?topic=228677.msg2411738#msg2411738

Is there a doc (or list) of the data commands or the only place is the source?

Mega Crypto Polis - www.MegaCryptoPolis.com
BTC tips: 1KNK1akhpethhtcyhKTF2d3PWTQDUWUzHE
cscape
Sr. Member
****
Offline Offline

Activity: 251
Merit: 250



View Profile
July 30, 2013, 06:30:46 AM
 #484

Not sure if it resets just the SPI or the entire chip, but you may try using "SPI RESET sequence - rise MOSI and toggle SCK" https://bitcointalk.org/index.php?topic=228677.msg2411738#msg2411738
That just resets the SPI chain. I use that every time before I poll the chips to see if they are ready.

Quote
Is there a doc (or list) of the data commands or the only place is the source?
All I know about is bitfury's postings in this thread and his source code, and neither mentions an 'abort job' feature.

Happy with your c-scape product ? Consider a tip: 16X2FWVRz6UzPWsu4WjKBMJatR7UvyKzcy
kano
Legendary
*
Offline Offline

Activity: 4494
Merit: 1805


Linux since 1997 RedHat 4


View Profile
July 30, 2013, 07:09:59 AM
 #485

How often does the work change ? I don't know if bitfury chips can be interrupted. For normal mining, I just let them finish the old work (takes on average 1.5 seconds), which is acceptable since the work only changes every new block (nominally every 10 minutes)
...
Wait what?
Work should change at least every 30s at worst every 60 seconds.
Are you designing hardware that is inherently BAD for bitcoin?

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
intron
Sr. Member
****
Offline Offline

Activity: 427
Merit: 251


- electronics design|embedded software|verilog -


View Profile
July 30, 2013, 07:15:18 AM
 #486


Is there a doc (or list) of the data commands or the only place is the source?

"Use the Source, Luke" :-)
cscape
Sr. Member
****
Offline Offline

Activity: 251
Merit: 250



View Profile
July 30, 2013, 07:18:33 AM
 #487

How often does the work change ? I don't know if bitfury chips can be interrupted. For normal mining, I just let them finish the old work (takes on average 1.5 seconds), which is acceptable since the work only changes every new block (nominally every 10 minutes)
...
Wait what?
Work should change at least every 30s at worst every 60 seconds.
Are you designing hardware that is inherently BAD for bitcoin?

I meant a prevhash change of course. Like I said, the firmware uses stratum, so it generates new work all the time.

Happy with your c-scape product ? Consider a tip: 16X2FWVRz6UzPWsu4WjKBMJatR7UvyKzcy
ultrix
Full Member
***
Offline Offline

Activity: 125
Merit: 100


View Profile
July 30, 2013, 07:39:44 AM
 #488

How often does the work change ? I don't know if bitfury chips can be interrupted. For normal mining, I just let them finish the old work (takes on average 1.5 seconds), which is acceptable since the work only changes every new block (nominally every 10 minutes)

If there's a way to interrupt bitfury chips, I'd be happy to modify the firmware to support quick work switching.

Edit: I looked it up. Apparently work changes every 10 seconds, which would make the 1.5 second delay too much. So, it all depends on whether the bitfury chips can be interrupt. I don't know that yet.

Haven't had time to get a board up yet, but if it behaves like bitfury's fpga, just try sending it the new work prior to completion.  So to test, find a work that does not find a solution and one that returns a nonce very quickly.   Send the one that does not find a nonce, then immediately send the one that does.  Then measure the return time for the expected nonce.

-ck
Legendary
*
Offline Offline

Activity: 4102
Merit: 1632


Ruu \o/


View Profile WWW
July 30, 2013, 07:43:09 AM
 #489

Finishing work fully taking 1.5 seconds is the same lacklustre problem as the Avalon design. That's on average .75 seconds of work wasted per 30 seconds on p2pool which is 2.5% of work lost. That's more than many pools' fees.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
cscape
Sr. Member
****
Offline Offline

Activity: 251
Merit: 250



View Profile
July 30, 2013, 07:47:44 AM
 #490

Haven't had time to get a board up yet, but if it behaves like bitfury's fpga, just try sending it the new work prior to completion.  So to test, find a work that does not find a solution and one that returns a nonce very quickly.   Send the one that does not find a nonce, then immediately send the one that does.  Then measure the return time for the expected nonce.

I don't know how the FPGA works, but on the ASIC, the chip is working on job #0, while you send data for job #1. As soon as it finishes job #0, it automatically switches to job #1. Sending job #1 does not abort job #0, so if there's a way to abort #0, it must use a different mechanism.

Happy with your c-scape product ? Consider a tip: 16X2FWVRz6UzPWsu4WjKBMJatR7UvyKzcy
ultrix
Full Member
***
Offline Offline

Activity: 125
Merit: 100


View Profile
July 30, 2013, 08:12:27 AM
 #491

Haven't had time to get a board up yet, but if it behaves like bitfury's fpga, just try sending it the new work prior to completion.  So to test, find a work that does not find a solution and one that returns a nonce very quickly.   Send the one that does not find a nonce, then immediately send the one that does.  Then measure the return time for the expected nonce.

I don't know how the FPGA works, but on the ASIC, the chip is working on job #0, while you send data for job #1. As soon as it finishes job #0, it automatically switches to job #1. Sending job #1 does not abort job #0, so if there's a way to abort #0, it must use a different mechanism.

Would be nice to have a set of register addresses and prescribed behavior.  Possibly there exists an unintentional reset method, such as reprogramming the clock config, which may force reset for metastability, or the round processing counters, which seem to influence the start step and stop step of the core (see FIRST_BASE and SECOND_BASE and config_reg(0x0100, ...), which could quickly skip the rest of the calculation.

Edit: sorry wrong value for config_reg arg
kramble
Sr. Member
****
Offline Offline

Activity: 384
Merit: 250



View Profile WWW
July 30, 2013, 08:49:30 AM
 #492

Finishing work fully taking 1.5 seconds is the same lacklustre problem as the Avalon design. That's on average .75 seconds of work wasted per 30 seconds on p2pool which is 2.5% of work lost. That's more than many pools' fees.

Its probably based on ngzhang's original Icarus design which goes to sleep after finding a valid nonce, behavior based on a misunderstanding of the bitcoin hashing algorithm since more than one valid share can be found for any given getwork, though it is relevant for solo mining. I don't know why nobody has fixed this since the FPGA code has been public for quite a while now.


Github https://github.com/kramble BLC BkRaMaRkw3NeyzsZ2zUgXsNLogVVkQ1iPV
BenTuras
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1001



View Profile
July 30, 2013, 09:01:19 AM
 #493

I don't know how the FPGA works, but on the ASIC, the chip is working on job #0, while you send data for job #1. As soon as it finishes job #0, it automatically switches to job #1. Sending job #1 does not abort job #0, so if there's a way to abort #0, it must use a different mechanism.
How deep is this queue and what happens if you add one more unit of work than the queue can hold ?
Does it abort the current job ?

I am selling in stock OneStringMiner boards, based on the Bitfury chips. Have a look here: https://bitcointalk.org/index.php?topic=495536.0
cscape
Sr. Member
****
Offline Offline

Activity: 251
Merit: 250



View Profile
July 30, 2013, 09:06:15 AM
 #494

Its probably based on ngzhang's original Icarus design which goes to sleep after finding a valid nonce, behavior based on a misunderstanding of the bitcoin hashing algorithm since more than one valid share can be found for any given getwork, though it is relevant for solo mining. I don't know why nobody has fixed this since the FPGA code has been public for quite a while now.
The bitfury design continues searching the nonce space and will report all that it finds. Only when the search is exhausted, it switches to the next job. It has a FIFO with the 15 most recent nonces found. If you don't supply the next job in time, it will restart old work and you end up with dupes.

Happy with your c-scape product ? Consider a tip: 16X2FWVRz6UzPWsu4WjKBMJatR7UvyKzcy
cscape
Sr. Member
****
Offline Offline

Activity: 251
Merit: 250



View Profile
July 30, 2013, 09:10:20 AM
 #495

How deep is this queue and what happens if you add one more unit of work than the queue can hold ?
Does it abort the current job ?
The queue is 2 deep. One job it is currently working on, and one job scheduled for later. Every time you poll the chip to see if the job is finished, you supply the next job at the same time (it's in the same SPI transfer), so typically the next job will be sent a few times. I've never seen any evidence of aborted jobs. I figure it just overwrites the next job.

Happy with your c-scape product ? Consider a tip: 16X2FWVRz6UzPWsu4WjKBMJatR7UvyKzcy
ultrix
Full Member
***
Offline Offline

Activity: 125
Merit: 100


View Profile
July 30, 2013, 10:10:16 AM
 #496

How deep is this queue and what happens if you add one more unit of work than the queue can hold ?
Does it abort the current job ?
The queue is 2 deep. One job it is currently working on, and one job scheduled for later. Every time you poll the chip to see if the job is finished, you supply the next job at the same time (it's in the same SPI transfer), so typically the next job will be sent a few times. I've never seen any evidence of aborted jobs. I figure it just overwrites the next job.

what about updating the counters register? ala spi_emit_data(0x0100, (void*)counters, 16);  But with bases other than 61 (break step to check for reportable nonce) and 4 (start step for  that would possibly reduce the number of iterations needed to complete a loop?  Or is this queued as well?  It may take some experimenting with values, but changing the values should yield timing differences to determine if its queued or not when the values are changed.  Just a thought.



kramble
Sr. Member
****
Offline Offline

Activity: 384
Merit: 250



View Profile WWW
July 30, 2013, 10:25:27 AM
 #497

Its probably based on ngzhang's original Icarus design which goes to sleep after finding a valid nonce, behavior based on a misunderstanding of the bitcoin hashing algorithm since more than one valid share can be found for any given getwork, though it is relevant for solo mining. I don't know why nobody has fixed this since the FPGA code has been public for quite a while now.
The bitfury design continues searching the nonce space and will report all that it finds. Only when the search is exhausted, it switches to the next job. It has a FIFO with the 15 most recent nonces found. If you don't supply the next job in time, it will restart old work and you end up with dupes.

Yeah, sorry, my OP was referring to the Avalon rather than bitfury. I'm sure bitfury has done the job properly.

Github https://github.com/kramble BLC BkRaMaRkw3NeyzsZ2zUgXsNLogVVkQ1iPV
intron
Sr. Member
****
Offline Offline

Activity: 427
Merit: 251


- electronics design|embedded software|verilog -


View Profile
August 03, 2013, 11:19:32 AM
 #498

Working on bi•fury now, a dual bitfury USB device.



It will have two bitfury ASICs, user settable
overclocking options and a temperature sensor
to provide for overtemperature protection.

Very early stage though, no idea yet if we will
get it hashing:)

intron
Foofighter
Hero Member
*****
Offline Offline

Activity: 882
Merit: 547


BTC Mining Hardware, Trading and more


View Profile
August 03, 2013, 11:25:25 AM
 #499

looks nice intron! keep up the good work

ex official Canaan Distributor (Cryptouniverse)
itod
Legendary
*
Offline Offline

Activity: 1974
Merit: 1076


^ Will code for Bitcoins


View Profile
August 03, 2013, 12:15:21 PM
 #500

Very early stage though, no idea yet if we will
get it hashing:)

If you succeed, it should hash somewhere around 10Ghs, right?
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 »
  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!