Pages:
Author

Topic: "Condo" for your Avalon chips: Price Drastically Reduced! - page 5. (Read 17903 times)

full member
Activity: 250
Merit: 100
RockStable Token Inc
Quote
Klondike has a PIC controller with USB integrated. So it talks to cgminer just like Avalon, but will use a different driver. This driver will send the (midstate, fixed_data) to Klondike via USB and the PIC stores this in it's RAM (44 bytes total). It doesn't need to calculate and send the nonce, the PIC will take care of that. So total data sent for each work unit is 44 bytes.
In other words, the burden of subdividing and assigning work among the PICs is done by the cgminer driver itself. On the Avalon system, this task is performed by dedicated hardware, the Spartan-6 FPGA. It amounts to the same thing, but the big difference is whether to do the Control Unit function in hardware or software (cgminer driver).

We will know when the communication specs become available on which implementation is better. I believe there is a reason why Avalon chose to implement the Control Unit function in hardware, aside from cost. In case the cost issue is not clear to you, consider this: if a PIC costs a dollar, and a Spartan-6 of the kind used in the Control Unit costs 24 dollars, with 32 hashing units in a system the price is 32 dollars versus 24.
hero member
Activity: 924
Merit: 1000
So now with the release of the schematics from Avalon, it's official: I have been right all along about the daisy chaining, and also the use of the Spartan-6. Any design that does not use a subsystem with multiple serial ports working asynchronously will not be efficient. We will be using the original Avalon design, but are not clear yet on the hashing unit power supply because of parts availability.

Doesn't seem like Bkkcoins is too worried about using any Spartan 6 in his design. Can you give more evidence to support your claim that it will be inefficient without it?

https://109.201.133.65/index.php?topic=190731.msg2103669#msg2103669


Quote
Ok. Let me try to explain some details about how the hashing works, and why either an FPGA or CPU can work, so that we can move beyond this.

In order for the hash engine to work it needs 3 pieces of data:

( midstate, fixed_data, nonce )

Midstate and fixed_data are provided for each work unit by cgminer.

Nonce is a 32 bit range that will counted up through so that every value is hashed, ie max 4 billion odd hashes.

When cgminer sends a work unit to the Avalon it sends some control info (like fan speeds, module number, asic count) and then the (midstate and fixed_data), and then it appends on the starting nonce value for each ASIC in the target chain module. So for Avalon that is 10 copies of the nonce start value. This all comes down USB and into the FTDI chip which sends it into the FPGA.

The FPGA accepts this in a super long shift register and acts on it. It has to send a stream of data for each ASIC in the chain - so that means repeating the ( midstate, fixed_data, start_nonce_value )  serially into the data input of the ASICs. This is quite a bit of data actually:

( 256 bits midstate, 96 bits fixed_data, 32 bits nonce ) x 10 ASICs in chain = 3840 bits.

It holds the midstate+fixed_data and repeats it for each ASIC appending on the nonce_start.

Avalon uses an FPGA because it's doing this process for each of the 32 modules it contains because it is the one central controller in the box.

The way Klondike works is different but results in the same data going into the ASIC.

Klondike has a PIC controller with USB integrated. So it talks to cgminer just like Avalon, but will use a different driver. This driver will send the (midstate, fixed_data) to Klondike via USB and the PIC stores this in it's RAM (44 bytes total). It doesn't need to calculate and send the nonce, the PIC will take care of that. So total data sent for each work unit is 44 bytes.

The PIC will take this data in RAM and serially push it into the ASICs and then append on a nonce start value (by masking the high 4 bits, thus giving it a range equal to 1/16th of the total). It will repeat this for each ASIC in the chain. Since it's only managing it's own module it doesn't have to switch and control 31 other modules like the Avalon FPGA.

The Klondike has 16 ASICs but I have split them into 2 banks of 8 each. This allows pushing the data in twice as fast, and also means if one ASIC is damaged then only 8 cannot function, instead of 16. While the data is pushed into an ASIC the hashes it calculates are invalid, so the faster the new work start data is pushed in the less time the hashing is stalled.

Klondike also performs a few secondary tasks. It sets up a PWM register to control fan speed. It now and then takes a voltage reading off the thermistor or internal sensor. And it also accepts work data from the USB host that is not intended for it's own ASIC chains. A 44 byte work unit can arrive that is for some other module. In this case it simply receives it and sends it right out again on the I2C bus. Since the PIC has a hardware I2C controller this takes very little code or work.

So the same thing happens in both systems but in Avalon the FPGA has to handle 32 times more data than the PIC. With 16 ASICs at 282 MHz a nonce range of 32 bits will take about,

2^32 / 16 / 282,000,000 = 0.95189878 seconds.

The PIC has to receive 44 bytes of data in just under a second for itself, and then repeatedly shift it into the ASICs as initialization for hashing. This should take about 3% or less of it's time depending on how fast the ASIC shifting is done. The other 97% of it's time it's waiting for results, relaying data or fiddling with it's fan. Since most of these are handled by interrupts it's basically idling.

I may stick a 320x240 LCD touch screen on the front of my Klondike master so I can see status. The I2C bus would allow this and give the PIC something to do when idle.
full member
Activity: 250
Merit: 100
RockStable Token Inc
Thank you very much.

I am not worried that more people are not coming forward at this time. There is still time to consider their options. I think that those in the community who bought chips, including those who are thinking of building their own systems, will see that this option makes compelling sense.

1. There is no definite physical location as yet. We are scouting for a location that has the lowest cost supply of reliable electricity and 24/7 security service. Right now it's looking like ASIC Hosting Service has the best option. This should lower electricity costs drastically. We are signing up with this ASIC Hosting Service.

2. Once a service agreement with the ASIC Hosting Service is ironed out, we will publish here the recurring costs. Some people I'm sure are waiting for this recurring cost to be nailed down.

3. The unit price of 1.34 is only good for the first five condo systems. Plus, if you buy later, your condo system will have to wait because the systems will be built and deployed in a first-come, first-served manner. You want to buy now to be ahead in Bitcoin mining: every hour that your rig is delayed and not mining is money wasted.
newbie
Activity: 31
Merit: 0
Well I am interested and while escrow through John K. is reassuring, I am sending my order directly in order to help get this off the ground.

FullFathom5, 16, 21.44, 18GQGk21L4RdMpZLdTvXZ7XrocE9ZwKqNw

full member
Activity: 250
Merit: 100
RockStable Token Inc
So now with the release of the schematics from Avalon, it's official: I have been right all along about the daisy chaining, and also the use of the Spartan-6. Any design that does not use a subsystem with multiple serial ports working asynchronously will not be efficient. We will be using the original Avalon design, but are not clear yet on the hashing unit power supply because of parts availability.
sr. member
Activity: 253
Merit: 250
HI, would you mind pming me your phone number, going to arrange for a rep to talk to you and arrange a meeting. Thank you.
legendary
Activity: 1288
Merit: 1227
Away on an extended break
http://pastebin.com/raw.php?i=rJB6ap9v

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The escrow address for flyonwall's Condo project is:

14LLaL23H7mkXBdkwvGghj51VmpdgNKwSd

Please state and agree to the conditions (if item is received damaged, item lost with tracking, customs fee etc) beforehand.

If possible, GPG sign your agreement to prevent any discrepancies later on and please ship with tracking to prevent problems during delivery. GPG signing is not a requirement, and any verbal exchange in the form of private messages or posts on bitcointalk.org, or email is effective as a statement of condition.

The fine print:
This Contract is solely generated for the purpose of facilitating the transaction between the seller and the buyer, which refers to the pseudonyms used on bitcointalk.org.
The escrow holder, John, assumes and gives no liability or guarantees on the satisfaction of all parties involved, although he agrees to mediate and facilitate the deal to the fullest extent he is capable of.  On the event that any problems arises, he will release the escrow to whichever party that presents him with the most convincing proof and/or after an open discussion with others or theymos. 
The verbal acceptance by both parties (or the failure to reject) and the sending of Bitcoins to the escrow address above constitutes the acceptance of the terms and conditions stated, and the activation of this Contract.

Please understand that I am assuming the risk of holding the escrowed Bitcoins, and I am using my own time to facilitate this transaction.   
I am imposing a fixed fee of 1.5% for this transaction, pre-paid or otherwise to 1NB1KFnFqnP3WSDZQrWV3pfmph5fWRyadz .

Thank you.

John (the escrow holder)
9 May 2013
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)

iQIcBAEBAgAGBQJRi2EQAAoJEINT5jezqu6ww6QP/31vD1jDFLFwuvSufPqnnOnh
yHog5F83TS5s29ngRS54M02MXPej0bgr5JT6utWwJ7LrFYhj5TAmJNcpz5UdMGRh
USPnGUlD0SKmN7U4j1WFbQlzCAfHxcwMHbHgxvHTpyJn1gRr1zhn8VP3yLGYt+gQ
2zErqlDKe9UAgTcT0D1y8Dr4U394/oCNkLI3gfPFMMZIQv8sXdNKvrk/kk8Cr+H8
UFeFHMdfvJwBzASuGrAlb2n/FT0QYysZhw9Bbd1BnAOU24sE7l5R4q0fSqEwfx73
OP1vU7xQjzo4gbWBmEOOLuTKZHKllu36hDThLjy2lWu5DENaZ1wO7x3LJRgSV+gb
n/WwVd2YDRgR3tI9hUVTJKW0Ap4S1oJV+7UXxzWMvlYuirMSpdsxRebIgqvBDrP1
zQKfAGFG02TlY1Nk4B0Q+43pFlbm1eid+juRNc2YGZSoUiM2t2Ks96sWaxg4mZS6
qmwy1KbVrB5DICiLh4vdTWblJ68Ae5ylnfYgtGrtASa9FJGhzst03DrxCdcbCulb
/1ElWvruvvGGEewhdwlf8zSKK9sWHEJIKeyxBJKnLNrkc2yeK9gZl8AIxB5IRSCU
p4vlcxloq3k/A8yy946c6a5zr8TYe/VtfaQ394TXlSypNHVrczDKNiWvWcqjRSAu
bMFfgMYu9o+5g84bkBzl
=FY0L
-----END PGP SIGNATURE-----
full member
Activity: 250
Merit: 100
RockStable Token Inc
Wow, great! Thanks Foofighter.
hero member
Activity: 882
Merit: 547
BTC Mining Hardware, Trading and more
full member
Activity: 250
Merit: 100
RockStable Token Inc
While We are All Waiting For the Avalon Chip Specs ...

In the Avalon system, there are 10 chips in every hashing unit, 8 hashing units in a module, and up to 4 modules in a system.

I have more than 80% confidence that the chips are indeed connected to each other in a daisy chain manner. There are two serial ports on each chip. Why two? One serial port to connect to the chip before it, and the other serial port to connect to the one after it.

If the chips are connected in an Ethernet-like manner on the same wire, each chip will have to have its own address. I am sure the cost of fabbing ASIC chips with unique addresses would have been prohibitively expensive. So, no chip address. How then can the Control Unit access each chip, or, if the Control Unit sends work to all chips (in the same hash unit) in one shot, how can the work be subdivided among those 10 chips? In other words, how can each chip "know" which part of the work is assigned to it?

Daisy chaining allows each chip to be addressed uniquely, even though all chips are identical.

Now the daisy chain is only within one hashing unit. Outside of the hashing units, there is no daisy chain. Each hashing unit is connected to at least one serial port on the Control Unit. In a system with 4 modules (and 8 hashing units in a module), at least 32 serial ports are needed. Daisy chaining the whole system would be very inefficient. Now the 32 serial ports on the Control Unit are operating asynchronously. That's why the Spartan-6 XC6SLX16 is crucial in the system design.

I believe that any Avalon chip system design that does not use the Spartan-6 or any other similarly capable multi-serial port subsystem would not be able to keep all hashing units busy 100% of the time.
full member
Activity: 250
Merit: 100
RockStable Token Inc
Mabuhay, kamusta? The condo idea is pretty interesting. I'm very tempted to fly there from Australia in a month's time and help you set this up. Can we talk? ingats.
PM me please.
full member
Activity: 250
Merit: 100
RockStable Token Inc
At this point, only the Avalon folks know the answer to that. It is possible they chose a Spartan-6 to do the job of the Control Unit because they have tons of that part on hand. However, it is unlikely because the Lancelot needs a different kind of Spartan-6, one that has more cells than it has I/O pins. I therefore doubt that they chose the XC6SLX16 just because they have stock on hand.

More likely I think is that the hash units are given commands independent of one another, and rather than put a USB chip on each hash unit, they chose to have each chip have its own serial ports. 8 USB ports on each module (one for each hash unit) can be more expensive than serial ports on each of the chips plus a single Spartan-6 to control all the 4 modules in a system. So the Spartan-6 has at least 8 x 4 = 32 serial ports on it. The Control Unit configuration bitstream on the Spartan-6 then hands out work to each hash unit independently of one another. It would be very inefficient to hand out work to all hash units, and then wait for all of them to get done, all synchronously. I believe it is the Spartan-6's job to hand out work to each hash unit, keeping each one busy all the time. So I think the Spartan-6 is crucial in keeping the hash rate up.
full member
Activity: 224
Merit: 100
Update:

I have now ordered the most important parts -

1. Avalon ASIC chips
2. Xilinx Spartan-6 (there may be a shortage of this, so I ordered several)
3. Xilinx Spartan-6 prototyping board
4. TP-LINK WR703N (lots of these in Amazon)

I have also gone ahead and hired a PCB layout technician at ODesk. Once the specs and reference design from Avalon become available (anyday now), we will be ready. Tomorrow I am visiting a PCB prototyping and manufacturing shop not too far from where I live.

I'm really hoping that the Spartan board is not actually a necessary component. Hopefully Avalon just wanted to save time, and had a bunch of FPGAs to get rid of, and that is the only reason they went that route. It would really suck to have to install a Spartan FPGA on every unit...
sr. member
Activity: 253
Merit: 250
Mabuhay, kamusta? The condo idea is pretty interesting. I'm very tempted to fly there from Australia in a month's time and help you set this up. Can we talk? ingats.
full member
Activity: 250
Merit: 100
RockStable Token Inc
Update:

I have now ordered the most important parts -

1. Avalon ASIC chips
2. Xilinx Spartan-6 (there may be a shortage of this, so I ordered several)
3. Xilinx Spartan-6 prototyping board
4. TP-LINK WR703N (lots of these in Amazon)

I have also gone ahead and hired a PCB layout technician at ODesk. Once the specs and reference design from Avalon become available (anyday now), we will be ready. Tomorrow I am visiting a PCB prototyping and manufacturing shop not too far from where I live.
full member
Activity: 224
Merit: 100
Thanks for the suggestion about industrial power rates. Isn't this kind of usage taxed higher?

About the spreadsheet: that is cool! Thanks wrenchmonkey. I am sending you a PM.

Still another option is to locate in the deserts of Arizona for solar power, but that would require more upfront capital allocation.

Even the best pricing for solar in the best sun areas in the world still have a minimum 3-5 year ROI. In 3-5 years, these miners will most likely be obsolete.
sr. member
Activity: 406
Merit: 250
I can probably do even better with electricity costs that I have  Smiley developed countries with low electricity costs and IT infrastructure is none other than Singapore and Malaysia.. in south east Asia .. no fighting or civil wars compares to other countries in south east Asia.. do a Google search you will know.. Thailand and Philippines fighting insurgency in the south, Burma .. ethnic issues .. countries with high Chinese population are usually stable..
full member
Activity: 250
Merit: 100
RockStable Token Inc
Thanks for the suggestion about industrial power rates. Isn't this kind of usage taxed higher?

About the spreadsheet: that is cool! Thanks wrenchmonkey. I am sending you a PM.

Still another option is to locate in the deserts of Arizona for solar power, but that would require more upfront capital allocation.
full member
Activity: 224
Merit: 100
Another thing to consider is "General Service" (industrial) power rates. Here in Utah, General service is WAAAY cheaper, if you are consuming more than 5Kw. If you're consuming 5kW, General Service only costs $261/mo, as opposed to $504 for 14¢/KwH residential. Nearly half the cost.

Personally, I'll only be drawing about 300 watts with my 120 chip system, so I can't benefit from the economy of scale, but if you were running a farm of more than 2000 chips (5kw minimum), you can offer people a lower power cost (higher return) by off-site hosting.

I made a quick spreadsheet that calculates general service costs based on number of chips in your operation. It's totally scaleable. Just punch in the number of chips in your system, current difficulty, and a given exchange rate, and it will calculate your power bill, your gross earnings, and net earnings (after power).

Anyway, if you'd like access to be able to play around with the numbers, send me a PM with your google address, and I'll give you editing privileges.

The only numbers that need to be changed are the ones in the white box. Everything else is calculated off of those 3 fields, based on Utah power rates. Smiley

https://docs.google.com/spreadsheet/ccc?key=0Aoe35iPRQzfodExmdE5DdHo2OWo4YVUtUHZpNEg5X0E#gid=0
full member
Activity: 250
Merit: 100
RockStable Token Inc
Quote
These boards aren't going to be that heavy. So maybe shipping 1 board for $200 (that seems REALLY high) isn't a huge difference in cost between your offerings. But if somebody has 2-10 boards, the shipping price isn't going to really increase much at all. So now when you divide that cost by 10 boards, the shipping costs becomes $20 in shipping per 10-chip-board, or $125 total cost shipping included.

Just to remove any doubt about the UPS shipping cost, here is a snapshot of the UPS page, which anybody can verify for themselves on the UPS site itself. This is shipping something weighing 2 lbs. from Dresden, DE to Columbia, SC, USA. (You can also see there's a difference in price between this and shipping something heavier, as my other example above.)



The point still is that shipping from Germany to the US is not cheap. Be that as it may, I am looking into other options that can lower the system build cost.

There is one big change in the plans: the condos will not be located in Cebu. As it turns out, the electricity cost per kWh for businesses in Cebu (in fact all over the Philippines, at 30 cents), is more than DOUBLE that here in the U.S., at 14 cents. (Part of the reason for this is the downward trend of the US Dollar against the Philippine Peso.)

There will be no 24/7 guards, nobody physically manning the systems during daytime, but I will be hiring a small outfit in the Philippines through ODesk to man the systems REMOTELY 24/7. The downtime guarantee still holds.

The condo management system software will be built in Cebu. I still have to determine where the hardware will be built, but most probably it will be in the U.S.

So now you can send your chips to me locally here in the US: much lower cost, more reliable shipping, no import taxes to worry about.
Pages:
Jump to: