Вы находитесь на странице: 1из 2

V

viewpoints

doi:10.1145/2347736.2347749 Ivan Sutherland

Viewpoint
The Tyranny of the Clock
Promoting a clock-free paradigm that fits everything
learned about programming since Turing.

I
n A l a n Tu r i n g ’ s day logic a clock signal “simultaneously” be-
was slow and costly but, rela- comes smaller and thus the number
tive to logic, wires were fast of “clock zones” must increase. The
and almost free. Since then clock beat of each zone differs from
the costs of logic and wires the beat of its neighbors in phase and
have reversed: modern logic is fast often in frequency as well. A large chip
and almost free but, relative to logic, may have hundreds or even thousands
wires are now slow and costly. They of separate clock zones. The clocked
are costly in three ways. 1) The wires design paradigm helps within each
in a modern circuit chip cost most of zone, but only within the zone.
its area; the transistors in a chip hide Between clock zones the clocked
underneath a thick bed of tiny wires. design paradigm retards data flow.
2) The wires in a modern circuit chip The clocked design paradigm insists
cost most of the delay. 3) Worst of all, on synchronizing all incoming data to
moving electric charge onto and off of the frequency and phase of the clock in
wires wastes most of the energy. The the destination zone. Synchronizing
cost of logic and memory dominated a data signal to the destination clock
Turing’s thinking, but today, com- requires special precaution against er-
munication rather than logic should rors. A reliable boundary crossing re-
dominate our thinking. quires a delay of two or three clock pe-
Does communication dominate riods. It is as if each clock zone posted
your thinking? customs inspectors at its borders. The
My question applies equally to hard- clocked design paradigm exacerbates
ware, software, and theory. communication delay.
Today’s digital design paradigm, the Ever since my 1988 Turing lecture,
“clocked” design paradigm, depends on I have been exploring an alternative
a rhythmic clock signal. The clock sig- “clock-free” design paradigm. I seek
nal breaks time into discrete time steps. change in the design paradigm to cast
The designer knows exactly his intent changed that: passengers wanted to off the tyranny of the clock. Instead of
for all the actions of each time step and know at what local time their train making all logic “march to an exter-
can check that all the necessary precur- would arrive, and dispatchers wanted nal drum beat,” let us allow each logic
sors for the actions of each time step to avoid collisions. Fortunately, the element to proceed at its own pace.
happen in earlier steps. Discrete time telegraph could provide a notion of Because each element acts only when
steps simplify the design task. “simultaneous” from New York to and if necessary, such a paradigm
Before the telegraph, there was Chicago so that schedules could be shift will lead to designs that save en-
no easy way to synchronize time over kept. Like a railroad the clocked de- ergy. The clock-free paradigm will also
Photogra ph by Erik Velldal

distance. Fortunately, there was little sign paradigm makes designers want make computers go faster because
need outside navigation to know what a concept of “simultaneous” so that doing away with border-crossing de-
time it is somewhere else. “Simulta- clock periods can begin and end ev- lays speeds communication. I see a
neous” did not need to apply between erywhere simultaneously. parallel to the economic efficiency
Chicago and New York; each city could As transistors and wires get small- Europe gains from free communica-
be its own time zone. The railroad er, the area over which one can deliver tion across national borders.

o cto b e r 2 0 1 2 | vo l . 55 | n o. 1 0 | c om m u n icat ion s of t he ac m 35


viewpoints

Casting off the tyranny of the clock start and end only at preset time in-
offers freedom to optimize the sepa- tervals. “My subroutines all start at
rate parts of a design. For example, Casting off the 3.68 millisecond intervals; how often
Rajit Manohar and his students at tyranny of the clock do yours start?”
Cornell report a clock-free IEEE-com- Software development proceeds
pliant, double precision, floating- offers freedom to from correctness to performance. Af-
point adder with the same through- optimize the separate ter software works, we tune its heavily
put as an equivalent clocked design. used parts to achieve the desired per-
The Cornell clock-free design uses parts of a design. formance. Performance almost always
less than half, about 40%, as much depends on only a small part of the
energy per addition as its clocked whole. Compare this to the situation
counterpart. The Cornell design gains in a clocked hardware design where
simplicity and thus reduces energy by each and every signal must arrive “on
doing easy cases fast and allowing time,” even if it is rarely used. The
the rare hard cases to take longer. A tyranny of the clock wastes both engi-
recent paper from my group in the The paradigm shift I seek faces neering cost at design time and energy
Asynchronous Research Center at three formidable obstacles: techni- at runtime. What a needless waste!
Portland State University reports on cal, social and courage. First, tech- Only a small handful of intrepid en-
faster division by allowing steps that nical: Make no mistake; designing a trepreneurs and academic research-
merely shift to go faster than steps clock-free system can face the same ers have yet dared to explore the clock-
that must subtract. hard problems of parallelism that free paradigm I promote. I predict that
Casting off the tyranny of the clock give software people nightmares. But sometime soon, some courageous man-
offers modularity as well as local op- a few pioneers have shown that clock- agement will tire of wasting money on
timization. Sam Fuller, then chief free design is possible and sometimes the tyranny of the clock and adopt the
engineer at Digital Equipment Corpo- even easy. The pioneers have uncov- clock-free design paradigm. Such cour-
ration, once told me that his process ered benefits like using less than half, age will reap giant rewards. I shall be
people could provide faster chips every 40%, of the energy per operation as disappointed but not at all surprised if
six months. He complained that his reported by Cornell. Second, social: that courageous management speaks an
product could not similarly improve All of today’s commercial design tools Asian language rather than English, the
every six months because it took 18 assume clocked design. All engineer- native tongue I share with Alan Turing.
months to redesign an entire comput- ing schools teach clocked design. Will
er for the new clock speed. The tyranny we ever train enough young people in This Viewpoint is derived from Ivan Sutherland’s
presentation at the ACM A.M. Turing Centenary Celebration
of the clock made his design insuffi- the clock-free paradigm for it to self- Computer Architecture panel discussion this past June;
ciently modular to permit incremental perpetuate? Third, courage: Manage- see http://amturing.acm.org/acm_tcc_webcasts.cfm.
[Also see the profile of Ivan Sutherland in the News
improvement. He chose to march his ment knows the costs, difficulties, section of this issue on page 10. —Ed.]
entire machine to a single drumbeat and results of the “tried and true”
rather than allowing each part to work clocked design paradigm. Manage-
at its own best speed. ment chooses “to bear those ills we Further Reading
Like all tyranny, the tyranny of the have rather than fly to others that we Sutherland, I.E.
clock stems from the range over which know not of.” Micropipelines. Commun. ACM 32, 6 (June
we choose to subject ourselves to the ty- The clock-free design paradigm 1989).
rant’s authority. must eventually prevail. It fits phys- Sutherland, I.E. and Ebergen, J.
The clock-free paradigm I promote ics. Each increase in the relative cost Computers without clocks. Scientific
relates to the clocked design paradigm of communication over logic brings American 287, 2 (Aug. 2002), 62–69.
as a “free economy” relates to a “con- us closer to the fundamental physi- Riaz Sheikh and R. Manohar.
trolled economy.” We can regain the cal truth that “simultaneous” lacks An operand-optimized asynchronous IEEE
efficiency of local decision making by meaning. The clock-free paradigm 754 double-precision floating-point adder.
In Proceedings of the IEEE International
revolting against the pervasive beat of fits everything we have learned since Symposium on Asynchronous Circuits and
an external clock. Turing about programming. Software Systems (ASYNC) 2010, 151–162.
Clock-free commercial products are avoids tyrannous global time con- N. Jamadagni and J. Ebergen.
in use today. Handshake Solutions, a straints. Without freedom from glob- An asynchronous divider implementation.
computer-aided design company from al time constraints, software libraries In Proceedings of the IEEE International
the Netherlands, was proud of having would be impossible. “Modularity” Symposium on Asynchronous Circuits and
700 million of their clock-free chips and “data hiding” are basic principles Systems (ASYNC), 2012.
in use in smart cards, passports, cell- of quality software because they allow
phones, and other portable devices. reuse and local optimization. Soft- Ivan Sutherland (ivans@cecs.pdx.edu) is a visiting
scientist in the Asynchronous Research Center at Portland
Fulcrum Microsystems, a Caltech spin- ware is self-timed: Each subroutine State University in Oregon and the 1988 recipient of the
off recently purchased by Intel, sells a runs at its own pace; its users wait for ACM A.M. Turing Award for his pioneering contributions to
computer graphics.
self-timed communication switch with it to finish. Imagine what software
outstanding performance. would be like if subroutines could Copyright held by author.

36 comm unicatio ns o f the acm | o cto ber 201 2 | vo l . 5 5 | no. 1 0

Вам также может понравиться