ArticleslgStudy

computer science

Nonblocking minimal spanning switch

Nonblocking minimal spanning switch is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Nonblocking minimal spanning switch rather than just read about it. In short: A nonblocking minimal spanning switch is a concept developed in the 1950s to reduce the costs of telephone exchanges in the Bell System by reducing the number of the most expensive components of a telephone switch. This reflects a key problem in the AT&T Bell System prior to divestiture in 1984, which was providing satisfactory (from the customer point of view) end-to-end service at the lowest possible cost.

Nonblocking minimal spanning switch — main illustration
Nonblocking minimal spanning switch — illustration

Key takeaways

  • Nonblocking minimal spanning switch belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Nonblocking minimal spanning switch to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Nonblocking minimal spanning switch from memory before moving on to harder problems.

Reference excerpt

A nonblocking minimal spanning switch is a concept developed in the 1950s to reduce the costs of telephone exchanges in the Bell System by reducing the number of the most expensive components of a telephone switch. This reflects a key problem in the AT&T Bell System prior to divestiture in 1984, which was

providing satisfactory (from the customer point of view) end-to-end service at the lowest possible cost.

Historically, in telephone switches, connections between callers were arranged with Strowger switches, which were large, expensive banks of electromechanical relays. Later the Strowger switches were replaced by crossbar switches, which used a matrix of connections (called crosspoints) to set up calls. The Operations Research Department at Bell Labs and other technical staff focused on developing mathematics and computer tools to minimize costs subject to constraints. In the context of making telephone connections, this was taken to mean minimizing the number of the most expensive switch components -- the crosspoints -- subject to the constraint of still being able to connect any two idle telephones on request. In the 1940s and 1950s, engineers in Bell Lab began an extended series of mathematical investigations into methods for reducing the size and expense of the "switched fabric" needed to implement a telephone exchange. For this purpose a minimal non-blocking network of crossbar switches would be any device that can connect N inputs to N outputs in any sequence while using as few crosspoints as possible. The term "non-blocking" means that if the switch is not defective, it can always make the connection. The term "minimal" means that it has the fewest possible crosspoints, and therefore the minimal expense. The mathematical analysis that establishes the conditions under which a switching network is minimal non-blocking was performed by Charles Clos, and a switched fabric constructed of smaller switches is called a Clos network.

Background: switching topologies

The crossbar switch The crossbar switch has the property of being able to connect N inputs to N outputs in any one-to-one combination, so it can connect any caller to any non-busy receiver, a property given the technical term "nonblocking". Being nonblocking it could always complete a call (to a non-busy receiver), which would maximize service availability.

However, the crossbar switch does so at the expense of using N2 (N squared) electrical connections, or crosspoints, implemented by simple SPST switches. The diagram shows a crossbar switch with N=4. The crosspoints are represented by filled circles. There are 16 crosspoints, one for each combination of input and output. When a crosspoint is activated, the corresponding input and output are connected. For large N (and the practical requirements of a phone switch are considered large) this growth was too expensive. Further, large crossbar switches had physical problems. Not only did the switch require too much space, but the metal bars containing the switch contacts would become so long that they would sag and become unreliable. Engineers also noticed that at any time, each bar of a crossbar switch was only making a single connection. The other contacts on the two bars were unused. This seemed to imply that most of the switching fabric of a crossbar switch was wasted.

Completely connected 3-layer switches One way to reduce the cost of a crossbar switch is to emulate it with smaller crossbar switches. These smaller crossbar switches could also, in turn be emulated by even smaller crossbar switches. The switching fabric could become very efficient, and possibly even be created from standardized parts. A Clos network does this. The approach is to break apart the crossbar switch into three layers of smaller crossbar switches. There is an "input layer", a "middle layer" and an "output layer." The smaller switches are less massive, more reliable, and generally easier to build, and therefore less expensive. In addition, compared to large crossbar switches, the multi-layer switching fabric uses fewer crosspoints.

Suppose we want to synthesize a 9 by 9 crossbar switch. The design could have 3 switches on the input side, each with 3 inputs, for 9 total inputs. Further, on the output side, we could also have 3 output switches, each with 3 outputs, for a total of 9 outputs. Every input and output switch will be connected to every middle switch. The goal is to use as few crosspoints as possible, because crosspoints are an expensive component of a switch. The questions are how many middle switches are needed to provide a nonblocking fabric, thus emulating a crossbar switch, and will the number of crosspoints be reduced? Charles Clos showed in his 1953 paper that the number of middle switches required for this example is 5, and in general, is 2N−1 for N input and output switches. The basic algorithm for managing a three-layer switch is to search the middle subswitches for a middle subswitch that has unused wires to the needed input and output switches. Once a connectible middle subswitch is found, connecting to the correct inputs and outputs in the input and output switches is trivial. The example is intentionally small, and in such a small example, the reorganization does not save crosspoints. A 9x9 crossbar has 81 crosspoints, while a 9x9 minimal spanning switch has 3x3x5×3 = 135 contacts, providing no savings. As the numbers get larger, the savings appear. For example, a 10,000 line exchange would need 100 million crosspoints to implement a full crossbar. Input and output layers of 100 100×199 switches and a middle layer of 199 100x100 switches would use only 3x199x100x100 crosspoints, or about 6 million crosspoints, a savings of 94% of the crosspoints.

… excerpt ends here. Continue reading the full article.

Illustrations

Nonblocking minimal spanning switch: A substitute for a 16x16 crossbar switch made from 12 4x4 crossbar switches.
A substitute for a 16x16 crossbar switch made from 12 4x4 crossbar switches.
Nonblocking minimal spanning switch: Diagram of a 4x4 crossbar switch.
Diagram of a 4x4 crossbar switch.
Nonblocking minimal spanning switch: Emulating a 9x9 crossbar switch with 3 layers of 3x3 switches
Emulating a 9x9 crossbar switch with 3 layers of 3x3 switches
Nonblocking minimal spanning switch: Signals A, B, C, D are routed but signal E is blocked, unless a signal, such as D shown in purple is rerouted
Signals A, B, C, D are routed but signal E is blocked, unless a signal, such as D shown in purple is rerouted
Nonblocking minimal spanning switch: After D, in purple, is rerouted, Signal E can be routed and all the additional signals plus E are connected
After D, in purple, is rerouted, Signal E can be routed and all the additional signals plus E are connected

Worked examples

Example 1 — a first encounter with Nonblocking minimal spanning switch

Start with the simplest possible case. Write down what Nonblocking minimal spanning switch claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Nonblocking minimal spanning switch before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Nonblocking minimal spanning switch ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Nonblocking minimal spanning switch

In research
Nonblocking minimal spanning switch appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Nonblocking minimal spanning switch in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Nonblocking minimal spanning switch is common in secondary-school and first-year university syllabi. It links to neighbouring topics Graph algorithms, Telephone exchanges, so understanding it makes those chapters shorter.
In everyday life
Look for Nonblocking minimal spanning switch outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Nonblocking minimal spanning switch in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Nonblocking minimal spanning switch means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Nonblocking minimal spanning switch out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Nonblocking minimal spanning switch in simple terms?

A nonblocking minimal spanning switch is a concept developed in the 1950s to reduce the costs of telephone exchanges in the Bell System by reducing the number of the most expensive components of a telephone switch. This reflects a key problem in the AT&T Bell System prior to divestiture in 1984, wh…

Why does Nonblocking minimal spanning switch matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Nonblocking minimal spanning switch?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Nonblocking minimal spanning switch.

Tags

  • Graph algorithms
  • Telephone exchanges

Keep exploring