Lex Fridman Podcast XX
[0] The following is a conversation with David Patterson, Touring Award winner and professor of computer science at Berkeley.
[1] He's known for pioneering contributions to risk processor architecture used by 99 % of new chips today and for co -creating raid storage.
[2] The impact that these two lines of research and development have had in our world is immeasurable.
[3] He's also one of the great educators of computer science in the world.
[4] His book with John Hennessy is how I first learned about and was humbled by the inner workings and machines at the lowest level.
[5] Quick summary of the ads.
[6] Two sponsors, the Jordan Harbinger Show and Cash App.
[7] Please consider supporting the podcast by going to Jordan Harbinger .com slash Lex and downloading Cash App and using code Lex Podcast.
[8] Click on the links, buy the stuff.
[9] It's the best way to support this podcast and in general the journey I'm on in my research and startup.
[10] This is the artificial intelligence podcast.
[11] If you enjoy it, subscribe on YouTube, review it the five stars on Apple Podcast, support it on Patreon, or connect with me on Twitter and Lex Friedman, spelled without the E, just F -R -I -D -M -A -N.
[12] As usual, I'll do a few minutes of ads now and never any ads in the middle that can break the flow of the conversation.
[13] This episode is supported by the Jordan Harbinger Show.
[14] Go to Jordan Harbinger .com slash Lex.
[15] It's how he knows I sent you.
[16] On that page, there's links to subscribe to it on Apple Podcast, Spotify, and everywhere else.
[17] I've been binging on this podcast.
[18] It's amazing.
[19] Jordan is a great human being.
[20] He gets the best out of his guest, dives deep, calls them out when it's needed, and makes the whole thing fun to listen to.
[21] He's interviewed Kobe Bryant, Mark Cuban, Neil DeGrasse Tyson, Gary Kasparov, and many more.
[22] I recently listened to his conversation with Frank Abagnale, author of Catch Me If You Can, and one of the world's most famous conmen.
[23] Perfect podcast length and topic for a recent long -distance run that I did.
[24] Again, go to Jordan Harbinger .com slash Lex to give him my love and to support this podcast, subscribe also on Apple Podcasts, Spotify, and everywhere else.
[25] This show is presented by Cash App, the greatest sponsor of this podcast ever and the number one finance app in the App Store.
[26] When you get it, use code Lex podcast.
[27] Cash app lets you send money to friends buy Bitcoin and invest in the stock market with as little as $1.
[28] Since Cash App allows you to buy Bitcoin, let me mention that cryptocurrency in the context of the history of money is fascinating.
[29] I recommend a scent of money as a great book on this history.
[30] Also, the audiobook is amazing.
[31] Debits and credits on ledgers started around 30 ,000 years ago.
[32] The U .S. dollar created over 200 years ago, and the first decentralized cryptocurrency released just over 10 years ago.
[33] So given that history, cryptocurrency is still very much in its early days of development, but it's still aiming to and just might redefine the nature of money.
[34] So again, if you get CashRap from the App Store, Google Play, and use the code, Lex Podcast, you get $10, and CashUp will also donate $10 to First, an organization that is helping to advance robotics and STEM education for young people around the world.
[35] And now, here's my conversation, with David Patterson.
[36] Let's start with the big historical question.
[37] How have computers changed in the past 50 years at both the fundamental architectural level and in general in your eyes?
[38] Well, the biggest thing that happened was the invention of the microprocessor.
[39] So computers that used to fill up several rooms could fit inside your cell phone.
[40] And not only to get smaller, they got a lot faster.
[41] So they're a million times faster than they were 50 years ago, and they're much cheaper, and they're ubiquitous.
[42] You know, there's 7 .8 billion people on this planet.
[43] Probably half of them have cell phones right now, just remarkable.
[44] It's probably more microprocessors than there are people.
[45] Sure.
[46] I don't know what the ratio is, but I'm sure it's above one.
[47] Maybe it's 10 to 1 or some number like that.
[48] What is a microprocessor?
[49] So a way to say with a microprocessor is to tell you what's inside a computer.
[50] So a computer forever has classically had five pieces.
[51] There's input and output, which kind of naturally, as you'd expect, is input is like speech or typing and output as displays.
[52] There's a memory, and like the name sounds, it remembers things.
[53] So it's integrated circuits whose job is you put information in, And then when you ask for it, it comes back out.
[54] That's memory.
[55] And then the third part is the processor, where the team microprocessor comes from.
[56] And that has two pieces as well.
[57] And that is the control, which is kind of the brain of the processor.
[58] And the what's called the arithmetic unit, it's kind of the brawn of the computer.
[59] So if you think of as a human body, the arithmetic unit, the thing that does the number crunching is the body and the control is the brain.
[60] So those five pieces, input, output, memory, arithmetic unit, and control have been computers since the very dawn, and the last two are considered the processor.
[61] So a microprocessor simply means a processor that fits on a microchip, and that was invented about, you know, 40 years ago, was the first microprocessor.
[62] It's interesting that you refer to the arithmetic unit as the, like you connected to the body and the controllers of the brain.
[63] brain.
[64] So I guess I never thought of it that way.
[65] It's a nice way to think of it because most of the actions the microprocessor does in terms of literally sort of computation.
[66] But the microprocessor does computation.
[67] It processes information.
[68] And most of the thing it does is basic arithmetic operations.
[69] What are the operations, by the way?
[70] It's a lot like a calculator.
[71] So there are add instructions, subtract instructions, multiply and divide.
[72] And kind of the brilliance of the invention of the computer or the processor is that it performs very trivial operations, but it just performs billions of them per second.
[73] And what we're capable of doing is writing software that can take these very trivial instructions and have them create tasks that can do things better than human beings.
[74] beings can do today.
[75] Just looking back through your career, did you anticipate the kind of how good we would be able to get at doing these small, basic operations?
[76] Like how many surprises along the way where you just kind of set back and said, wow, I didn't expect it to go this fast, this good?
[77] Well, the fundamental driving force is what's called Moore's Law, which was named after Gordon Moore, who's a Berkeley alumnus, and he made this observation very early in what are called semiconductors.
[78] And semiconductors are these ideas.
[79] You can build these very simple switches, and you can put them on these microchips.
[80] And he made this observation over 50 years ago.
[81] He looked at a few years and said, I think what's going to happen is the number of these little switches called transistors is going to double every year for the next decade.
[82] And he said this in 1965.
[83] And in 1975, he said, well, maybe it's going to double every two years.
[84] And that, what other people since named that Moore's law, guided the industry.
[85] And when Gordon Moore made that prediction, he, he wrote a paper back in, I think, in the 70s and said, not only did this going to happen, he wrote, what would be the implications of that?
[86] And in this article from 1965, he shows ideas like computers being in cars and computers being in something that you would buy in the grocery store and stuff like that.
[87] So he kind of not only called his shot, he called the implications of it.
[88] So if you were in the computing field and if you believed Morris prediction, he kind of said what would be happening in the future.
[89] So it's not kind of, it's at one sense, this is what was predicted and you could imagine it was easy to believe that Morris Law was going to continue, and so this would be the implications.
[90] On the other side, there were these shocking events in your life.
[91] Like, I remember driving in Marin across the Bay in San Francisco and seeing a bulletin board at a local civic center and it had a URL on it.
[92] And it was like, for the people at the time, these first URLs, and that's the, you know, WWW Select stuff with the HTTP.
[93] People thought it looked like alien writing, right?
[94] You'd see these advertisements and commercials or bulletin boards that had this alien writing on it.
[95] So for the lay people, it's like, what the hell is going on here?
[96] And for those people in the industry, it's, oh, my God, this stuff is getting so popular.
[97] It's actually leaking out of our nerdy world into the real world.
[98] So, I mean, there was events like that.
[99] I think another one was, I remember in the early days of the personal computer, when we started seeing advertisements in magazines for personal computers, like it's so popular that it's made the newspapers.
[100] So at one hand, you know, Gordon Moore predicted it and you kind of expected it to happen, but when it really hit and you saw it affecting society, it was shocking.
[101] So maybe taking a step back and looking both engineering and philosophical perspective, what what do you see as the layers of abstraction in a computer?
[102] Do you see a computer as a set of layers of abstractions?
[103] Yeah, I think that's one of the things that computer science fundamentals is these things are really complicated in the way we cope with complicated software and complicated hardware is these layers of abstraction.
[104] And that simply means that we suspend disbelief and pretend that the only thing you know, is that layer.
[105] And you don't know anything about the layer below it.
[106] And that's the way we can make very complicated things.
[107] And probably it started with hardware.
[108] That's the way it was done.
[109] But it's been proven extremely useful.
[110] And, you know, I would say in a modern computer today, there might be 10 or 20 layers of abstraction.
[111] And they're all trying to kind of enforce this contract is all you know is this interface.
[112] There's a set of commands that, you know, you can are allowed to use and you stick to those commands and we will faithfully execute that and it's like peeling the layers of a london of an onion and you get down there's a new set of layers and so forth so for uh people who want to study computer science the exciting part about it is you can uh keep peeling those layers you take your first course and you might learn to program in python and then you can take a follow -on course and you can get it down to a lower level language like C, and you know, you can go and then you can, if you want to, you can start getting into the hardware layers and you keep getting down all the way to that transistor that I talked about that Gordon Moore predicted.
[113] And you can understand all those layers all the way up to the highest level application software.
[114] So it's a very kind of magnetic field.
[115] If you're interested, you can go into any depth and keep going.
[116] And particularly, what's happening right now, or what's happened in software last 20 years and recently in hardware, there's getting to be open source versions of all of these things.
[117] So what open source means is what the engineer, the programmer designs, it's not secret that belonging to a company.
[118] It's out there on the worldwide web so you can see it.
[119] So you can look at, for lots of pieces of software that you use, you can see exactly what the programmer does if you want to get involved.
[120] That used to stop at the hardware.
[121] Recently, there's been an effort to make open source hardware and those interfaces open so you can see that.
[122] So instead of before you had to stop at the hardware, you can now start going layer by layer below that and see what's inside there.
[123] So it's a remarkable time that for the interested individual can really see in great depth what's really going on and the computers that power everything that we see around us.
[124] Are you thinking also when you say open source at the hardware level, is this going to the design architecture instruction set level or is it going to literally the, you know, the manufacture of the actual hardware, of the actual chips, whether that's A6 specialized a particular domain or the general.
[125] Yeah, so let's talk about that a little bit.
[126] So when you get down to the bottom layer of software, the way software talks to hardware is in a vocabulary.
[127] And what we call that vocabulary, we call that the words of that vocabulary called instructions.
[128] And the technical term for the vocabulary is instruction set.
[129] So those instructions are like what we talked about earlier.
[130] There can be instructions like add, subtract, and multiply, divide.
[131] there's instructions to put data into memory, which is called a store instruction, and to get data back, which is called the load instructions.
[132] And those simple instructions go back to the very dawn of computing.
[133] In 1950, the commercial computer had these instructions.
[134] So that's the instruction set that we're talking about.
[135] So up until, I'd say, 10 years ago, these instruction sets are all proprietary.
[136] So a very popular one is owned by Intel, The one that's in the cloud and in all the PCs in the world, Intel owns that instruction set.
[137] It's referred to as the X -86.
[138] There have been a sequence of ones that the first number was called 80 -86, and since then there's been a lot of numbers, but they all end in 86.
[139] So there's been that kind of family of instruction sets.
[140] And that's proprietary.
[141] And that's proprietary.
[142] The other one that's very popular is from Arm.
[143] that kind of powers all the cell phones in the world, all the iPads in the world, and a lot of things that are so -called Internet of Things devices.
[144] Arm, and that one is also proprietary.
[145] Arm will license it to people for a fee, but they own that.
[146] So the new idea that got started at Berkeley kind of unintentionally 10 years ago is early in my career we pioneered a way to do of these.
[147] vocabulary's instruction sets that was very controversial at the time.
[148] At the time in the 1980s, conventional wisdom was these vocabularies instruction sets should have, you know, powerful instructions.
[149] So polysyllabic kind of words you can think of that.
[150] And so instead of just add, subtract, and multiply, they would have polynomial divide or sort a list.
[151] And the hope was of those powerful vocabularies, that'd make it easier for software.
[152] So we thought that didn't make sense for microprocessors.
[153] There was people at Berkeley and Stanford and IBM who argued the opposite, and what we called that was a reduced instruction set computer.
[154] And the abbreviation was RISC, and typical for computer people, we use the abbreviations and start pronouncing it.
[155] So risk was the thing.
[156] So we said for microprocessors, which with Gordon's Moore is changing really fast, we think it's better to have a pretty simple set of instructions, reduced set of instructions, that that would be a better way to build microprocessors since they're going to be changing so fast due to Morris Law.
[157] And then we'll just use standard software to cover the, use, generate more of those simple instructions.
[158] And one of the pieces of software that's in that software stack going between these layers of abstractions is called a compiler.
[159] And it's basically translates.
[160] It's a translator between levels.
[161] We said the translator will handle that.
[162] So the technical question was, well, since there are these reduced instructions, you have to execute more of them.
[163] Yeah, that's right.
[164] But maybe you can execute them faster.
[165] Yeah, that's right.
[166] They're simpler so they could go faster, but you have to do more of them.
[167] So what's that tradeoff look like?
[168] And it ended up that we ended up executing maybe 50 % more instructions, maybe a third more instructions, but they ran four times faster.
[169] So this risk, controversial, risk ideas proved to be maybe factors of three or four better.
[170] I love that this idea was controversial and almost kind of like rebellious.
[171] So that's in the context of what was more conventional is the complex instructional side computing.
[172] So how did you pronounce that?
[173] SISC.
[174] CISC versus risk.
[175] Risk versus sisk.
[176] And believe it or not, this sounds very, very.
[177] very, you know, who cares about this, right?
[178] It was, it was violently debated at several conferences.
[179] It's like, what's the right way to go?
[180] And people thought risk was, you know, was de -evolution.
[181] We're going to make software worse by making the instructions simpler and their fierce debates at several conferences in the 1980s.
[182] And then later in the 80s, it kind of settled to these benefits.
[183] It's not completely intuitive to me, why risk has, for the most part one.
[184] Why did that happen?
[185] Yeah, yeah, and maybe I can sort of say a bunch of dumb things that could lay the land for further commentary.
[186] So to me, this is kind of interesting thing.
[187] If you look at C++ versus C, with modern compilers, you really could write faster code with C++.
[188] So relying on the compiler to reduce your complicated code into something simple and fast.
[189] So to me, comparing risk, maybe this is a dumb question, but why is it that focusing the definition, the design, the instruction set on very few simple instructions in the long run provide faster execution versus coming up with, like you said, a ton of complicated instructions then over time, you know, years, maybe decades, you come up with compilers that can reduce those into simple instructions for you.
[190] Yeah, so let's try and split that into two pieces.
[191] So if the compiler can do that for you, if the compiler can take, you know, a complicated program and produce simpler instructions, then the programmer doesn't care, right?
[192] Programmer, I don't care, just how fast is the computer I'm using, how much does it cost?
[193] And so what happened kind of in the software industry is right around before the 1980s, critical pieces of software were still written not in languages like C or C++.
[194] They were written in what's called assembly language, where there's this kind of humans writing exactly at the instructions at the level that a computer can understand.
[195] And so they were writing, add, subtract, multiply, you know, instructions.
[196] It's very tedious.
[197] But the belief was to write this lowest level of software that people use, which are called operating systems, they had to be written in a semi -language because these high -level languages were just too inefficient.
[198] They were too slow or the programs would be too big.
[199] So that changed with a famous operating system called Unix, which is kind of the grand.
[200] grandfather of all the operating systems today.
[201] So the Unix demonstrated that you could write something as complicated as an operating system in a language like C. So once that was true, then that meant we could hide the instruction set from the programmer.
[202] And so that meant then it didn't really matter.
[203] The programmer didn't have to write lots of these simple instructions.
[204] That was up to the compiler.
[205] So that was part of our arguments for risk.
[206] is if you were still writing an assembly language, there's maybe a better case for SIS constructions.
[207] But if the compiler can do that, it's going to be, you know, that's done once, the computer translates it once, and then every time you run the program, it runs at this potentially simpler instructions.
[208] And so that was the debate, right?
[209] And people would acknowledge that the simpler instructions could lead to a faster computer.
[210] You can think of monosyllabic instructions.
[211] you could say them, you know, if you think of reading, you could probably read them faster or say them faster than long instructions.
[212] The same thing, that analogy works pretty well for hardware.
[213] And as long as you didn't have to read a lot more of those instructions, you could win.
[214] So that's kind of, that's the basic idea for risks.
[215] But it's interesting that the, in that discussion of Unix and C, that there's only one step of levels of abstraction from the code that's really the closest to the machine, to the code that's written by human.
[216] It's, at least to me, again, perhaps a dumb intuition, but it feels like there might have been more layers, sort of different kinds of humans stacked atop of each other.
[217] So what's true and not true about what you said is several of the layers of software, like, so if you, here, two layers would be, suppose we just talk about two layers.
[218] That would be the operating system like you get from Microsoft or from Apple like iOS or the Windows operating system.
[219] And let's say applications that run on top of it like Word or Excel.
[220] So both the operating system could be written in C and the application could be written in C. But you could construct those two layers.
[221] And the applications absolutely do call upon the operating system.
[222] And the change was that both of them can be written in higher level languages.
[223] So it's one step of a translation, but you can still build many layers of abstraction of software on top of that.
[224] And that's how things are done today.
[225] So still today, many of the layers that you'll deal with, you may deal with debuggers, you may deal with linkers, there's libraries.
[226] Many of those today will be written in C++, say, even though that language is pretty ancient.
[227] And even the Python interpreter is probably written in C++.
[228] So lots of layers there are probably written in these some old -fashioned efficient languages that still take one step to produce these instructions, produce risk instructions, but they're composed.
[229] Each layer of software invokes one another through these interfaces, and you can get 10 layers of software that way.
[230] So in general, the risk was developed here, Berkeley?
[231] It was kind of the three places that were these radicals that advocated for this against the rest of the community were IBM, Berkeley, and Stanford.
[232] you're one of these radicals and how radical did you feel how confident did you feel how doubtful were you that risk might be the right approach because it may you can also into it that is kind of taking a step back into simplicity not forward into simplicity yeah no it was easy to make yeah it was easy to make the argument against it well this was my colleague John Hennessy at Stanford and I, we were both assistant professors.
[233] And for me, I just believed in the power of our ideas.
[234] I thought what we were saying made sense.
[235] Morse law is going to move fast.
[236] The other thing that I didn't mention is one of the surprises of these complex instruction sets.
[237] You could certainly write these complex instructions if the programmer is writing them themselves.
[238] It turned out to be kind of difficult for the compiler to generate those complex instructions.
[239] Kind of ironically, you'd have to find the right circumstances that just exactly fit this complex instruction.
[240] It was actually easier for the compiler to generate these simple instructions.
[241] So not only did these complex instructions make the hardware more difficult to build, often the compiler wouldn't even use them.
[242] And so it's harder to build.
[243] The compiler doesn't use them that much.
[244] The simple instructions go better with Morris Law.
[245] that the number of transistors is doubling every two years.
[246] So we're going to have, you know, you want to reduce the time to design the microprocessor.
[247] That may be more important than these number of instructions.
[248] So I think we believed in the, that we were right, that this was the best idea.
[249] Then the question became in these debates, well, yeah, that's a good technical idea.
[250] But in the business world, this doesn't matter.
[251] There's other things that matter.
[252] It's like arguing that if there's a, standard with the railroad tracks and you've come up with a better with but the whole world is covered in railroad tracks so you'll your ideas have no chance of success commercial success it was technically right but commercially it'll be insignificant yeah there's it's kind of sad that this world the history of human civilization is full of good ideas that uh lost because somebody else came along first with a worse idea and it's good that in the computing world at least some of these I said, well, you could, I mean, there's probably still SISC people that say, yeah, there still are.
[253] Well, and what happened was, what was interesting, Intel, a bunch of the SISP companies with SISC instruction sets of vocabulary, they gave up, but not Intel.
[254] What Intel did, to its credit, because Intel's vocabulary was in the personal computer.
[255] And so that was a very valuable vocabulary, because the way we distribute.
[256] software is in those actual instructions.
[257] It's in the instructions of that instruction set.
[258] So you don't get that source code, what the programmers wrote.
[259] You get, after it's been translated into the lowest level, that's, if you were to get a floppy disk or download software, it's in the instructions of that instruction set.
[260] So the X -86 instruction set was very valuable.
[261] So what Intel did cleverly and amazingly is they had their chips in hardware do a translation step.
[262] They would take these complex instructions and translate them into essentially in risk instructions in hardware on the fly at gigahertz clock speeds, and then any good idea that risk people had they could use and they could still be compatible with this really valuable PC software base which also had very high volumes, you know, 100 million personal computers per year.
[263] So the SISC architecture in the business world was actually one in this PC era.
[264] So just going back to the time of designing risk, when you design an instruction set architecture, do you think like a programmer, do you think like a microprocessor engineer, do you think like an artist, a philosopher, do you think in software and hardware?
[265] I mean, is it art?
[266] How is it science?
[267] Yeah, I'd say, I think designing a good instruction set is an art, and I think you're trying to balance the simplicity and speed of execution with how well, easy it will be for compilers to use it.
[268] You're trying to create an instruction set that everything in there can be used by compilers.
[269] There's not things that are missing that will make it difficult for.
[270] for the program to run, they run efficiently, but you want it to be easy to build as well.
[271] So it's that kind of, so you're thinking, I'd say you're thinking hardware, trying to find a hardware software compromise that'll work well.
[272] And it's, you know, it's a matter of taste, right?
[273] It's kind of fun to build instruction sets.
[274] It's not that hard to build an instruction set, but to build one that catches on and people use, you know, you have to be fortunate to be the right in the right time or have a design that people really like.
[275] Are you using metrics?
[276] So is it quantifiable?
[277] Because you kind of have to anticipate the kind of programs that people are right ahead of time.
[278] So is that, can you use numbers, can you use metrics, can you quantify something ahead of time or is this again, that's the art part where you're kind of anticipated?
[279] No, it's a big change, kind of what happened I think from Hennesses in my perspective in the 1980s, what happened was going from kind of really, you know, taste and hunches to quantifiable.
[280] And in fact, he and I wrote a textbook at the end of the 1980s called Computer Architecture, a quantitative approach.
[281] I heard of that.
[282] And it's the thing, it had a pretty big impact in the field because we went from textbooks that kind of listed, so here's what this computer does, and here's the pros and cons, and here's what this computer does in pros and cons.
[283] to something where there were formulas and equations where you could measure things.
[284] So specifically for instruction sets, what we do and some other fields do is we agree upon a set of programs, which we call benchmarks, and a suite of programs.
[285] And then you develop both the hardware and the compiler, and you get numbers on how well your computer does, given its instruction set and how well you implemented it in your microprocessor and how good your compilers are.
[286] In computer architecture, using professors terms, we grade on a curve rather than grade on an absolute scale.
[287] So when you say, you know, these programs run this fast, well, that's kind of interesting, but how do you know it's better?
[288] Well, you compare it to other computers of the same time.
[289] So the best way we know how to make, turn it into, kind of more science and experimental and quantitative is to compare yourself to other computers of the same era that have the same access to the same kind of technology on commonly agreed benchmark programs.
[290] So maybe to toss up two possible directions we can go.
[291] One is what are the different tradeoffs in designing architectures?
[292] We've been already talking about Cisco and Risk, but maybe a little bit more detail in terms of specific features that you were thinking about.
[293] And the other side is, what are the metrics that you're thinking about when looking at these tradeoffs?
[294] Yeah, let's talk about the metrics.
[295] So during these debates, we actually had kind of a hard time explaining, convincing people the ideas.
[296] And partly, we didn't have a formula to explain it.
[297] And a few years into it, we hit upon the formula that helped explain what was going on.
[298] And I think if we can do this, see how it works orally to do this.
[299] So the, the, It's if I can do a formula orally.
[300] So fundamentally, the way you measure performance is how long does it take a program to run?
[301] If you have 10 programs, and typically these benchmarks were sweet because you'd want to have 10 programs so they could represent lots of different applications.
[302] So for these 10 programs, how long they take to run?
[303] When now, when you're trying to explain why it took so long, you could factor how long it takes a program to run into three factors.
[304] One of the first one is how many instructions did it take to execute.
[305] So that's the, that's the, what we've been talking about, you know, the instructions of academy.
[306] How many did it take?
[307] All right.
[308] The next question is how long did each instruction take to run on average?
[309] So you'd multiply the number of instructions times how long it took to run and that could shoot time.
[310] Okay, so that's, but now let's look at this metric of how long did it take the instruction to run.
[311] Well, it turns out the way we could be.
[312] build computers today is they all have a clock.
[313] And you've seen this when you, if you buy a microprocessor, it'll say 3 .1 gigahertz or 2 .5 gigahertz and more gigahertz is good.
[314] Well, what that is, is the speed of the clock.
[315] So 2 .5 gigahertz turns out to be four billionths of instruction or four nanoseconds.
[316] So that's the clock cycle time.
[317] But there's another factor, which is what's the average number of clock cycles that takes per instruction?
[318] So it's number of instructions, average number of clock cycles, and the clock cycle time.
[319] So in these risk -sist debates, they would concentrate on, but risk needs to take more instructions.
[320] And we'd argue what maybe the clock cycle is faster.
[321] But what the real big difference was, was the number of clock cycles per instruction.
[322] Our instruction, that's fascinating.
[323] What about the mess of, the beautiful mess of parallelism in the whole picture?
[324] Parallism, which has to do with, say, how many instructions could execute in parallel and things like that, you could think of that as affecting the clock cycles per instruction because it's the average clock cycles per instruction.
[325] So when you're running a program, if it took 100 billion instructions, and on average it took two clock cycles per instruction, and they were four nanoseconds, you could multiply that out and see how long it took to run.
[326] And there's all kinds of tricks to try and reduce the number of clock cycles per instruction.
[327] But it turned out that the way they would do these complex instructions is they would actually build what we would call an interpreter in a very simple hardware interpreter.
[328] But it turned out that for the SISC instructions, if you had to use one of those interpreters, it would be like 10 clock cycles per instruction where the risk instructions could be two.
[329] So there'd be this factor of five advantage in clock cycles per instruction.
[330] We have to execute, say, 25 or 50 % more instructions, so that's where the wind would come.
[331] And then you could make an argument whether the clock cycle times are the same or not.
[332] But pointing out that we could divide the benchmark results, time per program, into three factors.
[333] And the biggest difference in risk consists was the clock cycles per, you execute a few more instructions, but the clock cycles per instruction is much less.
[334] And that was what this debate was.
[335] Once we made that argument, then people say, oh, okay, I get it.
[336] And so we went from, it was outrageously controversial in, you know, 1982 that maybe probably by 1984 or so.
[337] people said, oh yeah, technically they've got a good argument.
[338] What are the instructions in the risk instruction set, just to get an intuition?
[339] Okay.
[340] 1995, I was asked to protect the future of what micropocrypha is the future.
[341] So I, and I, as I'd seen these predictions, and usually people predict something outrageous just to be entertaining, right?
[342] And so my prediction for 2020 was, you know, things are going to be pretty much, they're going to look.
[343] very familiar to what they are.
[344] And they are.
[345] And if you were to read the article, you know, the things I said are pretty much true, the instructions that have been around forever are kind of the same.
[346] And that's the outrageous prediction, actually, given how fast computers have been growing.
[347] Well, and, you know, Morris Law was going to go on.
[348] We thought for 25 more years, you know, who knows.
[349] But kind of the surprising thing.
[350] In fact, you know, Hennessy and I, you know, won the ACM AMTuring Award for both the risk construction set contributions and for that textbook I mentioned.
[351] But, you know, we're surprised that here we are 35, 40 years later after we did our work.
[352] And the conventionalism of the best way to do instruction sets is still those risk construction sets that looked very similar to what we looked like we did in the 1980s.
[353] So, surprisingly, there hasn't been some.
[354] radical new idea, even though we have, you know, a million times as many transistors as we had back then.
[355] But what are the basic constructions and how did they change over the years?
[356] So I were talking about addition, subtracted, these are the...
[357] Okay, the specific...
[358] So the things that are in a calculator are in a computer.
[359] So any of the buttons that are in the calculator and the computer, so the...
[360] So if there's a memory function key, and like I said, those are turns into putting something in memories called a store...
[361] bring something back, so I'll load.
[362] Just a quick tangent, when you say memory, what does memory mean?
[363] Well, I told you there were five pieces of a computer, and if you remember in a calculator, there's a memory key, so you want to have intermediate calculation and bring it back later.
[364] So you'd hit the memory plus key, M plus maybe, and it would put that into memory, and then you'd hit an RM like recurrent instruction, and it'd bring it back into display, so you don't have to type it, you don't have to write it down and bring it back again.
[365] So that's exactly what memory is.
[366] You can put things into it as temporary storage and bring it back when you need it later.
[367] So that's memory and loads and stores.
[368] But the big thing, the difference between a computer and a calculator is that the computer can make decisions.
[369] And amazingly, decisions are as simple is, is this value less than zero?
[370] Or is this value bigger than that value?
[371] So those instructions, which are called conditional branch instructions, is what give computers all its power.
[372] If you were in the early days of computing before what's called the general purpose microprocessor, people would write these instructions kind of in hardware, but it couldn't make decisions.
[373] It would just, it would do the same thing over and over again.
[374] With the power of having branch instructions, it can look at things and make decisions automatically.
[375] And it can make these decisions, you know, billions of times per second.
[376] And amazingly enough, we can get, you know, thanks to advances in machine learning, We can create programs that can do something smarter than human beings can do.
[377] But if you go down that very basic level, it's the instructions are the keys on the calculator, plus the ability to make decisions of these conditional branch instructions.
[378] And all decisions fundamentally can be reduced down to these branch instructions.
[379] Yeah.
[380] So in fact, and so going way back in the stack, back to, you know, we did four risk projects at Berkeley in the 1980s.
[381] They did a couple at Stanford in the 1980s.
[382] In 2010, we decided we wanted to do a new instruction set, learning from the mistakes of those risk architecture of 1980s, and that was done here at Berkeley almost exactly 10 years ago.
[383] And the people who did it, I participated, but Christosanovich and others drove it.
[384] They called it Risk Five to honor those risks, the four risk projects of the 1980s.
[385] So what does Risk Five involve?
[386] So Risk Five is another.
[387] instruction set of vocabulary, it's learned from the mistakes of the past, but it still has, if you look at the, there's a core set of instructions that's very similar to the simplest architectures from the 1980s.
[388] And the big difference about RIS 5 is it's open.
[389] So I talked early about proprietary versus open and software.
[390] So this is an instruction set, so it's a vocabulary.
[391] It's not, open source implementations, open source processors that people can use.
[392] Where do you see that going?
[393] It's a really exciting possibilities, but you're just like in the scientific American if you were to predict 10, 20, 30 years from now, that kind of ability to utilize open source instruction set architectures like Risk 5.
[394] What kind of possibilities might that unlock?
[395] Yeah, and so just to make it clear, because this is confusing, The specification of Risk 5 is something that's like in a textbook.
[396] There's books about it.
[397] So that's defining an interface.
[398] There's also the way you build hardware is you write it in languages.
[399] They're kind of like C, but they're specialized for hardware that gets translated into hardware.
[400] And so these implementations of this specification are what are the open source.
[401] So they're written in something that's called Verilog or VHDL, but it's special.
[402] put up on the web, just like you can see the C++ code for Linux on the web.
[403] So that's the open instruction set enables open source implementations of RIS 5.
[404] So you can literally build a processor using this instruction set.
[405] People are.
[406] People are.
[407] So what happened to us, the story was this was developed here for our use to do our research.
[408] And we made it, we licensed under the Berkeley software distribution license, like a lot of things get licensed here.
[409] So other academics use it.
[410] They wouldn't be afraid to use it.
[411] And then about 2014, we started getting complaints that we were using it in our research and in our courses, and we got complaints from people in industry, is why did you change your instruction set between the fall and the spring semester?
[412] And, well, we get complaints from industrial time.
[413] Why the hell do you care what we do with our instruction set?
[414] And then when we talked to them, we found out there was this thirst for this idea of an open instruction.
[415] set architecture.
[416] And they had been looking for one.
[417] They stumbled upon ours at Berkeley thought it was, boy, this looks great.
[418] We should use this one.
[419] And so once we realized there is this need for an open instruction set architecture, we thought that's a great idea.
[420] And then we started supporting it and tried to make it happen.
[421] So this was, you know, kind of, we accidentally stumbled into this need and our timing was good.
[422] And so it's really taking off.
[423] There's a, you know, Universities are good at starting things, but they're not good at sustaining things.
[424] So like Linux has a Linux foundation, there's a RIS 5 foundation that we started.
[425] There's an annual conferences, and the first one was done, I think, January of 2015, and the one that was just last December, and it had 50 people at it.
[426] And this one last December had 1 ,700 people were at it, and the companies excited all over the world.
[427] So if predicting into the future, you know, if we were doing 25 years, I would predict that RIS 5 will be, you know, possibly the most popular instruction set architecture out there because it's a pretty good instruction set architecture and it's open and free.
[428] And there's no reason lots of people shouldn't use it.
[429] And there's benefits, just like Linux is so popular today compared to 20 years ago.
[430] I and you know the fact that you can get access to it for free you can modify it you can improve it for all those same arguments and so people collaborate to make it a better system for everybody to use and that works in software and I expect the same thing will happen in hardware so if you look at the arm intel mips if you look at just the lay of the land and what do you think just for me because I'm not familiar how difficult this kind of transition would how much challenges this kind of transition would entail.
[431] Do you see, let me ask my dumb question in other words.
[432] No, that's, I know where you're headed.
[433] Well, there's a bunch, I think the thing you point out, there's these very popular proprietary instruction sets, the x86 and so how do we move to risk five potentially in sort of in the span of five, 10, 20 years, a kind of unification.
[434] And given that the devices, the kind of way we use devices, IOT, mobile devices, and the cloud keeps changing.
[435] Well, part of it, a big piece of it is the software stack.
[436] And what right now, looking forward, there seem to be three important markets.
[437] there's the cloud.
[438] And the cloud is simply companies like Alibaba and Amazon and Google, Microsoft, having these giant data centers with tens of thousands of servers in maybe a hundred of these data centers all over the world.
[439] And that's what the cloud is.
[440] So the computer that dominates the cloud is the X -86 instruction sets.
[441] So the instruction sets used in the cloud are the X -86.
[442] Almost 100 % of that today is X -86.
[443] The other big thing are cell phones and laptops.
[444] Those are the big things today.
[445] I mean, the PC is also dominated by the X -86 instructor set, but those sales are dwindling.
[446] You know, there's maybe 200 million PCs a year, and is there one and a half billion phones a year?
[447] There's numbers like that.
[448] So for the phones, that's dominated by arm.
[449] And now, and a reason that, I talked about the software stacks, and the third category is Internet of Things, which is basically embedded devices, things in your cars and your microwaves, everywhere.
[450] So what's different about those three categories is for the cloud, the software that runs in the cloud is determined by these companies, Alibaba, Amazon, Google, Microsoft.
[451] So they control that software stack.
[452] For the cell phones, there's both for Android and Apple, there's software they supply, but both of them have marketplaces where anybody in the world can build software.
[453] And that software is translated or compiled down and shipped in the vocabulary of arm.
[454] So that's what's referred to as binary compatible because the actual, it's the instructions are turned into numbers, binary numbers, and shipped around the world.
[455] And so I said, just a quick interruption, so arm, what is arm?
[456] Arm is an instruction set like a risk -based.
[457] Yeah, it's a risk -based instruction set.
[458] It's a proprietary one.
[459] Arm stands for advanced risk machine, ARM is the name where the company is.
[460] So it's a proprietary risk architecture.
[461] So, and it's been around for a while, and it's, you know, surely the most popular instruction set in the world right now.
[462] They, every year, billions of chips are using.
[463] the arm design in this post -PC era.
[464] Was it one of the early risk adopters of the risk idea?
[465] The first arm goes back, I don't know, 86 or so.
[466] So Berkeley instead did their work in the early 80s.
[467] Their arm guys needed an instruction set, and they read our papers, and it heavily influenced them.
[468] So getting back my story, what about Internet of Things?
[469] Well, software is not shipped in Internet of Things.
[470] It's the embedded device, people control that software stack.
[471] So the opportunities for Risk 5, everybody thinks, is in the Internet of Things, embedded things, because there's no dominant player like there is in the cloud or the smartphones.
[472] And, you know, it doesn't have a lot of licenses associated with, and you can enhance the instruction set if you want.
[473] And people have looked at instruction sets and think it's a very good instruction set.
[474] So it appears to be very popular there.
[475] It's possible that in the cloud people, those companies control their software stacks, so it's possible that they would decide to use Risk 5 if we're talking about 10 and 20 years in the future.
[476] The one that would be harder would be the cell phones since people ship software in the arm instruction set, that you'd think be the more difficult one.
[477] But if Risk 5 really catches on, in, you know, you could, in a period of a decade, you can imagine that's changing over, too.
[478] Do you have a sense why Risk 5 or Arm has dominated?
[479] You mentioned these three categories.
[480] Why did Arm dominate, why does it dominate the mobile device base?
[481] And maybe, my naive intuition is that there are some aspects of power efficiency that are important that somehow come along with risk.
[482] Well, part of it is for these old SIS construction sets, like in the X -86, it was more expensive to these, you know, they're older, so they have disadvantages in them because they were designed 40 years ago.
[483] But also they have to translate in hardware from cis constructions to risk constructions on the fly.
[484] And that costs both silicon area that the chips are bigger to be able to do that.
[485] And it uses more power.
[486] So Arm has, which has, you know, followed this risk philosophy is seen to be much more energy efficient.
[487] And in today's computer world, both in the cloud and the cell phone and internet of things, it isn't, the limiting resource isn't the number of transitions you can fit in the chip.
[488] It's what, how much power can you dissipate for your application?
[489] So by having a reduced instruction set, that's possible to have a simpler hardware, which is more energy efficient.
[490] And energy efficiency is incredibly important in the cloud, when you have tens of thousands of computers in a data center, you want to have the most energy efficient ones there as well.
[491] And of course, for embedded things running off of batteries, you want those to be energy efficient and the cell phones too.
[492] So I think it's believed that there's a energy disadvantage of using these more complex instruction set architectures.
[493] So the other aspect of this is if we look at Apple, Qualcomm, Samsung, Huawei, all use the arm architecture and yet the performance of the systems varies i mean i don't know whose opinion you take on but you know apple for some reason seems to perform better in terms of these implementation these architecture so where's the magic enter the picture how's that happened yeah so what arm pioneered was a new business model is they said well here's our proprietary instruction set and we'll give you two ways to do it either will give you one of these implementations written in things like C called Verilog, and you can just use ours.
[494] You have to pay money for that.
[495] Not only will give you the, you know, will license you to do that, or you could design your own.
[496] And so we're talking about numbers like tens of millions of dollars to have the right to design your own since they, it's the instruction set belongs to them.
[497] So Apple got one of those, the right to build their own.
[498] Most of the other people who build like Android phones just get one of the designs from ARM to do it themselves.
[499] So Apple developed a really good microprocessor design team.
[500] They acquired a very good team that was building other microprocessors and brought them into the company to build their designs.
[501] So the instructions are the same, the specifications are the same, but their hardware design is much more efficient than I think everybody else's.
[502] And that's given Apple an advantage in the marketplace and that the iPhones tend to be faster than most everybody else's phones that are there.
[503] It'd be nice to be able to jump around and kind of explore different little sides of this, but let me ask one the sort of romanticized question.
[504] What to you is the most beautiful aspect or idea of risk instruction set or instruction sets or this work that you've done?
[505] You know, I'm, you know, I, I, has always attracted to the idea of, you know, small is beautiful, is that the temptation in engineering, it's kind of easy to make things more complicated.
[506] It's harder to come up with a, it's more difficult, surprisingly, they come up with a simple, elegant solution.
[507] And I think there's a bunch of small features of risk in general that, you know, where you can see this examples of keeping it simpler.
[508] makes it more elegant.
[509] Specifically in Risk 5, which, you know, I was kind of the mentor in the program, but it was really driven by Krista Osanovich and two graduate students, Andrew Waterman, Jensip Lee, is they hit upon this idea of having a subset of instructions, a nice, simple subset instructions, like 40 -ish instructions, that all software, the software staff for Risk 5 can run just on those 40 instructions.
[510] And then they provide optional features that could accelerate the performance instructions that if you needed them could be very helpful, but you don't need to half them.
[511] And that's a new, really a new idea.
[512] So RIS 5 has right now maybe five optional subsets that you can pull in, but the software runs without them.
[513] If you just want to build just the core 40 instructions, that's fine.
[514] You can do that.
[515] So this is fantastic educationally.
[516] You can explain computers.
[517] You only have to explain 40 instructions and not thousands of them.
[518] Also, if you invent some wild and crazy new technology like, you know, biological computing, you'd like a nice, simple instruction set.
[519] And you can risk five if you implement those core instructions.
[520] You can run, you know, really interesting programs on top of that.
[521] So this idea of a core set of instructions that the software stack runs on, And then optional features that if you turn them on, the compilers were used, but you don't have to, I think it's a powerful idea.
[522] What's happened in the past for the proprietary instruction sets is when they add new instructions, it becomes required piece.
[523] And so that all microprocessors in the future have to use those instructions.
[524] So it's kind of like, for a lot of people as they get older, they gain weight, right?
[525] that weight in age are correlated.
[526] And so you can see these instruction sets getting bigger and bigger as they get older.
[527] So RIS 5 lets you be as slim as you as a teenager and you only have to add these extra features if you're really going to use them rather than you have no choice.
[528] You have to keep growing with the instruction set.
[529] I don't know if the analogy holds up, but that's a beautiful notion that it's almost like a nudge towards, here's the simple core.
[530] That's the essential.
[531] And I think the surprising thing is still, if we brought back, you know, the pioneers from the 1950s and showed them the instructions that architectures, they'd understand it.
[532] They'd say, wow, that doesn't look that different.
[533] Well, you know, I'm surprised.
[534] And there's, it may be something, you know, to talk about philosophical things.
[535] I mean, there may be something powerful about those, you know, 40 or 50 instructions that all you need is these commands like these instructions that we talk.
[536] talked about, and that is sufficient to build, to bring up on, you know, artificial intelligence.
[537] And so it's a remarkable, surprising to me that is complicated as it is to build these things.
[538] You know, microprocessors where the line widths are narrower than the wavelength of light, you know, is this amazing technology is at some fundamental level.
[539] the commands that software executes are really pretty straightforward and haven't changed that much in decades.
[540] What a surprising outcome.
[541] So underlying all computation, all touring machines, all artificial intelligence systems perhaps might be a very simple instruction set like a risk five or it's, yeah, I mean, that's kind of what I said.
[542] I was interested to see.
[543] I had another more senior faculty colleague and he had written something in Scientific American.
[544] in, you know, his 25 years in the future, and his turned out about when I was a young professor, and he said, yep, I checked it.
[545] I was interested to see how that was going to turn out for me, and it's pretty, held up pretty well.
[546] But yeah, so there's probably, there's some, you know, there's, there's, there must be something fundamental about those instructions that were capable of creating, you know, intelligence from pretty primitive operations and just doing them really fast.
[547] You kind of mention a different maybe radical computational medium like biological and there's other ideas.
[548] So there's a lot of spaces in ASICs, so it's domain specific, and then there could be quantum computers and so we can think of all those different mediums and types of computation.
[549] What's the connection between swapping out different hardware systems in the instruction set.
[550] Do you see those as disjoint or are they fundamentally coupled?
[551] Yeah, so what's, so kind of if we go back to the history, you know, when Morris Law is in full effect and you're getting twice as many transistors every couple of years, you know, kind of the challenge for computer designers is how can we take advantage of that?
[552] How can we turn those transistors into better computers faster typically?
[553] And so there was an era, I guess, in the, 80s and 90s where computers were doubling performance every 18 months.
[554] And if you weren't around then, what would happen is you had your computer and your friend's computer, which was like a year or a year and a half newer, and it was much faster than your computer.
[555] And he or she could get their work done much faster than your technology.
[556] So people took their computers, perfectly good computers, and threw them away to buy a newer computer because the computer, one or two years later, was so much faster.
[557] So that's what the world was like in the 80s and 90s.
[558] Well, with the slowing down of Moore's law, that's no longer true, right?
[559] Now with not desk -side computers with the laptops, I only get a new desktop when it breaks, right?
[560] Oh, damn, the disc broke or this display broke, I got to buy a new computer.
[561] But before, you would throw them away because they were just so sluggish compared to the latest computers.
[562] So that's, you know, that's a huge change of what's gone on.
[563] So but since this lasted for decades, kind of programmers and maybe all of society is used to computers getting faster regularly.
[564] We now now believe those of us who are in computer design, it's called computer architecture, that the path forward is instead is to add accelerators that, that only work well for certain applications.
[565] So since Morris Law is slowing down, we don't think general purpose computers are going to get a lot faster.
[566] So the Intel processes of the world are not going to, haven't been getting a lot faster.
[567] They've been barely improved me, like a few percent a year.
[568] It used to be doubling every 18 months, and now it's doubling every 20 years, so it was just shocking.
[569] So to be able to deliver on what Morris Law used to do, we think what's going to happen, what is happening right now is people adding accelerators to their microprocessors that only work well for some domains.
[570] And by sheer coincidence, at the same time that this is happening, has been this revolution in artificial intelligence called machine learning.
[571] So with, as I'm sure your other guests have said, you know, AI had these two competing schools of thought is that we could figure out artificial intelligence by just writing the rules top down, or that was wrong.
[572] You had to look at data and infer what the rules are, the machine learning, and what's happened in the last decade or eight years is machine learning has won.
[573] And it turns out that machine learning, the hardware you build for machine learning is pretty much multiply.
[574] The matrix multiply is a key feature for the way machine learning is done.
[575] And so that's a godsend for computer designers.
[576] We know how to make matrix multiply run really fast.
[577] So general purpose microprocesses are slowing down.
[578] We're adding accelerators for machine learning that fundamentally are doing matrix multiplies much more efficiently than general purpose computers have done.
[579] So we have to come up with a new way to accelerate things.
[580] The danger of only accelerating one application is how important is that application.
[581] Turns it turns like machine learning gets used for all kinds of things.
[582] So serendipitously, we found something to accelerate that's widely applicable.
[583] And we don't even, we're in the middle of this revolution of machine learning.
[584] We're not sure what the limits of machine learning are.
[585] So this has been kind of a godsend.
[586] If you're going to be able to excel, deliver on improved performance, as long as people are moving their programs to be embracing more machine learning, we know how to give them more performance even as Moore's law is slowing down.
[587] And counterintuitively, the machine learning mechanism, you can say is domain specific, but because it's leveraging data, it's actually could be very broad in terms of the domains it could be applied in.
[588] Yeah, that's exactly right.
[589] Sort of, it's almost sort of, people sometimes talk about the idea of software 2 .0.
[590] We're almost taking another step up in the abstraction layer in designing machine learning systems, because now you're programming in the space of data, in the space of hyperparameters, it's changing fundamentally the nature of programming.
[591] And so the specialized devices that accelerate, the performance, especially neural network -based machine learning systems, might become the new general.
[592] Yeah, so the thing that's interesting point out, these are not tied together.
[593] The enthusiasm about machine learning about creating programs driven from data that we should figure out the answers from data rather than kind of top down, which is classically the way most programming is done and the way artificial intelligence used to be done, that's a movement that's going on at the same time.
[594] Coincidentally, and the first word machine learning is machines, right?
[595] So that's going to increase the demand for computing, because instead of programmers being smart, writing those things down, we're going to instead use computers to examine a lot of data to kind of create the programs.
[596] That's the idea.
[597] And remarkably, this gets used for all kinds of things very successfully.
[598] The image recognition, the language translation, the game playing, and, you know, it gets into pieces of the software stack like databases and stuff.
[599] that we're not quite sure how journal purpose it is but that's going on independent of this hardware stuff what's happening on the hardware side is more's law is slowing down right when we need a lot more cycles it's failing us it's failing us right when we need it because there's going to be a greater in piece a greater increase in computing and then this idea that we're going to do so -called domain specific here's a domain that your greatest fear is you'll make this one thing work and that'll help you know, five percent of the people in the world, well, this, this looks like it's a very general purpose thing.
[600] So the timing is fortuitous that if we can, perhaps, if we can keep building hardware that will accelerate machine learning the neural networks, that'll beat the timing will be right, that neural network revolution will transform your software, the so -called software 2 .0, and the software of the future will be very different from the software of the past.
[601] And just as our microprocessors, even though we're still going to have that same basic risk instructions to run a big pieces of the software stack like user interfaces and stuff like that, we can accelerate the kind of the small piece that's computational -impensive.
[602] It's not lots of lines of code, but it takes a lot of cycles to run that code, that that's going to be the accelerator piece.
[603] So that's what makes this from a computer designer's perspective a really interesting decade.
[604] But Hennessy and I talked about in the title of our Turing Warrants speech is a new golden age.
[605] We see this as a very exciting decade, much like when we were assistant professors and the risk stuff was going on.
[606] That was a very exciting time.
[607] It was where we were changing what was going on.
[608] We see this happening again, tremendous opportunities of people because we're fundamentally changing how software is built and how we're running it.
[609] So which layer of the abstraction do you think most of the...
[610] acceleration might be happening.
[611] If you look in the next 10 years, Google is working on a lot of exciting stuff with the TPU.
[612] There's closer to the hardware.
[613] There could be optimizations around the, closer to the instruction set, that could be optimization at the compiler level.
[614] It could be even at the higher level software stack.
[615] Yeah, it's going to be, if you think about the old risk -sysd debate, it was both, it was software hardware.
[616] It was the compilers, improving as well as the architecture improving, and that that's likely to be the way things are now.
[617] With machine learning, they're using domain -specific languages.
[618] The languages like TensorFlow and PyTorch are very popular with the machine learning people.
[619] Those are raising the level of distraction.
[620] It's easier for people to write machine learning in these domain -specific languages like a pie torch in TensorFlow.
[621] So where the most of the optimization might happen?
[622] Yeah, and so there'll be both the compiler piece and the hardware piece underneath it.
[623] So the fatal flaw for hardware people is to create really great hardware but not have brought along the compilers.
[624] And what we're seeing right now in the marketplace because of this enthusiasm around hardware for machine learning is getting probably billions of dollars invested in, startup companies.
[625] We're seeing startup companies go belly up because they focused on the hardware but didn't bring the software stack along.
[626] We talked about benchmarks earlier.
[627] So I participated in machine learning didn't really have a set of benchmarks.
[628] I think just two years ago they didn't have a set of benchmarks.
[629] And we've created something called ML Perf, which is machine learning benchmark suite.
[630] And pretty much the companies who didn't invest in the software stack couldn't run ML Perf very well and the ones who did invest in software stack did and we're seeing you know like kind of in computer architecture this is what happens you have these arguments about risk versus sisk people spend billions of dollars in the marketplace to see who wins and it's not it's not a perfect comparison but it kind of sorts things out and we're seeing companies go out of business and then companies like like there's a company in Israel called habana they came up with machine learning accelerators, they had good ML Perf scores.
[631] Intel had acquired a company earlier called Nirvana a couple years ago.
[632] They didn't reveal their M .L. Perf scores, which was suspicious.
[633] But a month ago, Intel announced that they're canceling the Nirvana product line, and they bought Habana for $2 billion, and Intel's going to be shipping Habana chips, which have hardware and software and run the ML Perf programs pretty well, and that's going to be their product line in the future.
[634] Brilliant.
[635] So maybe you're just a linker briefly.
[636] I'm L. Perf.
[637] I love metrics.
[638] I love standards that everyone can gather around.
[639] What are some interesting aspect to that portfolio of metrics?
[640] Well, one of the interesting metrics is, you know, what we thought, it was, you know, we, I was involved in the start.
[641] You know, we, that Peter Mattson is leading the effort from Google.
[642] Google got it off the ground.
[643] But we had to reach out to competitors and say, there's no benchmarks here.
[644] we think this is bad for the field.
[645] It'll be much better if we look at examples like in the risk days, there was an effort to create a, for the people in the risk community got together, competitors got together of building risk microprocessors to agree on a set of benchmarks that were called spec, and that was good for the industry.
[646] It's rather before the different risk architectures were arguing, well, you can believe my performance others, but those other guys are liars, and that didn't do any good.
[647] So we agreed on a set of benchmarks, and then we could figure out who was faster between the various risk architectures, but it was a little bit faster, but that grew the market rather than, you know, people were afraid to buy anything.
[648] So we argued the same thing would happen with MLPURF.
[649] You know, companies like Nvidia were, you know, maybe worried that it was some kind of trap, but eventually we all got together to create a set of benchmarks and do the right thing, right?
[650] And we agree on the results.
[651] And so we can see whether TPUs or GPUs or CPUs are really faster and how much the faster.
[652] And I think from an engineer's perspective, as long as the results are fair, you can live with it.
[653] Okay, you know, you kind of tip your hat to your colleagues at another institution.
[654] Boy, they did a better job than this.
[655] What you hate is if it's false, right, they're making claims and it's just marketing bullshit and, you know, and that's affecting sales.
[656] So from an engineer's perspective, as long as it's a fair comparison and we don't come in first place, that's too bad, but it's fair.
[657] So we wanted to create that environment for ML Perf.
[658] And so now, So there's 10 companies, I mean, 10 universities and 50 companies involved.
[659] So pretty much ML Perf has, is the way you measure machine learning performance.
[660] And it didn't exist even two years ago.
[661] One of the cool things that I enjoy about the Internet has a few downsides.
[662] But one of the nice things is people can see through BS a little better with the presence of these kinds of metrics.
[663] So it's really nice.
[664] companies like Google and Facebook and Twitter.
[665] Now, it's the cool thing to do.
[666] It's to put your engineers forward and to actually show off how well you do on these metrics.
[667] There's not sort of it, there's less of a desire to do marketing, less so.
[668] Am I sort of naive point?
[669] No, I think when I was trying to understand that, you know, what's changed from the 80s in this era, I think because of things like social networking, Twitter and stuff like that, if you put up, you know, a bull shit stuff, right, that's just, you know, purposely misleading, you know, you can get a violent reaction in social media pointing out the flaws in your arguments, right?
[670] And so from a marketing perspective, you have to be careful today that you didn't have to be careful, that there'll be people who put out the flaw, you can get the word out about the flaws in what you're saying much more easily today than in the past.
[671] You used to be, it used to be easier to get away with it.
[672] And the other thing that's been happening in terms of showing off engineers is just in the software side, people have largely embraced open source software.
[673] It was 20 years ago, it was a dirty word at Microsoft.
[674] And today, Microsoft is one of the big proponents of open source software.
[675] That's the standard way most software gets built, which really shows off your engineers, because you can see, if you look at the source code, you can see who are making the the commits, who's making the improvements, who are the engineers at all these companies who are really great programmers and engineers and making really solid contributions, which enhances their reputations and the reputation of the companies.
[676] But that's, of course, not everywhere, like in the space that I work more in as autonomous vehicles, and there's still the machinery of hype and marketing is still very strong there, and there's less willingness to be open in this kind of open -source way and sort of benchmarks.
[677] So ML Perf represents the machine learning world is much better at being open -source about holding itself to standards of different, the amount of incredible benchmarks in terms of the different computer vision, natural -lingue processing tasks, is incredible.
[678] Historically, it wasn't always that way.
[679] I had a graduate student working with me, David Martin.
[680] So in computer, in some fields, Benchmarking is been around forever.
[681] So computer architecture, databases, maybe operating systems, benchmarks are the way you measure progress.
[682] But he was working with me and then started working with Jadendra Malik.
[683] And he's Jadendra Malik and computer vision space.
[684] I guess you've interviewed Jadra.
[685] And Dave Martin told me they don't have benchmarks.
[686] Everybody has their own vision algorithm and the way, here's my image, look at how well I do, and everybody had their own image.
[687] So David Martin, back when he did his dissertation, figured out a way to do benchmarks.
[688] He had a bunch of graduate students identify images and then ran benchmarks to see which algorithms run well.
[689] And that was, as far as I know, kind of the first time people did benchmarks and computer vision, which was predated all the things that eventually led to image net, and stuff like that.
[690] But then, you know, the vision community got religion, and then once we got as far as ImageNet, then that let the guys in Toronto be able to win the ImageNet competition, and then, you know, that changed the whole world.
[691] It's a scary step, actually, because when you enter the world of benchmarks, you actually have to be good to participate, as opposed to, yeah, you can just, you just believe you're the best in the world.
[692] And I think the people, I think they weren't purposely misleading.
[693] I think if you don't have benchmarks, I mean, how do you know, you could have, your intuition is kind of like the way we did just do computer architecture.
[694] Your intuition is that this is the right instruction set to do this job.
[695] I believe, in my experience, my hunch is that's true, we had to get to make things more quantitative to make progress.
[696] And so I just don't know how, you know, in fields that don't have.
[697] benchmarks, I don't understand how they figure out how they're making progress.
[698] We're kind of in the vacuum tube days of quantum computing.
[699] What are your thoughts in this wholly different kind of space of architectures?
[700] You know, I actually, you know, quantum computing ideas been around for a while and I actually thought, well, I sure hope I retire before I have to start teaching this.
[701] I'd say because I talk about, give these talks about the slowing of Morris Law, and, you know, and we need to change by doing domain -specific accelerators, common questions say, what about quantum computing?
[702] The reason that comes up, it's in the news all the time.
[703] So I think the hard thing to keep in mind is quantum computing is not right around the corner.
[704] There have been two national reports, one by the National Academies of Engineering, another by the Computing Consortium, where they did a frank assessment of quantum computing.
[705] And both of those reports said, you know, as far as we can tell, before you get error -corrected quantum computing, it's a decade away.
[706] So I think of it like nuclear fusion, right?
[707] There have been people who've been excited about nuclear fusion a long time.
[708] If we ever get nuclear fusion, it's going to be fantastic for the world.
[709] I'm glad people are working on it.
[710] But, you know, it's not right around the corner.
[711] Those two reports, to me, say probably it'll be 2030 before quantum computing is something that could happen.
[712] And when it does happen, you know, this is going to be big science stuff.
[713] This is, you know, micro Kelvin, almost absolute zero things that if they vibrate, if truck goes by, it won't work, right?
[714] So this will be in data center stuff.
[715] We're not going to have a quantum cell phone.
[716] And it's probably a 2030 kind of thing.
[717] So I'm happy that other people are working on it, but just, you know, it's hard with all the news about it, not to think that it's right around the corner.
[718] And that's why we need to do something as Morris Law is slowing down to provide the computing, keep computing getting better for this next decade.
[719] And we shouldn't be betting on quantum computing, or expecting quantum computing to deliver in the next few years.
[720] It's probably further off.
[721] You know, I'd be happy to be wrong.
[722] It'd be great if quantum computing is going to commercially viable.
[723] But it will be a set of applications, It's not a general purpose computation, so it's going to do some amazing things, but there'll be a lot of things that probably, you know, the old -fashioned computers are going to keep doing better for quite a while.
[724] And there will be a teenager 50 years from now watching this video saying, look how silly David Patterson was saying.
[725] No, I just said, I said 2030.
[726] I didn't say never.
[727] We're not going to have quantum cell phones, so he's going to be watching it on a quantum cell phone.
[728] Well, I mean, I think this is such a, you know, given that we've had Moore's Law, I just, I feel comfortable trying to do projects that are thinking about the next decade.
[729] I admire people who are trying to do things that are 30 years out, but it's such a fast -moving field.
[730] I just don't know how to.
[731] I'm not good enough to figure out what's the problem it's going to be in 30 years.
[732] You know, 10 years is hard enough for me. So maybe if it's possible to untangling your intuition a little bit, I spoke with Jim Keller.
[733] I don't know if you're familiar with Jim.
[734] And he is trying to sort of be a little bit rebellious and to try to think that he quotes me as being wrong.
[735] Yeah.
[736] So this is what are your way for the record.
[737] Jim talks about that he has an intuition that Moore's law is not in fact, in fact, dead yet and that it may continue for some time to come.
[738] What are your thoughts about Jim's ideas in this space?
[739] Yeah, this is just marketing.
[740] So what Gordon Moore said is a quantitative prediction.
[741] We can check the facts, right, which is doubling the number of transistors every two years.
[742] So we can look back at Intel for the last five years and ask him, let's look at DRAM chips six years ago.
[743] So that would be three two -year periods.
[744] So then our DRAM chips have eight times as many transistors as they did say.
[745] six years ago.
[746] We can look at Intel microprocessors six years ago.
[747] If Moore's law is continuing, it should have eight times as many transistors as six years ago.
[748] The answer in both those cases is no. The problem has been because Moore's law was kind of genuinely embraced by the semiconductor industry as they would make investments in similar equipment to make Moore's law come true, semi -conductor improving, and Moore's law in many people's mind are the same thing.
[749] So when I say, and I'm factually correct, that Moore's law is no longer holds, we are not doubling the transistors every year's years.
[750] The downside for a company like Intel is people think that means it's stopped, that technology has no longer improved.
[751] And so Jim is trying to, counteract the impression that semiconductors are frozen in 2019 are never going to get better.
[752] So I never said that.
[753] All I said was Moore's Law is no more, and I'm strictly looking at the number of transistors.
[754] Because that's what Moore's Law is.
[755] There's the, I don't know, there's been this aura associated with Moore's Law that they've enjoyed for 50 years about, look at the field.
[756] in, we're doubling transistors every two years.
[757] What an amazing field, which is an amazing thing that they were able to pull off.
[758] But even, as Gordon Moore said, you know, no exponential can last forever.
[759] It lasted for 50 years, which is amazing.
[760] And this is a huge impact on the industry because of these changes that we've been talking about.
[761] So he claims, because he's trying to act on, he claims, you know, Patterson says, Moore's Laws No More and look at all, look at it, it's still going.
[762] And TSMC, that say it's a long longer.
[763] But there, but there's quantitative evidence that Morris law is not continuing.
[764] So what I say now to try and, okay, I understand the perception problem when I say Morris law is stopped.
[765] Okay, so now I say Morris law is slowing down.
[766] And I think Jim, which is another way of, if he's, if it's predicting every two years and I say it's slowing down, then that's another way of saying it doesn't hold anymore.
[767] And I think Jim wouldn't disagree that it's slowing down because that sounds like it's things are still getting better just not as fast, which is another way of saying Moore's law isn't working anymore.
[768] It's still good for marketing.
[769] But what's your, you're not, you don't like expanding the definition of Moore's law, sort of naturally.
[770] You know, it's an educator, you know, is this like modern politics?
[771] Does everybody get their own facts?
[772] Or do we have, you know, Morris Law was a crisp, you know, a more.
[773] It was Carver Meade looked at his moors conversations drawing on a log -log scale a straight line and that's what the definition of more's law is there's this other what intel did for a while interestingly before jim joined them they said oh no more's law isn't the number of doubling isn't really doubling transistors every two years more's law is the cost of the individual transistor going down cutting in half every two years now that's not what he said but they reinterpreted it because they believed that the cost of transistors was continuing to drop, even if they couldn't get twice a minute ships.
[774] Many people in industry have told me that's not true anymore, that basically in more recent technologies that got more complicated, the actual cost of transistor went up.
[775] So even the, a corollary might not be true, but certainly, you know, Morris Law, that was the beauty of Morris law.
[776] It was a very simple, it's like E equals MC squared, right?
[777] It was like, wow, what an amazing prediction.
[778] It's so easy to understand.
[779] The implications are amazing.
[780] And that's why it was so famous as a prediction.
[781] And this reinterpretation of what it meant and changing is, you know, is revisionist history.
[782] And I'd be happy.
[783] And they're not claiming there's a new Morris law.
[784] They're not saying, by the way, it's instead of every two years, it's every three years.
[785] I don't think they want to say that.
[786] I think what's going to happen is the new technology generations, H -1 has to get a little bit slower.
[787] So it is slowing down.
[788] The improvements won't be as great, and that's why we need to do new things.
[789] Yeah, I don't like that the idea of Moore's Law is tied up with marketing.
[790] It would be nice if – whether it's marketing or it's – well, it could be affecting business, but it could also be infecting the imagination of engineers.
[791] is if Intel employees actually believe that were frozen in 2019, well, that would be bad for Intel.
[792] Not just Intel, but everybody.
[793] Moore's Law is inspiring to everybody.
[794] But what's happening right now, talking to people who have working in national offices and stuff like that, a lot of the computer science community is unaware that this is going on.
[795] Right.
[796] that we are in an era that's going to need radical change at lower levels that could affect the whole software stack.
[797] This, you know, if Intel, if you're using cloud stuff and the servers that you get next year are basically only a little bit faster than the servers you got this year, you need to know that.
[798] And we need to start innovating to start delivery bullet.
[799] If you're counting on your software, your software going to add a lot more features, assuming the computers can get faster, that's not true.
[800] true.
[801] So are you going to have to start making your software stack more efficient?
[802] Are you going to have to start learning about machine learning?
[803] So it's, you know, it's kind of a, it's a warning or call for arms that the world is changing right now.
[804] And a lot of people, a lot of computer science PhDs are unaware of that.
[805] So a way to try and get their attention is to say that Moore's Law is slowing down and that's going to affect your assumptions.
[806] And, you know, we're trying to get the word out.
[807] And when companies like TSM and Intel say, oh, no, no, no, no, When Mars law is fine, then people think, okay, I don't have to change my behavior.
[808] I'll just get the next servers.
[809] And, you know, if they start doing measurements, they'll realize what's going on.
[810] It'd be nice to have some transparency on metrics for the layperson to be able to know if computers are getting faster.
[811] Forget those law.
[812] Yeah, there are a bunch of, most people kind of use clock rate as a measure performance.
[813] You know, it's not a perfect one.
[814] But if you've noticed, clock rates are more or less the same as they were five years ago.
[815] Computers are a little better than they aren't.
[816] They haven't made zero progress, but they've made small progress.
[817] So there's some indications out there.
[818] And then our behavior, right?
[819] Nobody buys the next laptop because it's so much faster than the laptop from the past.
[820] For cell phones, I think, I don't know why people buy new cell phones because of new ones announced.
[821] The cameras are better, but that's kind of domain -specific, right?
[822] They're putting special -purpose hardware to make the processing of images go much better.
[823] So that's the way they're doing it.
[824] They're not particularly – it's not that the arm process in there is twice as fast as much as they've added accelerators to help the experience of the phone.
[825] Can we talk a little bit about one other exciting space, arguably the same level of impact as your work with risk is Rade.
[826] In your, in 1988, you co -authored a paper a case for redundant arrays of inexpensive discs, hence R -A -I -D -R -A -D -Rade.
[827] So that's where you introduce the idea of Rade.
[828] Incredible, that that little, I mean little, that paper kind of had this ripple effect and had a really a revolutionary effect.
[829] So first, what is Rade?
[830] What is Rade?
[831] So this is work I did with my colleague, Randy Katz, and a star graduate student, Garth Gibson.
[832] So we had just done the fourth generation risk project, and Randy Katz, which had an early Apple Macintosh computer, at this time, everything was done with floppy disks, which are old technologies that could store things that didn't have much capacity.
[833] and you had to get any work done, you're always sticking your little floppy disk in and out because they didn't have much capacity.
[834] But they started building what are called hard disk drives, which is magnetic material that can remember information storage for the Mac.
[835] And Randy asked the question when he saw this disk next to his Mac, gee, these are brand new small things.
[836] Before that, for the big computers, the disk would be the size of washing.
[837] machines and here's something the size of a kind of the size of a book or so says i wonder what we could do with that well we the randy was involved in the in the fourth generation risk project here at berkeley's so we figured out a way how to make the computation part the processor part go a lot faster but what about the storage part the can we do something to make it faster so we hit upon the idea of taking a lot of these disks developed for personal computers at mackintot and putting many of them together instead of one of these washing machine size things.
[838] And so we wrote the first draft of the paper and we'd have 40 of these little PC disks instead of one of these washing machine size things.
[839] And they would be much cheaper because they're made for PCs.
[840] And they could actually kind of be faster because there was 40 of them rather than one of them.
[841] And so we wrote a paper like that and sent it to one of our former Berkeley students at IBM.
[842] And he said, well, this is all great and good, but what about the reliability of these things?
[843] Now you have 40 of these devices, each of which are kind of PC quality, so they're not as good as these IBM washing machines.
[844] IBM dominated the storage generators.
[845] So the reliability is going to be awful.
[846] And so when we calculated it out, instead of it breaking on average once a year, it would break every two weeks.
[847] So we thought about the idea and said, well, we got to address the reliability.
[848] So we did it originally performance, but we had to do reliability.
[849] So the name, redundant array of inexpensive disks is array of these disks, inexpensive, like for PCs, but we have extra copies.
[850] So if one breaks, we won't lose all the information.
[851] We'll have enough redundancy that we could let some break, and we can still preserve the information.
[852] So the name is an array of inexpensive disks.
[853] This is a collection of these PCs, and the R part of the name was the redundancy, so they'd be reliable.
[854] And it turns out if you put a modest number of extra disks in one of those.
[855] of these arrays, it could actually not only be as faster and cheaper that one of these washing machine disks, it could be actually more reliable because you could have a couple of breaks even with these cheap disks, whereas one failure with the washing machine thing would knock it out.
[856] Did you, did you have a sense just like with risk that in the 30 years that followed raid would take over as a mechanism for storage?
[857] I'd say, I think I'm naturally in the an optimist, but I thought our ideas were right.
[858] I thought, kind of like Morris Law, it seemed to me, if you looked at the history of the disk drives, they went from washing machine size things, and they were getting smaller and smaller, and the volumes were with the smaller disk drives, because that's where the PCs were.
[859] So we thought that was a technological trend that disk drives, the volume of disk drives was going to be getting smaller and smaller devices, which were true, they were the size of, I don't know, eight inches diameter, then five inches, then three inches in diameters.
[860] And so that it made sense to figure out how to deal things with an array of disks.
[861] So I think it was one of those things where logically, we think the technological forces were on our side that it made sense.
[862] So we expected it to catch on.
[863] But there was that same kind of business question.
[864] You know, IBM was the big pusher of these disk drives.
[865] in the real world where the technical advantage get turned into a business advantage or not.
[866] It proved to be true.
[867] And so, you know, we thought we were sound technically and it was unclear whether the business side, but we kind of, as academics, we believe the technology should win, and it did.
[868] And if you look at those 30 years, just from your perspective, are there interesting developments in the space of storage that have happened in that time?
[869] Yeah, the big thing that happened, well, a couple of things that happened, happened.
[870] What we did had a modest amount of storage, so as redundancy, as people built bigger and bigger storage systems, they've added more redundancy so they could add more failures.
[871] And the biggest thing that happened in storage is for decades, it was based on things physically spinning called hard disk drives.
[872] We used to turn on your computer and it would make a noise.
[873] What that noise was, was the disk drive spinning, and they were rotating at, like, 60 revolutions per second.
[874] And it's like a, if you remember the vinyl records, if you've ever seen those, that's what it looked like.
[875] And there was like a needle like on a vinyl record that was reading it.
[876] So the big drive change is switching that over to a semiconductor technology called Flash.
[877] So within the last, I'd say, about decade is an increasing fraction of all the computers in the world are using semiconductor for storage, the flash drive.
[878] Instead of being magnetic, they're optical, well, they're semiconductor writing of information very densely, and that's been a huge difference.
[879] So all the cell phones in the world use flash, most of the laptops use flash, all the embedded devices use flash instead of storage.
[880] Still in the cloud, magnetic disks are more.
[881] economical than flash but they use both in the cloud so it's been a huge change in the storage industry this the uh switching from primarily disk to be primarily semiconductor for the individual disk but still the raid mechanism applies to those different kinds of disks uh the people will still use rate ideas uh because it's kind of what's different kind of interesting kind of psychologically if you think about it um people have always worried about the reliability of computing since the earliest days.
[882] So kind of, but if we're talking about computation, if your computer makes a mistake and the computer says, the computer has ways to check and say, oh, we screwed up, we made a mistake.
[883] What happens is that program that was running, you have to redo it, which is a hassle.
[884] For storage, if you've sent important information away, and it loses that information, you go nuts.
[885] Yeah.
[886] This is the worst.
[887] Oh, my God.
[888] So if you have a laptop and you're not backing it up on the cloud or something like this and your disk drive breaks, which it can do, you'll lose all that information.
[889] And you just go crazy, right?
[890] So the importance of reliability for storage is tremendously higher than the importance of reliability for computation because of the consequences of it.
[891] So yes, so rate ideas are still very popular even with the switch of the technology.
[892] Although, you know, flash drives are more reliable.
[893] you know, if you're not doing anything like backing it up to get some redundancy so they handle it, you're taking great risk.
[894] You said that for you and possibly for many others, teaching and research don't conflict with each other, as one might suspect.
[895] And in fact, they kind of complement each other.
[896] So maybe a question I have is, how is teaching helped you in your research or just in your entirety as a person who both teaches and does research and just thinks and creates new ideas in this world.
[897] Yes, I think what happens is when you're a college student, you know there's this kind of tenure system and doing research.
[898] So kind of this model that is popular in America, I think America really made it happen, is we can attract these really great faculty to research universities because they get to do research as well as teach.
[899] And that, especially in fast -moving fields, this means people are up to date and they're teaching those things.
[900] But when you run into a really bad professor, a really bad teacher, I think the students think, well, this guy must be a great researcher because why else could he be here?
[901] So as I, you know, I, after 40 years at Berkeley, we had a retirement party and I got a chance to reflect.
[902] And I looked back at some things.
[903] That is not my experience.
[904] There's a, I saw a photograph of five of us in the department who won the Distinguished Teaching Award from campus, a very high honor.
[905] You know, I've got one of those, one of the highest honors.
[906] And so there are five of us on that picture.
[907] There's Manuel Blum, Richard Karp, me, Randy Kasten, John Osterhout, contemporaries of mine.
[908] I mentioned Randy already.
[909] All of us are in the National Academy of Engineering.
[910] We've all run the Distinguished Teaching Award.
[911] Blum, Carp and I all have Turing Awards.
[912] The highest award in computing.
[913] So that's the opposite, right?
[914] What happens is they're highly correlated.
[915] So probably the other way to think of it, if you're very successful people or maybe successful at everything they do, it's not an either or.
[916] But it's an interesting question whether specifically, that's probably true, but specifically for teaching, If there's something you're teaching that, it's the Richard Feynman, right, idea.
[917] Is there something about teaching that actually makes your research, makes you think deeper and more outside the box and more insightful?
[918] Absolutely, I was going to bring up Feynman.
[919] I mean, he criticized the Institute of Advanced Studies.
[920] He, so the International's Advanced Studies was this thing that was created near Princeton where Einstein and all these smart people went.
[921] And when he was invited, he thought it was a terrible idea.
[922] This is a university.
[923] It was supposed to be, heaven, right?
[924] A university without any teaching.
[925] But he thought it was a mistake is getting up in the classroom and having to explain things to students and having them ask questions.
[926] Like, well, why is that true?
[927] Makes you stop and think.
[928] So he thought, and I agree, I think that interaction between a research university and having students with bright young minds asking hard questions the whole time is synergistic.
[929] And, you know, a university without teaching wouldn't be as vital.
[930] and exciting a place.
[931] And I think it helps stimulate the research.
[932] Another romanticized question, but what's your favorite concept or idea to teach?
[933] What inspires you or you see inspired the students?
[934] Is there something to pause the mind?
[935] Or puts the fear of God in them, I don't know, whichever is most effective.
[936] I mean, in general, I think people are surprised.
[937] I've seen a lot of people who don't think they like teaching come come give guest lectures or teach a course and get hooked on seeing the lights turn on, right?
[938] Is people, you can explain something to people that they don't understand and suddenly they get something, you know, that's not, that's important and difficult.
[939] And just seeing the lights turn on is a, you know, it's a real satisfaction there.
[940] I don't think there's any specific example of that.
[941] But it's just the general joy of seeing them understand.
[942] I have to talk about this because I've wrestled.
[943] I do martial arts.
[944] Of course, I love wrestling.
[945] I'm a huge, I'm Russian.
[946] Oh, sure.
[947] I've talked to Dan Gable on the podcast.
[948] Jan Gable is my era kind of guy.
[949] So you wrestled at UCLA among many other things you've done in your life, competitively in sports and science, so on.
[950] And you've wrestled, maybe, again, continue with the romanticized questions, but what have you learned about life and maybe even science from wrestling or from?
[951] Yeah, in fact, I wrestled at UCLA, but also at El Camino Community College.
[952] And just right now, we were in the state of California, we were state champions at El Camino.
[953] And in fact, I was talking to my mom, and I got into UCLA, but I decided to go to the community college, which is, it's much easier to go to UCLA than the community college.
[954] And I asked, why did I make the decision?
[955] Because I thought it was because of my girlfriend.
[956] She said, well, it was the girlfriend, and you thought the wrestling team was really good.
[957] And we were right.
[958] We had a great wrestling team.
[959] We actually wrestled against UCLA at a tournament, and we beat UCLA as a community college, which is just freshmen and sophomores.
[960] And part of the reason I brought this up is I'm going to go, they've invited me back at El Camino give a lecture next month.
[961] And so I'm, we've, my friend who was on the wrestling team and that we're still together, we're right now reaching out to other members of the wrestling team.
[962] We can get together for a reunion.
[963] But in terms of me, it was a huge difference.
[964] I was, I was both, I was kind of the age cutoff.
[965] I was December 1st.
[966] And so I was almost always the youngest person in my class.
[967] And I matured later on, you know, our family matured later.
[968] So I was almost always the smallest guy.
[969] So, you know, I took, you know, kind of nerdy courses, but I was wrestling.
[970] So wrestling was huge for my, you know, self -confidence in high school.
[971] And then, you know, I kind of got bigger at El Camino and in college.
[972] And so I had this kind of physical self -confidence.
[973] And it's translated into research self -confidence.
[974] And also, kind of, I've had this feeling even today in my 70s, you know, if something, if something going on in the streets that's bad physically, I'm not going to ignore it, right?
[975] I'm going to stand up and try and straighten that out.
[976] And that kind of confidence just carries through the entirety of your life.
[977] Yeah, and the same thing happens intellectually.
[978] If there's something going on where people are saying something that's not true, I feel it's my job to stand up just like I would in the street.
[979] If there's something going on, somebody attacking some woman or something, I'm not standing by and letting that get away.
[980] So I feel it's my job to stand up.
[981] So it kind of ironically translates.
[982] The other things that turned out, for both, I had really great college and high school coaches.
[983] And they believed, even though wrestling's an individual sport, that we'd be more successful as a team if we bonded together, do things that we would support each other rather than everybody, you know, in wrestling, it's a one -on -one.
[984] And you could be everybody's on their own.
[985] But he felt if we bonded as a team, we'd succeed.
[986] So I kind of picked up those skills of how to form successful teams and how to, from wrestling.
[987] And so I think most people would say one of my strengths is I can create teams of faculty, large teams of faculty, grad students pull all together for a common goal and, you know, and often be successful at it.
[988] But I got both of those things from wrestling.
[989] Also, I think I heard this line about if people are in kind of, you know, collision, you know, sports with physical contact like wrestling or football and stuff like that.
[990] People are a little bit more, you know, assertive or something.
[991] And so I think that also comes through is, you know, and I was, I didn't shy away from the risk -sisc debates, you know, I was, I enjoyed taking on the arguments and stuff like that.
[992] So it was, it was, I'm really glad I did wrestling.
[993] I think it was really good for my self -image and I learned a lot from it.
[994] So I think that's, you know, sports done well, you know, there's really, lots of positives you can take about it, of leadership, you know, how to form teams and how to be successful.
[995] So we've talked about metrics a lot.
[996] There's a really cool in terms of bench press and weightlifting pound years metric that you've developed that we don't have time to talk about, but it's a really cool one that people should look into.
[997] It's rethinking the way we think about metrics and weightlifting.
[998] But let me talk about metrics more broadly, since that appeals to you in all forms.
[999] Let's look at the most ridiculous, that's the biggest question of the meaning of life.
[1000] If you were to try to put metrics on a life well lived, what would those metrics be?
[1001] Yeah, a friend, Randy Katz said this.
[1002] He said, you know, when it's time to sign off, it's, it's, the measure isn't the number of zeros in your bank account.
[1003] It's the number of inches in the obituary in the New York Times, as he said it.
[1004] I think, you know, having, and, you know, this is a cliche is that people don't die wishing they'd spent more time in the office, right?
[1005] As I reflect upon my career, there have been, you know, a half a dozen, a dozen things say I've been proud of.
[1006] A lot of them aren't papers or scientific results.
[1007] Certainly, my family, my wife, we've been married more than 50 years, kids and grandkids.
[1008] That's really precious education.
[1009] things I've done, I'm very proud of, you know, books and courses.
[1010] I did some help with underrepresented groups that was effective.
[1011] So it was interesting to see what were the things I reflected.
[1012] You know, I had hundreds of papers, but some of them were the papers, like the risk and rate stuff I'm proud of, but a lot of them were not those things.
[1013] So people who are just spend their lives, you know, going after the dollars or going after all the papers in the world, you know, that's probably not the things that are afterwards you're going to care about.
[1014] When I was a, just when I got the offer from Berkeley before I showed up, I read a book where they interviewed a lot of people in all works of life.
[1015] And what I got out of that book was the people who felt good about what they did was the people who affected people as opposed to things that were more transitory.
[1016] So I came into this job assuming that it wasn't going to be the papers, there was going to be relationships with the people over time that I would value.
[1017] That was a correct assessment, right?
[1018] It's the people you work with, the people you can influence, the people you can help is the things that you feel good about towards into your career.
[1019] It's not the stuff that's more transitory.
[1020] I don't think there's a better way to end it than talking about your family, the over 50 years of being married to your childhood sweetheart.
[1021] What I think I could add is when you tell people you've been married 50 years, they want to know why.
[1022] How, why?
[1023] I can tell you the nine magic words.
[1024] that you need to say to your partner to keep a good relationship.
[1025] And the nine magic words are, I was wrong.
[1026] You are right.
[1027] I love you.
[1028] Okay.
[1029] And you got to say all nine.
[1030] You can't say I was wrong.
[1031] You were right.
[1032] You're a jerk.
[1033] You know, you can't say that.
[1034] So freely acknowledging that you made a mistake, the other person was right, and that you love them really gets over a lot of bumps in the road.
[1035] So that's what I pass along.
[1036] Beautifully put, David, it is a huge honor.
[1037] Thank you so much for the book you've written, for the research you've done for changing the world.
[1038] Thank you for talking today.
[1039] Thanks for listening to this conversation with David Patterson.
[1040] And thank you to our sponsors, the Jordan Harbinger Show and Cash App.
[1041] Please consider supporting this podcast by going to Jordan Harbinger .com slash Lex and downloading Cash app and using code Lex Podcast.
[1042] Click the links, buy the stuff.
[1043] It's the best way to support this podcast and the journey I'm on.
[1044] If you enjoy this thing, subscribe on YouTube, review it with 5 ,000 on podcast, support it on Patreon, or connect with me on Twitter at Lex Friedman, spelled without the E, try to figure out how to do that.
[1045] It's just F -R -I -D -M -A -N.
[1046] And now, let me leave you with some words from Henry David Thoreau.
[1047] Our life is fretted away by detail.
[1048] Simplify, simplify.
[1049] Thank you for listening and hope to see you.
[1050] next time.