Slashdot Mirror


How Google Uses Linux

postfail writes 'lwn.net coverage of the 2009 Linux Kernel Summit includes a recap of a presentation by Google engineers on how they use Linux. According to the article, a team of 30 Google engineers is rebasing to the mainline kernel every 17 months, presently carrying 1208 patches to 2.6.26 and inserting almost 300,000 lines of code; roughly 25% of those patches are backports of newer features.'

9 of 155 comments (clear)

  1. Re:Release the patches already by Anonymous Coward · · Score: 5, Informative
  2. Re:Release the patches already by Darkness404 · · Score: 3, Informative

    Its kinda common sense that Google would see how much disk space is used or how much CPU time is used. I mean, what admin -doesn't- know that 2 Gigabytes of space is used by xxxx@gmail.com? Even if all the data was super-encrypted you would still know how large the file is.

    --
    Taxation is legalized theft, no more, no less.
  3. Togh by Anonymous Coward · · Score: 3, Informative

    Google does not distribute the binaries, so they are not obliged to publish the source.

  4. Re:A New Culture by MichaelSmith · · Score: 4, Informative

    Funnily enough the roads were there before the cars.

  5. Re:Does Google give coade back by MBCook · · Score: 5, Informative

    Yes, they do. Since they use older kernels and have... unique... needs, they aren't a huge contributor like RedHat, but they do a lot.

    During 2.6.31, they were responsible for 6% of the changes to the kernel.

    --
    Comment forecast: Bits of genius surrounded by a sea of mediocrity.
  6. Re:Does Google give coade back by CyrusOmega · · Score: 3, Informative

    A lot of companies will also use a single employee for all of their commits too. I know the company I used to work for made one man look like a code factory to a certain open source project, but, in fact, it was a team of 20 or so devs behind him doing the real work.

  7. Re:Does Google give coade back by marcansoft · · Score: 4, Informative

    Andrew has been doing a large amount of kernel work for some time now, before his employment with Google. Note that the 6% figure is under non-author signoffs - people that patches went through, instead of people who actually authored them. Heck, even I submitted a patch that went through Andrew once (and I've submitted like 5 patches to the kernel). Andrew does a lot of gatekeeping for the kernel, but he doesn't write that much code, and he certainly doesn't appear to be committing code written by Google's kernel team under his name as a committer.

    Google isn't even on the list of actual code-writing employers, which means they're under 0.9%. I watched a Google Tech Talk about the kernel once (I forget the exact name) where it was mentioned that Google was (minus Andrew) somewhere in the 40th place or so of companies who contribute changes to Linux.

  8. Re:Does Google give coade back by farnsworth · · Score: 4, Informative

    Google is responsible for a tiny part of kernel development last I heard, unfortunately.

    I don't know that much about google's private modifications, but the question of "what to give back" does not always have a clear default answer. I've modified lots of OSS in the past and not given it back, simply because my best guess was that I am the only person who will ever want feature x. There's no point in cluttering up mailing lists or documentation with something extremely esoteric. It's not because I'm lazy or selfish or greedy -- sometimes the right answer is to just keep things to yourself. (Of course, there are times when I've modified something hackishly, and had been too lazy or embarrassed to send it back upstream :)

    Perhaps google answers this question in a different way than others would, but that doesn't necessarily conflict with "the spirit of OSS", whatever that might be.

    --

    There aint no pancake so thin it doesn't have two sides.

  9. Re:Does Google give coade back by marcansoft · · Score: 3, Informative

    By that I meant "developed for Google, useful to other people".

    We can divide Andrew's potential kernel work into 4 categories:

    1. Private changes for Google, not useful for other people.
    2. Public changes for Google, deemed useful to other people but originally developed to suit Google's needs.
    3. Public changes of general usefulness. Google might find them useful, but doesn't drive their development.
    4. Maintaining -mm and signing off and merging other people's stuff

    Points 1 and 2 can be considered a result of Andrew's employment at google. Points 3 and 4 would happen even if he weren't employed at Google. From my understanding, the vast majority of Andrew's work is point 4 (that's why he's listed under non-author signoffs as 6%, along with Google). Both Andrew's and Google's commit-author contributions are below 0.9%.

    So what we can derive from the data in the article, assuming it's accurate, is:

    • Google's employees as a whole authored less than 0.9% of the changes that went into 2.6.31
    • Andrew authored less than 0.8% of the 2.6.31 changes
    • Andrew signed off on 6% of the 2.6.31 changes
    • Besides Andrew, 3 other changes were signed off by Google employees (that's like .03%)

    So no, Google doesn't contribute much to the kernel. Having Andrew on board gives them some presence and credibility in kernel-land, but they don't actually author much public kernel code. Hiring someone to keep doing what they were already doing doesn't make you a kernel contributor.