Bitcoin Forum
November 09, 2024, 10:20:46 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Raspberry Pi  (Read 2375 times)
techkojj92 (OP)
Newbie
*
Offline Offline

Activity: 48
Merit: 0


View Profile
September 02, 2013, 08:36:04 PM
 #1

how many 10 port hubs do they support
vitruvio
Sr. Member
****
Offline Offline

Activity: 850
Merit: 331



View Profile
September 02, 2013, 09:19:22 PM
 #2

Been powered hubs I supose the limit is the 127 devices per hub that is the limit of usb standard, so starting by root hub... every hub + 9 block erupters for example, the 10th port to connect a new hub and start again.......

Regards
milkbottlec
Member
**
Offline Offline

Activity: 95
Merit: 10


View Profile
September 03, 2013, 12:08:10 AM
 #3

Maybe up to 50. Heard from previous experienced guy.

Will be handling Drillbit System UK/EU replacement components soon (waiting to confirm details, stay tunes)
If I helped you and could pop me some treats for this Christmas, donate some BTC to: 1QEhKaUnFoEBaWmXsrE5AUvbAt95254DXr
Philj6970
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile
September 03, 2013, 12:35:24 AM
 #4

I have read somewhere on the web that the way to go with a Pi is to connect the first two USB hubs directly to the PI, then the "working" hubs all connect to the first two.
Something about not having too many layers of hubs comes to mind.

I had problems with my 3 hubs on my Pi, this method worked ok.

In theory you could have 2 x 10 port then connect another 20 x 10 port USB hubs, for 200 USB ports but I think that anything after 35 - 40 erupters is too much CPU load for a Pi.

The Pi's are cheap enough to have a few running anyway.

If you can afford 200 USB miners you wont worry about the cost of 5 Pi's  Grin
fractalbc
Full Member
***
Offline Offline

Activity: 192
Merit: 100


View Profile
September 03, 2013, 05:49:51 PM
 #5

There is some good information in this thread, some bad information and some "sage" information.  The "sage" is probably what the OP needs to know.  You can realistically drive around 50 erupters from a raspberry pi.

There are two theoretical limitations.  The first is the number of addressable units and the second is the maximum number of hops in a chain.  Properly accounting for both of these requires you to realize that most hubs out there are built with 4 port chips.  A 7 port hub is really two x 4 port hubs chained internally.  A 10 port hub is really three x 4 port hubs chained internally as a tree.  

Each of these 4 port hub chips is addressable and takes up one of the 127 available addresses.  This in practice reduces the number of devices from 127 to around 90.  Not that this is an issue for a raspberry pi, but it is worth understanding.

More importantly, this topology means that two of the ports on a 10 port hub are one "hop" away from the input, the other 8 are two "hops" away.  Hence someone taking three, 10 port hubs and daisy chaining them as previously recommended may find themselves wondering why only two of the 10 work on the last hub but someone else who got lucky and plugged into a 1 hop port instead of a 2 hop port found it working.

All of this smoke and mirrors and voodo magic can be avoided by connecting your hubs as a "tree" instead of a "chain".

Finally, it is worth revisiting the "sage" wisdom.  Do you want to know why 49 is a magical number?

It is what you get when you plug a 7 port hub into a computer then plug 7 more 7 port hubs into it.  There are 49 usable ports on the leaf nodes which are between 2 and 4 "hops" away from the root.  You are using 65 of the 127 USB addresses, 49 for the mining device and 16 for the hub devices.

49 is also right at the limit of what a raspberry pi can manage.

Now, as an exercise for the interested reader ... can you plug a 10 port hub into a pi and plug 10 x 10 port hubs into it?  Looking at from a "hop" point of view each of the leaf nodes are still between 2 and 4 "hops" away from the root.  And, if you only consider leaf nodes, there are 100 devices and 127 addresses.  It should work, right?

Nope.  You need to give each of the 4 port building blocks an address and there are 33 of them, three per 10 port hub.  You are trying to address 133 devices with 127 addresses.

So, the theoretical answer ignoring generally available hardware is 127 devices.  The practical answer using commonly available hardware is 92 devices and a realistic answer considering the capabilities of the raspberry pi is around 50 devices.

Divide by 10 to get the number of 10 port hubs.
techkojj92 (OP)
Newbie
*
Offline Offline

Activity: 48
Merit: 0


View Profile
September 04, 2013, 12:06:20 AM
 #6

are there any confirmed 10 port hubs for the pi
demonmaestro
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500


Mining for the hell of it.


View Profile
September 04, 2013, 12:22:27 AM
 #7

here you go captin.

http://elinux.org/RPi_Powered_USB_Hubs

Feel Like Donating? bc1q0v5nfdejapffewu67gft7zw7zsmnfmmkt3lf02
Buy/Sell BitCoin & LiteCoin  Click here! | Looking for a great exchange? CoinBase Has you covered.
Pages: [1]
  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!