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.'

155 comments

  1. A New Culture by Anonymous Coward · · Score: 3, Funny

    Hmmm... Techno-Amish? (i.e. "We'll use your roads, but not your damned cars!")

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

      Funnily enough the roads were there before the cars.

    2. Re:A New Culture by trytoguess · · Score: 2, Informative

      Amish don't avoid technology based on a point on a timeline. They believe in maintaining a certain lifestyle (strong family bonds, avoid thing that promote sloth luxury or vanity, etc), and many tech is seen as disruptive to such things. What is and isn't ok is debated tweaked and constantly modified depending on which Amish group you're dealing with. This is a good place for more info.

      Fair chance you were just joking, but I figure, why not go on a info dump?

    3. Re:A New Culture by Anonymous Coward · · Score: 0

      But sloth luxury is central to the American lifestyle!

  2. Release the patches already by Dice · · Score: 5, Interesting

    They monitor all disk and network traffic, record it, and use it for analyzing their operations later on. Hooks have been added to let them associate all disk I/O back to applications - including asynchronous writeback I/O.

    I. Want. This.

    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. Re:Release the patches already by Rip+Dick · · Score: 1

      Should I take the time to actually read Google's privacy policy and verify this or just take it on AC's good word?

    4. Re:Release the patches already by Anonymous Coward · · Score: 5, Funny

      Can we donate some money and buy these people a site that _doesn't_ look like a goatse link?

    5. Re:Release the patches already by Anonymous Coward · · Score: 0

      U wont get it

    6. Re:Release the patches already by Anonymous Coward · · Score: 0

      He's wrong, Google's privacy policy seems to cover this use of data with the following:

      # Log information – When you access Google services, our servers automatically record information that your browser sends whenever you visit a website. These server logs may include information such as your web request, Internet Protocol address, browser type, browser language, the date and time of your request and one or more cookies that may uniquely identify your browser.
      # User communications – When you send email or other communications to Google, we may retain those communications in order to process your inquiries, respond to your requests and improve our services.

      Breaking news: IT people like to keep logs and like to parse them. Film at eleven.

    7. Re:Release the patches already by Anonymous Coward · · Score: 0

      The situation here is actually like stripping the address down to "gmail user in eastern US". It's not like there is one server per person; even in applications where it might make sense to do it that way, you can't do it and be cost effective with the required redundancy for reliability.

      Paranoid AC, do you feel similarly threatened when the subway reports total ridership counts by route and day of week?

    8. Re:Release the patches already by rdnetto · · Score: 1

      I like the way the site is designed. Nice and simple, not like some sites where you have to turn to google to find a single page.

      --
      Most human behaviour can be explained in terms of identity.
    9. Re:Release the patches already by Stewie241 · · Score: 1

      I think he was referring to the URL rather than the actual site.

    10. Re:Release the patches already by Jurily · · Score: 2, Funny

      In contrast to goatse, which has all the content on one page?

  3. Togh by Anonymous Coward · · Score: 3, Informative

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

    1. Re:Togh by MichaelSmith · · Score: 2, Interesting

      TFA does suggest though that google have gotten themselves into a horrible mess with their local changes and would be better off by offloading their stuff to the community and taking properly integrated releases.

    2. Re:Togh by Anonymous Coward · · Score: 1, Informative

      I think TFA also tries to notice how stupid is to base all your work in a old kernel because it's supposed to be the well-know stable release used in the organization, and then waste lots of human resources into backporting features from newer kernels. This is what Red Hat and Suse used to do years ago, and avoiding it is the main reason why Linus' set up the new development model. Google could learn from the distros, they probably can use all those human resources to follow more closely the kernel development. Switching to git will probably help a lot.

    3. Re:Togh by pathological+liar · · Score: 5, Insightful

      Yeah great work Linus.

      The distros STILL stick with older versions and backport fixes, because who in their right mind is going to bump a kernel version in the middle of a support cycle? It's even MORE broken because the kernel devs rarely identify security fixes as such, and often don't understand the security implications of a fix, so they don't always get backported as they should.

      The Linux dev model is NOT something to be proud of.

    4. Re:Togh by grcumb · · Score: 5, Funny

      The Linux dev model is NOT something to be proud of.

      Indeed:

      "The Linux dev model is the worst form of development, except for all those other forms that have been tried from time to time." - Winston Churchill

      ... Oh wait, no. That was me, actually.

      --
      Crumb's Corollary: Never bring a knife to a bun fight.
    5. Re:Togh by Anonymous Coward · · Score: 3, Insightful

      Oh actually I think the form of development used by the BSDs is a lot better. At least it is a lot more efficient. They don't just crap software and deprecate it as soon as it remotely works (hal).

    6. Re:Togh by grcumb · · Score: 2, Interesting

      The Linux dev model is NOT something to be proud of.

      Indeed:

      "The Linux dev model is the worst form of development, except for all those other forms that have been tried from time to time." - Winston Churchill

      ... Oh wait, no. That was me, actually.

      Holy humour-impaired down-modding, Batman! How is the above a troll?

      For those too dense to get the joke: I actually agree that the Linux development model has significant weaknesses. It's just that, despite its shortcomings, it actually has proven workable for many years now.

      I'm not implying that there aren't better community-driven coding projects in existence. Nor do I want to suggest that critiquing the community is unwarranted (or even unwanted). It's just that, for all its warts, it has produced consistent results over the years.

      --
      Crumb's Corollary: Never bring a knife to a bun fight.
    7. Re:Togh by diegocgteleline.es · · Score: 1

      You are right... ...except that the distro makers and the kernel hackers think the contrary.

    8. Re:Togh by X3J11 · · Score: 0, Offtopic

      I got it, and I chuckled a bit. I'd mod you back up, but alas I am unable.

      Now I'll just wait for my off topic.

    9. Re:Togh by Anonymous Coward · · Score: 0

      liar...

    10. Re:Togh by Anonymous Coward · · Score: 0

      The distros STILL stick with older versions and backport fixes, because who in their right mind is going to bump a kernel version in the middle of a support cycle?

      They stick with SLIGHTLY older versions because of all of their extra, uselessly custom 'patches', just like Google.

      Who in their right mind would do THAT!?

      I use nothing but the latest vanilla kernel and report the few regressions that I come across. The Linux kernel development model is the best for anyone who is not a masturbating monkey.

    11. Re:Togh by onefriedrice · · Score: 1

      Wow I didn't hear hal was deprecated. Just.. wow.

      --
      This author takes full ownership and responsibility for the unpopular opinions outlined above.
    12. Re:Togh by bheekling · · Score: 1

      What does HAL's deprecation have to do with the Linux Kernel's development model?

      --
      "..."
    13. Re:Togh by Anonymous Coward · · Score: 0

      The same happens in the kernel. Just look at devfs and udev. The same person who developed udev a few years ago now is behind tmpdevfs. And I'd also say the kernel development has some responsibility for hal too. If there would be something like the BSDs devd hal just couldn't be as awful.

    14. Re:Togh by bheekling · · Score: 2, Informative

      If you think udev and devtmpfs conflict, you don't know what each of them are supposed to do.

      If you read about them, you'd know that devtmpfs just populates /dev as devices are discovered by the kernel during boot. Which means udev doesn't have to spend several seconds parsing /sys to populate /dev with information the kernel already had.

      Now during init, udev's job is to parse udev rules and add user configuration plus fix the permissions of nodes in /dev. Afterwards it also monitors device addition and generates events which apps can monitor (recent versions added a gobject interface too), and adds device nodes according to rules, if any.

      In essence, devtmpfs's job is to allow a bootable system without the need to maintain a static /dev or depend on udev for a recovery shell.

      devfs was bad, really bad because there was no naming system back then, and every driver did something different causing utter chaos (which led to different distros patching the kernel in different ways to change the node names). Now there's uniformity, and the kernel knows what to call the basic device nodes created by the drivers.

      --
      "..."
    15. Re:Togh by Anonymous Coward · · Score: 0

      They have no desire to follow the kernel more closely than they are. Changing any of the basic software on the stack is dangerous. They intentionally do it infrequently.

    16. Re:Togh by John+Hasler · · Score: 1

      How is your fork coming along?

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    17. Re:Togh by evilviper · · Score: 1

      "The Linux dev model is the worst form of development, except for all those other forms that have been tried from time to time." - Winston Churchill

      The Linux dev model isn't the only one in existence, isn't the only one that has withstood for a lengthy period of time, and certainly isn't the only one with plausible contention for the best (as opposed to democracy).

      The FreeBSD (core-team) development model has certainly been around, in it's current form longer than the Linux kernel, and it doesn't suffer from many of the criticisms of Linux. It has plenty of its own criticisms, of course, but that's besides the point. It certainly isn't self-evidence that the Linux development model is the best... In fact Linux of today even has to compete with Linux from several years ago, before it switched to the "nothing is stable" model...

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  4. Re:Open source is the coat tails that Google rides by i_ate_god · · Score: 3, Insightful

    you missed the point of open source then

    --
    I'm god, but it's a bit of a drag really...
  5. Is it worth it? by ToasterMonkey · · Score: 2, Interesting

    The whole article sounds so painful, what do they actually get out of it?

    Google started with the 2.4.18 kernel - but they patched over 2000 files, inserting 492,000 lines of code. Among other things, they backported 64-bit support into that kernel. Eventually they moved to 2.6.11, primarily because they needed SATA support. A 2.6.18-based kernel followed, and they are now working on preparing a 2.6.26-based kernel for deployment in the near future. They are currently carrying 1208 patches to 2.6.26, inserting almost 300,000 lines of code. Roughly 25% of those patches, Mike estimates, are backports of newer features.

    In the area of CPU scheduling, Google found the move to the completely fair scheduler to be painful. In fact, it was such a problem that they finally forward-ported the old O(1) scheduler and can run it in 2.6.26. Changes in the semantics of sched_yield() created grief, especially with the user-space locking that Google uses. High-priority threads can make a mess of load balancing, even if they run for very short periods of time. And load balancing matters: Google runs something like 5000 threads on systems with 16-32 cores.

    Google makes a lot of use of the out-of-memory (OOM) killer to pare back overloaded systems. That can create trouble, though, when processes holding mutexes encounter the OOM killer. Mike wonders why the kernel tries so hard, rather than just failing allocation requests when memory gets too tight.

    Ooooh... efficiency.. I'm curious what the net savings is.. compared to buying more cheap hardware.

    So what is Google doing with all that code in the kernel? They try very hard to get the most out of every machine they have, so they cram a lot of work onto each.

    (30 * kernel engineer salary) / (generic x86 server + cooling + power) = ?

    1. Re:Is it worth it? by Rockoon · · Score: 5, Insightful

      This company had about a million servers last time I cared to find out. I dont think 'more cheap hardware' means the same thing to you as it does to Google.

      --
      "His name was James Damore."
    2. Re:Is it worth it? by Sir_Lewk · · Score: 4, Insightful

      They are already running absolutely absurd amounts of cheap hardware. "Just buying more" is something that I'm sure they are already doing all the time but clearly that only goes so far.

      (30 * kernel engineer salary) / (generic x86 servers + cooling + power) = ?

      I suspect the answer to that is a very very small number.

      --
      "linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
    3. Re:Is it worth it? by coolsnowmen · · Score: 4, Insightful

      You are clearly not an engineer of scientist. Aside from the fact that some people just like to solve technical problems, I am betting google's logic goes something like this:
      We have a problem that is basically only costing us $0.01*10,000computers/day. While that seems low, we plan on staying in business a long time, we could pay someone to solve the problem. Then there is that X factor, that if you don't do it, if you stop innovating, your competitors will, and they will get more and you will get less from the pool of money that is out there. In addition to that, the CS guy you paid to solve that is now worth more to your company (if you employed him) because [s]he now has a better understanding of a complex bit of code (the linux kernel) that you rely on heavily.

    4. Re:Is it worth it? by Anonymous Coward · · Score: 1, Informative

      Mike wonders why the kernel tries so hard, rather than just failing allocation requests when memory gets too tight.

      Wait, what? Has Google seriously never heard of vm.overcommit_memory?

    5. Re:Is it worth it? by dingen · · Score: 5, Interesting

      Ooooh... efficiency.. I'm curious what the net savings is.. compared to buying more cheap hardware.

      We're talking about Google here. They have dozens of datacenters all over the globe, filled with hundreds of thousands of servers. Some estimate even a million servers or more.

      So lets assume they have indeed a million servers and they need 5% more efficiency out of their server farms. Following your logic, it would be better to add 50,000 (!) cheap servers which consume space, power and require cooling and maintenance, but I'll bet you paying a handful of engineers to tweak your software is *a lot* cheaper. Especially since Google isn't "a project" or something. They're here for the long run. They're here to stay and in order to make that happen, they need to get the most from their platform as possible.

      --
      Pretty good is actually pretty bad.
    6. Re:Is it worth it? by kjart · · Score: 1

      This company had about a million servers last time I cared to find out.

      How did you manage that?

    7. Re:Is it worth it? by Rockoon · · Score: 5, Insightful

      Also consider the fact that Google has been basically deploying new servers non-stop for many many years. They are already purchasing cheap hardware at a very high rate. Even a tiny 1% improvement in efficiency for the existing and future servers is a huge huge win for them.

      That could amount to hundreds of millions of dollars saved over the next decade, and it doesnt take a genius to realize that a couple dozen programmer salaries will be a hell of a lot less than that.

      --
      "His name was James Damore."
    8. Re:Is it worth it? by LordNimon · · Score: 4, Interesting

      Porting patches from one kernel version to another is not innovation.

      A while back I got an invitation to work for Google as a kernel developer. I declined to interview, because I already had a job doing just that. This article makes me glad I never accepted that offer. I feel sorry for those kernel developers at Google. Porting all that code back-and-forth over and over again. Now *that's* a crappy job.

      --
      And the men who hold high places must be the ones who start
      To mold a new reality... closer to the heart
    9. Re:Is it worth it? by Rockoon · · Score: 1
      --
      "His name was James Damore."
    10. Re:Is it worth it? by Taur0 · · Score: 2, Interesting

      I really hope you're not an engineer, because your solution to a problem should never be: "Screw the most efficient solution, we'll just go out and buy more and waste more energy!" These incremental increases in efficiency will drastically change a product overtime, look at cars for example. The countless engineers working at GM, Toyota, Ford, etc. could have easily said: "meh whatever, just make them buy more gas". The modern combustion engine is only about 30% efficient, but that's far better than when the combustion engine was first thought of, which was somewhere around 0.4%.

    11. Re:Is it worth it? by TheSunborn · · Score: 1

      Funny, but that search don't give any reliable source for the 1 million servers estimate. The only source is an estimate by Gartner, and if you belive them, you also belive that Itanium II is the most sold 64 bit server chip

    12. Re:Is it worth it? by Anonymous Coward · · Score: 0

      Oh really? Running a that big server park of x86 servers would be ridicule slow and resource eating at the best.

    13. Re:Is it worth it? by Anonymous Coward · · Score: 0

      I'd say more like $0.10*1,000,000 servers / 1 day. 36.5 million is chicken feed, but, it doesn't cost 1.2 million a year to pay an engineer. Or I'm in the wrong profession.

    14. Re:Is it worth it? by registered_after_8_y · · Score: 1, Offtopic

      Well, GM and Ford kind of did say that, and look in what state they are now...especially GM...

    15. Re:Is it worth it? by onepoint · · Score: 1

      Well it's most likely worth it ( the investment in people ). think about it, Google is trying to manage how much cycle consumption per request is happening, save a few in the right area, you no longer need that extra machine or... you have an energy savings.
      Looks like a long term payoff.

      --
      if you see me, smile and say hello.
    16. Re:Is it worth it? by cyber-vandal · · Score: 1

      I'm not quite sure where it says in the whole OSS ethos that making a profit from OSS is against the rules. Redhat have been doing it for a while, as have IBM, and I'm sure Dell et al wouldn't be selling Linux PCs and servers if they weren't making money from doing so. Google have released the source to loads of different stuff as well so again I'm not sure exactly where you're coming from or why the insightful mod was awarded.

    17. Re:Is it worth it? by itzdandy · · Score: 1

      Google has more than 15,000 servers. A well tuned system can outperform a poorly tuned system 2:1 for very specialized apps like google uses. you dont think that having 15,000 vs 30,000 servers is worth maybe 2Mil in wages and power bill? google had a 2Mil power bill per month. Those developers are starting to look pretty cheap..

      Increasing the efficiency of their code, from memory management and scheduler to proxy servers can save huge amounts of CPU time which in turn lowers electricity requirements and number of servers needed.

      I am not surprised at all by this and wonder when google will look at using small for factor DC power ARM systems. A fairly recent platform they used ran a custom motherboard and power supply and they started out on some sparc,x86, and an RS/6000 so they are not affraid of some custom hardware. Cutting that power bill can be a very significate improvement in the cost structure just like improving the performance of the OS.

      http://en.wikipedia.org/wiki/Google_platform#Server_types

    18. Re:Is it worth it? by epine · · Score: 1

      People seem to be ignoring in this equation that this team of engineers becomes deeply familiar with the Linux kernel and likely participates in a lot of problem solving and strategic work on the side. Knowing Google, they are confronting this patch migration problem from a high level and generally thinking about *all* the problems in the Linux kernel development and maintenance space. I'm sure this mess also counts toward code review against their mission critical infrastructure and their general handling of SCM issues at all levels of software development.

      Just buy more hardware: none of the above. They're already world class at scalability. Wouldn't surprise me if they had 3000 engineers making contributions counted generously toward scalability, across algorithms, services, and hardware. One percent of their engineers engaged in a high-level chess game with "grin and bear it" is entirely justified.

    19. Re:Is it worth it? by Youngbull · · Score: 1

      let's assume that they have about a million servers already, then an improvement in overall load of 0.01% would then save them from buying 100 machines... makes spending time making the operating system run smoothly a lot more profitable.

    20. Re:Is it worth it? by Anonymous Coward · · Score: 0

      Mayyyyybe this source will be trustable enough for you?

    21. Re:Is it worth it? by Anonymous Coward · · Score: 0

      Don't worry about them, worry about yourself.

      They're working at Google... and putting it on their resume.

    22. Re:Is it worth it? by jelle · · Score: 1

      "Mike wonders why the kernel tries so hard, rather than just failing allocation requests when memory gets too tight."

      I realize this is formulated in a negative way, with no prior reservation of resources, but erm, it was fast and easy right now and gave a sufficient response to the thread with the lowest possible latency, and if and when it ever becomes important I'll reformulate it nicely right before it's needed, and until that time those resources stay available for other uses. So be warned, here it comes: Probably that is because Mike doesn't know what lazy allocation means, why it is used, and that that means that there is not an allocation request to fail when the OOM condition happens?

      Hmm, I sound so arrogant in this post that I'm probably wrong... But I can't help but feel that I'm pretty close to being right...

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    23. Re:Is it worth it? by Stewie241 · · Score: 1

      Another way to put it... say you can make the server produce 1% extra performance

      A *very* conservative estimate of 100 000 servers (I'd be shocked if they didn't have many times that) means that you now have the capacity of an extra 1 000 servers, which means 1 000 less servers that have to be purchased, deployed and maintained.

    24. Re:Is it worth it? by Tharald · · Score: 1

      Sorry to burst your bubble, but the combustion engine still only has about 20% efficiency.

      ICE

    25. Re:Is it worth it? by Anonymous Coward · · Score: 0

      From YFA: "Google never says how many servers are running in its data centers."

    26. Re:Is it worth it? by Anonymous Coward · · Score: 0

      Ooooh... efficiency.. I'm curious what the net savings is.. compared to buying more cheap hardware.

      *chuckle*

      The script kiddies always know how to make me smile.

    27. Re:Is it worth it? by Anonymous Coward · · Score: 0

      It's ok. Some Indian/Chinese will do this dirty work.

      Very soon all of America's codes will be written by Indian/Chinese.

      Owned.

      But it's ok because America will invent the next derivatives and by leveraging that, America enters and endless loop of VALUE CREATION.

      (Oh my God I can't believe I typed that. Forgive me.)

    28. Re:Is it worth it? by Anonymous Coward · · Score: 0

      actually they did just that for a time, then the gas got expensive ...

    29. Re:Is it worth it? by ckaminski · · Score: 1

      Now if only they'd taken Con's pluggable sceheduler patches... tsk tsk tsk...

    30. Re:Is it worth it? by Rockoon · · Score: 1

      Even if you believe other sources in that they only have half a million servers instead of a full million servers, of what value is arguing this point? No value at all.

      Either way they have a hell of a lot of servers, far more so than is needed to justify arguments about how a few dozen salaries is peanuts compared to their hardware investment.

      --
      "His name was James Damore."
    31. Re:Is it worth it? by ToasterMonkey · · Score: 1

      You are clearly not an engineer of scientist. Aside from the fact that some people just like to solve technical problems, I am betting google's logic goes something like this:

      ... because I question your efficiency? I'm keenly aware of the "just because" excuse, and to hear Google say that would make my day. They have the resources to do it for sure.

      We have a problem that is basically only costing us $0.01*10,000computers/day. While that seems low, we plan on staying in business a long time, we could pay someone to solve the problem. Then there is that X factor, that if you don't do it, if you stop innovating, your competitors will, and they will get more and you will get less from the pool of money that is out there. In addition to that, the CS guy you paid to solve that is now worth more to your company (if you employed him) because [s]he now has a better understanding of a complex bit of code (the linux kernel) that you rely on heavily.

      I see many of the things added/backported in Linux by Google are already included in other current operating systems.
      Google does not sell operating systems.
      What is the relationship between computing efficiency and advertising revenue?
      How have these practices affected Google's bottom line?
      I agree with that last sentence you wrote.

      Call me not an engineer or not a scientist, but Google is a public company. When you hear "just because", any good engineer, scientist, or investor should start asking questions.

    32. Re:Is it worth it? by coolsnowmen · · Score: 1

      You commented on my aside "just because" twice as if it was even part of the main part of my response. It was not.

      I see many of the things added/backported in Linux by Google are already included in other current operating systems.

      In the article they talk about how they have slowly gone from one kernel release to another. Some specifics are in TA, but the only thing unsaid that might help is that because the kernel is so complex and development so fast, google can't just keep updating to the next one. It would put undo work on the people maintaining the google_specic_patches. It would put that much more work on their testers because you just never no how changes between version might effect your system until you try it, and even then you can miss something.

      I believe your other point/question to be:

      What is the relationship between computing efficiency and advertising revenue?
      How have these practices affected Google's bottom line?

      Clearly I don't know, but to defend my supposition that there is a reason Google would spent time*money doing this-

      Google tried to return it's entire search page (complete with adds etc) in under X seconds (I think X=1/10 ), and too that aim it can vary a bunch of things. It can throw more computers at the problem, because clearly they use 1 computer to service Y thousand requests for searches+ads. That costs money for cost of computer + maintenance + power-cost*time. (Increasing efficiency decreases this cost).
      Another thing is algorithm complexity + database lookups. Google must have a fairly sophisticated system of updating it's search results database, returning results from it's add requests. These also have to return in X time which limits the complexity of the algorithm+lookups. If you have more computationally efficient systems, you can do more in the same period of time.

      That's just my argument, google might have their own, and if I have not persuaded you by this point, I probably never will and you have your own point of view (which is in short: "it's not worth it"). Then, I would understand if you wouldn't fund the work> but they did, and that's the way it is.

    33. Re:Is it worth it? by fulldecent · · Score: 1

      please read that 25% line one more time.

      now remember that comes after 20% free time.

      so that's 1 day backporting and 1 day free time per week. doesn't sound bad to me.

      now... last time google offered me a job I took it, so maybe that the difference between us.

      --

      -- I was raised on the command line, bitch

  6. Low memory conditions by jones_supa · · Score: 5, Interesting

    Google makes a lot of use of the out-of-memory (OOM) killer to pare back overloaded systems. That can create trouble, though, when processes holding mutexes encounter the OOM killer. Mike wonders why the kernel tries so hard, rather than just failing allocation requests when memory gets too tight.

    This is something I have been wondering too. Doesn't it just lead to applications crashing more often than them normally reporting they cannot allocate more memory?

    1. Re:Low memory conditions by IamTheRealMike · · Score: 4, Insightful

      Well, most programs are not OOM safe. It turns out to be really hard to write programs that behave gracefully in OOM scenarios. Killing a sacrificial process when the system is out of memory works OK if you have a pretty good idea of priority ordering of the processes, which Google systems do.

    2. Re:Low memory conditions by drsmithy · · Score: 1

      This is something I have been wondering too. Doesn't it just lead to applications crashing more often than them normally reporting they cannot allocate more memory?

      It results in (practically speaking) non-deterministic behaviour. Which is pretty much the worst thing you could have when it comes to system reliability. The OOM Killer (a solution to a problem that shouldn't even exist) basically kills stuff at random and (at least in my experience) rarely the process that's actually causing the problem in the first place. It's quite common for the OOM Killer to reduce a system to a state where it's impossible to log in at all.

      The (default) memory allocation policy in Linux is insane and was only implemented to pander to badly written programs. Fortunately you can make it behave in a sane manner by fiddling a sysctl, but that can (and does) break the aforementioned badly written code (a common victim is the JVM).

  7. Does Google give coade back by TorKlingberg · · Score: 4, Insightful

    Does Google give any code and patches back to the Linux kernel maintainers? Since they probably only use it internally and never distribute anything they are not required to by the GPL, but it would still be the right thing to do.

    1. 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.
    2. Re:Does Google give coade back by Anonymous Coward · · Score: 1, Informative

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

      That's 6% of non-author signoffs. It's not 6% of changes. I'm not saying they don't contribute, but the manner of their contribution isn't what your suggesting.

    3. Re:Does Google give coade back by marcansoft · · Score: 4, Interesting

      Andrew Morton, Google employee and maintainer of the -mm tree, contributed the vast majority of the changes filed under "Google" (and most of those changes aren't Google-specific - Andrew has been doing this since before he was employed there). If you subtract Andrew, Google is responsible for a tiny part of kernel development last I heard, unfortunately.

    4. 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.

    5. Re:Does Google give coade back by ibwolf · · Score: 2, Insightful

      most of those changes aren't Google-specific

      Why would they submit "Google-specific" patches?

      It would make sense for them to only submit those patches that they believed to be of general utility. Other stuff would likely not be accepted.

    6. 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.

    7. 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.

    8. Re:Does Google give coade back by itzdandy · · Score: 3, Insightful

      If you subtract search engines google is responsible for a a tiny portion of the internet. Andrew gets benies from google so I suppose they do get some credit for the quantity of his work as he needs to eat and pay rent so that he can code.

    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.

    10. Re:Does Google give coade back by tyrione · · Score: 1

      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.

      You clearly know nothing about Linux Kernel development if you think Morton is a face for a team of hidden coders.

    11. Re:Does Google give coade back by Anonymous Coward · · Score: 0

      Who is this Andrew guy and how do we pat him on the back?

    12. Re:Does Google give coade back by jelle · · Score: 1

      "simply because my best guess was that I am the only person who will ever want feature x"

      You may have been underestimating 'the others'... "Release early, release often" means release it, even if you think it's (still) useless junk. Just label it as that, and perhaps others will find it better than useless junk, or if needed maybe clean it up and turn it into something you never even thought it could be.

      At least send a message 'listen guys, this is what I threw together for myself and here is why', or put up a webpage on a blog or wiki somewhere with your patches and mention the site once on the mailing list.

      Do it for the others, whom may surprise you.

      A lot of programmers with good intentions end up never releasing what they've made, and what could have turned into something great, just because they want to 'clean it up first', or because they think 'nobody would want it' (they wanted it, so somebody did, making it less than unlikely that somebody else wants it too). Release it, just be honest and say that even you the creator thinks it's dirty and useless. Perhaps others disagree about the 'useless', or are better/faster than you in cleaning it up, or maybe it inspires others to make something similar, or more advanced, in 'the right way'.

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    13. Re:Does Google give coade back by mahadiga · · Score: 1

      You can search for Google in http://lxr.linux.no/#linux+v2.6.31/

      --
      I'd like to buy homeland for our 10 million people. http://twitter.com/mahadiga
    14. Re:Does Google give coade back by Anonymous Coward · · Score: 1, Interesting

      Hiring someone to keep doing what they were already doing doesn't make you a kernel contributor.

      I disagree with this statement. He's being paid to work on the kernel. What's the difference?

    15. Re:Does Google give coade back by Anonymous Coward · · Score: 1, Insightful

      I disagree with this statement. He's being paid to work on the kernel. What's the difference?

      There is no big difference, semantically. But just in case you missed what Andrew does at Google and what Google does with Linux, here's a quick summary:

      - Google pays Andrew to work on Linux, which is good, but any company could do that, since it's "just" money.

      - Google uses Linux (extremely) heavily, which is interesting, and suggests the potential for interesting contributions from Google.

      - Google modifies Linux heavily in order for it to function well for the applications Google needs it for, which again suggests the potential for interesting contributions from Google.

      But, and this is the "bad" part:

      - Google does in general not contribute any changes back to mainstream Linux, but rather keeps them in-house, for various reasons (questionable quality, very Google-specific, tied to a much earlier version of the kernel, lack of man-power to maintain included changes in mainstream on an on-going basis, and so on.)

      There might be a genuine ambition within Google to rectify some (or most?) of the above, in order to be more synced up with mainstream, which would lessen the barrier somewhat for including more of the changes needed for Google, but that isn't happening much today, so we'll just have to wait and see. Maybe something will change during 2010?

      I hope the above makes things a bit clearer.

    16. Re:Does Google give coade back by Wodin · · Score: 1

      http://en.wikipedia.org/wiki/Andrew_Morton_(computer_programmer)

      Sending him a "thank you" e-mail would be one way to pat him on the back.

      --
      -- Wodin
    17. Re:Does Google give coade back by evilviper · · Score: 1

      Points 3 and 4 would happen even if he weren't employed at Google.

      Don't tell him or Google that... I'm sure he prefers to eat in-between maintaining Linux.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  8. kernel development by Anonymous Coward · · Score: 0

    this is very interesting, but i have a question. As I understood, google have its own kernel development line?

  9. The Win32 Way by Anonymous Coward · · Score: 0

    Under Windows, if you commit memory, it's yours and it will be there. If the system can't make that promise, it will fail to commit the memory and return an error.

    1. Re:The Win32 Way by ettlz · · Score: 1

      So what does it do if I allocate a couple of hundred megabytes and then don't use them?

    2. Re:The Win32 Way by Sam+Douglas · · Score: 2, Interesting

      In Unix if malloc returns null then the memory allocation failed and you don't have the memory. A well written program should check that. Overcommitting memory can have efficiency advantages, but things can also turn out badly. Linux has heuristics to determine how much to overcommit the memory, or it can be disabled entirely.

      http://utcc.utoronto.ca/~cks/space/blog/unix/MemoryOvercommit

      http://utcc.utoronto.ca/~cks/space/blog/linux/LinuxVMOvercommit

    3. Re:The Win32 Way by Anonymous Coward · · Score: 1, Informative

      Unless you run Linux!

      " By default, Linux follows an optimistic memory allocation strategy. This
                    means that when malloc() returns non-NULL there is no guarantee that the
                    memory really is available. This is a really bad bug. In case it turns
                    out that the system is out of memory, one or more processes will be
                    killed by the infamous OOM killer. In case Linux is employed under cir-
                    cumstances where it would be less desirable to suddenly lose some ran-
                    domly picked processes, and moreover the kernel version is sufficiently
                    recent, one can switch off this overcommitting behavior using a command
                    like:

                            # echo 2 > /proc/sys/vm/overcommit_memory
      "

    4. Re:The Win32 Way by 0ld_d0g · · Score: 1

      So what does it do if I allocate a couple of hundred megabytes and then don't use them?

      Nothing. Other apps continue to use all of the memory that you aren't using. You OTOH, just burned a hole in your virtual address space.

    5. Re:The Win32 Way by LinuxIsGarbage · · Score: 1

      So what does it do if I allocate a couple of hundred megabytes and then don't use them?

      Nothing. Other apps continue to use all of the memory that you aren't using. You OTOH, just burned a hole in your virtual address space.

      In particular it will reserve your unused memory in the page file so other programs can use the system RAM. This is one reason, even if you have lots of RAM, to not disable the page file. Otherwise it will be forced to reserve physical RAM. Cutting away memory that can be used for other applications, disk cache, etc.

  10. Re:Open source is the coat tails that Google rides by Anonymous Coward · · Score: 1, Insightful

    For Free Software, 'take' is fine. 'Provide but restrict' is not.

  11. Re:Open source is the coat tails that Google rides by IamTheRealMike · · Score: 5, Insightful

    Hmm, you realize that Android alone is over 10 million lines of code right? That's a pretty big open source contribution right there. But then there's also over a million lines of code across 100+ smaller projects too. So I am not sure what your definition of "table scraps" is but it's significantly more lines of code than most companies do.

  12. Re:Open source is the coat tails that Google rides by Rockoon · · Score: 1

    This vs the other metric.. how many anonymous posters downplay their massive contributions.

    I'm not a big fan of Google, but god damn man. These guys are a huge player no matter what they do.

    --
    "His name was James Damore."
  13. Re:Open source is the coat tails that Google rides by jo_ham · · Score: 1

    Is "Amazingly short sighted" your sig, that is a self referential thing you need to tack onto everything you write? Seems very apt.

  14. Re:Open source is the coat tails that Google rides by thetoadwarrior · · Score: 1

    Using the "I only count the bits I want them to release the source to" metric is also a shit way to gauge their contribution to open source.

  15. Are you nuts by Anonymous Coward · · Score: 3, Insightful

    I'm not a huge goog fan, I never take their cookies so I don't use anything but search..but JUST search is way more "give back" than table scraps. If they announced tomorrow their search would now cost x-dollars a year, as long as it was somewhat reasonable,like an extra 5 bucks a month on top of my ISP bill, I'd pay for those table scraps. Google search has done more than anything else to make the web actually *useful* since the invention of the hyperlink.

    Sure, there are other search engines, but if you actually learn to *use* the features and filters present wih google's, it just stomps all the others flat.

    Whatever they give back in terms of code is just gravy on top of that.

    1. Re:Are you nuts by onefriedrice · · Score: 1

      Mmm, but the gravy is kinda important. Just sayin.

      --
      This author takes full ownership and responsibility for the unpopular opinions outlined above.
    2. Re:Are you nuts by Anonymous Coward · · Score: 0

      I would not pay $60/year to use google for search. yahoo/msft/whatever might be shithouse, but not $2500 over my lifetime shithouse

  16. DTrace by Anonymous Coward · · Score: 2, Informative

    They monitor all disk and network traffic, record it, and use it for analyzing their operations later on. Hooks have been added to let them associate all disk I/O back to applications - including asynchronous writeback I/O.

    I. Want. This.

    DTrace code:

    #pragma D option quiet

    io:::start
    {
                    @[args[1]->dev_statname, execname, pid] = sum(args[0]->b_bcount);
    }

    END
    {
                    printf("%10s %20s %10s %15s\n", "DEVICE", "APP", "PID", "BYTES");
                    printa("%10s %20s %10d %15@d\n", @);
    }

    Output:

    # dtrace -s ./whoio.d
    ^C
            DEVICE APP PID BYTES
              cmdk0 cp 790 1515520
                  sd2 cp 790 1527808

    More examples at:

    http://wikis.sun.com/display/DTrace/io+Provider

    1. Re:DTrace by OeLeWaPpErKe · · Score: 1

      Long live solaris and freebsd. Wonder how the linux tracing stuff is coming ?

    2. Re:DTrace by JamesP · · Score: 1

      I thought about this too and I guess your example shows why they don't use it...

      All the 'printfs' are a burden, so they probably put the stats in memory and do some other thing with it

      --
      how long until /. fixes commenting on Chrome?
    3. Re:DTrace by krelian · · Score: 1
  17. wtf? by Anonymous Coward · · Score: 2, Funny

    Oh sorry...title had me thinking this was penguin porn

  18. Real example... by Fished · · Score: 4, Interesting

    Back in the 90's, we had a customized patch to Apache to make it forward tickets within our intranet as supplied by our (also customized) Kerberos libraries for our (also customized) build of Lynx. It all had to do with a very robust system for managing customer contacts that ran with virtually no maintenance from 1999 to 2007--and I was the only person who understood it because I wrote it as the SA--when it was scrapped for a "modern" and "supportable" solution that (of course) requires a dozen full-time developers and crashes all the time.

    Not really bitching too much, because that platform was a product of the go-go 90's, and IT doctrine has changed for the better. No way should a product be out there with all your customer information that only one person understands. But it was a sweet solution that did its job and did its job well for a LONG time. Better living through the UNIX way of doing things!

    But, anyway, I never bothered to contribute any of the patches from that back to the Apache tree (or the other trees) because they really only made sense in that particular context and as a group. If you weren't doing EXACTLY what we were doing, there was no point in the patches, and NOBODY was doing exactly what we were doing.

    --
    "He who would learn astronomy, and other recondite arts, let him go elsewhere. " -- John Calvin, commenting on Genesis 1
    1. Re:Real example... by jgrahn · · Score: 1

      Back in the 90's, we had a customized patch to Apache to make it forward tickets within our intranet as supplied by our (also customized) Kerberos libraries for our (also customized) build of Lynx. [...] and I was the only person who understood it because I wrote it as the SA--when it was scrapped for a "modern" and "supportable" solution that (of course) requires a dozen full-time developers and crashes all the time.

      Not really bitching too much, because that platform was a product of the go-go 90's, and IT doctrine has changed for the better. No way should a product be out there with all your customer information that only one person understands.

      That sounds a lot like "build your stuff so complicated that it needs a dozen full-time developers, because a simple solution which one guy can maintain leaves you vulnerable". Or are you saying your patching-based solution wasn't robust? Some people would assume that based on your description, but I don't.

  19. Re:Open source is the coat tails that Google rides by tyrione · · Score: 1

    Hmm, you realize that Android alone is over 10 million lines of code right? That's a pretty big open source contribution right there. But then there's also over a million lines of code across 100+ smaller projects too. So I am not sure what your definition of "table scraps" is but it's significantly more lines of code than most companies do.

    I see millions of lines of Code from the Apache Foundation's various Java projects in Android.

  20. So about 1/10th Sun's contribution by saleenS281 · · Score: 1

    That's a drop in the bucket compared to what Sun has contributed to open source. Of course, slashdot appears to be perversely against Sun for some reason I cannot fathom.

    1. Re:So about 1/10th Sun's contribution by jeffstar · · Score: 1

      shwartz ruined sun

    2. Re:So about 1/10th Sun's contribution by Again · · Score: 4, Funny

      That's a drop in the bucket compared to what Sun has contributed to open source. Of course, slashdot appears to be perversely against Sun for some reason I cannot fathom.

      Names are very important. The name Sun reminds of that place on the other side of the door where if we go, our skin gets red and burns. Google reminds us of that friendly homepage that would load under 5 seconds on dial-up.

  21. Re:Open source is the coat tails that Google rides by nloop · · Score: 1

    Android is not GPL'd. Android is released under the Apache license. As of Android 2.0 Google has opted to not released the code to the Android Open Source Project. Those 10 million lines of code are for the most part closed. Sure, they have to release the kernel itself, but "Android" is theirs and they are keeping it.

    I'm assuming this is to give Verizon exclusivity with their "droid" phone to be the only one running 2.0. I don't think they anticipated projects like cyanogenmod taking off quite like they have. Why buy a droid if your cheap g1 can run the latest software?

    Do No Evil?

  22. Reminds me of Android by cycoj · · Score: 2, Insightful

    Somehow I'm reminded about the whole Android thing. Google really seems to have the urge to only do their own thing. Same thing with android where they have thrown out the whole "Linux" userspace to reinvent the wheel (only not as good, see Harald Welte's Blog for a rant about it). Here it seems the same thing they just do their own thing without merging back and disregarding experiences others might have had.

    On a side note, their problems with the Completely Fair Scheduler should be a good argument for pluggable schedulers. It shows one scheduler can't fit all use cases, but I doubt Linus will listen.
    C

    1. Re:Reminds me of Android by drinkypoo · · Score: 1

      If what you say is true, and if what is said about Free Software is true, then there should therefore exist an opportunity for someone to come along and eat google's lunch by taking advantage of the Bazaar development model. I suggest you get crack-a-lackin'.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    2. Re:Reminds me of Android by FrankDerKte · · Score: 1

      If searching would not require a large indexed crawl of the www and if handling the search requests would not require a huge amount of servers, your statement would be true in the search engine business.

      If developing a system for mobile phones would not include developing and producing the actual hardware your statement would be true for mobile os.

  23. Solaris by kriston · · Score: 1

    It's amazing how many of these problems, especially with regard to multi-threading issues and multiple cores, have already been solve and implemented in Sun Solaris. In 1994. Fifteen years ago.

    --

    Kriston

    1. Re:Solaris by T-Ranger · · Score: 2, Informative

      And yet, tar is still broken. Well, maybe not today, but it sure as fuck was in 1994.

      Pick your poison.

    2. Re:Solaris by ladadadada · · Score: 1

      Solaris 10 has backwards compatibility with SunOS 2 so yes, tar is still broken.

      The point is: it's broken in exactly the same way that it was broken in 1994.

      --
      Sig matters not. Judge me by my sig, do you?
  24. Re:Open source is the coat tails that Google rides by petrus4 · · Score: 3, Insightful

    They take and take from open source and throw back a couple of table scraps and you people all kiss their ass for it.

    300K lines of code? Yep, table scraps.

    For people who wonder why I continue to want to see the end of the FSF, the above attitude is the reason why. Stallman and his organisation are the reason for it.

    Aside from being ugly and spiritually bankrupt, reciprocity paranoia is based on completely erroneous reasoning, as well. The same people who talk about how music piracy isn't harming anyone, because it doesn't physically take away from a finite supply of copies, are also those who express the above paranoia about people "taking," from FOSS, as if that is somehow a physically finite resource, when music isn't.

    Get rid of your fear.

  25. Odd for Slashdot.. by abbe · · Score: 1

    The articles cited are like 2 weeks old, Isn't this odd for slashdot to discuss the news that old...

    --
    404 Not Found
    1. Re:Odd for Slashdot.. by g8oz · · Score: 1

      Isn't this odd for slashdot to discuss the news that old...

      You must be new here

    2. Re:Odd for Slashdot.. by abbe · · Score: 1

      That is the first reply, I ever got on /. :-). And Yes, I am new here.

      --
      404 Not Found
  26. Re:Open source is the coat tails that Google rides by LingNoi · · Score: 0, Insightful

    Could explain what tables scraps is?

    - Their google summer of code program where they have invested millions of dollars into for many years now?
    - The huge open source android framework you can use on mobile phones?
    - The numerous number of useful projects they have released including the tools they used to make most of their products?
    - The free project hosting resources they give open source projects?
    - The government lobbying they have done to level the playing field for open technologies?

    Amazingly short sighted.

    Yes, you are!

  27. Google is not givin back a shit by 12357bd · · Score: 1

    Google is using extensively open source, but is not giving back any significant technology to the open source world.

    No efficient search technology.
    No decent OCR software (ocropus + tesseract are still years behind what you get for free with any multifunction HP printer on the windows world) No GIS technology No JSP cooperation, Minimal kernel patches, etc, etc

    Google could be a major open/free source contributor, they have the money and the skills, but they have no will to do-it. In fact, Google is behaving like any other big greedy corporation, they only do what they see fit for his own interest. The bleeding point is that Google exist THANKS TO open/free programming.

    --
    What's in a sig?
    1. Re:Google is not givin back a shit by Anonymous Coward · · Score: 0

      BFD.

      I hack OSS to make it better for my needs; I submit patches upstream to save others (with similar needs) the trouble. We all end up with software that suits our needs.

      Enter Google; they use some of this, make their own changes, and [gasp] don't push them upstream. In what ways does this affect me?

      • I still have access to changes others like me make, and they have my changes. That G is "ripping us off" affects this in no way.
      • Presuming OSS is better, or as good and cheaper, vs. the non-OSSalternatives, Google's services will be better and/or cheaper. If I choose to use them, this effect is positive or at worst (no meaningful competition) neutral. If I use a competitor's services, the competitive pressure will be beneficial for me. If I don't use any of them, no effect.

      I just don't see where this hurts me, regardless of how much G benefits from my freely-given efforts; if the thought of someone profiting from my efforts bothered e, I wouldn't have contributed to OSS.

    2. Re:Google is not givin back a shit by StripedCow · · Score: 1

      what about android? or chrome?
      both quite respectable projects, I would say.

      --
      If Pandora's box is destined to be opened, *I* want to be the one to open it.
    3. Re:Google is not givin back a shit by Fastolfe · · Score: 1

      According to http://code.google.com/opensource/, Google has released 1M lines of source code across 100 projects. Are you disappointed in the volume of contributions, or because they aren't releasing software that you're interested in? Sure, Google could open source their entire search product, but that's kind of a critical part of their revenue stream, yeah?

  28. Re:Open source is the coat tails that Google rides by FooBarWidget · · Score: 1

    I think you need to distinguish between true FOSS zealots and leeches who just want stuff for free. Hint: the grandparent is the latter.

  29. Re:Open source is the coat tails that Google rides by jgrahn · · Score: 1

    They take and take from open source and throw back a couple of table scraps and you people all kiss their ass for it.

    300K lines of code? Yep, table scraps.

    Who said they were throwing those lines back? They don't have to, and a short look at TFA didn't make it look as if they did. (Not that I mind -- I myself maintain such kernel code at work.)

  30. Re:Open source is the coat tails that Google rides by bgarcia · · Score: 1

    As of Android 2.0 Google has opted to not released the code to the Android Open Source Project. Those 10 million lines of code are for the most part closed. Sure, they have to release the kernel itself, but "Android" is theirs and they are keeping it.

    Dude. Android 2.0 was just announced in October. Give them a little time, sheesh. You think they're going to go through all this trouble to set up an open-source alliance for their code, then not release it as open source?

    They're most likely just busting their butts to support all the new phones coming out for Christmas. I bet they work on cleaning up the code & releasing it early next year.

    --
    I'm a leaf on the wind. Watch how I soar.
  31. Re:Open source is the coat tails that Google rides by nloop · · Score: 1

    A simple "the code will be released later" statement from Google would certainly clear that up and keep the wolves at bay. Currently, the only word from them is noncommittal comments from Jean Baptiste Queru. Why so sheepish about it if that's the case? I don't think they like having stories like this about their utopian OS. Seems like a simple fix.

  32. They should talk to IBM by synoniem · · Score: 1

    Google and the kernel developers should talk to IBM and ask for publishing the scheduler used in OS/2 v2 and up which in turn was a makeover of a mainframe scheduler. It would certainly solve a large part of their current problems.

  33. Re:Open source is the coat tails that Google rides by nloop · · Score: 1

    oops, wrong bad news story link. that's the one I was aiming for. A source release would fix that.

  34. They also have a lot of desktops by Wee · · Score: 1

    Google runs their own flavor of linux on most engineers' workstations, too. When I first got there, it was based on Red Hat 9 (and called grhat). After Red Hat fucked their users with the whole Fedora nonsense, Google went to a version based on Ubuntu (called goobuntu). I don't recall the amounts, but I do know that they submit patches back to Ubuntu fairly frequently.

    Not telling how many servers they run. My numbers would be 18 months out of date anyway. :-)

    -B

    --

    Ash and Hickory, straight-grained and true, make excellent bludgeons, dandy for the cudgeling of vegetarians.

  35. Well... by Fished · · Score: 1

    In fairness, the new system has capabilities that the old system did not. And I also think that there is a certain amount of overhead that necessarily accompanies a serious development effort, especially one that involves more than one person. If I just want to throw something up that will work, I can do it, by myself, without documentation etc., in a matter of weeks. Require documentation, controlled processes, and make me work with a team, and it will take months. The "mythical man month" is an ever-present reality--software projects do NOT grow in a linear fashion, and in fact as you add developers productivity regresses with depressing frequency.

    However, I do think this example is a bit of a commentary on the power of the "unix way of doing things": flat files are a fundamentally powerful approach for those applications where they can do the job, and Java, Oracle, and the like will sap productivity in applications where their features are not actually needed. This is why I'm always highly suspicious of any developer who "does everything in [Java|.net|perl|whatever]. You need to pick the right tool for the job.

    --
    "He who would learn astronomy, and other recondite arts, let him go elsewhere. " -- John Calvin, commenting on Genesis 1
  36. Re:Open source is the coat tails that Google rides by Anonymous Coward · · Score: 0

    you've missed his point - the emphasis is on the 'kissing ass', not the table scraps.

    he's not worried about the table scraps per se, he's worried about the fact that people go apeshit with the whole "google are omfg so awesome holy crap" thing to an extent that they believe (by default) google actually make important oss contributions.

  37. Well done I say by Yay+Another+Nickname · · Score: 1

    The fact that Google is talking is all good - sounds like there is not too much secret squirrel stuff going on and everyone wins. They do very cool stuff with their hardware and software sooo tempting to be lured in ... But I still think Google=Evil (so much data/knowledge + nothing lasts forever).

  38. Use Solaris then. by jotaeleemeese · · Score: 1

    Or buy one of their Solaris/ZFS/Dtrace based storage devices, you can do what you ask with a few clicks of the mouse...

    --
    IANAL but write like a drunk one.
  39. The above should be so much modded up by jotaeleemeese · · Score: 1

    People just don't know about the innovation that has being going on in the storage arena by Sun.

    It is funny, but I think what let Sun down was their marketing, not their Engineering.

    You can currently get storage devices that run those diagnostics at the click of a mouse.

    How regrettable that this wonderful technology may be shelved. Tragic really.

    --
    IANAL but write like a drunk one.
  40. What an ass. by jotaeleemeese · · Score: 1

    Support of older applications has a great pedigree in the IT industry.

    You will find much more interesting problems from a technical point of view doing that, because you will be basically on your own.

    --
    IANAL but write like a drunk one.
  41. I never used tar by jotaeleemeese · · Score: 1

    One had cpio and dumpfs which worked fine as far as I can tell.

    When you bought Sun back then the last thing you were worrying about was if tar worked or not ....

    --
    IANAL but write like a drunk one.
  42. They don't have to. by jotaeleemeese · · Score: 1

    You should really read carefully the licenses of open source software before the foam in your mouth asphyxiates you.

    --
    IANAL but write like a drunk one.