Linus Torvalds Interview with Jim Zemlin — Open Source Leadership Summit 2017 Transcript
In his 2017 interview with Jim Zemlin, Linus Torvalds explains how trial and error shaped the way developers collaborate on the Linux kernel.
Search this transcript in the workbenchRead the transcript
Transcript source: automatic speech recognition on Vidleaf (unedited, may contain errors). Paragraph breaks and timestamps added by Vidleaf.
[0:00] I would like to start off by welcoming someone who I think most of you are all familiar with to the stage. We've got a great lineup of speakers today, but the first one I think needs very little introduction. He created Linux, he created this thing called Git, he created this great diving application that many of you may be unaware of. Please welcome Linus Torvalds. Welcome. Thank you. And as usual, I don't do talks.
[0:32] I hate preparing talks, especially when I don't know what people are expecting or interested in. So blame Jim if the questions are not interesting. All right, well. yeah, well, let me just, this is pretty much a puff piece interview here. we're going to, this is not a hard-hitting journalism. but, you know, it's funny because you come to a lot of our events, and i know that you like scuba diving, so you go diving around a lot of events.
[1:04] i saw you brought your skis to this event. no, no, i was carrying skis, but they were not actually mine. oh, okay, so you're not. no, so usually i only go to places where i can do fun stuff, but then occasionally it's valentine's day, and i go to places where my wife can do fun stuff. i noticed that she's up on the mountain somewhere now. exactly. because someone pulled me aside and said, "scuba diving, downhill skiing, jim, what are you doing here with lena storvall?
[1:36] " and what i told them was, apparently my mic is not working, but apparently it's not skiing or scuba diving that are dangerous to you, it's the constant fear of being hit by a bus. that's what people always ask me about. yeah, i don't know, especially in the us, it makes no sense at all to me. it makes more sense on the european circuit. well we're going to talk about what happens if you get hit by a bus in a minute here, but. You know, one of the things that I think shocks a lot of people, particularly people who are new to open source or who are working on projects, is the pace of Linux development.
[2:15] So we asked Greg Kroah-Hartman for some statistics, and what he roughly described was that 10,000 lines are added to, 8,000 lines are subtracted from, and 1,500 odd, 1,800 odd lines are modified in Linux every single day. That's sort of the pace of development. which is amazing. and, you know, there's a lot of developers in here who just think about that, the pace of development and just are shocked. i mean, my first question to you is, you've been doing this a long time. how do you come up with a system that allows that kind of development pace to continue?
[2:49] well, so the kernel is kind of special. it is the biggest project. it's by far the one that also has the... biggest amount of code written for it, just the paste thing. and part of it is we've been doing this for 25 years, and one of the constant issues we've had is people stepping on each other's toes. so for all of that history, what we've done is.
[3:20] Organize the code, organize the flow of code, organize our. just maintainership, so that the main pain point, which is people just disagreeing about a piece of code, basically goes away. so the kernel is literally organized at every level so that people can work independently. and it is slightly, i mean, what happens is people see that there's a huge influx of patches and there's a, we have, like, the statistics really are staggering, but then when you look at any particular one single piece of code, the development is not necessarily fast at all.
[4:03] it can take, i mean, some patches go in just in a day or two, but it can take months. it can take a year for... Big reorganizations to happen, so each individual piece may not be. It's not a breakneck speed kind of thing. It's just that we've been able to, to really modularize the code and modularize the whole development model to the point where we can just do a lot in parallel, and that's what then allows this high flow in the end.
[4:34] But you're not, maybe you are, you're not reading all this code yourself. Like how do you, how do you develop the ability to. You know, when you do your final release to be sure that that's that's code that's a decent quality and it's it's so it's a social project. I mean, it's about technology and the technology is what makes people able to agree on issues because technology tends to have very they're not black and white, but at least there's usually a fairly clear right and wrong.
[5:08] So people you can have people agree on. on the end result. but at the same time, the thing that just me ensuring quality, it's not because i read through all the patches. i used to, and it became a huge problem because i ended up being, and this is 20 years ago, i became a bottleneck. so i don't do that. it's the social network, the trust, and finding the people who can do the work.
[5:40] and i trust that they may not do the same code reading either, but they have people they trust. and we have a very strong network, and that's why we can have a thousand people involved in every release. of those thousand people, a lot of them end up being these levels of trust where there's checking at every level, not of the code, but of, well, code at the lowest levels, but as you move up the maintainership chain, and the chain is often three, four, five people.
[6:18] you always have that level of trust and the level of just knowing people. many of the people i work with, i've literally worked with for over 25 years. there are new people coming in also, but there's this. Whole human. Like, potential there that we use very extensively to make sure the process works and it's taken 25 years to get to where we are. I mean, right on a process level too. Yeah.
[6:49] And and you know what's interesting is that we did a survey and i think 95% of the developers who work on linux particularly in the core project. are all professional developers who get paid by various companies, many of which are represented here. But the trust that you've built is with the individuals in that project, and that's taken a lot of time. Yeah, and it's very noticeable too when people move between companies. The trust does not stay with the company; the trust stays with the person.
[7:22] And obviously, it's not like people stay around forever. People come and go, and that's, I think, one of the reasons people sometimes think it's hard to get into the kernel is because. You think you can just come in and shoot off a patch and go away, and that's not how it works. What really is takes time is to shoot off a lot of small patches until you reach the point where the maintainers trust you, and at that point you become something more than just the guy who sends patches.
[7:55] You become part of the whole network of trust. Yeah, yeah, it's interesting. You know, we have some projects. Cloud Foundry is an interesting project in that. they use a pair of programming technique which is an interesting technique at a pivotal labs where developers are programming together same code two screens in order to kind of accelerate that trust and empathy that you know in the kernel takes a long time. I mean the kernel is kind of odd and what we do. not necessarily always make sense in other settings.
[8:28] just the fact that we, for example, cannot have people sit next to each other just means that we have to work differently than you necessarily would do in some other company. or maybe there's a lot of projects that are much more localized to the kernel, even when they're open source and even when they use email or... Or the internet to communicate most of the time. A lot of projects tend to be. inside companies or maybe inside universities or maybe it's just that there's a lot of like there's the trust came from previously knowing the person so there's a lot of advantage to being close by and being part of this like inner group and in linux we never had that and i attribute some of it to me being from helsinki finland which meant that.
[9:22] most of the people, by far, that i could work with were all remote. i mean, i did not have the kind of local group around me that you find from some of the traditional unix projects, like obviously the bsds, which actually happened inside a particular university. yeah. and so also linux, the project, in order to handle this pace, i love the social construct, but you also needed special tools. and so you created git to do that.
[9:54] and now we're in this, you know, what some people like to call this sort of post-github era, where, you know, yesterday someone from github was here and shouted out that there are 50 million repositories on github. and what advice do you give to, you know, github projects? first of all, you're surprised about where git has gone. and then what advice would you give to projects that are on git? In order to help them build trust relationships and to do this kind of work at scale, so on the surprise part, I'm really surprised by where Git has gone because obviously.
[10:30] was written to be solve the problems we had in the kernel community. and nobody else, or it looked for a long time like nobody else cared about the whole distributed environment and distributed development. and in fact, for the maybe three, four first years of git, one of the biggest complaints about git was how it was so different and everybody had to learn something new and people hated it. i mean, people who came, who weren't inside the kernel and were trying to learn it after learning cvs or something like that.
[11:09] and then... I'm really surprised by how it switched, and apparently really people. started seeing the whole distributed development model and having companies like github just taking advantage of the distributed development model and making it so easy to then host git repositories, which was never true if you don't have distributed. the problem with centralized models tended to be that you had.
[11:41] exactly one point that was the central one, which means that it's really hard to trust a new company or any hosting company, right? because if you're a hosting company and you host the one centralized repository, you are so critical that it's really hard to even get there. and being distributed just meant that now it's much easier to be a hosting company and give services and value add. And what I'm trying to say is it really took a long time and then everything like within a year it went from having a lot of people complaining about how it was different to just growing like mad.
[12:24] And it took me by surprise and I'm very pleased obviously because CBS has been around for way too long and there were a lot of other source control managers. still is here. well, i mean, it exists, and i'm not trying to say cvs was evil 40 years ago. i'm more saying that time had passed it by, and no other source control system seemed to ever be able to.
[12:57] Really take over and get seems to have done. So yeah. And that's obviously a source of pride. But every time i talk about get, i want to make it very, very clear that i may i was the maintainer for six months. And that's 10 years ago, right? So i came up with the design, i came up the basics and then junior hamano has been such an incredible maintainer for 10 years that. that's always something to keep in mind, that all credit goes to him apart from that initial spark.
[13:30] github, no credit? no, i do think that the fact that. I mean, without github, there's other companies too, but github is clearly the 800 pound gorilla. Sure. Without that kind of infrastructure, it wouldn't have gone anywhere. And i think the fact that github existed and. which there were a few projects that decided, hey, this model just works very well. I think that was all the ruby projects switched like suddenly, and I think that was one of the things that drove it to to be more than just.
[14:08] The colonel people and the geeky people who really cared. Now, and github has done an amazing job of, you know, and that's why people call it the sort of post github world of just the phenomenal development that's going on. So you got the tools, you got the trust relationships. What about one question that i have? And then that comes up often for a lot of our other projects is. For the kernel, it seemed like for the first long period of time you were fast following an incumbent technology and requirements sort of flowed from that.
[14:42] that has not been the case for a long time. how in addition to how do you process so much code, how do you understand what requirements are out there, what features and functionality you want to integrate in? well, i mean, that's that's the real advantage of open source. i think is that if you want to do. something new, something that really is pushing the envelope. The only way you can really... I mean, nobody can really say this is the way to do it.
[15:15] So what, what you need to do is just a lot of trial and error. And I often compare software development to biological processes where, where it really is evolution. I mean, it is not intelligent design. I'm. there in the middle of the thing and i can tell you it is absolutely not intelligent design whatever you you want to think you have to have i mean you have a lot of people who have their ideas of where things need to go and then you need to have a marketplace where you can try them out and that's where open source allows all these different groups to just.
[15:55] go off, do their own thing, and then come back and say, hey, look, i did this and it actually worked. and that's very hard to do in any other environment because if you're inside a company, you can't afford to waste those kinds of resources. if you're inside a company, you can't say, okay, let's just explore this whole space and put 10 different teams on it and see what works. that does not work. i mean, i... I suspect a lot of companies have tried it, but they probably only tried it once.
[16:27] But in open source, that's literally what we do, particularly in the kernel. We have competing projects. We have a lot of code that never ever gets merged because somebody went off, they cloned my tree, they did their thing, they could never get it to work, or they could kind of get it to work. Work, but it only worked for their very particular platform, which is fine too. Don't get me wrong, it's these niche things that never go anywhere else and that never get merged back because there's no point.
[17:01] But you did at one point. The colonel decided to do a long term stable release and then have intermittent releases in between. What brought that decision about? So. We've gone through so many different models and... they've all had huge problems until we then figured out about 10 years ago the model we're on now, which seems to work really well. the traditional model is you take three years to make a new release and you aim for a certain.
[17:36] feature. i mean, there's usually many different features, but there's a few flagship features that you know, that's what you're working on. and the reason it takes three years is it takes that long to get big new features done. and in the meanwhile, so you have this development tree that all the geeks are excited about and that does the new stuff, but it's also slightly. Unstable, so most of the traditional users tend to stay back and that.
[18:10] kind of worked, but it meant we did that for. probably five, six years. and it caused horrible problems when you then did the switchover because so much had changed. so few people had tested development kernels because they were considered to be unstable. so only the most excited people or the most forward-thinking people, and there's very few of those, were testing development kernel in order to make sure that they worked for their workload.
[18:44] So whenever we then finished a stable release, we were always in huge pain, and it just... it does not scale, it does not work. It's... it. it was a disaster, but it took us a long time to figure out that it was so bad. and then 10 years ago, and nobody believed this would work. literally, everybody was like laughing in the room. and at the kernel summit, we said, i basically said, i want to have an eight-week release schedule, two months, that's it, right?
[19:14] and everybody knew i was like pushing for something unrealistically short so that maybe you could get it down to six months from three years, right? but you aim for two months in order to hit six months. and now we've actually done the release cycle is usually two and a half months, and we've done it for 10 years, and it's lovely. it really works. it has avoided all the problems we've used to have. it's solved so many things we didn't even know needed to be solved.
[19:45] so it's almost boring. how well our process works. and i say almost boring because it's so much relaxing, more relaxing when process works. all the really stressful times for me personally have been about process. they've never been about code. when code doesn't work, that can actually be exciting, right? that can be fun. that can be the, okay, you hit your head. on a wall for a couple of weeks and it can be very frustrating.
[20:15] but then when you solve it, the feeling of accomplishment is huge, right? i'm hoping people in the audience know that, right? code, technical problems can be challenging and frustrating, but they're good things to have. process problems are a pain in the ass. you never, ever want to have process problems. and that's why i'm so happy that our... process has worked for the last 10 years and hopefully will continue to work because that's when when people start getting really angry at each other when when the process doesn't work.
[20:52] Well, last question, you know, 10 10 years is a long time, but you've been releasing the linux kernel for 20. five years ah, you know, it's just an amazing amount of fortitude for anyone to do the same thing for 25 years. I understand you took a six month break, it sounds like to do this git thing ah, but it was actually more just two months. for a very short break for a minor effort.
[21:24] but the last question is sort of, you know, you got almost 900 organizations that participate in all the different linux foundation projects here that are creating code in almost every aspect of computing. and these aren't just, you know, fast-following projects. these are the core main projects for the automotive sector, the telecom sector. What for you was there a moment where you thought, aha, this is huge, this is much bigger than maybe what you thought when you started?
[21:58] Was there any particular thing that you. i've answered that before. there hasn't really been anything like that. there's been a couple of moments that took me by surprise, but the big moment was actually when it went from past being personal. and that was within six months of just releasing it. it was, i don't even know the people working on sending me patches, like know them personally. i mean, obviously, now i know them by email, but... but there's a ton of people i never met. and just going past that initial personal phase where the project was just for me, i do want to kind of mention the whole 25-year thing.
[22:38] i'm a huge believer in... Just the 99% sweat, 1% perspiration, 1% inspiration thing. Any technology project, the innovation that this. industry talks about so much is bullshit innovation. anybody can innovate. do this big think different don't do these big innovation thing screw that it's meaningless like the 99% of it is get the work done right and and there are i actually that's my least favorite part of the technology like news cycle is this constant.
[23:31] innovation and new ideas and this will revolutionize all that hype is is that's not where the real work is. yeah, the real work is in the details and i'm obviously one of those people who just. i like to concentrate on one project. i don't like flitting from one idea to another. and you need the people who just flutter about and come up with ideas, but they're not the really useful ones.
[24:03] they're the ones who end up being the ones who maybe give ideas to the people who then do the work. so i hope you guys, i mean, that's what anybody should take away from this talk is the people who actually do the work are the ones you should really listen to. and these days, i don't actually do the work anymore. i merge other people's work. but i'd like... Conferences too, to be less about the visionary innovation thing and more about the day to day.
[24:39] What are my problems and how do I want to solve them? Well, always inspiring and depressing simultaneously, Mr. Torvalds. So I think what it's fair to say is, you know, real innovation happens when you kind of get over yourself and sit down and do the work, which is fair enough. I think that's sage advice. So. thank you for coming. it's always a pleasure.
Open in the Vidleaf workbench
Search the transcript, select lines, copy quotes with timestamps, translate.
Open this transcript in the workbench →Read your own YouTube link
Attribution
"Keynote: A Conversation with Linus Torvalds" by The Linux Foundation (https://www.youtube.com/@linuxfoundationorg), licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Source video: https://www.youtube.com/watch?v=Efi9wa4Fwds. This page is a text transcript of the video with paragraph breaks and timestamps added; the creator is not affiliated with and does not endorse Vidleaf.
Are you the creator or a rights holder? Request a correction or removal: copyright@vidleaf.app (see About these pages).
Last updated