Larger Font   Reset Font Size   Smaller Font  

Cryptonomicon

Neal Stephenson


  Practically the first thing we saw upon entering was a fully functional Kelvin mirror galvanometer — the exquisitely sensitive detector that sent Wildman Whitehouse into ignominy, made the first transatlantic cable useful, and earned William Thomson his first major fortune. Most of its delicate innards are concealed within a metal case. The beam of light that reflects off its tiny twisting mirror shines against a long horizontal screen of paper, marked and numbered like a yardstick, extending about 10 inches on either side of a central zero point. The light forms a spot on this screen about the size and shape of a dime cut in half. It is so sensitive that merely touching the machine’s case — grounding it — causes the spot of light to swing wildly to one end of the scale.

  At Porthcurno this device was used for more than one purpose. One of the most important activities at a cable station is pinpointing the locations of faults, which is done by measuring the resistance in the cable. Since the resistance per unit of length is a known quantity, a precise measurement of resistance gives the distance to the fault. Measuring resistance was done by use of a device called a Wheatstone bridge. The museum has a beautiful one, built in a walnut box with big brass knobs for dialing in resistances. Use of the Wheatstone bridge relies on achieving a null current with the highest attainable level of precision, and for this purpose, no instrument on earth was better suited than the Kelvin mirror galvanometer. Locating a mid-ocean fault in a cable therefore was reduced to a problem of twiddling the dials on the Wheatstone bridge until the galvanometer’s spot of light was centered on the zero mark.

  The reason for the ink on Ron Werngren’s fingers became evident when we moved to another room and beheld a genuine Kelvin siphon recorder, which he was in the process of debugging. This machine represented the first step in the removal of humans from the global communications loop that has culminated in the machine room at cable landing stations like Ninomiya.

  After Kelvin’s mirror galvanometer became standard equipment throughout the wired world, every message coming down the cables had to pass, briefly, through the minds of human operators such as the ones who were schooled at the Porthcurno campus. These were highly trained young men in slicked hair and starched collars, working in teams of two or three: one to watch the moving spot of light and divine the letters, a second to write them down, and, if the message were being relayed down another cable, a third to key it in again.

  It was clear from the very beginning that this was an error-prone process, and when the young men in the starched collars began getting into fistfights, it also became clear that it was a job full of stress. The stress derived from the fact that if the man watching the spot of light let his attention wander for one moment, information would be forever lost. What was needed was some mechanical way to make a record of the signals coming down the cable. But because of the weakness of these signals, this was no easy job.

  Lord Kelvin, never one to rest on his laurels, solved the problem with the siphon recorder. For all its historical importance, and for all the money it made Kelvin, it is a flaky-looking piece of business. There is a reel of paper tape which is drawn steadily through the machine by a motor. Mounted above it is a small reservoir containing perhaps a tablespoon of ink. What looks like a gossamer strand emerges from the ink and bends around through some delicate metal fittings so that its other end caresses the surface of the moving tape. This strand is actually an extremely thin glass tube that siphons the ink from the reservoir onto the paper. The idea is that the current in the cable, by passing through an electromechanical device, will cause this tube to move slightly to one side or the other, just like the spot of light in the mirror galvanometer. But the current in the old cables was so feeble that even the infinitesimal contact point between the glass tube and the tape still induced too much friction, so Kelvin invented a remarkable kludge: he built a vibrator into the system that causes the glass tube to thrum like a guitar string so that its point of contact on the paper is always in slight motion.

  Dynamic friction (between moving objects) is always less than static friction (between objects that are at rest with respect to each other). The vibration in the glass siphon tube reduced the friction against the paper tape to the point where even the weak currents in a submarine cable could move it back and forth. Movement to one side of the tape represented a dot, to the other side a dash. We prevailed upon Werngren to tap out the message Get Wired. The result is on the cover of this magazine, and if you know Morse code you can pick the letters out easily.

  The question naturally arises: How does one go about manufacturing a hollow glass tube thinner than a hair? More to the point, how did they do it 100 years ago? After all, as Worrall pointed out, they needed to be able to repair these machines when they were posted out on Ascension Island. The answer is straightforward and technically sweet: you take a much thicker glass tube, heat it over a Bunsen burner until it glows and softens, and then pull sharply on both ends. It forms a long, thin tendril, like a string of melted cheese stretching away from a piece of pizza. Amazingly, it does not close up into a solid glass fiber, but remains a tube no matter how thin it gets.

  Exactly the same trick is used to create the glass fibers that run down the center of FLAG and other modern submarine cables: an ingot of very pure glass is heated until it glows, and then it is stretched. The only difference is that these are solid fibers rather than tubes, and, of course, it’s all done using machines that assure a consistent result.

  Moving down the room, we saw a couple of large tabletops devoted to a complete, functioning reproduction of a submarine cable system as it might have looked in the 1930s. The only difference is that the thousands of miles of intervening cable are replaced with short jumper wires so that transmitter, repeaters, and receiver are contained within a single room.

  All the equipment is built the way they don’t build things anymore: polished wooden cabinets with glass tops protecting gleaming brass machinery that whirrs and rattles and spins. Relays clack and things jiggle up and down. At one end of the table is an autotransmitter that reads characters off a paper tape, translates them into Morse code or cable code, and sends its output, in the form of a stream of electrical pulses, to a regenerator/retransmitter unit. In this case the unit is only a few feet away, but in practice it would have been on the other end of a long submarine cable, say in the Azores. This regenerator/retransmitter unit sends its output to a twin siphon-tube recorder which draws both the incoming signal (say, from London) and the outgoing signal as regenerated by this machine on the same paper tape at the same time. The two lines should be identical. If the machine is not functioning correctly, it will be obvious from a glance at the tape.

  The regenerated signal goes down the table (or down another submarine cable) to a machine that records the message as a pattern of holes punched in tape. It also goes to a direct printer that hammers out the words of the message in capital letters on another moving strip of paper. The final step is a gummer that spreads stickum on the back of the tape so that it may be stuck onto a telegraph form. (They tried to use pregummed tape, but in the tropics it only coated the machinery with glue.)

  Each piece of equipment on this tabletop is built around a motor that turns over at the same precise frequency. None of it would work — no device could communicate with any other device — unless all of those motors were spinning in lockstep with one another. The transmitter, regenerator/retransmitter, and printer all had to be in sync even though they were thousands of miles apart.

  This feat is achieved by means of a collection of extremely precise analog machinery. The heart of the system is another polished box that contains a vibrating reed, electromagnetically driven, thrumming along at 30 cycles per second, generating the clock pulses that keep all the other machines turning over at the right pace. The reed is as precise as such a thing can be, but over time it is bound to drift and get out of sync with the other vibrating reeds in the other stations.

  In order to control this tendency, a pair of ide
ntical pendulum clocks hang next to each other on the wall above. These clocks feed steady, one-second timing pulses into the box housing the reed. The reed, in turn, is driving a motor that is geared so that it should turn over at one revolution per second, generating a pulse with each revolution. If the frequency of the reed’s vibration begins to drift, the motor’s speed will drift along with it, and the pulse will come a bit too early or a bit too late. But these pulses are being compared with the steady one-second pulses generated by the double pendulum clock, and any difference between them is detected by a feedback system that can slightly speed up or slow down the vibration of the reed in order to correct the error. The result is a clock so steady that once one of them is set up in, say, London, and another is set up in, say, Cape Town, the machinery in those two cities will remain synched with each other indefinitely.

  This is precisely the same function that is performed by the quartz clock chip at the heart of any modern computing device. The job performed by the regenerator/retransmitter is also perfectly recognizable to any modern digitally minded hacker tourist: it is an analog-to-digital converter. The analog voltages come down the cable into the device, the circuitry in the box decides whether the signal is a dot or a dash (or if you prefer, a 1 or a 0), and then an electromagnet physically moves one way or the other, depending on whether it’s a dot or a dash. At that moment, the device is strictly digital. The electromagnet, by moving, then closes a switch that generates a new pulse of analog voltage that moves on down the cable. The hacker tourist, who has spent much of his life messing around with invisible, ineffable bits, can hardly fail to be fascinated when staring into the guts of a machine built in 1927, steadily hammering out bits through an electromechanical process that can be seen and even touched.

  As I started to realize, and as John Worrall and many other cable-industry professionals subsequently told me, there have been new technologies but no new ideas since the turn of the century. Alas for Internet chauvinists who sneer at older, “analog” technology, this rule applies to the transmission of digital bits down wires, across long distances. We’ve been doing it ever since Morse sent “What hath God wrought!” from Washington to Baltimore.

  Latitude & Longitude Unknown: Cable & Wireless Marine, Chelmsford, England

  Note: I left my GPS receiver on a train in Bristol and had to do without it for a couple of weeks until Mr. Gallagher, station supervisor at Preston, Lancashire, miraculously found it and sent it back to me. Chelmsford is a half-hour train ride northeast of London.

  When last we saw our hypothetical cable-ship captain, sitting off of Songkhla with 2,525 kilometers of very expensive cable, we had put him in a difficult spot by asking the question of how he could ensure that his 25 kilometers of slack ended up in exactly the right place. Essentially the same question was raised a few years ago when FLAG approached Cable & Wireless Marine and said, in effect: “We are going to buy 28,000 kilometers of fancy cable from AT&T and KDD, and we would like to have it go from England to Spain to Italy to Egypt to Dubai to India to Thailand to Hong Kong to China to Korea to Japan. We would like to pay for as little slack as possible, because the cable is expensive. What little slack we do buy needs to go in exactly the right place, please. What should we do next?”

  So it was that Captain Stuart Evans’s telephone rang. At the time (September 1992), he was working for a company called Worldwide Ocean Surveying, but by the time we met him, that company had been bought out by Cable & Wireless Marine, of which he is now general manager — survey. Evans is a thoroughly pleasant middle-aged fellow, a former merchant marine captain, who seemed just a bit taken aback that anyone would care about the minute details of what he and his staff do for a living. A large part of being a hacker tourist is convincing people that you are really interested in the nitty-gritty and not just looking for a quick, painless sound bite or two; once this is accomplished, they always warm to the task, and Captain Evans was no exception. Evans’s mission was to help FLAG select the most economical and secure route. The initial stages of the process are straightforward: choose the landing sites and then search existing data concerning the routes joining those sites. This is referred to as a desk search, with mild but unmistakable condescension. Evans and his staff came up with a proposed route, did the desk search, and sent it to FLAG for approval. When FLAG signed off on this, it was time to go out and perform the real survey. This process ran from January to September 1994.

  Each country uses the same landing sites over and over again for each new cable, so you might think that the routes from, say, Porthcurno to Spain would be well known by now. In fact, every new cable passes over some virgin territory, so a survey is always necessary. Furthermore, the territory does not remain static. There are always new wrecks, mobile sand waves, changes in anchorage patterns, and other late-breaking news.

  To lay a cable competently you must have a detailed survey of a corridor surrounding the intended route. In shallow water, you have relatively precise control over where the cable ends up, but the bottom can be very irregular, and the cable is likely to be buried into the seabed. So you want a narrow (1 kilometer wide) corridor with high resolution. In deeper water, you have less lateral control over the descending cable, but at the same time the phenomena you’re looking at are bigger, so you want a survey corridor whose width is 2 to 3 times the ocean depth but with a coarser resolution. A resolution of 0.5 percent of the depth might be considered a minimum standard, though the FLAG survey has it down to 0.25 percent in most places. So, for example, in water 5,000 meters deep, which would be a somewhat typical value away from the continental shelf, the survey corridor would be 10 to 15 kilometers in width, and a good vertical resolution would be 12 meters.

  The survey process is almost entirely digital. The data is collected by a survey ship carrying a sonar rig that fires 81 beams spreading down and out from the hull in a fan pattern. At a depth of 5,000 meters, the result, approximately speaking, is to divide the 10-kilometer-wide corridor into grid squares 120 meters wide and 175 meters long and get the depth of each one to a precision of some 12 meters.

  The raw data goes to an onboard SPARCstation that performs data assessment in real time as a sort of quality assurance check, then streams the numbers onto DAT cassettes. The survey team is keeping an eye on the results, watching for any formations through which cable cannot be run. These are found more frequently in the Indian than in the Atlantic Ocean, mostly because the Atlantic has been charted more thoroughly.

  Steep slopes are out. A cable that traverses a steep slope will always want to slide down it sideways, secretly rendering every nautical chart in the world obsolete while imposing unknown stresses on the cable. This and other constraints may throw an impassable barrier across the proposed route of the cable. When this happens, the survey ship has to backtrack, move sideways, and survey other corridors parallel and adjacent to the first one, gradually building a map of a broader area, until a way around the obstruction is found. The proposed route is redrafted, and the survey ship proceeds.

  The result is a shitload of DAT tapes and a good deal of other data as well. For example, in water less than 1,200 meters deep, they also use sidescan sonar to generate analog pictures of the bottom — these look something like black-and-white photographs taken with a point light source, with the exception that shadows are white instead of black. It is possible to scan the same area from several different directions and then digitally combine the images to make something that looks just like a photo. This may provide crucial information that would never show up on the survey — for example, a dense pattern of anchor scars indicates that this is not a good place to lay a cable. The survey ship can also drop a flowmeter that will provide information about currents in the ocean.

  The result of all this, in the case of the FLAG survey, was about a billion data points for the bathymetric survey alone, plus a mass of sidescan sonar plots and other documentation. The tapes and the plots filled a room about 5 meters square all the way to
the ceiling. The quantity of data involved was so vast that to manage it on paper, while it might have been theoretically possible given unlimited resources, was practically impossible given that FLAG is run by mortals and actually has to make money. FLAG is truly an undertaking of the digital age in that it simply couldn’t have been accomplished without the use of computers to manage the data. Evans’s mission was to present FLAG with a final survey report. If he had done it the old-fashioned way, the report would have occupied some 52 linear feet of shelf space, plus several hefty cabinets full of charts, and the inefficiency of dealing with so much paper would have made it nearly impossible for FLAG’s decision makers }to grasp everything.

  Instead, Evans bought FLAG a PC and a plotter. During the summer of 1994, while the survey data was still being gathered, he had some developers write browsing software. Keeping in mind that FLAG’s investors were mostly high-finance types with little technical or nautical background, they gave the browser a familiar, easy-to-use graphical user interface. The billion data points and the sidescan sonar imagery were boiled down into a form that would fit onto 5 CD-ROMs, and in that form the final report was presented to FLAG at the end of 1994. When FLAG’s decision makers wanted to check out a particular part of the route, they could zoom in on it by clicking on a map, picking a small square of ocean, and blowing it up to reveal several different kinds of plots: a topographic map of the seafloor, information abstracted from the sidescan sonar images, a depth profile along the route, and another profile showing the consistency of the bottom — whether muck, gravel, sand, or hard rock. All of these could be plotted out on meterwide sheets of paper that provided a much higher-resolution view than is afforded by the computer screen.