8

I would like to know how many switch can be stacked with fiber channel to get a best transfer rate between computers.

I have 200 computers connected to 12 3Com switches. All switches have two fiber ports.

Is the best way to have fiber backbone switch and connect fiber channel from every switch to the backbone? Or connect switch 1 to switch 2 to switch 3 to ... switch 12 to switch 1 again?

Thanks!

3 Answers 3

20

Let's get some terminology aside first.

"Fiber channel" (or "fibre channel", as it's more typically known) is a specific networking technology used in storage area networks. I think, when you say "fiber channel", you're really saying "ports on an Ethernet switch that fiber optic cables connect to". If you're really talking about fibre channel then, let me know... (but, to my knowledge, 3Com has never made a fibre channel switch).

The term "stacking" typically refers to an interconnection between Ethernet switches through a (typically proprietary) dedicated interface that extends some significantly high fraction of the capacity switch's switching capability to another switch (extending the "switching fabric" outside the box to another switch). Often, stacking interfaces operate at multi-gigabit speeds (40Gb/sec on the Dell PowerConnect 6200-series switches, for example).

There is no "hard limit" to the number of Ethernet switches in a network. You can add as many as you want. Latency will increase as the number of "hops" between any two endpoints goes up and, obviously, you're increasing complexity and odds of failure as you add more switches.

Switched Ethernet LANs can't scale indefinitely. Excessive broadcasts or flooding of frames to unknown destinations will limit their scale. Either of these conditions can be caused by making a single broadcast domain in an Ethernet LAN too big.

Broadcast traffic is easy to understand, but flooding of frames to unknown destinations is a bit more obscure. If you get so many devices that your switch MAC tables are overflowing, switches will be forced to flood non-broadcast frames out all ports if the destination of the frame doesn't match any entries in the MAC table. If you have a large enough single broadcast domain in an Ethernet LAN with a traffic profile that hosts talk infrequently (that is, infrequently enough that their entries have aged out of the MAC tables on your switches), then you can also get excessive flooding of frames to unknown destinations.

At the scale you're talking about (200 computers), there isn't going to be a problem with flooding of frames to unknown destinations. Whether or not you have broadcast problems will depend on the specific protocols and applications used. If you're using off-the-shelf Microsoft OS's and applications, I'd hazard that your level of broadcast traffic is just fine.

In general, a "star" topology that minimizes "hops" between switches is the most effective Ethernet topology. Placing servers or other highly-utilized resources in the center of the star will minimize traffic overall. If your switches support aggregating multiple links together, you can use this feature to increase bandwidth on inter-switch links. You should be using a tool (even a simple one like MRTG) if your switches support monitoring with SNMP to determine where your bandwidth utilization "hotspots" are.

You can create "loops", provided your switches support the spanning-tree protocol, to handle failures of switches or inter-switch links. That's a little more advanced topic, and not something I'd recommend you approach until you have more experience.

4
  • 5
    I wish I had an RSS feed for your answers. Commented Aug 5, 2010 at 21:02
  • 1
    @Holocryptic: Ask and you shall receive: serverfault.com/feeds/user/7200 Commented Aug 5, 2010 at 21:38
  • 2
    Wow, I was only half kidding. But still sweet. I'll take whatever knowledge/resources I can get my hands on. Thanks! Commented Aug 5, 2010 at 21:51
  • 2
    I would include a warning that creating a loop with switches that do not support it will bring down the network until the loop is broken. And it can cause computers on the network to crash if the network drivers aren't prepared to deal with the situation.
    – kasperd
    Commented Sep 25, 2015 at 7:00
1

The maximum number of switches that can be stacked (not a ring - a string or a star, unless you're using STP with failover on the backplane ports) depends on the switch. As an example, the 3Com® Switch 5500G-EI 24-Port supports 8 stacked using an 8 port SFP expansion module. Some switches connect in serial, one to the next. Other switches like the 5500G connect in a star configuration with a "parent" management switch and up to 8 "child" switches.

Use VLAN's to reduce broadcast domains.

Many well designed network office networks don't need a shared backplane. The majority of traffic goes to one of three destinations - file server, internet or printer. A single shared backplane is really only "required" for internal peer to peer traffic. I've never seen a situation with a single shared backplane that didn't segment anyway with VLANs. The shared backplane makes it easier to do physical moves on the network. Network re-configuration after a physical machine is moved to a new office (port) can be done remotely on the switch's management console without re-plugging cables. The shared backplane starts making sense when you have many physical servers and many clients need to connect to multiple servers. These days, this can be solved with bigger boxes and virtualization, reducing the count to a one or two physical servers per client (still could have many physical servers, just no clients that need "full speed" access to all servers, i.e. segment servers by department or service needs.)

In a common network setup, bandwidth is increased by installing a higher bandwidth NIC or trunk/bond multiple ports and NIC's where aggregate traffic is, usually the file server. In the example 3com switch you'd use a 10g NIC in the server and 1g NIC's in the clients

If there is no peer to peer traffic and no daisy chaining of switches (each switch connects to it's own NIC on the server) there will be no performance improvement with a shared backplane. If VLAN's aren't used the shared backplane may even be slower due to a larger broadcast/collision domain.

0

Definitely with a fast backbone switch. A packet from a computer on switch 1 to a computer on switch 12 has three switches to pass. If you daisy-chain them, it will be twelve switches. I am not sure if this even works.

2
  • Thank, did you know how many switch can be stacked as ring using fiber channel?
    – Jojo
    Commented Aug 5, 2010 at 20:53
  • @Jojo That depends on the switch. I vaguely remember that I once read in one manual that that (unmanaged!) switch supports STP up to a "depth of 8". Whatever that means. It could be that a ring of 9 of these switches will fail, or maybe that it would work with a ring of up to 15 of these switches (where it still can see the most distant switch twice). There are no such limits defined in the STP/RSTP standards. Note that STP just breaks the loop (by disabling one link in the loop, effectively turning it into a string). SPB (IEEE 802.1aq) is more advanced.
    – Klaws
    Commented Jan 9, 2020 at 15:42

You must log in to answer this question.