Slashdot Mirror


Google Gives Reason Why it is Built on Linux

Rob writes "A common reason why more governments and enterprises around the world are moving to open source software is unhappiness, it was revealed during a panel discussion at the LinuxWorld Conference in San Francisco yesterday. Google Inc open source programs manager Chris DiBona said the search giant has stuck with Linux throughout the company's life, in part, because it was unhappy with the terms of another software company. Which borgware company is he referring to?"

29 of 670 comments (clear)

  1. Re:Free by aaza · · Score: 4, Informative
    In this case, the freedom to use the bits you need, not everything that's bundled with it.

    Also, the freedom to change the bits that you need changed. Don't like that particular piece of software? Change it. Don't ask any other company - just do it.

    You can't do that with most commercial products. All you can do is put in a feature request, and hope that it is implemented before the sun goes cold. (Yes, I know that some companies do, but some do not.)

    --
    In theory there is no difference between theory and practice.
    In practice, however, there is.
  2. Re:Unsurprising! by brilinux · · Score: 4, Informative

    They had a talk here at CMU by a Kernel hacker at Google ... he was talking about how they were able to add code to the kernel to get an incredibly close view at exactly what was going on in the kernel so that they could pinpoint problems and bottlenecks - something that they could not do with a proprietary system. (The speaker, BTW, was Richard Sites, who also helped design the Alpha architecture).

  3. Re:Apple? by liangzai · · Score: 3, Informative

    Apple was an extremely bad example of yours. Ever heard of Darwin? It is open source, runs on PPC and Intel. You can tweak it as much as you want (like Google wants), and if you are a government employee (like in the remainder of the article) you can just boot up the full Mac OS X to get a usability that linux will never come close to.

  4. Re:Open source is broken by Joe+U · · Score: 2, Informative

    A few points:

    Tivo is not open source. It runs Linux and you can get your very own version of Linux from the source code, but you do not have a Tivo when you are done, because that code is not open.

    Linksys routers are an appliance, and not completely open as well. e.g. Broadcomm drivers are closed.

  5. Re:Why by meowsqueak · · Score: 3, Informative

    Because Google Earth wasn't written by Google - it was written by Keyhole which was subsequently acquired by Google. There's no reason to presume there will never be a Linux version (but there's also no reason to presume there will be, either).

  6. Re:OT: Traffic impact by Google Personalized Homep by generic-man · · Score: 4, Informative

    When a popular web site links to another web site, the link target gets a lot of hits.

    Slashdot is one example of this. Fark is another. SomethingAwful's Awful Links of the Day are another. Netscape's "What's Cool" is one of the first. I don't see what the big deal is. Google could start soliciting payments to link more sites -- oh wait, as a company that makes nearly all its money from advertising, that's what Google always does!

    --
    For more information, click here.
  7. Re:Slackware by aussersterne · · Score: 4, Informative

    Ahh, the knowledge that has been lost.

    When I was a CS student in the late '80s and early '90s, we had entire labs full of Sun and HP machines that had no hard drives. They booted off the net and ran entirely in RAM.

    Years before that, when I was a kid with a PC, there were RAMdisks in most operating systems at the time that were easy to use, and if you had a fancy schmanzy expansion card with some godawful amount of RAM on it (like 512MB ;-) you could run your BBS entirely from an RAMdisk and it was FAST.

    Linux still has RAMdisk drivers in it somewhere that lead to something like /dev/r0 or /dev/ram0 or similar, which you can format and mount and use like a hard drive. Or at least, it used to. I haven't checked in a few years, and I never actually built it into my kernel, but OSes like Slack did use it for their boot/root floppies, etc.

    In any case, getting back to diskless workstations netbooting... this is a MAJOR win when you have rooms full of hardware. There's no reason each of them needs their own hard drive if every single one of those hard drives will just have the same data and enough RAM to run w/o excessive paging/swapping is cheap. You save on initial cost. You save on power. You save on failures of other hardware due to heat. You save on failures of all those freaking drives. You save on the labor it would take to re-image and replace them. And you save on complexity, since all systems then become essentially interchangeable--just plug it into a network port and go, no need to worry about whether it's been "configured" right or whats on its hard drive (or isn't on its hard drive, as the case may be).

    --
    STOP . AMERICA . NOW
  8. Re:Slackware by dubl-u · · Score: 3, Informative

    Before that talk I never new you could run entire systems directly from RAM. Wild.

    Yes, it's very cool. Done right, response times are dumbfounding. And if you take an approach like Prevayler you can still have reliability and transactional integrity.

  9. Re:giving back by pauljlucas · · Score: 2, Informative
    You can never force a company to release its source code. It's not going to happen. You will, however, force one of two alternate things:
    1. You'll force the company to use some other solution (e.g., FreeBSD).
    2. You'll force the company to make changes to the code just as they're doing now, but keep it quiet and thus violate the license terms. It will be very hard to prove they're in violation.
    --
    If you reply, do so only to what I explicitly wrote. If I didn't write it, don't assume or infer it.
  10. Re:Why didn't they pick BSD? by putko · · Score: 1, Informative

    Apparently I've gored some sacred cow here: my original question "Why didn't they pick BSD" got ranked "overrated", when it hadn't even been rated.

    Thanks moderators.

    Here we go again: why didn't they pick BSD? All things being equal, I figure that just due to having more expeirence with BSD, they would have gone with it over Linux.

    --
    http://www.thebricktestament.com/the_law/when_to_s tone_your_children/dt21_18a.html
  11. Re:borgware? by NullProg · · Score: 2, Informative

    What an annoying poke at Microsoft, but I suppose I shouldn't expect anything less from the ass-puppets at Slashdot. It must be nice to have all your worlds problems boiled down to one fucking target... a FUCKING HUGE target.

    Chill, we would still be bitching about OS/2 or DrDos if they were around. But they are not. I bitch at the KDE/Gnome teams as much as I want too.

    Linux works fine, but it doesn't allow me to be productive. I leave Linux to do its job where it really shines: Office labor, Servers, etc. The selection of Software available for Graphic and Media are simply pathetic for Linux.

    Ok, its your choice. But if you really wanted quality sound you'd still be running an Apple 2GS with 32 simultaneous channels. If you really wanted quality video you would still be running that Amiga 4000 with a video toaster. Generic Dell/Gateway whatever Windows PCs wont give you either. Neither will generic Linux PCs.

    My Wifes $200 Naked PC equipped with Audigy and ATI running SuSE gives me a little of both worlds without the cost of a Windows license. I invested a day to learn how Audacity and Broadcast2000 work. It took me two days to teach her how the programs worked. We do video/audio editing just fine.


    I prefer to use a Mac or XP for that.

    Knock yourself out. I have two Macs here at the compound (no XP). I was trying to be helpfull, and please don't trash what your not willing to experience yourself.

    Enjoy,

    --
    It's just the normal noises in here.
  12. MIRROR by firepacket · · Score: 4, Informative
  13. Re:GPL V3..... by AuMatar · · Score: 3, Informative

    Thats part of what the GPL 3 is supposed to address- if you use modified GPL code to supply a web service to the outside, you'll have to release the modifications. The web service and patent holes are why they're writing version 3.

    --
    I still have more fans than freaks. WTF is wrong with you people?
  14. Re:giving back by zerocool^ · · Score: 4, Informative
    --
    sig?
  15. Re:Linux success b/c of Google by Anonymous Coward · · Score: 2, Informative

    That's not ironic.

  16. Re:Apple? by Tony-A · · Score: 2, Informative

    Parent illustrates WHY OSS is so valuable.
    That level of support is available with a lot of money and a lot of clout. I doubt that either alone is sufficient.
    The skill required is not that great. It is entirely reasonable to fix one bug you care about and cause 10 bugs you do not know or care about. The patches go back to RedHat who has the non-trivial task of figuring out if they are worthwhile in general. (If accepted, it's much easier the next time;)

  17. Re:Not so sure by chrisd · · Score: 5, Informative
    In fact, I'm not even sure I said Microsoft at all during my few minutes up there. I was trying to say that one of thde truly cool things about Linux is that you don't have to talk to anyone outside the company or whatever if you want to mess with it.

    I may have said 'Microsoft, or any other commercial os'. I mean, hate to say it, but the Microsoft XP Kernel isn't terrible, I just don't want all the stuff around it (windowing systems, etc..).

    Chris

    --
    Co-Editor, Open Sources
    Open Source Program Manager, Google, Inc.
  18. Re:Let me tell you why by thirdrock · · Score: 2, Informative

    The history of your searches are not in the cookie. The cookie is a key to some data structure in a hash table or tree that resides in the server, which stores further information about you.

    And this key works even though I set Firefox to delete cookies at the end of each session and I regularly obtain a new IP from the DHCP server?

    --
    >>
    I am the director, and this is my movie ...
  19. Re:Let me tell you why by shmlco · · Score: 2, Informative
    And yet it keeps cookies. This stores my language preferences...

    And content rating preferences and so on. Or would you rather reset them each time? But unless you signed up for an actual account (e.g. gmail), Google had no idea who you were dispite the cookie. All it knew was that someone, somewhere, kept looking for free porn.

    And I know how cookies and servers work. It's my job. But read the sentence, "...the same cookies [sic] that store the IP and info of every single search that is done on google."

    Given that sentence, is it obvious that the OP understands these things? For that matter, was it not obvious from the tone of the reply that I was being just a little sarcastic?

    Please reread the posts before responding to them...

    --
    Any sect, cult, or religion will legislate its creed into law if it acquires the political power to do so.
  20. Netcraft Results by potpie · · Score: 3, Informative
    I went Netcrafting some popular sites. Here are my findings:
    Ebay
    http://www.ebay.com/
    Uptime Summary Time in Days
    Plotted Value No. samples Max Latest
    Windows 2000 109 155.82 155.82
    Windows Server 2003 55 172.18 7.19
    90-day Moving average 431 61.25 61.17

    Slackware
    http://www.slackware.com/
    Up time Summary Time in Days
    Plotted Value No. samples Max Latest
    Linux 1276 463.28 150.07
    90-day Moving average 1719 156.60 105.02

    Yahoo
    http://www.yahoo.com/
    Uptime Summary Time in Days
    Plotted Value No. samples Max Latest
    FreeBSD 788 414.05 315.62
    90-day Moving average 1231 219.01 216.84

    Microsoft
    http://www.microsoft.com/
    U ptime Summary Time in Days
    Plotted Value No. samples Max Latest
    Windows Server 2003 223 110.83 6.72
    90-day Moving average 617 44.35 31.47

    Slashdot
    http://slashdot.org/
    Uptime Summary Time in Days
    Plotted Value No. samples Max Latest
    Linux 345 397.67 397.67
    90-day Moving average 674 168.98 68.77

    The Best Page in the Universe
    http://maddox.xmission.com/
    uses linux - uptimes unknown

    Google
    http://www.google.com/
    uses linux - uptimes unknown


    The formatting is screwed up, but it would take too long to fix it. All the information is there. You can see that Microsoft's own site won't stay up as long as the sites listed running Linux (those with known uptimes). There could be a lot of reasons for that, however; I'm sure Microsoft has some extra troubles just because it's so huge. Also note that not all Linux-run sites stay up much longer than Microsoft-run sites, but on average they seem to win hands down.
    --
    Esoteric reference.
    1. Re:Netcraft Results by pe1chl · · Score: 4, Informative

      Remember that Microsoft sites have to reboot at least once every month after installing patches.

      Linux sites often can avoid this (at least as far as Netcraft is concerned; restarting Apache does not cut the uptime), however there have been so many kernel updates last year that a Linux system with a year of uptime is a bit questionable as well.

      (of course most kernel updates are for local exploits only; one could decide a properly firewalled system does not need them)

  21. Re:Cost per seat probably isn't a factor... by d99-sbr · · Score: 3, Informative

    We had a Google rep. come visit us at the Royal Institute of Technology in Stockholm in April or so, to round up fresh engineers.

    As far as I remember it, they are now on version three of their cluster design, and today it is simply rack mounted machines like you find in any cluster, but up until and including version two it was simply motherboards stacked on top of each other. And like the grand parent said, they were never replaced simply because you couldn't get them out of the stack. So the dead ones were just sitting there.

    He showed us a few photos of it, it looked worse than any geek closet I have ever seen.

  22. Re:Really ? by pe1chl · · Score: 2, Informative

    this has not stopped a lot of popular software from being presented to the users in a distro-agnostic manner

    But I think it has prevented even more software from being released for Linux!
    Sure you can work around it, but let's face it: for Windows you buy one of those packaging tools that handle installation on 98/2000/XP for you and you only have to supply your files and where they have to go.
    On Linux, it could potentially have been simpler, because the packaging tools are delivered with the OS. No need to package everything as a .EXE, you can build a .RPM that contains only your package.

    But there the nightmare starts. Will your user be able to install the RPM with a commandline or via the sysadmin GUI? If the latter, where would he/she have to click? How do you write your installation manual?
    Does the system support RPM at all? Or do you need to supply multiple formats?

    Small wonder that the few successful packages had to fall back to a custom installation program. This means a lot of extra work (proportionally more when the program to be installed is smaller, like some toolbar).

    IMHO it is a major holdback for deployment of Linux on your average desktop. Users want to download something, and install it using clear instructions not longer than a few paragraphs. Like "click on the YaST icon, choose install additional software, select the program you downloaded", or "doubleclick on the program you downloaded and type the password for software installation".
    Not "first find out if your system uses RPM or DEB, then download the appropriate package. Or select the tarball if it supports neither of these. Then, when you chose RPM, open a Shell window and type 'rpm -Uvh the_name_of_this_program.rpm'. when you downloaded the DEB file, .... etc"

  23. Re:Let me tell you why by pixr99 · · Score: 3, Informative
    What is this "logging on" of which you speak? I have never "logged on" to Google. Is this for g-mail or some other service? Can you log on for additional search engine features?
    http://www.google.com/ig
    I wouldn't say a world of search features but it's definitely handy.
  24. Re:Licensing restrictions = per-CPU licensing by Anonymous Coward · · Score: 1, Informative

    So, this begs the question: Why didn't they use a BSD?

    It raises the question. Begging the question is a particular type of logical fallacy. Don't use phrases you don't know the meaning of.

  25. Re:BSD would have fit better? by sean23007 · · Score: 2, Informative

    If you look, most BSD's have a "lite" version, and a pro version, and you get the lite for free, and the pro version requires money.

    What. Mind pointing out evidence of that? Because I've used FreeBSD and OpenBSD and there's absolutely no mention of free and pro versions of it. Well, I've heard of a free version, and a pro version, but since they're the same thing, I don't think you can really call them versions. You want a BSD? You go download it. You want to support the developers? Buy the CDs, but remember that you're getting exactly the same OS as you would if you'd just downloaded it.

    Free and Pro versions of "most BSD's"??? Have you even gone to their websites, much less used them?

    --

    Lack of eloquence does not denote lack of intelligence, though they often coincide.
  26. Re:Why hasn't Google released their Linux kern. mo by syylk · · Score: 2, Informative

    They're required by GPL to distribute the kernel mods if they distribute the kernel.

    Somehow I doubt they need to give away the software, and as GPL allows, use the modified version "only internally" at the company.

    That everyone with a net access over the planet can benefit of those "mods" is irrelevant. They aren't redistributing nor selling their modified kernel.

  27. Re:Not so sure by starfishsystems · · Score: 2, Informative
    Licensing aside, it's a good practice when designing a system to think about portability. It buys a certain amount of "future-proofing" and it also tends to improve the design. There's also that old wisdom within the IETF about wanting to see at least two working implementations of a thing. These might have been considerations for Google.

    When I write applications for Unix, my primary concern is that they work correctly in both Linux and Solaris. That nicely exercises most of the portability issues, and as Unix APIs go, they're not very far from the ideal center of mass. I find that when I do this, I can adapt to other Unix variants quite easily, whereas I end up doing a lot of grumbling and fiddly refactoring of IFDEFs if I go the other way around.

    --
    Parity: What to do when the weekend comes.
  28. Re:Google's success is "ambiguous" by Anonymous Coward · · Score: 1, Informative
    [jericho4.0 wrote:] WTF!? Are you suggesting that Linux is somehow not deterministic!? Are you insane? I'm typeing this on a Linux box, and when I hit the 'a' key, an 'a' appears. Just like it always does.


    However, if you are writing a graphically based application, will cut-and-paste work uniformly for the user so that the text will appear correctly in another application, with font information intact? Can you say with confidence that the end-user's cut-and-paste will work properly for pictures from one application to the other with no problems? Can you write a program and distribute it without worrying about whether the end-user is running Gnome or KDE properly installed with proper version numbers? Will your installation package work no problem with Gentoo and RedHat and SuSE? Are fonts standardized? The X-Window management system has historically always had a problem with these issues. Indeed, Linux vendor RedHat complained

    X Windows' lack of TrueType Font Engine
    X Windows originally supported only bitmap fonts, i.e. fonts for which a physical representation for how a font should appear at a particular point size is pre-computed and stored. The problem with this model is when the X server requests a font size which is not precalculated, the font system shrinks or reduces one of the existing bitmaps until it achieves the proper point size. The result is blocky when enlarged, and often illegible when reduced.

    Various proprietary scalable font engines were added by proprietary Unix vendors in an effort to combat the bitmap font problem. Scalable fonts contain only an outline, or description, of how the font should be drawn, as well as some hints on how to handle very small point sizes. Theoretically, scalable fonts can be displayed at any size without any of the "blockiness" inherent to their bitmapped siblings. Several of these engines were even donated back to the X Consortium, who maintained the core X Window System, as Free Software. IBM donated a PostScript Type1 font renderer, and BitStream a renderer for their proprietary Speedo type format. Unfortunately, the Type1 engine does a rather poor job with small font sizes, and the Speedo font format has largely been supplanted by other formats. As Apple and Microsoft made TrueType font technology the de-facto standard in the 1990's, Linux users were largely left out in the cold.

    X Windows' Cryptic Font Configuration Model
    In addition to lack of support for modern fonts, X makes adding and removing fonts difficult. In addition to modifying the system's /etc/X11/XF86Config to add or remove a directory containing to new fonts, if X is currently running, the user must also use the cryptic xset command to modify their runtime font path. When fonts are installed into an existing font directory (which is typical), the mkfontdir must be employed, which isn't much better. Even worse, it does not support Type1 fonts, the only reasonable scalable font technology that comes standard with the X Window System.

    Printing System Didn't Share Fonts
    Most Linux systems use GhostScript as the foundation of the printing sub-system, as it is a very good PostScript interpreter supporting a wide range of printers. Red Hat Linux is no exception. Until recently, GhostScript made use of bitmap fonts which were similar, but incompatible with X Windows. The German font foundry URW++ Design and Development Inc. graciously donated a set of high quality PostScript Type1 fonts to the public domain, which GhostScript quickly adopted, enabling higher quality printed output. While these fonts were compatible with the X Type1 font engine, they were stored in a different location and were not configured to be easily used with X.


    And these are issues that Google never has to worry about. Google has a lower threshold of acceptability and their front-end application is so elementary (it's just a single form with a text field) that it does not test the system in the way a word processor might.