Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×

Negroponte says Linux too 'Fat' 839

Cadef writes "According to a story on CNet News.com, Nicholas Negroponte says that Linux has gotten too fat, and will have to be slimmed down before it will be practical for the $100 laptop project. From the article: 'Suddenly it's like a very fat person [who] uses most of the energy to move the fat. And Linux is no exception. Linux has gotten fat, too.'"
This discussion has been archived. No new comments can be posted.

Negroponte says Linux too 'Fat'

Comments Filter:
  • by advocate_one ( 662832 ) on Sunday April 09, 2006 @04:55PM (#15096006)
    no-one's expecting you to install all of Debian on them, just get the basics on. Sheesh, DSL is great for low powered machines with small hard disks...
  • DSL? (Score:5, Informative)

    by joe 155 ( 937621 ) on Sunday April 09, 2006 @04:55PM (#15096009) Journal
    Has he not tried Damn Small Linux... it is pretty small, doesn't really seem to be "too fat", it even works on my OLD laptop with its 167MHz processor and nearly no RAM
  • There is hope... (Score:2, Informative)

    by myc18 ( 77888 ) on Sunday April 09, 2006 @05:22PM (#15096147)
    In the latest edition of the USENIX ;login: magazine, Professor Andrew Tanenbaum et. al. wrote: "As memories got larger, so did the operating system until we got to the current situation of operating systems with hundreds of functions interacting in such complex patterns that nobody really understands how they work anymore. While Windows XP, with 5 million LoC (Lines of Code) in the kernel, is the worst offender in this regards, Linux, with 3 million LoC, is rapidly heading down the path. We think this path leads to a dead end."

    Currently, Professor Tanenbaum and his group are working on a new version of Minix (version 3), which is a micokernel with just under 4000 LoC! He do hope that it will be used for the OLPC (One Laptop Per Child) a la $100 PC.
  • by jg ( 16880 ) on Sunday April 09, 2006 @05:35PM (#15096203) Homepage
    He chose the word "fat"; I'd use the word "bloated".

    Too many applications are hemmorraging memory. e.g. Firefox, skype,

    Too many applications are just plain huge; e.g. Open Office.

    Too many applications do plain stupid things, like leak pixmaps in the X Window server.

    Too many applications link against libraries they don't even use, causing
    gratuitous references to them, and slower startup times.

    People have become downright sloppy. Our systems, even with .5 gig of RAM like my laptop, have to swap things out due to this sort of sloppyness. This should just not be necessary.

    If you ever wondered why our intereactive response is unpredictable, just consider what happens if you have to start waiting on disk drives to page things out and in.

    This is (mostly) fixable, if we just buckle down and realize we have a problem
    that needs to be fixed.
                                                      Jim Gettys
                                                      OLPC
  • by Sycraft-fu ( 314770 ) on Sunday April 09, 2006 @06:05PM (#15096345)
    You aren't kidding. I remember back in the 486 days, I had a slower 486 that was RAM starved for a long time and damn with Windows programs. I'd start Works to write a paper and wander off to the kitchen to grab a snack while it loaded. A 2 minute process at least. Now at work I expect it to be up instantly. Even on a cold boot when it's not cached it's like 3 seconds until it's loaded. Printing was even worse, it took forever for the system to get all the data ready for the printer and it was all you could do, you couldn't multitask. I'd start a paper printing and go elsewhere. Now, hell I submit a 40 page job to the copier and it's in the tray before I have time to walk over there.

    I remember screwing around with MP3s not too long after they came out. I had done some upgrades at that point and was tinkering with Windows 95 and it turned out that it ate too much power for me to play MP3s. Mono was ok, but stereo skipped. I had to drop to DOS and use Cubic Player to get full stereo 128k MP3s. It was just all my system could handle. Now I play them in the background when I want, and they use maybe 10 seconds of CPU time per hour on one of my cores, it's just not even significant.

    I could go on and on, but in essence it's changed from me sitting and waiting on my computer to it always waiting on me. There are very, very few tasks I do that take enough time I need to sit and wait, and even then it still multi-tasks fine and I can surf the web while that happens.

    The problem is that Negroponte seems to have billed this thing as a legit replacement to a normal laptop. On the page it says:

    "What can a $1000 laptop do that the $100 version can't?
    Not much. The plan is for the $100 Laptop to do almost everything. What it will not do is store a massive amount of data."

    Ok well that's pretty clearly BS. Store large amounts of data is ONE OF the things the $100 laptop won't do, but there's plenty of others. Run a fancy GUI like KDE would be another one, have 10 apps open multitasking would be another. Now it's perfectly legit to say these things aren't necessary in a cheap laptop, but they ARE things that people expect out of computers these days.

    I figured it was just over-marketing (I mean who doesn't do that) but it's possible that he really thought he could get a full featured Linux distro on his little laptop and is now finding out that's not the case. His statement of "Today's laptops have become obese. Two-thirds of their software is used to manage the other third" just isn't the case. He may be finding that out, to his disappointment.
  • Re:Linux is NOT Fat (Score:2, Informative)

    by marcello_dl ( 667940 ) on Sunday April 09, 2006 @06:08PM (#15096357) Homepage Journal
    A pretty metaphore, actually: while commercial products may bloat to increase time to market, or possibly even increase obsolescence of older machines to boost hardware sales, bloat in open source means added functionality or performance, or bad coding which has to be replaced ASAP. So yep, you need big bones to support more stuff.

    As a side note: Slashdot duped this story, could well have mentioned the very likely antefacts.

    - Negroponte tests first prototypes of $100 laptops

    - Laptop performing not too well, too much strain on system resources

    - Negroponte discovers that latest kernel not actually meant for a $100 laptop

    - Negroponte blames coders. (we are here)

    As much as I want the concept to take off I do not like people who blames others for faults that were there from the beginning. Kernel developers have also no responsibility towards him, as the no warranty clause in GPL goes.

    A WTF?/STFU! tag, anyone?
  • by Coryoth ( 254751 ) on Sunday April 09, 2006 @06:42PM (#15096489) Homepage Journal
    Linux doesn't have to be fat, it can be slimmed. That's how it runs on embedded systems. THe problem is X is huge, and not just the core X but once you add all of the things people expect, it takes a lot of ram and disk space.

    The oft trotted out complaint that X is behind all the problems. I hate to break it to you but X is actually quite small if required, and highly adaptable. X is actually used for embedded systems, precisely because it is small (or can be made small). Here's a nice article on X and GTK+ in an embedded device [bluemug.com]. They managed to crunch an X and GTK+ based GUI down into only 2.9 MB, smaller than the QPE solution they were considering. It is quite possible to have X and a functioning GUI toolkit squeezed into a tiny space. The "things that come with it" that take up so much memory are things like Firefox and OpenOffice and a whole host high detail icons and whatnot. Try reading xrestop [freedesktop.org] instead of top when you want to see how your memory is getting used - the figures that top reports are massively distorted.

    Jedidiah.
  • by Maljin Jolt ( 746064 ) on Sunday April 09, 2006 @06:48PM (#15096519) Journal
    The weakest two of my 20+ Linux machines are a 486SX/8MB and P166/16MB, both a laboratory notebooks, with X11/fluxbox (640x400x16/grey and 800x600xcolor) and networking and pretty lot of lab equipment on parallel and USB ports, not just some tiny consoleless routers. That's order of 1000 in scale of spec comparision with my hugest desktop. My iPaq runs Linux from 64MB internal flash and my Jornada from a 512 CF card, both supporting a big assortment of CF and PCMCIA stuff and outperforming original WinCE.

    I am rather asking, why is Negroponte saying such nonsense that Linux is fat? $100 project has 128MB RAM/512MB flash. I believe I could seriously run xen with 20 linuxes on it.
  • by Yonder Way ( 603108 ) on Sunday April 09, 2006 @06:49PM (#15096523)
    ...why not start from something skinny and build up from there?

    I've regularly gotten OpenBSD to fit very nicely into a 500MB drive with room to spare. I'm sure it could be squeezed down to about 200M or so if you left out the compilers.
  • by mrraven ( 129238 ) on Sunday April 09, 2006 @06:56PM (#15096548)
    Yeah "foreign investment" sure helped those people in Vietnam and Indonesia working at Nike factories for less than 40 dollars a month:

    "By 1997, Nike was shamed into telling its Indonesian contractors to stop asking for exemptions to the minimum wage and to stop paying apprentice wages. But the company still does not require its contractors to pay workers a living wage. In April 1999 when the Indonesian government announced that it was increasing the minimum wage to 231,000 rupiah/month ($26US), Nike for the first time announced that it would raise wages for its Indonesian factory workers higher than the legally required minimum,. Their new wage was a minimum cash wage of 265,000 ($30US) and a bonus package that adds up to 332,000 ($37.50US).

    While this is certainly a step forward, the wages are still a far cry from a living wage. An Indonesian wage study released by Global Exchange shows that 332,000 rupiah/month ($37.50US) is needed to cover the basic needs of one person. A living wage, which is a wage that helps cover the needs of a family, not just one worker, would be twice this figure, or 664,000 rupiah/month ($75US).

    Moreover, Vietnamese and Chinese workers still get poverty wages. In all three countries, $4 a day would be considered a decent wage. Nike, a company with $8.7 billion in revenue in 1998 that sells its shoes for $150, can well afford to pay its workers such a meager sum.

    Moreover, Vietnamese and Chinese workers still get poverty wages. In all three countries, $4 a day would be considered a decent wage. Nike, a company with $8.7 billion in revenue in 1998 that sells its shoes for $150, can well afford to pay its workers such a meager sum."

    http://www.globalexchange.org/campaigns/sweatshops /nike/faq.html [globalexchange.org]

    Yes living expenses are less in third world countries but not THAT much less. Cheap labor conservatives love "foreign investment" when the the prevailing wage in the country being invested in is a slave level of wage. If we are actually concerned with helping people and not exploiting them, we should aim for them becoming self sufficient through education, and micro businesses, not being exploited by first world multinationals. And yes laptops might be PART of that picture, FIRST people need to be healthy through building basic infrastructure like clean water, good agricultural practices, etc. THEN in the long term they can build up educational opportunities so they no longer need to be dependent on foreign aid. But first things first don't put the cart before the horse, and don't look at people as a source of cheap labor to be exploited.

  • by MrLizardo ( 264289 ) on Sunday April 09, 2006 @09:11PM (#15096979) Journal
    OpenEmbedded [handhelds.org] has exactly what he wants. My Sharp Zaurus C-1000, running OpenZaurus (built from the OE build system) has: a real x server, pretty desktop icons, gaim, abiword, gqview gaim, sylpheed, some games, an ebook reader, gftp, firefox and some other programs. All this takes up ~90MB flash. Also, the system is fairly comfortable to use even with only 64MB of RAM. I did setup swap on an SD card but that only gets hit when firefox and something else are running at the same time. With 128MB of RAM and a leaner browser (galeon or epiphany maybe?) I don't see a reason to use swap.
    If I was interested in a lightweight, maintainable Linux distro for this project, I'd make sure that the OE devs got hooked up with a development system (or :gasp: even *hired* to put prioritize OLPC support). Just my $.02 -Mr. Lizard
  • That depends... (Score:3, Informative)

    by petrus4 ( 213815 ) on Sunday April 09, 2006 @09:15PM (#15096986) Homepage Journal
    ...on whether Negreponte is a novice or not. If he is, then yes, he's very possibly out of luck, since software designed for novices needs more functions by definition, and thus, has to be bigger.

    If on the other hand he already knows a thing or two, (or isn't afraid of learning) then he will find that minimalistic systems are actually one of Linux's primary strengths, at least in my observation. He could probably use this [damnsmalllinux.org] as a base, and then for X use apt-get to install ROX [sourceforge.net] Filer, metacity [gnome.org], (as a background for ROX) and fbpanel [sourceforge.net] as his start menu. Or, if he wants most of that done for him, he could install FVWM [fvwm.org] instead of metacity and fbpanel, and still use ROX as an explorer clone. Mind you, this is only one possible option, and most people reading this would probably think I'm insane and ask why I don't simply advocate fluxbox/xfce etc. This is a problem with myriad possible solutions.

    He'd probably also need to install gtk for Abiword etc, but that doesn't necessarily have to be a problem. There are also any number of lightweight image viewers around as well...he should check freshmeat [freshmeat.net]. For web browsing, there's also dillo [dillo.org].

    Hence, what he wants is more than possible. He might have to do a bit of surfing, but then again, with the magic of apt-get, he probably doesn't even need to do that.
  • by munpfazy ( 694689 ) on Sunday April 09, 2006 @09:20PM (#15096998)
    Not just DSL, but it should be more of a 'roll your own' thing for a machine like this. The Linux kernel 2.2 [kernel.org] is still be actively maintained, and would be well-suited to lower end hardware like this, especially customized to support only the included hardware.


    I'd certainly agree that rolling one's one distro for small hardware is a great idea; however, this case, one needn't even go to that extreme. Their specs - 512 MHz clock, 128 MB ram, 512 MB drive - aren't all that shabby. You could easily run the latest 2.6 kernel on that hardware with negligible overhead.

    Obviously it would be in their best interest to skip all the unnecessary stuff in the kernel and not carry around any modules they don't absolutely need - but since the hardware is all well defined, that isn't hard to do.

    The real issue may be that the most newbie-friendly applications also tend to be the biggest resource hogs.

    Putting together a fully usable linux system that will run nicely on that hardware is trivial. Hell, I've got my own $35 laptop with far more timid specs running a very recent 2.4 kernel and loaded with applications to cover just about any common computer task one could name.

    Putting together a linux system that you can hand to a child with no computer experience and expect them to do something productive with it is a much more difficult task. (As much as I'd like the children of the world to grow up loving command line tools, console applications, and text config files, it's going to be a hard sell, judging by the way even my computer-savvy, geek colleagues tend to react when I suggest software to them.)

    On the other hand, if you're willing to hire someone full time for a year or two to work on the project, and you don't have to accommodate user hardware, it may not be impossible. There are an awful lot of lightweight gui-based applications out there just waiting to be stitched together into a coherent framework and accompanied by newbie-friendly documentation.

  • Re:Linux is NOT Fat (Score:3, Informative)

    by shaitand ( 626655 ) on Sunday April 09, 2006 @09:37PM (#15097037) Journal
    Yes but a full blown feature rich gui will not run on those kind of resources. Linux needs a lot of two things to reach its potential. Linux does not swap until it has to swap and the result is drastically improved performance if there is enough memory that the system does not need to swap, and reduced performance if the system does NOT have enough memory to avoid swapping. There is also a performance hit when the system has to turn swapping on.

    Running X with a (novice) user friendly gui (read kde or gnome)will require more than 128mb ram to run smoothly. Actually you will able to hear the hard drive grinding everytime you so much as open the system menu.

    The area where your average linux distro needs to improve is disk space. There is no excuse for the default desktop installation to take over 500mb. A great deal of this is caused by programmer never reinventing wheels in OSS. This means that every program has dependancies for a half dozen third party programs and libraries instead of incorporating just the functionality they need for their app. Those half dozen programs and libraries have followed the same bloat yielding philosophy and have their own dependancies; those in turn have their own dependancies and so on.

    Hopefully this trend for easy and fast development will subside and increased hardware performance will begin to mean that your apps run faster instead of allowing developers to take the easy road over the efficient road. To all my fellow developers, the next time you are about to use a 3rd party lib instead of writing a couple optimized and custom tailored routines to the program you are working on; ask yourself why you you are against vb and microsoft bloated development environments and ask yourself if you aren't manually enforcing the same bloat and inefficiency in the name of ease and rapid development that those programs automatically enforce.
  • WTF is DSL? (Score:4, Informative)

    by Chris Pimlott ( 16212 ) on Sunday April 09, 2006 @11:21PM (#15097293)
    I wouldn't be surprised if he hadn't heard about it; I hadn't heard of it. You could have mentioned that DSL stands for Damn Small Linux [damnsmalllinux.org], a 50 MB desktop Linux distribution intended for use on a business card PCs, flash drives and other small portable media.
  • Re:not the subject (Score:5, Informative)

    by Shankland ( 876228 ) on Monday April 10, 2006 @12:02AM (#15097376)
    I'm the author of the CNET News.com story in question. If you read beyond the opening lines about Linux being too bloated--which by the way also was how Negroponte opened his speech and an interesting tidbit, in my opinion--you find information on some of the 95% of the speech you say was missing. You will see other information about mesh networking, $100 servers, pedal power, a launch delay, the initial $135 price, the dual-mode monitor, and other items. Stephen Shankland stephen.shankland at cnet dot com
  • by debiansid ( 881350 ) on Monday April 10, 2006 @12:11AM (#15097392) Homepage
    I guess that what Negroponte was really trying to say is: "KDE an GNOME are too fat for a 500MHz computer with 128MB RAM and only 512MB of storage". And, lets face it, hes right.

    Use XFCE. XFCE is a very fast desktop environment; I use it on my old system which has the following specs:
    • Celerom 500 MHz
    • 128 MB RAM
    • 10 GB HDD


    Thats around the same specs as the $100 laptop isn't it? The storage is very low but XFCE is barely 40-50 MB so that's ok too.

    Or just put in Blackbox as the window manager for a completely stripped down Gnome or KDE subsystem. The whole point of the $100 laptop is to provide basic computing power for those who cannot afford it. So in that sense if the hardware is tuned down, even the software needs to obviously be tuned down.
  • by Anonymous Coward on Monday April 10, 2006 @12:17AM (#15097408)
    You have no idea what you are talking about. DSL has a GUI, and it is very functional and usable.

    Just take a look at http://www.damnsmalllinux.org/dsl-2.3.jpg [damnsmalllinux.org]

    I hope you're a troll, rather than an ignorant nay-sayer....
  • Re:Linux is NOT Fat (Score:5, Informative)

    by modecx ( 130548 ) on Monday April 10, 2006 @12:37AM (#15097440)
    Yes but a full blown feature rich gui will not run on those kind of resources

    The heck it won't. Back in the day I happily ran Enlightenment--the notoriously graphics intensive Window Manager, versions 0.14, 0.15, with 2 virtual desktops, across two heads of monitors each running 1280x1024... And all of this was done on a Pentium I running at a blazing 133 Mhz, with a whopping 96MB RAM (and 6MB VRAM). It was perfectly suitable for coding, compiling, for checking and writing mail, for browsing the net, and even for experimenting with The Gimp.

    As a matter of fact, that computer was still serving up files at my home, being a web server, mail host, fax server, and small database server for perl apps for a neighborhood association, and companion for my SGI O2 of the same vintage (1996), and it ran up until about two years ago when I retired it; and that was only because when I moved, Qwest started jacking around with my DSL service and myself, and I just decided that it would be easier to put that site on a shared hosting service, dump the commercial DSL service and move to cable internet.

    Maybe it wasn't the fastest computer around, but it worked, and damit, it worked well. It never broke, and it never complained, unlike some modern computers. I learned very much plugging around with that old beast-and well after it was obsoleted by much, much newer technology. Maybe I kept it going out of romance because I had so much fun learning back when I was hacking around with Enlightenment, Linux, Gnome, etc. i.e. Back when I really just could not afford a better computer.

    My P133 also dual booted to Win95 when I first installed RedHat4, and I learned the basics of 3D modeling, raytracing, and if I'm not mistaken, I also ran the very first betas of Rhinoceros 3D on it, too. I had one scene in truespace2 that took several days just to render, and did I have a problem with that? No.

    So, lower spec computers might not play HD porno, run Windows Vista in Glass mode, play Counterstrike: Source, or other things... So what?! Like those things are going to be of great utility to third world children! I would have gladly accepted a 500Mhz notebook with 128MB, way back when. I think such a computer could be a great thing to third world children, because instead of learning how some slick GUI with gobs of eyecandy works, like our current generation, they might actually stand a chance to learn how a computer works.

  • by DeathPenguin ( 449875 ) * on Monday April 10, 2006 @12:39AM (#15097447)
    They are to be given out [undp.org] by government agencies. The motivation for making it as cheap as possible is to help connect as many people as possible, even if it means making compromises on system capabilities (So long as it's adequate to get people connected).

    The architecture (AMD Geode 2) was chosen because of its *extremely* low power consumption--The whole thing takes up around ten watts to operate if memory serves (About six for the mainboard, RAM, and CPU and four for the rest). You simply cannot buy a good embedded system from Dell, and you certainly can't buy one that is as rugged and portable as the OLPC systems. And remember--A lot of the places these laptops are going will probably not have a stable enough power grid to plug in and charge a 'normal' laptop regularly.
  • Re:Linux is NOT Fat (Score:4, Informative)

    by iwan-nl ( 832236 ) on Monday April 10, 2006 @03:08AM (#15097788) Homepage
    Anybody have a bootable LIVE XP distro I can try to compare?
    Yes [nu2.nu]
  • Re:Linux is NOT Fat (Score:5, Informative)

    by cgreuter ( 82182 ) on Monday April 10, 2006 @04:11AM (#15097888)

    cat /proc/meminfo

    I may be wrong about this, but I'm pretty sure that's a bad way to measure memory usage. Modern Linux kernels just continue to keep stuff in memory until something else needs the RAM. The question is not how much RAM the kernel is using right now but how well it can juggle resources when they're limited. You can't figure that out without doing actual experiments on limited hardware.

  • Re:Linux is NOT Fat (Score:2, Informative)

    by MadJo ( 674225 ) on Monday April 10, 2006 @05:16AM (#15098001) Homepage Journal
    "'cept in France, it ain't called a 2.6 kernel... They call it Windows."
    (apologies to Samuel L. Jackson)

    Why apologize to Samuel L. Jackson? You were not paraphrasing him, but John Travolta.
  • by kestasjk ( 933987 ) on Monday April 10, 2006 @06:28AM (#15098099) Homepage
    You're mistaking the bzipped kernel's on-disk image size with the kernel's operational memory footprint; it's like comparing the size of the Firefox binary (a few MB) with the amount of memory it uses (hundreds of MB).
  • by xtracto ( 837672 ) on Monday April 10, 2006 @07:25AM (#15098213) Journal

    find me a Linux distribution that lets you customer a Linux kernel at install time.
    *Raises hand* Me me! that one is easy!

    Gentoo [gentoo.org], slackware [slackware.com]

    Or what about NeoMagiclux [linuxfromscratch.org]

    Neat uh?

    Look, the problem with the article and almost all the articles is that they try to add labels and properties to "Linux" as an operating system. Linux is not an operating system it is a kernel, Mandriva, Gentoo or whatever you want is an operating system, some of them are Fat, some of them are bloated, some or them are insecure and whatever.

    But you can not say that "Linux is a fat operating system" because linux is not an operating system.
  • by SmallFurryCreature ( 593017 ) on Monday April 10, 2006 @10:57AM (#15098897) Journal
    NO "big" distro is going to have a lean trim kernel because they need to include everything and the kitchen sink just to make sure their distro runs on the majority of machines.

    So default kernels are bloated.

    However the moment you compile your own OR can fine tune a distro to one specific set of hardware you can cut a lot of crap out.

    Take the simplest of things. Module support. Only needed if you load modules and modules are only really needed by developers OR if you want to include all the modules for say all the soundcards and load the right one at boot.

    If you know wich modules you need you can just compile them in and skip all the module support.

    Same with a lot of things.

    A fine tuned kernel is a lot smaller.

    The proof? Linux runs on tiny computers like switches and watches and phones and pda's.

    Linux the source code is big and feature rich.

    Linux the kernel is as fat or as slim as you want it to be.

  • /proc ????? (Score:3, Informative)

    by woolio ( 927141 ) on Monday April 10, 2006 @11:59AM (#15099209) Journal


    > You can easily adjust things like file system buffers, memory management, tcp buffers, etc, etc.
    > A 300lb person can't decide each morning how much fat they want to take with them.
    > But a Linux user can.


    No you can't. You have to recompile the kernel to do that, which 95% of computer users couldn't do and 99.9% wouldn't want to or couldn't be bothered.


    YES you can. Ever heard of /proc? Ever bothered to see what is in there? There is a whole lot more there than /proc/cpuinfo. Redhat even has a GUI tool for tuning these parameters.

    And for fairness, windows actually has some similar capabilities in the Registry... But many of these settings by default are not in the registry(!) (e.g. windows uses default values).

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...