Slashdot Mirror


How Kernel Hackers Boosted the Speed of Desktop Linux

chromatic writes "Kernel hackers Arjan van de Ven and Auke Kok showed off Linux booting in five seconds at last month's Linux Plumbers Conference. Arjan and other hackers have already improved the Linux user experience by reducing power consumption and latency. O'Reilly News interviewed him about his work on improving the Linux experience with PowerTOP, LatencyTOP, and Five-Second Boot."

380 comments

  1. Should lead to possibly great advertisements by pwnies · · Score: 5, Insightful

    Not only is this an impressive accomplishment, but if this can be applied generically to most distributions then it should present an excellent opportunity for advertisement. Showing how you can boot, check your email, read the latest news, and be done with all you need to have done while a fellow Vista machine is still booting says a lot. Even if we can get most distributions down to 15sec average, it's a huge leap. Grats to these guys.

    1. Re:Should lead to possibly great advertisements by Anonymous Coward · · Score: 5, Funny

      Kudos to you sir, for reducing the time it takes to type congratulations by instead using grats!

    2. Re:Should lead to possibly great advertisements by Bryansix · · Score: 5, Funny

      Actually Vista with 4 Gigs of RAM boots pretty quickly. It's once it's up that it is slow.

    3. Re:Should lead to possibly great advertisements by Anonymous Coward · · Score: 4, Funny

      You can boot Vista with only 4 Gigs of ram?

    4. Re:Should lead to possibly great advertisements by jejones · · Score: 1, Funny

      Heck, be generous, give him more than one. Kudoi to him!

    5. Re:Should lead to possibly great advertisements by SilentChris · · Score: 5, Insightful

      The only issue is that they had to cut some corners to make this work. Axing sendmail? Ok, I understand that (I think was arguing that 10 years ago -- still don't wonder why that's on by default in the desktop distributions). But "The 'done booting' time did not include bringing up the network"? Um, ok... no. With the proliferation of devices solely used to read information from networks (Netbooks, those "quick-loading" Linux apps some laptop manufacturers are including so people can check their email, etc.) accessing the network is one of the main purposes for turning on the machine in the first place. It would royally piss people off to have a quick loading screen, log in and then see "Hold up, still starting up the network". (Just as frustrating as starting a Windows or Mac, getting to the desktop and still waiting while services and programs are loaded).

      Come to think of it, what people really need to do is take a good look at modern OSes and determine EXACTLY what still needs to be there and what's cruft. Some of the daemons/services we're launching made sense 15-20 years ago. Does the fax daemon really need to start on my Mac? Does the Group Policy Client need to be started on my Vista box when I'm not on a domain? There's lots of stuff that at one point probably made sense to someone but now is just extraneous.

    6. Re:Should lead to possibly great advertisements by not+already+in+use · · Score: 4, Informative

      but if this can be applied generically to most distributions then it should present an excellent opportunity for advertisement.

      Not going to happen. If you read the article, you'll see that they compiled all drivers directly into the kernel, so it is essentially an embedded device now. Also consider the fact that they are using a SSD, which is going to decrease boot times regardless of any boot-process improvements.

      So basically, you could never apply these speed increases to a generic distro.

      --
      Similes are like metaphors
    7. Re:Should lead to possibly great advertisements by nschubach · · Score: 4, Insightful

      ... but an OEM can. (If they were so inclined.)

      --
      Every time I start to have faith in humanity, I ruin it by driving to work between 7 and 8 am.
    8. Re:Should lead to possibly great advertisements by Cyberax · · Score: 1

      So? I used to run all-static kernels for 10 years, until I got tired of compiling my own kernels and switched to distro-provided kernels.

      The article says that you can compile-in drivers for about 95% of commonly used devices and put the rest of them on small initrd.

      Without SSD you can get abot 10 seconds for boot. Proably less, considering that you can optimize file layout and read everything in one big request.

    9. Re:Should lead to possibly great advertisements by Anonymous Coward · · Score: 3, Interesting

      Is there any good reason the kernel can't be compiled with device drivers automatically upon installation? Even if drivers change, it can ignore the compiled one in favor of a module, and/or have a "recompile kernel for currently installed devices" button.

      I also doubt the SSD is that big of an issue Windows already offers the option of using Flash ram sticks in the same way, and loading boot data sequentially on the fastest portion of the disk is also a viable (and popular) way to boost speeds.

      Step 1 is making it specific, Step 2 is making it generic. I can't see any technical reason these changes can't be made generic, it's more a question of difficulty than possibility. Who is going to pay the work to generalize these changes?

    10. Re:Should lead to possibly great advertisements by sofar · · Score: 5, Interesting

      says who?

      We talked with both the fedora and ubuntu developers at the LPC and even they agreed that a LOT more drivers should be compiled into the kernel instead of being modules (c'mon, ext3 as a module? really?).

      99% of what we did to make this work in 5 seconds applies straight for generic laptops and even most people's desktop sytems.

      The speedups _still_ are relevant with generic spinning media too. Maybe those are not as fast as SSD's, but the principle is still the same (IOW, for instance reading data in the order that you need it, is better than reading it in the order that it is scattered across the hard disk)

      speeding up the kernel to boot in 1 second is TOTALLY applicable to generic distros (not only that, it's relatively easy and we basically already did that).

      speeding up X startup to be 1.5s is TOTALLY applicable to generic distros.

    11. Re:Should lead to possibly great advertisements by not+already+in+use · · Score: 1
      RTFA

      The kernel has to be built without initrd

      --
      Similes are like metaphors
    12. Re:Should lead to possibly great advertisements by MMC+Monster · · Score: 4, Interesting

      Why not?

      How about the first time the system boots, it profiles what drivers are installed. It then recompiles the kernel to include those drivers.

      On subsequent reboots, it uses the recompiled kernel and then, once the system is up and running, check to see if something that is compiled in is no longer needed, and see if something has been added that should be compiled in.

      I'm sure it's not *that* easy, but maybe an idea for the future?

      --
      Help! I'm a slashdot refugee.
    13. Re:Should lead to possibly great advertisements by sofar · · Score: 5, Informative

      actually we do bring up the network daemon (either connmand or network manager) as soon as we can, but we don't stop the entire startup process.

      on my test system here it runs dhclient about when X starts up and the network card receives a reply with a few seconds from that, long before I can start firefox :)

    14. Re:Should lead to possibly great advertisements by CODiNE · · Score: 5, Funny

      Yeah, Safe Mode.

      --
      Cwm, fjord-bank glyphs vext quiz
    15. Re:Should lead to possibly great advertisements by Anonymous Coward · · Score: 0

      If you think that it's running slow, wait until you want to shut it down...

    16. Re:Should lead to possibly great advertisements by ColaMan · · Score: 4, Interesting

      So basically, you could never apply these speed increases to a generic distro.

      Oh come now! Never say never!
      You could:

      - Boot with modular kernel.
      - Probe devices and get a list of loaded modules.
      - Recompile kernel with said modules built-in.
      - Boot with that kernel from now on.

      It's relatively scriptable - in fact, I think there's a "probe loaded modules and generate new .config" script already about the place. If the user is unwilling to wait for a kernel recompile during install, just stick with the modular kernel and incrementally compile during idle time.

      It's trivial. I'd code it up myself, but I'm a little busy at the moment, you understand.

      --

      You are in a twisty maze of processor lines, all alike.
      There is a lot of hype here.
    17. Re:Should lead to possibly great advertisements by schwaang · · Score: 4, Insightful

      Sendmail's main purpose in the typical Linux desktop configuration (say, Fedora) is delivering logwatch output to root. [Logwatch attempts to distill the important stuff from system log files.]

      But sendmail can be started lazily (in the background) so as not to slow the boot. Or sendmail can be replaced with a lighter weight smtp daemon. Truly though, logwatch-by-email should die for non-enterprise desktops. It's so 1980s it just hurts.

      IMHO logwatch should be replaced by some kind of graphical notification widget which requires authentication to actually view the details, since they can be sensitive. As it is, I haven't read my logwatch emails in months, but if SMART is complaining about an immanent disk failure I'd *really* like to know.

    18. Re:Should lead to possibly great advertisements by Anonymous Coward · · Score: 0

      Actually, I can say Vista boots pretty fast when it's installed on a 15k rpm SCSI drive on a system with 8 gigs of RAM.

    19. Re:Should lead to possibly great advertisements by sofar · · Score: 1

      only for systems with full hard disk encryption enabled. all other systems do not need a hard disk.

    20. Re:Should lead to possibly great advertisements by sofar · · Score: 1

      whoops, I meant to say "do not need an initrd".

      lol :)

    21. Re:Should lead to possibly great advertisements by sofar · · Score: 5, Informative

      we don't even need to recompile the kernel, we can just link the modules in as needed. Something most older UNIX systems actually did.

    22. Re:Should lead to possibly great advertisements by Cyberax · · Score: 1

      RTFA and stop quote-mining:

      "The kernel has to be built without initrd, which takes half a second with nothing in it. So all modules required for boot must be built into the kernel. "With a handful of modules you cover 95% of laptops out there," Arjan said. He suggested building an initrd-based image to cover the remaining 5%."

    23. Re:Should lead to possibly great advertisements by the_womble · · Score: 2, Funny

      if SMART is complaining about an immanent disk failure I'd *really* like to know.

      An immanent disk? Computers really are getting everywhere.

    24. Re:Should lead to possibly great advertisements by Martin+Blank · · Score: 1

      This is what bothers me most about my Linux station. The services mostly load quickly, but come to a screeching halt when the interfaces need to be brought up, jumping into a fast launch sequence once the DHCP address is acquired. I've not understood why service dependencies cannot be mapped and multiple services brought up at one time (which I gather is the goal of projects like this). Windows pulls it off relatively well. On the same hardware, I have Windows XP and Fedora 9 multibooting, and the Fedora boot time is significantly longer than that of Windows.

      --
      You can never go home again... but I guess you can shop there.
    25. Re:Should lead to possibly great advertisements by Theolojin · · Score: 3, Insightful

      Actually Vista with 4 Gigs of RAM boots pretty quickly. It's once it's up that it is slow.

      Microsoft seems to have performed a bit of trickery to make you perceive that Vista boots quickly. The desktop on my wife's Vista laptop appears fairly quickly but it is simply unusable for a couple more minutes. This is different from XP which is fairly usable as soon as (well, shortly after) the desktop appears. It's rather like the desktop is the bootsplash on Vista.

      --
      Life is short; think quickly.
    26. Re:Should lead to possibly great advertisements by grasshoppa · · Score: 2, Informative

      You still get group policies assigned, whether you are in a domain or not.

      So yes. You need the group policy service.

      --
      Mod me down with all of your hatred and your journey towards the dark side will be complete!
    27. Re:Should lead to possibly great advertisements by drijen · · Score: 1

      I fail to see how this is news.
      My crux box (www.crux.nu) boots from POST -> KDE in about 6 seconds. That's *usable* desktop, including the time it takes me to type my un and password. My hardware is not exactly new either, so again, I fail to see what is newsworthy here, or why everyone else has such long boot times.

    28. Re:Should lead to possibly great advertisements by scientus · · Score: 1

      Not if its a OEM, my dads takes about 10 minutes seriously its horrible (3GB)

    29. Re:Should lead to possibly great advertisements by mpathetiq · · Score: 1

      Isn't kudos already the plural of kudo?

    30. Re:Should lead to possibly great advertisements by not+already+in+use · · Score: 1

      Ok. So please explain what use this initrd-based image is without initrd compiled into the kernel?

      --
      Similes are like metaphors
    31. Re:Should lead to possibly great advertisements by Anonymous Coward · · Score: 0

      Intel publicity machine at its best. The Paper Hat Brigade is out for business!

    32. Re:Should lead to possibly great advertisements by mpathetiq · · Score: 1

      From TFA: "He suggested building an initrd-based image to cover the remaining 5%."

    33. Re:Should lead to possibly great advertisements by Cyberax · · Score: 1

      When was initrd _compiled_ _in_ the kernel???

      Initrd is separate from kernel, it's a cramfs image (which takes time to decompress) and is loaded by a bootloader.

    34. Re:Should lead to possibly great advertisements by ZerdZerd · · Score: 1

      That's because it's actually loading when you think it's done. You're just staring at a powerpoint-presentation.

      --
      I'm not insane! My mother had me tested.
    35. Re:Should lead to possibly great advertisements by Laebshade · · Score: 1

      I'm not going to run my finger along my nose while I strongly breathe in through it and say "Gentoo is superior", but this boggles my mind. Custom built kernels are always the way to go if you want speed and stability.

      Speaking of which, you can still build a custom kernel in Fedora and Ubuntu, so long as the appropriate utilities are installed. I high recommend it.

    36. Re:Should lead to possibly great advertisements by dfetter · · Score: 4, Informative

      Nope. Kudos is Greek and singular, just like pathos :)

      --
      What part of "A well regulated militia" do you not understand?
    37. Re:Should lead to possibly great advertisements by Curtman · · Score: 2, Funny

      Kudos to you sir, for reducing the time it takes to type congratulations by instead using grats!

      I prefer 'c13s'.

    38. Re:Should lead to possibly great advertisements by es330td · · Score: 4, Insightful

      What really needs to happen is for there to be an informative display of what is happening when the system is loading, something that is one of my favorite things about linux. Most people wouldn't gripe about how long it takes for their system to load if they knew what it was that was loading. Sadly, I have stopped being amazed by the people who complain that "Windows loads slow" and then go in and find that they are incapable of saying "No" to any application that wants to install itself on their system. If you want the iTunes Helper and 6 different IE toolbars to load then you accept that requires time. If your fancy all-in-one fax/printer/scanner/roaster has some special monitor that has to load, suck it up and accept a slow load but at least allow the user of any OS to see what exactly it is that is getting put in memory when their system starts up.

    39. Re:Should lead to possibly great advertisements by DocSavage64109 · · Score: 2, Interesting

      I would say XP can also be unusable for a minute or two after login depending on what background applications and drivers start up. Certainly a clean XP install will be usable instantly.

    40. Re:Should lead to possibly great advertisements by adisakp · · Score: 1

      You can boot Vista with only 4 Gigs of ram?

      Sure you can boot Vista (32-bit) with only 4 GB of RAM but the problem is using it. Most Vista Systems will only *REPORT* seeing 3GB (or sometimes 3.5GB) even though you have 4GB installed. That last GB is wasted :-(

    41. Re:Should lead to possibly great advertisements by C0vardeAn0nim0 · · Score: 1

      not too far away.

      my hand-built kernel goes from tapping "enter" on grub's menu to a login prompt in 30s flat, including running all the init scripts. a few seconds to login and type "startx" and i think i'm on window maker's screen in less than 40s.

      if i shave some more stuff from the init proccess i think i can be on wmaker in 30 seconds after grub.

      --
      What ? Me, worry ?
    42. Re:Should lead to possibly great advertisements by Anonymous Coward · · Score: 0

      That trickery was performed since Windows 9x days. It is nothing new.

    43. Re:Should lead to possibly great advertisements by Not_Wiggins · · Score: 4, Informative

      An IBM developer figured out how to use "make" to start services in parallel (once you have determined the dependencies).

      A link to the article is here.

      Bear in mind, this is circa 2003. 8)

      --
      Diplomacy is the art of saying, "Nice doggie!" until you can find a rock.
    44. Re:Should lead to possibly great advertisements by Lord+Pillage · · Score: 1

      Let's have one and a half cheers for all this time saving!

      --
      try { Signature mysig = new CleverAttempt(); } catch(NonCleverSignatureException e) { postanyway(); }
    45. Re:Should lead to possibly great advertisements by Creepy+Crawler · · Score: 1

      I've got a clean VBox XP install. I just timed it from startup. 30 seconds.

      No AV, no on-start programs. I havent cleaned the services to what I need. It's a flat-out fresh install.

      Granted, VBox does have only a 5 second bios compared to some systems 30 seconds, but I'd imagine that COREboot could solve that.

      --
    46. Re:Should lead to possibly great advertisements by Anonymous Coward · · Score: 3, Funny

      none of your penis pills around here, sir!

    47. Re:Should lead to possibly great advertisements by jd · · Score: 3, Interesting

      Yeah, but you don't need a full ESMTP server for that - a wrapper for the local delivery agent that speaks classic SMTP (but ignores most of it) should be sufficient. In fact, if you're only using it to deliver to root, you've a choice of a tiny bit of text formatting, putting into a huge block of text and whapping it onto the end of root's mailbox, or doing a tiny bit of other text formatting and use the local mail delivery agent to do all of the work.

      If you've only one login account (the rest are for daemons or accessed via sudo), then the login code is excessively heavy. There's effectively only one user and effectively only one password. Those need to be in a password/shadow file for compatibility with other apps, but for machines that are essentially single-user, where the data is essentially fixed-length, you don't need search algorithms, routines to scan for the correct column, etc. You store two fixed-length blocks of data and then do a string compare and a byte compare. No files to open, no multi-layer authentication modules, etc. For a straight single-user desktop, you don't need such weight for a console login. You do for servers and other remote activity, but not for the console.

      XDM/GDM/KDM could be rigged to work under GGI or XGGI. They don't need the full X system. You can complete booting that whilst the user logs in.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    48. Re:Should lead to possibly great advertisements by makomk · · Score: 1

      Exactly. You can compile a kernel with no initrd support whatsoever, but the only real benefit is a slightly smaller kernel image. The boot time benefit will be from not having to load an initrd, which is controlled by a bootloader option.

    49. Re:Should lead to possibly great advertisements by fugue · · Score: 1

      Damn. That's a lot faster than my machine (Lenovo t61) wakes up after suspend-to-ram. 'Course, I don't need to tell matlab to suspend and save and exit, etc...

      --
      "The biggest problem with communication is the illusion that it has taken place."
    50. Re:Should lead to possibly great advertisements by Anonymous Coward · · Score: 0

      It's funny, I fail to see the correlation between RAM and boot time. One would think 4GBs of RAM is way more useful and allows avoiding of slowdowns when the OS has already booted.

    51. Re:Should lead to possibly great advertisements by Anonymous Coward · · Score: 2, Informative

      Just a peace of advice...

      If you're really serious about being notified of S.M.A.R.T. disk attribute change/selftest failure, you should consider using the -m switch in your /etc/smartd.conf file. The -M switch controls under what conditions it will email. I have mine set to '-M test' so it sends an email at boot up to ensure that it can mail notifications successfully and also serves to let me know when the server has arbitrarily rebooted which rarely happens when you consider 30 to 90 day uptimes on average. I do this precisely on Fedora (and CentOS and RedHat Ent. can do the same just without the temp monitoring because their packaged version is too old and doesn't have the temp monitoring feature for [S/P]ATA drives). I use it to notify me via email when something happens to the hard drive instantly, like temperature has gone too high, or God forbid a regularly scheduled disk test failed (hasn't happened yet). I used to have my personal headless fileserver email me to my gmail account which I got instant notification of on my Blackberry...ever since my ISP put themselves (the IP subnet I'm on) on a SPAM no mail list...gmail now refuses my mail from my box so now I just email to root and redirect all of that to my primary user account and just run a simple local mailbox poll program to notify me at the desktop when new mail arrives. I hope to come up with something in the near future for better instant notification. But otherwise it works great for logwatch and if it wasn't for the ISP intentionally blacklisting their customer IP space I would still get instant notification of smartd events which are rare so don't worry about them filling up your inbox. I get one lately only when the system reboots and a test message is issued. Only once this year did I get a real warning that the temp had gone over 50 degrees C while I was at work...turned out the A/C had been shutoff the whole day during the summer and I was somewhat overdue to clean out some dust in the fans.

      #man smartd.conf can prove to be a useful read, and if you are using Fedora, alot of the switches and options are actually documented right in the /etc/smartd.conf file. Its a self documenting config file.

      Sly

    52. Re:Should lead to possibly great advertisements by Anonymous Coward · · Score: 0

      No reason it should be slow with 4gb of RAM unless you have a processor that's performance is really sub-par for a system that needs 4gb RAM.

      Seen it running decently on a 2gb of RAM machine, any less than that and it's less than perfect though certainly.

    53. Re:Should lead to possibly great advertisements by Martin+Blank · · Score: 1

      Thank you very much for that. I will have to play with it.

      And keep my rescue disc around for when I render my system useless. :)

      --
      You can never go home again... but I guess you can shop there.
    54. Re:Should lead to possibly great advertisements by PReDiToR · · Score: 4, Interesting

      I picture something like that, but further.

      Once the distro installer has finished it would attempt to boot the system to the graphical login. If the login screen came up it would save the state of the machine to a fast loading RAM image that GRUB could directly inject to RAM.
      Reading ~100MB of system should take seconds on any machine, and the code area taken up by the GRUB routine could be overwritten with a memory offset command embedded in the first few bytes of the image.
      Once the image is in RAM the execution starts up again immediately waiting for your login details.

      Of course, hardware would have to be hashed to make sure that the image was still compatible with the machine and that the disk hadn't been moved to a different one. Upgrading the hardware or the kernel, software updates et cetera would require the image to be resaved, but those are easily achieved.
      Taking into account the size of the image, I guess that someone could code the installer to compile the kernel with the modules the system uses built in. Maybe as a function of the exit procedure. "Optimise load time - warning! This will take quite some time"

      Basically I guess what I'm saying is something like a hibernate file, but one that is rarely changed and only contains the system, not the applications running in a session.

      --

      Do not meddle in the affairs of geeks for they are subtle and quick to anger
    55. Re:Should lead to possibly great advertisements by fm6 · · Score: 1

      It's more like 3.5. Note that the hard limit for all 32-bit operating systems is 4GB. Windows manages to lose half a gig somewhere.

    56. Re:Should lead to possibly great advertisements by Kjella · · Score: 1

      As long as it doesn't do a Windows on me - drivers install themselves in boot process, swap hardware, constant BSOD on reboot even in safe mode.

      Suggested fix? Uninstall the drivers before you replace the hardware. WELL HOW THE %&% AM I GOING TO DO THAT WHEN THE MOBO DIED ON ME?!?

      If you can do this in a non-destructive way that'll still continue if the hardware is no longer present, I'm all for it. Otherwise, I'm all against it.

      --
      Live today, because you never know what tomorrow brings
    57. Re:Should lead to possibly great advertisements by Iskender · · Score: 3, Funny

      Kudos to you sir, for reducing the time it takes to type congratulations by instead using grats!

      Using 'grats' is pretty amateurish though: real Slash-users lubricate their keyboards with GRITS for optimum performance.

    58. Re:Should lead to possibly great advertisements by PotatoFarmer · · Score: 1

      Offtopic, but that "somewhere" is actually video RAM being mapped into normal address space. You're seeing 3.5GB out of 4 presumably because you've got a 512MB video card.

    59. Re:Should lead to possibly great advertisements by Bryansix · · Score: 1

      I know it is illogical but Vista Pre-loads programs into RAM to make them appear to start faster when you need them.

    60. Re:Should lead to possibly great advertisements by Edzilla2000 · · Score: 0

      Of course not... That is only on laptops, or on motherboards with integrated video. those wasted 512MB are due to a 32bits limitation.

    61. Re:Should lead to possibly great advertisements by jonbryce · · Score: 1

      The 32bit version can only cope with 3.4GB

    62. Re:Should lead to possibly great advertisements by deadbeefcafe · · Score: 1

      It's for memory-mapped I/O. This page explains it nicely:

      http://www.codinghorror.com/blog/archives/000811.html

    63. Re:Should lead to possibly great advertisements by PotatoFarmer · · Score: 0

      I'm pretty sure that's not the case - I have one machine at home with a 768MB video card that reports 3.2GB of system RAM, and a second one with a 512MB card that reports 3.5GB of RAM. Neither use integrated video or are laptops, both have 4GB of RAM installed.

      32 bits can address exactly 4 GB in a flat model, there's no inherent limitation that says you would lose 512MB of that unless something else is taking up that space.

    64. Re:Should lead to possibly great advertisements by Malekin · · Score: 4, Informative

      32-bit operating systems on x86 can get around this with PAE. Windows XP and Vista don't have support for it, though.

      http://www.appleinsider.com/articles/08/09/03/road_to_mac_os_x_snow_leopard_64_bits_santa_rosa_and_the_great_pc_swindle.html

      The half gig "lost" is because x86 is a memory-mapped architecture. The graphics card memory and all your peripherals are mapped over the top part of your memory address space.

    65. Re:Should lead to possibly great advertisements by camperslo · · Score: 1

      Isn't kudos already the plural of kudo?

      KUDO is a 10,000 Watt non-directional AM radio station on 1080 kHz in Anchorage Alaska.

      Maybe Sarah Palin climbs the tower to watch the Russians?

      There's no FM or TV with that call sign, it is singular. So no KUDOs for Sarah?

    66. Re:Should lead to possibly great advertisements by ArsonSmith · · Score: 1

      That's kinda funny, I remember SCO got around it by making not just S and K startup/shutdown scripts but also P scripts (pthreaded) that when called by init were called with an & so while it started init could continue on. No special make technique or anything.

      Unfortunately there was no way to determine and assign dependence, but that can be done manually. Or possibly a subsystem that organizes the numbers correctly.

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
    67. Re:Should lead to possibly great advertisements by Grishnakh · · Score: 1

      This seems like a place where the distro needs to do a little more work to make things efficient. For instance, with this sendmail thing, why not have it, the first time the machine is booted up or when the OS is first installed, look at how it's configured. If the user is a typical desktop user and doesn't have his system set to email log notices to some other machine, then set the init files so that sendmail isn't started at all. If this desktop is being used in a company where they want all the desktops to email log notices to a central administration account, so that one person can monitor and administer all the desktops in a whole department, then go ahead and set the init files so that sendmail is brought up.

      Why are they assuming anything? It really shouldn't be that hard to alter the system initialization settings based on the machine's configuration, and do things differently based on how the machine is used.

    68. Re:Should lead to possibly great advertisements by networkBoy · · Score: 4, Informative

      You obviously fail it.

      The 32 bit limitation is 4 gigs of RAM (total).
      Your video card's memory is mapped into the same address space as your system ram, but from the top of the address space downward, rather than system ram (mapped from bottom of address space upward).
      The video ram has priority, thus if you have 3G of ram and a 1G video card you are using 100% of your address space. any more system memory installed will be masked by the video ram and thus is "lost".
      -nB

      --
      whois gawk date unzip strip find touch finger mount join nice man top fsck grep eject more yes exit umount sleep dump
    69. Re:Should lead to possibly great advertisements by petermgreen · · Score: 1

      Note that the hard limit for all 32-bit operating systems is 4GB.
      Only if they don't use PAE, with PAE they can go much higher. Unfortunately MS disabled address space over 4GB in all currently supported desktop versions of windows (afaict XP SP1 and earlier do support more than 4GB of address space if PAE is enabled). They claim this was due to issues with buggy drivers, cynics would say it was to push people to server editions.

      Of course some chipsets don't support more than 4GB of address space regardless of whether the OS is plain 32 bit, 32 bit with PAE or 64 bit.

      Windows manages to lose half a gig somewhere.
      The loss is caused by the fact that many perhipherals use memory address space so a 4 GB address space limit means you end up with less than 4GB of usable memory. This isn't really a windows issue per-se just a design quirk of the architecture.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    70. Re:Should lead to possibly great advertisements by RulerOf · · Score: 2, Insightful

      This is done by every operating system... ok, it's done by Windows and OS X. Not sure about the linux flavors.

      What I'd be curious to know is if there's a way to prevent it from giving me a damn desktop if I can't use it yet... I wouldn't mind sitting at an hourglass or green spinning circle for 8 extra seconds if it means Windows won't taunt me with a GUI I cannot use :P

      --
      Boot Windows, Linux, and ESX over the network for free.
    71. Re:Should lead to possibly great advertisements by mR.bRiGhTsId3 · · Score: 1
    72. Re:Should lead to possibly great advertisements by Anonymous Coward · · Score: 0

      How about speeding-up GRUB? I can't tell you how frustrating it is to sit there and wait while GRUB is pondering ...something. It just sits there for varying lengths of time (sometimes it is merely slow and sometimes really truly slow) before it decided to pop-up the OS selection (I dual-boot Windows for games) menu, but I have yet to determine what it thinks its doing during that pregnant pause.
      I really miss the speed of LiLo, but don't feel technical enough to switch back to it, so I just curse GRUB every time I boot and hope for an eventual "GRUB lite" to come along.

    73. Re:Should lead to possibly great advertisements by Anonymous Coward · · Score: 0

      No need to shut it down - I just tap the sleep key and it's sleeping in 2 seconds max. Another key press and in 5 seconds it is back to the desktop, ready to use. (Disabled asking for password on resume.)

      For all the people's cribbing - Vista x64 + SP1 is actually a very good OS if you throw in 4Gb RAM and a Core2 CPU. Microsoft has sorted the driver issue with 64-bit Windows as well - no driver issue with load of hardware I have thrown at it.

    74. Re:Should lead to possibly great advertisements by Pr0xY · · Score: 2

      Fail! The desktop editions of Windows XP and Vista will ignore any RAM found above 4GB (that's the RAM displaced by your video card and other memory mapped devices) even with PAE enabled for compatibility reasons.

      PAE from a hardware point of view allows up to 64GB of physical RAM.

      check out http://msdn.microsoft.com/en-us/library/aa366778.aspx#physical_memory_limits_windows_vista.

      Notice how only the server editions have numbers > 4GB and guess what, that "physical memory" is both RAM and memory mapped devices.

    75. Re:Should lead to possibly great advertisements by somersault · · Score: 1

      I dunno, the whole thing is frankly very ambiguous

      --
      which is totally what she said
    76. Re:Should lead to possibly great advertisements by Pr0xY · · Score: 1

      Not true, with PAE (http://en.wikipedia.org/wiki/Physical_Address_Extension) the hard limit is 64GB of physical memory (though it is still 4GB of virtual address space).

      Unfortunately, Windows XP/Vista 32-bit Desktop Editions only use PAE to access features like DEP and ignore RAM found above the 4GB mark for compatibility with poorly written drives that assume all RAM is suitable for 32-bit DMA.

    77. Re:Should lead to possibly great advertisements by SanityInAnarchy · · Score: 2, Insightful

      But "The 'done booting' time did not include bringing up the network"? Um, ok... no.

      Consider that "bringing up the network" generally involves communicating with at least one other device. You can't really call it a metric of OS boot time when merely plugging into a different network (or none at all) might change the result.

      Come to think of it, what people really need to do is take a good look at modern OSes and determine EXACTLY what still needs to be there and what's cruft.

      I would much prefer simply cutting them out of the boot process, or making a smarter boot process.

      For example: Maybe I do want a MySQL server running. But I certainly don't want you to delay my login screen while I wait for it to start. I probably don't want it eating up RAM on a desktop, either, until something needs it.

      A good implementation: X11 on OS X. Granted, there are many things not to like about it, but one thing to love is the fact that it only starts once you actually attempt to run an X app.

      --
      Don't thank God, thank a doctor!
    78. Re:Should lead to possibly great advertisements by marco.antonio.costa · · Score: 1

      No Aero, though.

      --
      Send your spendthrift head of state this
    79. Re:Should lead to possibly great advertisements by antdude · · Score: 1

      Vista (UE and 64-bit too!) runs on 512 MB of my old test machine at work. (:

      --
      Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
    80. Re:Should lead to possibly great advertisements by c1t1z3nk41n3 · · Score: 0

      I was just thinking about something similar a couple days ago. It seems like it would be fairly easy to implement on any os that already has a hibernate function. Why not multiple boot images even? Let me choose my work environment at boot and load up a ram image with any apps I've set up already running. Have a basic one that is just a fresh boot, nothing going on, etc. The avenue of thought that led me to it though was wondering why I need a 4 gigabyte hibernate file when 3 gigs of my memory is unused.

    81. Re:Should lead to possibly great advertisements by Anonymous Coward · · Score: 0

      A well regulated Militia, being necessary to the security of a free State, the right of the people to keep and bear Arms, shall not be infringed.

      So what exactly is the point of mentioning a militia in the amendment if it has no bearing on the right itself?

    82. Re:Should lead to possibly great advertisements by Anonymous Coward · · Score: 0

      Trim a few unneeded services (and, there ARE more than "just a few" you can dispense with automatically loading, depending on what it is you need to be doing, that most folks will never need running sucking up I/O cycles, CPU time, & RAM), and perform a few .reg file known beneficial registry hacks (to name just a few things that can be done for ANY NT-based OS out there))? That guys??

      Fact is - quite easily, yield a noticeably faster performing, and booting, VISTA rig as well. Quite easily... vs. how it comes "oem stock/setup outta the box".

      (There are loads of guides & information, as well as prebuilt merge'able .reg files that work for this & make it so easy? "Gramma can do it")

      Personally speaking, though I don't use VISTA myself @ home or @ on the job - I'm quite happy w/ its immediate code predecessor in Windows Server 2003!

      However, in regards to VISTA? Well, I have used it on clients' machines, & on my nephew's new laptop for a fairly extended period of time...

      (It is one of those $3,000 "alienware" setups with a ton of RAM & GeForce 8800 GTX onboard video + a Core2 Duo CPU (the model that Tom's Hardware recommended last year as the gaming laptop of the year etc., & it was fairly impressive, as far as performance, without being "tuned" as I am noting above (even played Crysis @ full bore settings on details/resolution/AA & AntiIsotropic etc. et al settings, F A S T, no less)).

      Yes - It takes "more of a machine" to run VISTA, but, it takes more of a machine to run 2000 than it does XP (stock/oem setup outta the box) etc. as per usual too! Everyone seems to overlook that with more functionality in OS' from MS, you get more "weight"... it's just "programmatic physics", for lack of a better expression here is all... AND, the same goes for Linux also folks. Admit this much already.

      However,if history's ANY indicator? Like ANY Windows NT-based OS, a lot of custom tuning (easily done, due to the many decent online guides for it that exist nowadays especially) is possible, AND, does work, for better performance, all the way around AND with time & patches? VISTA will, and has, gotten quicker (like the fix for network cached files & multimedia files caching + copying hassles etc. that was an issue a ways back prior to SP#1 for VISTA).

      You guys ought to be a WEE bit more objective & well, honest, when putting down the competition, Linux Penguins of /. ...

      You know this - that it's fairly easy to cut down Linux on a number of grounds also & there is a good chance that many of you also use Windows NT-based OS too, either @ home for some tasks you cannot do on Linux (such as a game you don't have a port of for Linux that does exist on Windows, & there are others too)

      I don't do so here, in "totally trying to cut up Linux", because I am impressed with Linux overall (especially since the first model I tried back in 1994 or so, iirc, it was Slackware 1.02 build)

      Linux - it's come a long ways, & does the job well enough (but, it too, lacks in areas (device driver support isn't as strong as Windows has for 1, & for another? There isn't as wide a variety of various softwares for various things, not just games, that Windows has... the list goes on, but why bother?))

      APK

    83. Re:Should lead to possibly great advertisements by Anonymous Coward · · Score: 0

      There's a (most likely off-the-cuff) stat in the article that 90% of laptops can boot with the same set of drivers. Only 10% would fail without initrd, and those could start over and load modules. Or so it says. Proprietary drivers are a problem as usual.

    84. Re:Should lead to possibly great advertisements by Anonymous Coward · · Score: 0

      On a single process.

    85. Re:Should lead to possibly great advertisements by jesterzog · · Score: 1

      So basically, you could never apply these speed increases to a generic distro.

      I've never dealt with this kind of stuff (kernel development, etc) but I'd have thought that at boot time, most modules would tend to load themselves into identical (or nearly identical) states on every boot, which might be hardware-specific but would still be repeatedly the same on a given system. Apart from maybe needing to fundamentally re-design the module loading methods for the Linux kernel, is there some technical reason why a module couldn't be cached in a way that'd allow for a straight copy from a persistent cache of the data it needs to step around whatever initialisation it usually does?

    86. Re:Should lead to possibly great advertisements by squiggleslash · · Score: 0, Offtopic

      There are a variety of possible explanations, the simplest being "Because that's the reasoning", ie "Because we want to have well regulated militias, we must allow the people to bear arms." Another is that it's actually a separate right - the first amendment contains at least five (free exercise of religion, freedom of speech, a free press, right to peaceably assemble, and to petition the government), though the wording is a tad all over the place for this to be likely with the second. But certainly I've heard it argued that the intent was to ensure the states had the right to have militias, it was an argument used at the time.

      I think the first is the more likely. The point is that as an English sentence, the second amendment specifically does not make the second dependent upon the first. Insofar as you can tie the things together, it's as an explanation - that because we need well regulated militias, the people must be allowed to bear arms.

      If you take the language too far, as you're doing, and say that it actually introduces a dependency, it's quite possible to interpret it in exactly the opposite way those who do this do: that a militia is necessary, therefore the government must arm the people. Another way, which the courts have actually used, is to determine the meaning of the second part - ie, if the intent is to make a militia possible, then you can't say "Everyone's allowed to own spears. Guns are banned" and expect that to satisfy the amendment because, technically, people can bear arms, they just have to be spears.

      But there is no dependency; in plain English, it's a justification followed by the clause that's being justified.

      --
      You are not alone. This is not normal. None of this is normal.
    87. Re:Should lead to possibly great advertisements by jesterzog · · Score: 1

      Basically I guess what I'm saying is something like a hibernate file, but one that is rarely changed and only contains the system, not the applications running in a session.

      This is the sort of thing that's confused me for a while. I'm definitely not an expert on this stuff but I've wondered a lot of times now what's fundamentally changed since the 1980's, when I used to be able to switch on an Amstrad CPC 6128 or a C64 and it'd be responsive immediately, dropping the user into an interactive BASIC interpreter. The time it'd take to boot would be insignificant compared with the time for the monitor to warm up. Both of these systems (I think) just had the main system with everything loaded in ROM, and it'd be there and ready immediately. Obviously ROM wouldn't be user-configurable, but I'd have thought persistency between losing power would be the main thing, and there are plenty of types of memory that are persistent and not too slow to access.

      Software is more complex these days and hardware varies much more (often meaning that software/drivers load themselves into different states), but hardware's also much faster and relevant states should be able to be cached between boots, which is what I guess you're suggesting... Have hardware and software designers just gotten lazy over the last 15-20 years by assuming that people don't mind having everything re-load itself from the beginning during booting? Even when hibernation isn't involved, I have some trouble grasping why booting shouldn't be almost instantaneous, let alone 5 seconds.

      I think many people use their systems differently these days too, though, which means that reliable hibernation is probably more important than boot time in a lot of ways. Especially since multi-tasking desktops have become popular and many people have 10-20 apps open at a time, sometimes they just want to turn it off and have it all there again when they come back.

    88. Re:Should lead to possibly great advertisements by thebigbluecan · · Score: 1

      Ha Ha Ha

    89. Re:Should lead to possibly great advertisements by Anonymous Coward · · Score: 0

      Yes they do. Add /pae to your boot.ini file. ;-)

    90. Re:Should lead to possibly great advertisements by Anpheus · · Score: 1

      Or each service could be started immediately, and an internal broadcast/signalling system (hello IPC) could say "Hey, Service X is now online, if you need your Service X, get it while it's hot!"

      And then Service A and N go online, because that's their only dependency. G notices those two, and goes online, which brings R online, etc. Each service just needs to have its own internal "what do I need to run" preflight checklist.

    91. Re:Should lead to possibly great advertisements by networkBoy · · Score: 1

      as to the spam thing...
      Your e-mails should still show up in your spam folder, no?
      Just whitelist them, or has G gone and actually blackholed your subnet? (In which case I'd scream at the ISP for a new IP).
      -nB

      --
      whois gawk date unzip strip find touch finger mount join nice man top fsck grep eject more yes exit umount sleep dump
    92. Re:Should lead to possibly great advertisements by Anpheus · · Score: 1

      Please mod parent up, this is one of several ideas desperately needed in order to change public perception of Linux from "that toy/geek OS" (or worse, "what are you talking about?") and into "holy crap that's cool."

      People care about stuff that's cool. That it works really well and helps them do stuff is a happy coincidence. On the other hand, there are a lot of cool things (most compiz plugins) that look cool and draw users and developers that have no productivity implications. Not dismissing their work as useless, it does bring users to Linux, but working on cool feaures that provide productivity (of which there are in compiz) should take precedent.

    93. Re:Should lead to possibly great advertisements by Anpheus · · Score: 4, Funny

      Ah, the old, "I have discovered a truly marvelous method to improve Linux which the margins of my free time are too narrow to allow me to code."

      Still keep writing.

    94. Re:Should lead to possibly great advertisements by Randseed · · Score: 1

      Really? It takes a good five minutes for this machine to boot and stabilize to where it's really usable. Enough that I never shut the laptop down, I just hibernate or put it into stand-by.

    95. Re:Should lead to possibly great advertisements by drew · · Score: 2

      It would royally piss people off to have a quick loading screen, log in and then see "Hold up, still starting up the network". (Just as frustrating as starting a Windows or Mac, getting to the desktop and still waiting while services and programs are loaded).

      They wouldn't be the first, unfortunately. The Intel wireless driver on my Dell Inspiron laptop works that way. Somehow they've completely disabled all of Window's built in network configuration and replaced it with a tray app that starts as part of the normal boot / login process. Even when coming back from suspend, I have to wait about two seconds for it to connect back to the network again. When booting from scratch it's even worse. It's actually pretty common for me to have Thunderbird or Firefox (quickly being replaced by Chrome) up and running only to get a connection error because my wireless driver is still initializing.

      You're completely right, though, it does royally piss me off...

      --
      If I don't put anything here, will anyone recognize me anymore?
    96. Re:Should lead to possibly great advertisements by damium · · Score: 1

      PAE fixes the limitation for the OS (if it uses it). It is then only a limit per-process on a 32-bit system. Linux has supported PAE for some time and windows supports more than 4GB in their top 2 tier 32-bit server systems since 2000 with it.

    97. Re:Should lead to possibly great advertisements by Dolda2000 · · Score: 2, Informative
      Actually though, the 4 GB limitation is the virtual address space size. Most 686-class CPUs have a 36-bit address bus and PAE extensions for up to 64 billion physical addresses. (For the uninformated, PAE allows setting the high 4 bits of the address bus in the page tables).

      The original reported problem of Windows only reporting 3 GB of RAM is probably related to one of the many problems described in this Microsoft article: http://www.microsoft.com/whdc/system/platform/server/PAE/PAEdrv.mspx

      It doesn't mention Vista specifically, but it does list different physical address space limitation for the various editions of other Windows versions. Among others, XP is mentioned as being limited to 4 GB of physical address space, and I'd guess the cause of that would be its not being licensed for more than that. By similar reasoning, it wouldn't surprise me if most editions of Vista have the same limitation. I guess that's what you get for using evilware.

    98. Re:Should lead to possibly great advertisements by RAMMS+EIN · · Score: 1

      Is login actually all that heavy? I've never considered it as taking up a lot of time. Also, when thinking about replacing login, bear in mind that it is one of those parts of the system that have years of security experience incorporated in them.

      --
      Please correct me if I got my facts wrong.
    99. Re:Should lead to possibly great advertisements by NotBorg · · Score: 1

      My Linux box does none of that. The only thing my Linux box does slower than XP is run Windows software (games take bad FPS drops).

      Don't get me wrong, I do think there are many things a Linux/GNU system could do better, but speed and efficiency seldom makes it to my gripe list.

      My desktop environment not only shows up faster, but I can start using it just about as fast as it renders itself.

      --
      I want this account deleted.
    100. Re:Should lead to possibly great advertisements by RAMMS+EIN · · Score: 2, Insightful

      A couple of things that have changed, from the top of my head:

        - Those old machines had an OS dedicated to support exactly the hardware that was shipped. OTOH, Linux distros are usually generic, and detect hardware on boot.

        - There's a huge difference between a BASIC interpreter and a full-fledged multi-user OS with networking, GUI, etc.

        - PC hardware spends a lot of time during boot before actually handing control to the software. Server hardware is often a lot worse.

        - The code involved in booting those old machines was probably written by Real Programmers, who knew the ins and outs of the hardware they were programming for. It's probably horrible to maintain, but ridiculously fast. By contrast, most of the code involved in booting your Linux distro is written in a variety of languages, by a whole lot of people, few of whom are Real Programmers, and it's probably optimized for genericity and maintainability, rather than efficiency.

      Having said all that, you _can_ boot Linux ridiculously fast. I used to have a 486 where the boot process basically consisted of (1) POST (2) Load GRUB (3) Load kernel (4) Run init (5) Run login. Pretty much a normal boot process. What was special about it is that the kernel had all required modules compiled in, and nothing else. init (IIRC) only spawned a single tty and ran login. And both init and login were BusyBox statically linked against dietlibc. From GRUB to login prompt took less than 5 seconds, IIRC. You could further improve on this by foregoing the BIOS in favor of something like coreboot.

      --
      Please correct me if I got my facts wrong.
    101. Re:Should lead to possibly great advertisements by KGIII · · Score: 1, Offtopic

      I can't believe I'm going to respond to an off-topic post that is responding to an off-topic post but I'll make it simple for you.

      The right to bear arms stems from a basic thinking that we no longer have in the United States today. We are afraid of our government. That should not be the case. They should be afraid of us. The NEED for a militia is not to protect the citizens from an invasion from something outside our soil. It is there to protect the citizens from the erosion of rights, to ensure the government does its job (by the people, for the people) and has now been media spun to seem as if every militia is a bunch of racist crackpots running around sending their kids to school with automatic weapons.

      The reality couldn't be further from the truth. I have had weapons, loaded in many cases, either on my person or within easy access for most of my entire life. Even as a child. I have never harmed anyone with a firearm. I'm well trained and can actually hit an opponent from a mile away with both an effective weapon and an accurately dialed in scope. (U.S.M.C. btw so that you're aware of why I am comfortable making that claim.) Yet, even sitting there with a U.S.M.C. (Ret.) father who had everything from an M1 to an M14 in the home as a CHILD, I've never once had the urge to harm someone with a firearm.

      You can't take a bullet back. You only fire when your intent is to risk killing. There are times when you use suppressive fire or fire to wound, even then your willingness is an intent to kill. I've killed many things with a firearm. I eat them. Nom nom nom... I like 'em a lot.

      Fear. Respect. Trust. Love. Attentive. Admiration. Understanding. Those are feelings I have regarding my rifles. They also extend to guns and sidearms. "This is my rifle, there are many like it but this one is mine. Without me my rifle is nothing. Without my rifle I am nothing..." (I could go on.)

      We have this kneejerk reaction about firearms. WTF? Look at the statistics, look at the facts. Far fewer people are killed with firearms than they are with automobiles. Do we have a movement (other than some crazy whackjobs who think anything techy is bad) attempting to ban automobiles? Do we run around telling parents to lock up their car keys and keep them out of the reach of children? Or do we try to TEACH them that they are dangerous, they need respect, that they should be able to trust in the reliability of their automobile, that it is okay to have a love of driving within reason, that they have to be attentive on the road, that they can have admiration of the automobile, and that they need to understand the dangers and risks involved in driving? Responsible people do the latter.

      Anyhow, to get to the point. Gun ownership is there, in this country, to protect you. Most of us don't do it because it is our "constitutional right." Most of us do it for a perceived need or a desire to use a tool that enables us to provide for our family more easily than hitting a moose with a car. (That is harder than you think. It is instinct to try to avoid the moose. Silly human instincts.) There are a few of us that carry openly, even in banks, for a higher reason. Those of us who do that generally do it not to make a show but because we want to be ready to stand up for ourselves in the case of true oppression or to defend the rights of another. There's nothing more humanitarian than that.

      That's why there's a constitutionally protected right to bear arms and form a militia. It isn't about crazy fucked whackjobs who think that they're going to save the nation from Osama Bin Laden. It is about affording you (who is probably unwilling given the response you made) to have the rights that you have. Unfortunately there are only a few of us and they have, well, you know... Tanks and stuff.

      --
      "So long and thanks for all the fish."
    102. Re:Should lead to possibly great advertisements by MadKeithV · · Score: 1

      My Vista Home Basic 64-bit is usable as soon as the desktop actually appears. Might be that all the add-on crap to persuade people that they need Vista Ultra Super Duper Special Racing Stripe Edition with Extra Cheese is slowing it down?
      Note: it booted even faster before the first driver updates :-/. I'm sure it will be dog-slow by the time application compatibility catches up enough with 64-bit.

    103. Re:Should lead to possibly great advertisements by ppanon · · Score: 3, Funny

      Don't blame me. I voted for kudos.

      --
      Laissez lire, et laissez danser; ces deux amusements ne feront jamais de mal au monde. - Voltaire
    104. Re:Should lead to possibly great advertisements by Anonymous Coward · · Score: 0

      Saving the booted kernel is of no use, as the hardware itself has to be initialized. The best thing you could do is have a quick booting kernel that then reads from disk the state of applications running, but you still have to initialize the hardware.

    105. Re:Should lead to possibly great advertisements by Anonymous Coward · · Score: 0

      That was valid for the 80386, but newer CPUs (starting from the PPro) have newer segmentation models, allowing them to handle up to 64 Gigabytes of RAM.

      Read a bit on CPU architecture and TLBs to see how it works, it's quite interesting actually!

    106. Re:Should lead to possibly great advertisements by Anonymous Coward · · Score: 1, Informative

      It's more like 3.5. Note that the hard limit for all 32-bit operating systems is 4GB. Windows manages to lose half a gig somewhere.

      I guess Linux is better than all 32-bit operating systems then. It handles 64 GB RAM on IA32, since the Pentium Pro or thereabouts.

      32 bits is the size of the registers, not the size of the address bus. A pentium 4 is not limited to 4 GB RAM, just as the old 16-bit PC's weren't limited to 64 GB (640 KB should be enough for anyone, remember?), and the Commodore 64 isn't limited to 256 bytes.

    107. Re:Should lead to possibly great advertisements by HungryHobo · · Score: 0, Offtopic

      Over the years I've gradually moved away from the "guns are bad" view.
      It's just annoying how stupid people can be with them.

      How about a system for guns similar to the system for cars.
      People should damn well have to prove they know the fucking basic safety rules before being allowed own a gun.

      As for keeping a gun around the house- use common sense. If you live alone in a bad neighbourhood above a crack house and below another crack house then sleeping with a loaded gun on a hair trigger is a good idea and that shadowy figure climbing in your window is almost certainly someone trying to rob you. Here it will keep you safe.

      If on the other hand you live in a low crime, gated community with a large family then sleeping with a gun is paranoid, failing to keep it in a gun cabbinet is foolish. That shadowy figure climbing in the window is probably your teenager or their girlfiend/boyfriend. A gun here will make very little difference to your safety. If you can't resist shooting at anything suspicious then you're best off not keeping a gun around.

      Guns are just a tool.

      Question:
      If you take the view that guns are for dealing with your own government shouldn't it be perfectly legal for people to own fully working military grade weapons? Should you not also have a right to brew your own expolsives or buy materials for bombs?

      ("I never go anywhere without my weaponised anthrax! For duck hunting... :D")

    108. Re:Should lead to possibly great advertisements by Anonymous Coward · · Score: 0

      doesn't windows only use 3.2G of the 4G ram? if this is so, would the potential sum of having 3G + 1G of video memory equal a full 4G or will the extra RAM be lost?

    109. Re:Should lead to possibly great advertisements by renoX · · Score: 1

      Well any distribution which manage to generalise those change will gain many users (at least temporarily until the other distributions catch up) so this would be a gain for them, but of course the investment to generalize those change and ensuring that the result is sturdy isn't trivial..

    110. Re:Should lead to possibly great advertisements by RiotingPacifist · · Score: 1

      You need to be assigned authenticate over WPA and be assigned an IP when you return from suspend. While you may be right that the dell tool slows stuff down i suspect if you run wireshark you will see a tiny delay waiting for the tool and then a long dely while authenticating, for best results:
      1. set WPA to short handshake
      2. assign a static IP
      3. re-nice the dell tool

      --
      IranAir Flight 655 never forget!
    111. Re:Should lead to possibly great advertisements by Idaho · · Score: 1

      Indeed, these issues (power management, bootup time) where actually *the* biggest reasons for me to buy a MacBook. I'm glad at least some Linux developers understand this, *and* are actively working to fix it.

      I don't even know how fast (or slow) Mac OS boots, because I reboot it at most once a month. The rest of the time, I simply close the screen, it goes into sleep and will be back up in 2-3 seconds tops. Also, it can easily stay in sleep mode for days (I think it uses maybe 10-15% of battery charge per full day of sleep), much unlike my Dell Inspiron 6000, which in sleep mode (both Linux and Windows) still runs out of juice in about 8 hours flat (and on a bigger battery, at that). Which leads to me never using sleep mode on that thing. I know this is something that can't be influenced by the OS, but it matters, a lot.

      Also, there are such "tiny details" as Linux not waking up from sleep mode randomly, say, one time out of ten. Or stuff breaking apparently because you removed or plugged in some USB devices while it was in hibernate/sleep, etc. The point is, you can't depend on it, so it might as well not work at all. In fact, losing your work one time out of ten is probably worse than sleep mode not working at all.

      Also, I don't know what happened between Ubuntu 7.10 and 8.04, but 8.04 takes literally 3-5 times longer to boot and resume from hibernate (on the same Inspiron 6000). This is what really sealed the deal for me.

      --
      Every expression is true, for a given value of 'true'
    112. Re:Should lead to possibly great advertisements by KGIII · · Score: 1, Interesting

      This is /. and a majority of people won't like my answer. If it is available to the government (according to my understanding of the IMPRESSION of the constitution) we, as civilians likely paid for the technology to create it and thus it belongs to us and thus we should be able to own it.

      Now, I know that this is going to sound retarded to most people here but I have actually given a lot of thought to this and will defend it as I can but, well, it's still sketchy in my mind.

      There are some secrets (placement) that need to be maintained for a secure society. I accept that.

      As a citizen should I be allowed to own and build a nuclear weapon? Yes.

      Should the government be allowed to come take it away from me because they're scared? No.

      Should I be allowed, as a mere citizen, to train that weapon on anything other than my own government? No.

      That is the baddest of the bad. It is the WORST thing I can think of. To be allowed to operate, government owned, equipment that civilians can not access is diametrically opposed to what I think the Constitution intended. Keep in mind that I'm a bit odd in that I've driven an old Ontos down the highway (to an in a parade). I am also a Marine (in-active).

      As the OPPOSITE of what people seem to think, well, I'm very much in FAVOR of what the reality should be in my opinion. As a Marine my job was to kill people and blow shit up. That is it. My job was to protect against anything unpopular in a democratic society (which we don't really have by the way) as ordered to do so by my commanding officer.

      As my commanding officer is the Commander in Chief (president) most people are not able (or even willing) to defend themselves vs. a group of me. I am trained to hit my target at 500 yards. I *engage* at that. I am actually able to do so fairly easily at about 1000 yards. This is with an M16, think basically a .22 round, and open sights. Give me thirty minutes to site in a .50 cal and I'll rip your arm off at a mile away.

      You, probably (though I know shit about you) aren't able to deal with that. We're no longer using a musket where you're likely to MISS your target at 50 yards. We are no longer talking about a time when the civilization is armed as well as the government.

      Your role, as a civilian, is to kill me in the name of your rights (something that was actually clearly explained while I was in but the times change) should my CIC tell me to harm you to suppress your different beliefs. That is your job. If you can't do it than step aside and let those who can do so, well, do it. By the content of your last post I'm inclined to think you would if you had a reason to believe you could do so effectively.

      There's the problem. I can kill six Marines on the best of days. One Marine can kill six of me. I have a life expectancy of about 3 minutes during combat. That is against third world countries. The government has prohibited you from being armed by the current definition. States have failed to uphold their duty as autonomous organizations.

      As a side note? I'm brainwashed in many areas and know this to be true. In the latter paragraph I would die to protect another Marine of kill to ensure his safety. Please do look at the reasoning behind the brainwashing and understand that that is a required trait for effective soldiering. I can not speak for other branches (though I've given consideration to re-enlisting) but I think that a good percentage of MARINES would lay down their weapons if we were ever forced to train them on civilians.

      I know that I don't care one bit if you are American or not. (My wife wishes it were not so.) I have absolutely nothing stopping me (even with two children) from jumping in front of a bullet for you. It is my life. I give it for humanity. Marines, regardless of the media, are something different. We have two people, fuck orders, they are the person on our left and the person on our right. When shit hits the fan don't you die Marine unles

      --
      "So long and thanks for all the fish."
    113. Re:Should lead to possibly great advertisements by ColaMan · · Score: 1

      I'm still busy just getting Xorg to pan again, after the Xorg devs decided that it wasn't the X server's business to pan a viewport around a virtual screen and the window manager should do it. Never mind the fact that a virtual desktop has been present in X for a Very Long Time Now, or that current window managers don't do panning as they expect X to do it.

      Thanks guys, I really enjoy my 800x480 eeePC so much more for your decision.

      (end bitter rant)

       

      --

      You are in a twisty maze of processor lines, all alike.
      There is a lot of hype here.
    114. Re:Should lead to possibly great advertisements by PastaLover · · Score: 1

      This is what bothers me most about my Linux station. The services mostly load quickly, but come to a screeching halt when the interfaces need to be brought up, jumping into a fast launch sequence once the DHCP address is acquired. I've not understood why service dependencies cannot be mapped and multiple services brought up at one time (which I gather is the goal of projects like this). Windows pulls it off relatively well. On the same hardware, I have Windows XP and Fedora 9 multibooting, and the Fedora boot time is significantly longer than that of Windows.

      At least one of the problems is that when two programs are starting up that need lots of data from disk, starting them in parallel will result in lots of trashing and lost time. Also some services aren't supposed to come up before the network, sometimes because they really need the network, other times because you could configure them to use the network. Obviously, all this stuff has sparked a lot of interest in doing it better, because the status quo can be pretty appalling (though it does vary system to system).

    115. Re:Should lead to possibly great advertisements by EsbenMoseHansen · · Score: 1

      It's more like 3.5. Note that the hard limit for all 32-bit operating systems is 4GB. Windows manages to lose half a gig somewhere.

      Even 64-bit linux looses some RAM when you have 4G installed. And yes, I booted a 64-bit livecd just to test this :)

      E.g, I have a machine here with 16 GiB = 16384 MiB RAM, but free reports only 16239.

      --
      Religion is regarded by the common people as true, by the wise as false, and by rulers as useful.
    116. Re:Should lead to possibly great advertisements by HungryHobo · · Score: 1

      A well worded post.Weird to read the bit about accepting you're brainwashed.
      I too hope that american marines or soldiers in my own country would refuse to fire on civilians but then I'd prefer this not be put to the test too often.

      I do wonder why the groups which push for the right to bear arms don't push harder for the kind of weapons which would really be useful in war rather than useful when bringing down a dear.

    117. Re:Should lead to possibly great advertisements by RulerOf · · Score: 1

      My desktop environment not only shows up faster, but I can start using it just about as fast as it renders itself

      On the same token though, I've been able to do that with XP as well (I'd assume you can do it with Vista) by nLiteing the crap out of it... I had XP boot in 13 seconds to a fully usable desktop on a Dell GX50 with 128 ram... but it lacked a lot of features, like a print spooler, or the ability to be sysprepped.

      And while it's fine and dandy that Linux can do that for me, switching to Linux defeats the purpose of my question ;)

      --
      Boot Windows, Linux, and ESX over the network for free.
    118. Re:Should lead to possibly great advertisements by Anonymous Coward · · Score: 0

      Even worse than that. It doesn't start *at all* before you are logged in.

      We use wireless networking at work. Recently we added a domain controller (actually we had one, but after we got VPN working, we could actually use it), and joined the PCs to the domain.

      So, PC boots up. Waits for login. Type domain username and password. Windows needs the domain controller to verify the password. Couldn't contact the domain controller, the network is not up.

      Ok so... I need the network to be able to login. But I need to login before the network comes up. But I need to network to be able to login...

      Ended up uninstalling the Intel wireless thing Dell installs, and using windows' own wireless tools. Everything works just fine.

    119. Re:Should lead to possibly great advertisements by Krneki · · Score: 1

      Have you ever needed to use a firearm to solve any of your problems? Or do you have it just to feel secure?

      --
      Love many, trust a few, do harm to none.
    120. Re:Should lead to possibly great advertisements by tkdpanda · · Score: 1

      Steve Jobs would be proud! (sniff sniff)

    121. Re:Should lead to possibly great advertisements by Anonymous Coward · · Score: 0

      Most commercial unixes did something similar. The kernel would be run through a re-linker (to add/remove needed drivers) every time there was a detected hardware change or you used a utility to change some kernel parameters.

    122. Re:Should lead to possibly great advertisements by jbarlow · · Score: 1

      Did you boot an install, or just a livecd? I was under the impression that livecds generate a RAMdisk for things like /home and /tmp

    123. Re:Should lead to possibly great advertisements by pz · · Score: 1

      This idea is a VERY GOOD one, and has been around for decades. Unfortunately, it failed to get into the mainstream.

      In the 1980s, there was an architecture called the Lisp Machine designed and initially constructed in the MIT AI Lab. The architecture has a long and storied history, but one aspect is relevant here: these machines had a feature where you, the user, could set up your machine just as you liked it, and snapshot the state of the machine into a particular part of the disk, creating what was called a band. These bands (you could have more than one) were effectively the same as current suspend-to-disk partitions with one huge difference: you could cold boot into them. So, instead of a huge and long initialization process that loaded this and that package, you effectively did all of that work once and cached the result, saving time and effort whenever you needed to power up the machine, or bring it to a known state.

      It's a great idea. I hope it gains traction under Linux.

      --

      Put my fist through my alarm clock with its ding-dong death inside my ear. - The Blackjacks.
    124. Re:Should lead to possibly great advertisements by collinstocks · · Score: 1

      I've always found it odd that my school managed to get the computers in the computer lab to log in and be usable instantly (they run Windows XP). However, all the other computers in the school (also running the same OS) take about a minute to be usable, but are still better than any home edition of XP that I have used. Maybe this has something to do with logging into a network session?

    125. Re:Should lead to possibly great advertisements by sofar · · Score: 1

      what if you boot in 3 seconds? do you still need to *see* what is going on? :)

    126. Re:Should lead to possibly great advertisements by sofar · · Score: 2, Insightful

      we already boot in seconds. the totaly size of the data read from disk at boot is UNDER 100mb total on our 5-second boot systems.

      you don't provide a solution to speeding things up, only an alternative that works in limited cases. reinventing hibernate at best.

    127. Re:Should lead to possibly great advertisements by EsbenMoseHansen · · Score: 1

      Did you boot an install, or just a livecd? I was under the impression that livecds generate a RAMdisk for things like /home and /tmp

      I just booted, so that is indeed an interesting observation. I will check that on Monday :)

      --
      Religion is regarded by the common people as true, by the wise as false, and by rulers as useful.
    128. Re:Should lead to possibly great advertisements by AmiMoJo · · Score: 1

      There is a tool for Windows which goes some way to doing this, called BootVis. It gives you a breakdown of the time taken for each component to load during boot, and can be very useful for tracking down slow starting drivers and services. Unfortunately it's a bit beyond most ordinary users.

      Someone made a tool that does something similar to what you suggest for the Amiga, years ago. It simply replaced the mechanism that starts programs automatically at boot time with it's own and put up a little progress bar.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    129. Re:Should lead to possibly great advertisements by FrozenFOXX · · Score: 1

      I seem to remember this is exactly what the Service Management Facility on Solaris/OpenSolaris is designed for. There's an /etc/init.d/ but anything running in there is "legacy," all the rest of the services are managed and handled dynamically.

      However, if I'm wrong about services in SMF on Solaris someone please let me know. I thought this was actually one of the more awesome innovations of Solaris and was hoping a few Linux distros would experiment with it.

      --
      "Just a fox, a whisper."
    130. Re:Should lead to possibly great advertisements by spitzak · · Score: 1

      I think 3.2G is the actual location that the video memory starts at. This is a limit of physical memory for a 32-bit address bus, as the video memory and other hardware reserves all the space from there up to 4G. As others have stated, modern processors avoid this for physical memory by having more than 32 address bits.

      The virtual memory is limited to 4G by the chip, as the actual instructions can only produce 32-bit addresses. However the virtual memory hardware can map these addresses to larger ones and thus more than 4G can be used if mulitple processes are running.

      There is a further limit of virtual memory because the operating system reserves addresses so you can jump into the kernel and it can still see your data. On Windows through XP and on the first versions of Linux this was the top 2 Gigabytes. Modern Linux and I believe Vista have reduced this to only 1 gigabyte. There were also Linux versions that cut this to only a few K, but the speed hit was unacceptable and since the advent of 64 bit processors interest in making this any better has pretty much disappeared.

    131. Re:Should lead to possibly great advertisements by sofar · · Score: 1

      this is basically the same as what upstart attempts to achieve. old idea new jacket :)

    132. Re:Should lead to possibly great advertisements by KGIII · · Score: 1

      It is nothing less than straight up brainwashing. I understand it, I accept it, I even believe that it was a requirement for my efficiency/effectiveness at the time. Human instinct is to run away from danger. Most people here a rifle shot and run away. We hear it and run to it.

      Anyhow, these days it would be like using pitchforks against the feudal lords at a well armed castle. The only hope we'd have is those who are in a position to serve refused to do so in the time of a revolution. From what I have seen, I doubt that's the case in many areas.

      --
      "So long and thanks for all the fish."
    133. Re:Should lead to possibly great advertisements by KGIII · · Score: 1

      Needed? No. I could have built a trap, used a bow, or tried to kill my food with a rock. A firearm made it easier, safer, and means a more efficient death for the animal with (hopefully) less pain. I also believe in a single round use. One shot, one kill. If I don't know, beyond all shadow of a doubt, that firing my weapon will kill the animal and not harm anything other than the intended target I don't fire. So no, not needed. Very much important as a tool? Yes. Could I alter my lifestyle so that it wasn't required? Yes. Fortunately I have the freedom to live the life I want in these regards. I suspect that if I couldn't I would move.

      --
      "So long and thanks for all the fish."
    134. Re:Should lead to possibly great advertisements by jd · · Score: 1

      The login process, say KDM, has the KDM thread. It then calls PAM, which has to go through all the enabled login schemes (described in different configuration files) to find one that works for that username/password pairing. This may involve hashing the password multiple times (and hashing is expensive). The lookup involves checking at least one flatfile database with far more structure than you need for a desktop, with variable-length records where a record is completed with a terminator and is not known in advance. Most people use shadow passwords, so two flatfile databases and two distinct password libraries are used. If a system has accounts stored in LDAP or some other database, you've got to establish a sockets connection and a suitable query string, which is passed to the server thread for handling.

      In terms of the "whole system", this overhead is essentially nothing. On the other hand, if you want rapid startups on an essentially single-user system, you are looking at a fair amount of unnecessary memory consumption and excessive logic. It's probably not a critical item, but it's not free either. If you altered the login screen to short-circuit the entire chain, the binary sizes should be significantly smaller and potentially eliminate the early startup of access control servers.

      Again, this is probably a minor piece in the puzzle, but all the major pieces are dealt with by startup profiling software and skillful init games (like picking the fastest init - there are seven or eight that can be considered mainstream). All that is left, out of the 3-5 seconds, are the multitude of small units of time being nibbled by this or that. If you want to push startup times even lower, you've got to shed anything and everything not absolutely vital to producing a perfectly usable system, and should phase in everything necessary to produce a useful system with skillful use of Linux' different scheduling rings and heavy use of 'nice'.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    135. Re:Should lead to possibly great advertisements by NuShrike · · Score: 1

      I claim patent on using 'make' since I've been using it to parallel start and stop MMO game services since 2004 -- based on experience with Veritas Cluster Server. :P

    136. Re:Should lead to possibly great advertisements by Fujisawa+Sensei · · Score: 1

      An IBM developer figured out how to use "make" to start services in parallel (once you have determined the dependencies). A link to the article is here. Bear in mind, this is circa 2003. 8)

      Very good article. The utility of Make is highly underrated.

      --
      If someone is passing you on the right, you are an asshole for driving in the wrong lane.
    137. Re:Should lead to possibly great advertisements by es330td · · Score: 1

      It sound like "boot" is a dubious description. If it is in fact still starting the network and other services it hasn't booted. I know that on both my home and work computers the first thing I want to run when I boot is email. If I can't run my email client of choice the system hasn't booted, no matter what I am seeing on my screen.

    138. Re:Should lead to possibly great advertisements by sofar · · Score: 1

      the problem is that there is no guarantee that the network is UP and RUNNING at *any* time.

      please stop thinking of networking as a "requirement". Nobody in the world can guarantee that your network works at all times. You might be out of range from the next tower. You might be in a plane. Your ISP might have disconnected you because you went over your 250GB data limit :)

      Modern computer OS's should work without the network being available and provide as much functionality as they can, including starting up your e-mail client in offline mode if possible. Even if the network is just slow.

      It's cheating if you start cupsd, nfs, sendmail, avahi, gfsd, fuse etc etc etc all in the background after you present the user's desktop to the user (making the computer unusable for another 30 seconds). It's NOT cheating if the only thing you are doing is waiting for a DHCP response (which incedentally is what the 5-second boot demo systems do).

    139. Re:Should lead to possibly great advertisements by NotBorg · · Score: 1

      My response was mainly to "Not sure about the linux flavors." I'm sure about at least a few of them, and while I haven't tried all flavors I would venture they are roughly the same.

      At risk of sounding like an advocacy cheerleader, let me grab that token again and say that I don't have to gut my system to get performance out of it. In fact, I run more services than the out of the box configuration. Things like MySQL, a full server package, for example. It doesn't slow me down in a noticeable way.

      To your question, I don't know that there is a way to make Windows hold off a bit before displaying the Desktop. You can, as I'm sure you know, reduce the amount of time you spend waiting for the system to become usable.

      I used to spend hours figuring out ways to do that too. :P Now I spend hours of time trying to do other things... some of which are much easier to do in Windows.

      --
      I want this account deleted.
    140. Re:Should lead to possibly great advertisements by ReedYoung · · Score: 1

      There are some secrets (placement) that need to be maintained for a secure society. I accept that.

      As a citizen should I be allowed to own and build a nuclear weapon? Yes.

      Should the government be allowed to come take it away from me because they're scared? No.

      Should I be allowed, as a mere citizen, to train that weapon on anything other than my own government? No.

      Holy crap!! What? You want to see what's inside Area 51, even if you have to go there as a prisoner or a guinea pig?

      Though, well, if you're gonna sign up consider the Marines.

      Heckuva pitch. Despite it, if I was gonna sign up I would certainly consider the Marines. Whether I would consider any other branch I cannot say, only speculate, and I do not do that.

      As a side note? I'm brainwashed in many areas and know this to be true. In the latter paragraph I would die to protect another Marine of kill to ensure his safety. Please do look at the reasoning behind the brainwashing and understand that that is a required trait for effective soldiering. I can not speak for other branches (though I've given consideration to re-enlisting) but I think that a good percentage of MARINES would lay down their weapons if we were ever forced to train them on civilians.

      And that is why I won't really consider any branch. Psychological de-sensitization and perhaps some kind of conditioning are probably necessary, valid parts of new-hire training of professional soldiers. But if the word "brainwashing" as I understand it is inflicted on our soldiers, and I have the impression that it is, we citizens are doing something(s) very wrong. In fact, I know that we have stationed you and/or your fellow soldiers in extended policing roles in distant lands, decades after missions in defense of the (in many cases, dubious or worse) national interest have been accomplished, or stalemate accepted. If it's time to turn over the defense of their own country to Iraqis, and I believe it is, then how long overdue are we to do the same for the South Koreans? How many other countries want our soldiers on their "sovereign" territory? And why, exactly?

      --
      "I can't imagine how things could get any worse!" (some guy) "That could just be failure of imaginatioÂn on your p
    141. Re:Should lead to possibly great advertisements by KGIII · · Score: 1

      Any policy change that I would recommend would be unbiased. I say that, and this is just my opinion, it is high time to pull the troops out and bring them home from Iraq. It was time to do that a long time ago. We've "liberated" (term used totally tongue in cheek) them and our role should not ever be in policing another country. Policing, deciding policy, forcing our values, etc. is not our job.

      Knowing this I'll add that as a Marine it was my sworn duty to obey any lawful order. Most of us just want peaceful environments. We don't want to watch our buddies die and we don't generally want to kill people. We will because that is our job, our commitment, and because there isn't a utopia of peace on Earth at this time.

      I have been contemplating signing back up.

      As for brainwashing, yes... We're taught to hate our own mothers. We are taught to accept even the most retarded commands (and trust me, some of them are just plain stupid). The reason is so that we are able to focus completely on the Marines to our left and to our right without care for anyone other than a Marine. The reason is because when we're told to take a hill against impossible odds, just to weaken the enemy and to die doing so, we do it without question. And we say horah.

      If you see a Marine right out of boot camp and see how aloof he is and how little he respects your average civilian the reality is that he has no respect for you. He is aloof. He believes he is better than you, he knows he is. And he is sharp.

      If you get bored or just want to share a small piece of what I enjoy then you can listen to one of my favorite Marines. Head to YouTube and search for Billy Joel's Goodnight Saigon.

      Not everyone can be a Marine but those that can, and those that are, are Marines for life. We can spot another Marine just by the way he carries himself. We can spot the old Marines by the way they carry themselves. We can spot the recruits. We can usually spot the parents of said Marines too by the stickers on their cars. ;)

      After boot you go through a process which sort of breaks down some of the training, they do this before you're let off the base. It doesn't break it all down, it basically is more an instruction set. When you leave this island you're going to a different world, behave while you're there. When you are shipped off to Lejeune you are returning to your job. Even off the base your ass still belongs to the Marine Corps.

      So there is some separation between the two worlds for the protection of the civilians and, hopefully, to ensure that the Marine acts lawfully and honorably while off the base. Hell, what do you expect from a branch of the service that was created in a bar?

      --
      "So long and thanks for all the fish."
    142. Re:Should lead to possibly great advertisements by Nutria · · Score: 1

      And that is why I won't really consider any branch. Psychological de-sensitization

      Except for all that Obama'08 brainwashing...
      http://video.google.com/videoplay?docid=628151938431340184&ei=sM3mSMPgMoWirALtmrWnCw&q=obama+hope+change+children&vt=lf&hl=en

      --
      "I don't know, therefore Aliens" Wafflebox1
    143. Re:Should lead to possibly great advertisements by darkpixel2k · · Score: 1

      If you take the language too far, as you're doing, and say that it actually introduces a dependency

      Yeah--seriously.
      What if they had said "A well regulated library being the necessity to the literacy of an educated state, the right of the people to keep and read books shall not be infringed"?

      Would anyone seriously think they weren't talking about normal everyday joe sixpack or susie hockeymom having access to books and that the government couldn't restrict access to them?

      The moment you use the word 'guns' and 'militia', you get retards thinking it means that only special military groups are supposed to have guns.

      --
      There's no place like ::1 (I've completed my transition to IPv6)
    144. Re:Should lead to possibly great advertisements by darkpixel2k · · Score: 1

      Have you ever needed to use a firearm to solve any of your problems? Or do you have it just to feel secure?

      The point of having a firearm isn't to 'feel' secure. It's the ability to defend yourself, your family, or your country when the need arises.

      It's usually not an everyday occurrence for one man, but it does occur daily.

      --
      There's no place like ::1 (I've completed my transition to IPv6)
    145. Re:Should lead to possibly great advertisements by ArsonSmith · · Score: 1

      The problem with having some message passing setup is it complicates the startup. It becomes less easy to look at a directory and be able to have a pretty good idea of what's going on.

      I'd rather have a more complicated setup utility that organizes your startup for you witch is then kept very simple.

      As it is now you can check /etc/inittab and see what it's running then check that script and see what it's running (this is usually the script that calls the runlevel scripts) and know pretty easily everything your system does once it's out of the initrd.

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
    146. Re:Should lead to possibly great advertisements by Radoslaw+Zielinski · · Score: 1

      c'mon, ext3 as a module? really?

      Really. What's the point of having it in the kernel, when I'm not using it (XFS only)?

    147. Re:Should lead to possibly great advertisements by sofar · · Score: 1

      why would 95% of the users take a startup penalty just because you want something that maybe 5% of users want?

      don't make everyone take a startup penalty for the few people that need it.

  2. Does it matter? by suso · · Score: 3, Insightful

    I see a lot of comments on the LWN article of people talking about starting services after the user sees the desktop as cheating. However, I ask, does this really all matter. I'm not sure how everyone else uses their computer but I only need to boot my Linux machine about once every 30-60 days. I don't need to dual boot like I did back in say 2002 and comparitively, the amount of time it takes for Linux and X to start up are practically irrelivent. I can imagine laptop users may feel much differently about this, but I thought that was the point of being able to suspend/hibernate.

    One thing that worries me is that a focus on ensuring a quick boot at the expense of a potentially less stable system is not a good thing. Fortunately however quick booting is not something that Linux requires, its something that distributions can decide to do or not, which is one of the strengths of the open source/Linux way.

    1. Re:Does it matter? by Anonymous Coward · · Score: 4, Informative

      Yes.

    2. Re:Does it matter? by pwnies · · Score: 3, Funny

      I'm not sure how everyone else uses their computer but I only need to boot my Linux machine about once every 30-60 days.

      Some people like to power down their computers to stop them from wasting energy at night.
      How they sleep without the sweet, sweet sound of fans running though leaves me dumbstruck.

    3. Re:Does it matter? by kailoran · · Score: 2, Informative

      Perhaps surprisingly, for some people suspend/hibernation actually works on linux so you can boot rarely while not keeping the machine on 24/7.


      I'm one of the less lucky ones that only have half of hibernation working, the "resume" part fails.

    4. Re:Does it matter? by arth1 · · Score: 4, Insightful

      Being able to boot in NN seconds isn't so impressive when you look at the incompatibilities it creates.

      On my networks, the servers connect to the DHCP server and get not only an IP back, but also the name of NIS servers, who in turn returns (among other things) autofs maps which are used to mount the home directories as well as providing login authentication. The xdm login window returns a list of currently available X servers.
      In other words, there are reasons why things run in the order they run, and any deviation will cause things to stop working.

      Improving things are fine, but not when it's at the expense of current and well-known functionality.

    5. Re:Does it matter? by mcgrew · · Score: 1

      If you're talking about a server I agree, but for a desktop, well, do you leave any lights on at your house 24/7? I don't. Electricity isn't free, and I don't like contributing to global warming any more than I have to.

      TFA showed no indication of the system being less stable. With a machine that boots virtually instantly, why would you NOT shut it off when you're not using it? IMO wastefulness is shameful. You should stop!

      Funny, it's usually us geezers who are portrayed in being stuck in your ways. I look forward to an instant-on Linux desktop!

    6. Re:Does it matter? by Anonymous Coward · · Score: 0

      I generally boot my system once or twice every day.

      Weekdays: Before school, after school.
      Weekend: When I wake up.

      The boot time is pretty okay. It's not like I'm sitting here getting irritated. But still, fast boot is fun. Gives you a sense of superiority, I guess. :D

    7. Re:Does it matter? by morgan_greywolf · · Score: 2, Informative

      I see a lot of comments on the LWN article of people talking about starting services after the user sees the desktop as cheating.

      Funny, but that's exactly how XP and Vista achieve their 'fast' boot times. XP doesn't actually boot much faster than 2000, once you realize that the services are all still loading in the background.

      But, yes, it does matter, laptop or not. Most desktop users don't leave their machines on 24x7. Just because you and I do doesn't, at all, mean that is typical usage.

    8. Re:Does it matter? by not+already+in+use · · Score: 5, Funny

      How ironic, with all the Vista bashing that tends to go on in threads like these. Vista boots relatively quickly, and hasn't been powered down for me for weeks since suspend/wake works perfectly.

      But at least someone, somewhere can boot linux in 5 seconds.

      --
      Similes are like metaphors
    9. Re:Does it matter? by Anonymous Coward · · Score: 0

      I can imagine laptop users may feel much differently about this, but I thought that was the point of being able to suspend/hibernate.

      hahahahah, that may be the *point*, but that doesn't mean it works. Hibernate is a joke on my laptop running ubuntu, and not for wont of trying!

    10. Re:Does it matter? by chromatic · · Score: 3, Insightful

      On my networks...

      ... you can't take advantage of all of these improvements. Why penalize everyone who doesn't use NIS and autofs?

    11. Re:Does it matter? by tepples · · Score: 4, Insightful

      On my networks, the servers connect to the DHCP server and get not only an IP back, but also the name of NIS servers, who in turn returns (among other things) autofs maps which are used to mount the home directories as well as providing login authentication.

      What you describe is similar to what Windows calls "domain authentication". Not every computer logs on to a domain, especially in the home or home office environment where a fast boot is paramount.

      The xdm login window returns a list of currently available X servers.

      Then have it refresh the list whenever a network interface comes up.

    12. Re:Does it matter? by mikael · · Score: 1

      Seems like there is market for a fast-boot Linux distro which just install DHCP, network services, an X-server and an E-mail daemon/web browser to read E-mail. Perhaps you could call a thin-client Linux.

      --
      Vintage computer adverts: http://www.vintageadbrowser.com/computers-and-software-ads
    13. Re:Does it matter? by drxenos · · Score: 1

      It was the presenter that stated this, not the comments. It was something they didn't allow in their 5 second boot up. The comments were just, well, commenting on this.

      --


      Anonymous Cowards suck.
    14. Re:Does it matter? by sofar · · Score: 3, Insightful

      so you are saying that you would rather stare at a hung boot in text mode instead of having the possibility of working in offline mode in X?

      that does not make sense at all :)

      for network-client setups like you describe, we should still start X immediately and if the network fails or is slow, at least provide some interaction with the system (work offline, nudge network with login attempt etc).

    15. Re:Does it matter? by Anonymous Coward · · Score: 0

      Since losing my virginity I stopped caring about long uptimes on my home machine. I power my machine down daily, so the closer to turnkey operation the better the happier I am.

      > One thing that worries me is that a focus on ensuring a quick boot at the expense of a potentially less stable system is not a good thing.

      Who is saying the system is less stable, even potentially as a tradeoff? Solve technical problems if they come up. Surely having both stability AND a quick boot time is a worthy goal.

    16. Re:Does it matter? by gollito · · Score: 3, Insightful

      How ironic, with all the Vista bashing that tends to go on in threads like these. Vista boots relatively quickly, and hasn't been powered down for me for weeks since suspend/wake works perfectly. But at least someone, somewhere can boot linux in 5 seconds.

      Agreed. The only time I reboot my laptop is after updates/new software install. IMO the power management in Vista is the best I've seen.

    17. Re:Does it matter? by elmartinos · · Score: 3, Informative

      Linux has always tried to be an excellent choice for a very broad range of uses. Just because you do not need fast boots does not nobody else does.

    18. Re:Does it matter? by Anonymous Coward · · Score: 1, Insightful

      Yes, it matters. The iRex Iliad eBook reader, for example, is a linux box, and you boot it up quite a lot.

      Boot time is around 50 seconds. Thats a looooong time to open a book - one of the biggest complaints the users have.

      While this can be mitigated somewhat by getting suspend working, you're left with once-a-week or so, hiding from society while your embarassing techno-lump wakes up. In any case, this particular hardware does not support suspend (we're told, in part, due to a proprietary USB driver. grrr)

      5 second boot time would change how you use the device. I can see this being the case for all kinds of devices from netbooks down; maybe someone else has an itch to scratch to get this working with desktops and servers.

    19. Re:Does it matter? by gbjbaanb · · Score: 1

      I refer you to the Asus ExpressGate technology - an embedded linux system on their newer mobos.

    20. Re:Does it matter? by Anonymous Coward · · Score: 0
      IMO the power management in Vista is the best I've seen.

      Too bad Vista is such a pig that your battery takes heavy punishment anyway, regardless of the power management.

    21. Re:Does it matter? by jonbryce · · Score: 2, Insightful

      If you ever end up with an uptime of more than 5 weeks in Vista, you should worry. It means you haven't installed the latest patches.

    22. Re:Does it matter? by Anonymous Coward · · Score: 0

      Does it perform faster in suspend mode or awake?

    23. Re:Does it matter? by bendodge · · Score: 1

      I don't think a fast boot is paramount. I use Linux in a home office scenario, and the biggest annoyance in my experience is that X takes just a hair too long to respond. It really does make a large psychological difference compared to XP with the Windows Classic interface.

      --
      The government can't save you.
    24. Re:Does it matter? by Anonymous Coward · · Score: 0

      Wake works perfectly? Tell that to my wireless card =/

    25. Re:Does it matter? by Trogre · · Score: 1

      That's why a GNU Make-based boot process is such a good idea. The dependencies are already sorted out, and only independent processes will boot in parallel.

      --
      "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
    26. Re:Does it matter? by fabs64 · · Score: 1

      The only time I reboot my laptop is after updates/new software install.

      Hehehe. Give up mate, you still don't get it :-P

    27. Re:Does it matter? by Anonymous Coward · · Score: 0

      >Too bad Vista is such a pig that your battery takes heavy punishment anyway, regardless of the power management.

      Yeah, your mom's vibrator has the same problem.

    28. Re:Does it matter? by Anonymous Coward · · Score: 0

      >does not nobody else does.

      Yeah, what HE said.

      So there!

    29. Re:Does it matter? by Anpheus · · Score: 1

      Actually, in Windows I can boot and login to my machine even if I unplug it. Network outages are common, due to the Ridiculous Number of Single Points of Failure model. Mesh networking and multipath and all those cool things notwithstanding, as they are rarely implemented in homes or small businesses.

      The problem is your system setup and how easy it would be to mess it up if all I did was jiggle a network cable.

    30. Re:Does it matter? by Anpheus · · Score: 1

      I'm adding to tepple's point (currently GP) point and replying to the GGP, arth1.

    31. Re:Does it matter? by networkBoy · · Score: 1

      I would think that would be 4 weeks plus one day...

      --
      whois gawk date unzip strip find touch finger mount join nice man top fsck grep eject more yes exit umount sleep dump
    32. Re:Does it matter? by aywwts4 · · Score: 1

      The only time I reboot is when my kernel crashes, or windows update decides to take my system down ...Now! despite clicking wait 4 hours. (And it's usually windows explorer which takes the system down hard)

      (Running vista part-time to encounter problems before I have to fix them in the field)

      --
      Web Developers: Celebrate to our roots! Animated Gifs and Tiled Backgrounds, dont let our history die!
    33. Re:Does it matter? by RiotingPacifist · · Score: 1

      add the wireless card driver to the aproprite suspend config and the driver will be reloaded on boot.

      --
      IranAir Flight 655 never forget!
    34. Re:Does it matter? by RiotingPacifist · · Score: 1

      Driver? compiz? i generally find those to be the cause of bad responsiveness, I am however incredibly disappointed how little nice is used in a full desktop system, a few well integrated scripts could make a linux system feal much more powerful.
      Active window is niced at -1
      minimised windows at +1
      system tray'd windows at +2
      would be a nice start, then stuff like flash at +5 unless its under the mouse where it gets -1 and making sure media players (xine not amarok) are low enough to not be bothered in a high load.

      I suppose i could do it myself and see if there is a real improvement by backseat coding is much more fun!

      --
      IranAir Flight 655 never forget!
    35. Re:Does it matter? by Anonymous Coward · · Score: 0

      that's because you're concerned about long uptimes in other respects of your life.

    36. Re:Does it matter? by arth1 · · Score: 1

      That depends on whether you think systems breaking are acceptable. This is a typical 80/20 scenario, where you get to choose between:

      - 100% of systems booting
      - 20% of systems not booting correctly and 80% of systems booting faster

      I don't think the latter is a good idea, especially not if you want Linux to be accepted. It seems to me to be a ricer solution, and not something that should be promoted as mainstream. By all means allow for it, but don't make it default.

      The worst words I ever hear are "it works for me". That mindset is what needs to be eradicated from the Linux world if it ever is to become universally accepted.

    37. Re:Does it matter? by ProfessionalCookie · · Score: 1

      Gives you a sense of superiority, I guess. :D

      You should try a Mac, we have Sleep that works.

      ok, ok I kidd (but it does work)

    38. Re:Does it matter? by Anonymous Coward · · Score: 0

      On embedded devices, yes, it does matter. E.g. Nokia N8x0.

    39. Re:Does it matter? by johnny0099 · · Score: 1

      I'm one of the less lucky ones that only have half of hibernation working, the "resume" part fails.

      Sorry to hear that, but I used to be one of you until I compiled in the Nvidia drivers (I also keep my kernels fairly up-to-date). Now both my AMD and Intel ABIT boards sleep very nicely. The impression I get is that 99% of the Linux suspend/resume problems are video driver related. And now that AMD/ATI have released some 'stuff', you might want to look into it.

      --
      Get your dogma outta my yard!
    40. Re:Does it matter? by Anonymous Coward · · Score: 0

      Um, no. Vista takes several minutes. Then, logging on my name-brand laptop causes it to spend another minute flashing the desktop on and off and moving the mouse pointer back to the center of the screen. If I don't use it for fifteen minutes, it forces a screen saver and coming back from the screen saver calls for another minute or two waiting for the screen to quit resetting.

    41. Re:Does it matter? by chromatic · · Score: 1

      That depends on whether you think systems breaking are acceptable.

      That, my friend, is a false dilemma. It's software. You can change it. You can configure it. Even if the default boot is a fast boot with ext3 compiled in and expecting to mount only local filesystems, no one is going to remove the option of changing mountpoints or loading other kernel modules.

      You may not be able to boot in five seconds, but we're talking about better defaults for most people.

    42. Re:Does it matter? by Anonymous Coward · · Score: 0

      Instead of spending time reading the comments, you should read the links instead. The Moblin distribution is targeted at mobile devices. Waiting 2 minutes waiting for your phone or your laptop to boot is painful (yes, there are several reasons to turn down your phone from time to time), and exactly that, more than 120 seconds, is what takes a Linux-based phone like the Neo Freerunner (OpenMoko based) to boot.

    43. Re:Does it matter? by arth1 · · Score: 1

      for network-client setups like you describe, we should still start X immediately and if the network fails or is slow, at least provide some interaction with the system (work offline, nudge network with login attempt etc).

      That would be unwise if the X server relies on an X font server whose name is returned by the DHCP server. Unless you plan on presenting the xdm login in a framebuffer?

      There are good reasons why certain items depend on others, and a "typical" user not using those options isn't a good enough reason to disregard them. The thing about 80/20 rules is that they are cumulative. Even if only a small percentage of people would need a certain functionality, multiple such dependencies still quickly add up. If there are ten possible snafus which each only affects 5% of users, ignoring them because they are so unlikely is not smart -- cumulatively, they will affect 40% of users (1-0.9^10).

      Optimizations are OK, but only as long as you know that the optimizations won't break anything. If they can be implemented after a system has been configured, and backed out before each change or addition to startup applications or networking components, I'm all for it. Otherwise, leave well enough alone, or you're just going to reinforce the image of Linux only working correctly on some systems.

      Optimizations with the potential to break something should be left for the ricers, who can opt in. Not have others jump through hoops to opt out of break-by-default ricer code.

    44. Re:Does it matter? by dublin · · Score: 1

      I'm not much of a Vista fan, but I think you can argue that power management is the one area where Vista kicks the crap out of every other OS on the planet, including OS X. (Sadly, I've never seen *any* Linux or BSD distro that's even in the hunt...)

      Vista's power management is flat *outstanding* and would be a good model for everyone else to try to follow. (And although I'm rusty, I still know a bit more about this topic than the average bear, having formerly been in charge of software for both of Dell's laptop brands.)

      I generally dislike Vista, but the two things that keep me from "downgrading" to XP are 1) the excellent power management, and 2) the dramatically improved network detection and configuration, especially for wireless networks. Vista's a pig, but it's actually pretty stable - I just close the lid when it's time to go and only reboot for system updates. That says good things about the stability of Gateway's drivers for this thing, too. Damn fine computer for $800, 18 months ago. (I bought the cheapest thing I could find at the time with 2GB of RAM, since Vista was the only choice then.)

      It really makes you wonder how good Vista *could* be if they cleaned out the kernel DRM and other crap...

      --
      "The future's good and the present is nothing to sneeze at." - Roblimo's last ./ post
    45. Re:Does it matter? by Anonymous Coward · · Score: 0
      Network outages are common, due to the Ridiculous Number of Single Points of Failure model

      So ridiculous, that I experience it maybe twice a year. Maybe it's time you ask mom to upgrade the cat 5 run in the basement?

  3. Another one word answer. by suso · · Score: 2

    Why?

    1. Re:Another one word answer. by Anonymous Coward · · Score: 0

      Personally, I shut down my computer every day and have to boot up. The increases in speed are nice, but I find Fedora already boots fast enough for me. As long as you can keep it stable though I see no harm in speeding things up. (I can't use hibernate, things always get screwed up for some reason, especially with SELinux)

    2. Re:Another one word answer. by FooBarWidget · · Score: 1

      Most people turn off their computer at night. It's only the Slashdot nerd that has several months of uptime for his desktop machine.

    3. Re:Another one word answer. by Xtravar · · Score: 1

      You mean you never had one of those days where you get curious and you screw up something that's important and then you end up rebooting 20 times until your system's not quite as good as it was but it's better than it was after you started experimenting?

      Yeah, neither have I.

      Oh yeah, but people still dual boot.

      --
      Buckle your ROFL belt, we're in for some LOLs.
    4. Re:Another one word answer. by Anonymous Coward · · Score: 0

      Because

    5. Re:Another one word answer. by Anonymous Coward · · Score: 0

      Because.

    6. Re:Another one word answer. by networkBoy · · Score: 1

      because

      --
      whois gawk date unzip strip find touch finger mount join nice man top fsck grep eject more yes exit umount sleep dump
    7. Re:Another one word answer. by ProfessionalCookie · · Score: 1

      Maybe it'd be better to improve hibernate. Not saying this is bad but when I'm in MacOS X I only really do restarts for system updates.

  4. So is anyone making a distro around these ideas? by CrAlt · · Score: 1

    I use a 700Mhz T20 think pad with ubuntu on it. It works great but it is SLOW.

    Is anyone working on a high speed distro based around these tools and ideas that might help me out?

    I do not want to invest in a new laptop because this is for work. Chances of it getting stolen or dropped are high.

    --
    I have to return some videotapes...
  5. Much needed! by SkankinMonkey · · Score: 1

    I'd love to see linux in general have better boot times. My install of ubuntu on my PC takes about 2.5 minutes while XP is up and running in about 1.5. On my laptop it's the reverse (windows taking forever, opensuse being relatively quick). As far as 'cheating' by loading services at the login screen, GO FOR IT! It's not cheating if it's making things better for the user, it's called being more efficient.

    1. Re:Much needed! by X0563511 · · Score: 1

      Personally I don't care for boot times as long as they are not huge. As a matter of fact, my system halts mid-boot awaiting a passphrase to access the rest of the drive.

      Stability is more important to me. Why does a 10 minute boot matter if I have to reboot once in two weeks, and that only because I need to unplug the box to clean?

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    2. Re:Much needed! by Creepy+Crawler · · Score: 1

      I open a netbook.
      It boots up.
      It loads required drivers and userland programs.
      By the time I'm ready to take notes or whatever, its done and ready to use.
      I close it, and it shuts down fast too.

      Vs.

      Open it up.
      Boots for 1-2 minutes.
      I have a 1-2 minute lag on doing whatever I needed to. That may have been taking notes, using a webcam as a digicam, surfing for some details on a project or device, translations, or anything one might use a computer for 10 seconds or less.
      Or I just dont even use it.

      --
    3. Re:Much needed! by techno-vampire · · Score: 1
      My install of ubuntu on my PC takes about 2.5 minutes while XP is up and running in about 1.5.

      My laptop boots Linux in about 1.5 minutes and it's a P II 233 with only 96 Meg of RAM. Of course, it's booting Puppy Linux, with the default JWM window manager. Still, it's about half the time it took to boot Win98 SE, assuming it didn't hang or crash during boot.

      --
      Good, inexpensive web hosting
    4. Re:Much needed! by Ash-Fox · · Score: 1

      I'd love to see linux in general have better boot times. My install of ubuntu on my PC takes about 2.5 minutes while XP is up and running in about 1.5.

      On my HP Pavilion DV6000 laptop, Kubuntu Linux (auto login and screensaver with password protection, ext3 partition) takes 46 seconds.

      Windows Vista (HP OEM install) takes 107 seconds to get into the desktop (auto login). I have removed Vista since.

      --
      Change is certain; progress is not obligatory.
  6. Linuxcare? by Anonymous Coward · · Score: 0

    I somehow doubt they were involved since they went out of business six months ago.

    1. Re:Linuxcare? by Anonymous Coward · · Score: 0

      I somehow doubt they were involved since they went out of business six months ago.

      What?! You mean Ceren doesn't work there any more?

    2. Re:Linuxcare? by Guy+Harris · · Score: 1

      I somehow doubt they were involved since they went out of business six months ago.

      What?! You mean Ceren doesn't work there any more?

      No, not for a while, actually.

  7. Looks like oreilly.com could use these mods by SpaceLifeForm · · Score: 1

    At least the boot speedup. Slashdot-ed already.

    --
    You are being MICROattacked, from various angles, in a SOFT manner.
  8. Re:Yeah but... by AKAImBatman · · Score: 4, Interesting

    ROM was a wonderful thing. Simply flip the switch and the software is already loaded into memory. There was about a second or two of initialization (on a ~1MHz 8-bit processor!) and you were ready to go. It's still possible to create such fast boot times using ROM. Especially with re-flashable ROM. These sorts of boot times are seen in systems like Game Consoles.

    Unfortunately, desktop OSes are so complex that using re-flashable ROM adds a great deal of complexity and cost to the design. Thus you aren't likely to see any systems keep their OS in Flash. Compounding the problem is that modern OSes are rarely designed to boot from a ROM configuration and would require substantial changes to boot properly.

  9. Re:Yeah but... by east+coast · · Score: 1

    My Commodore 64 booted many times quicker than that and was probably far more useful.

    Well, it did run the popular games of it's day...

    Sometimes I become nostalgic for the days of the C=64 and think about getting back into it all again with some of the groups that are still out there but I stop and catch myself, do I really want to waste all those hours writing demo code for the 120 people who are likely to ever see it?

    --
    Dedicated Cthulhu Cultist since 4523 BC.
  10. TFA by mcgrew · · Score: 4, Interesting

    And no cheating. "Done booting means CPU and disk idle," Arjan said. No fair putting up the desktop while still starting services behind the scenes. (An audience member pointed out that Microsoft does this.) The "done booting" time did not include bringing up the network, but did include starting NetworkManager.

    It seems to me that the five seconds could concievably be brought down to virtually zero with cheating! My work PC slows down so much sometimes from antivirus, inventory controls, etc that it takes longer than that to add a record or open a table in an Access database. With a keyboard buffer you could stick a fake desktop and login in, and have the real desktop and login take over before the user finished typing in his password.

    1. Re:TFA by Dan667 · · Score: 2, Funny

      Your problem may be using Access as a database. Ouch.

    2. Re:TFA by Shikaku · · Score: 4, Interesting

      Yes, please. More common users would benefit from this greatly. I would love a prompt for user and password while it is booting, because most users do not leave their computer all day, especially laptop and handheld/UMPC users.

      With desktop computers, I really think that the time it takes to boot into Ubuntu, THEN going into a Gnome prompt, THEN loading the services and desktop is a silly idea.

    3. Re:TFA by mcgrew · · Score: 1

      I agree, I absolutely HATE Access. I rather liked dBase, didn't have any problem at all with Foxpro, and absolutely loved NOMAD. But as to NOMAN, I'm not sure they even have a mainframe any more. I wonder of there's a PC NOMAD?

      At least I'm not forced to use a spreadsheet as a database.

    4. Re:TFA by fcholden · · Score: 1

      Step 1: Take a screenshot of your normal desktop. Step 2: Replace your bootsplash image with the screenshot. Voila! Instant boot, windows style...

    5. Re:TFA by RulerOf · · Score: 1

      didn't have any problem at all with Foxpro

      Foxpro makes me want to shoot myself on a daily basis. And I don't even code with it.

      --
      Boot Windows, Linux, and ESX over the network for free.
    6. Re:TFA by Johnno74 · · Score: 2, Funny

      Access is a steaming turd that should be taken out back for a bullet in the head.

      I cannot express in words how much I hate access. I work/develop with microsoft tech all day, and I don't mind most of it, but access is a big bowl of shit.

      calling it a "spreadsheet used as a database" offends me. spreadsheets aren't that bad.

      IMHO, microsoft makes some pretty good stuff. Parts of vista are pretty good, .Net is very good, SQL Server is very good.
      Unfortunately for them their reputation is then tarnished by completely shit products like windows 9x, access and others I don't want to think about right now.

      I've got a mate who works mainly with oracle. He needed to do something quickly and access didn't cut the mustard so I said try sql server.

      It took me a long time to get him out of the mindset that sql server was just a bigger brother to access.

      Anyway, I go on, but maybe microsoft wouldn't it so hard to be taken seriously in some places if they stopped bringing out shite like access.

    7. Re:TFA by houghi · · Score: 1

      And why call it cheating? Call it GOD-mode. God doesn't cheat, now does he?

      Seriously, if I can boot in 1 second instead of 5, then I will be happy, no matter if you cheated or not. Anything to make it faster for me, the user, is important.

      --
      Don't fight for your country, if your country does not fight for you.
    8. Re:TFA by Anonymous Coward · · Score: 0

      And how do you know whose desktop environment should be loaded before user logs in?

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

      This is actually a great idea. Start up a text-mode login screen as the first user-space task and by the time the user has entered his credentials, switch to X.

    10. Re:TFA by mcgrew · · Score: 1

      calling it a "spreadsheet used as a database" offends me. spreadsheets aren't that bad.

      You misunderstand what I was trying to say. There are people who use Excel or Lotus or other spreadsheet when the job more properly should be on a database instead. I'm often handed these messes, with years' worth of data that has become unuseable, and I have to fix the mess.

      Spreadsheets are good for what spreadsheets are good for, using a spreadsheet when a relational database is needed is ignorant.

      IMHO, microsoft makes some pretty good stuff.

      I have Lotus, Quattro, and Excel on my machine (they haven't standardized on anything, different divisions use different packages) and my favorite is Excel, by far. Ten years ago that wasn't the case; ten years ago I would have picked Lotus. But Excel has gotten better while Lotus has gotten worse.

      I haven't used Oracle.

    11. Re:TFA by mcgrew · · Score: 1

      And why call it cheating?

      TFA called it cheating, and I guess if you're having a pissing match of whose OS boots faster it might well be. But with real-world programming, there is no such thing as cheating.

    12. Re:TFA by mcgrew · · Score: 1

      Foxpro makes me want to shoot myself on a daily basis.

      The new version of Foxpro is shit shit shit. I absolutely hate it. I'd been using 6.n for years, it was a good solid package, easy to write code for, easy to debug, easy to document.

      Then a couple of years ago they finally bought us newer machines with XP, and Foxpro stopped working. So they upgraded, and true to form, Microsoft changed it around so much that I might as well have been handed a completely different DBMS. None of my code runs on it, I can't even use it; I'd have to be completely retrained. My decade (more actually) of using the xBase languages (dBase, Clipper, Foxpro) are for naught with the new version.

      That's the kind of thing that makes me hate Microsoft. If you used Lotus 1.1 you could still use the new Lotus.

      Speaking of which, I will give Microsoft kudos on Excel, they still haven't managed to fuck it up. I had to get Lotus on my machine because another office sends us Lotus spreadsheets, and some still use Quattro, so I have all three on my machine. Out of the three, Excel is far and away the best of them.

      But I hate what they did to Foxpro.

      And I don't even code with it.

      You can't judge a programming language you don't program in by someone else's code. Give a shitty programmer (or good programmer who sucks at design) an elegant, excellent language, have him give you a program he's written and you're going to hate the language.

      It's like people who hate javascript because they get an error message wanting them to debug the code when they're just trying to read the paper online.

    13. Re:TFA by RulerOf · · Score: 1

      Haha.

      Very interesting. It could be (and likely is) a result of poor programming that causes me to hate foxpro so much... which is something I can understand. I'm a staunch supporter of using AutoIt for various sysadmin tasks.... as long as the script is written well enough.

      With Foxpro, we're using a system that keeps multiple MDB files and they're queried using Foxpro's SQL (i think it's SQL). We run telemarketing campaigns, and each campaign has its list of leads in these DB files, and depending on what campaigns are active, it'll scrub these DB files looking for more leads.

      The problem is that the lead generation done by this Foxpro application is so slow, that if a certain number of campaigns is exceeded, each will run out of leads before its turn for generation comes up again. We all know it's very poorly implemented, but of course, we're not the vendor. We tried throwing the application on a 2U machine from the gods, and it was still just as slow. Add to that constant issues with file and table locks not getting cleared... the calls to the IT department between our site that still uses the Foxpro-based product, and the one that uses an MSSQL/IIS based product are absurdly disparate.

      We're decommissioning the Foxpro based product next month (thank god) and upgrading that site. I'm sure you can understand why the word Foxpro makes me jokingly think of suicide, and if you say it really is that great, then I do believe you. It is much more likely for a really bad programmer to be the culprit of our woes than the underlying language that was used.

      --
      Boot Windows, Linux, and ESX over the network for free.
    14. Re:TFA by mcgrew · · Score: 1

      I use to love it years ago, before it started sucking donkey balls.

  11. Re:Yeah but... by jedidiah · · Score: 1

    ...just don't try to get something off of some sort of magnetic storage medium.

    --
    A Pirate and a Puritan look the same on a balance sheet.
  12. Tasty Chocolate by Kashell · · Score: 1

    1. 5 second booting Linux partition with a few basic programs. 2. ??? 3. TASTY CHOCOLATE

  13. On an old Pentium III laptop... by mikael · · Score: 5, Funny

    My stepfather still has an old Pentium III laptop with Windows 95 running on it. Booting the laptop to read an E-mail takes around 20 minutes. His advice to anyone who wants to use it, "switch on the PC, do something else like have a bath, do the lawn, read the newspaper, or have a coffee, and the PC will be ready to use before you know it".

    --
    Vintage computer adverts: http://www.vintageadbrowser.com/computers-and-software-ads
    1. Re:On an old Pentium III laptop... by Tubal-Cain · · Score: 1

      Looks like someone needs DSL, DSL-N, or Puppy.

    2. Re:On an old Pentium III laptop... by baka_toroi · · Score: 2, Insightful

      Man, WTF? I used to use Windows 95 on a 486 with 16 MB and it didn't take nearly as much as that. It should be blazing fast on a Pentium III.

    3. Re:On an old Pentium III laptop... by Anonymous Coward · · Score: 0

      I have a Pentium II 300 laptop, with Windows 98 and it takes about 18 seconds to boot from start to finish, and the battery still lasts for at least a 1/2 hour.

    4. Re:On an old Pentium III laptop... by uvajed_ekil · · Score: 1
      My stepfather still has an old Pentium III laptop with Windows 95 running on it. Booting the laptop to read an E-mail takes around 20 minutes.

      One of three things is occurring here: a. You added a "0" after the "2". b. You are exaggerating grossly. c. There is something seriously wrong with that computer. I have a Pentium-III, 800mhz machine sitting in my closet that I ran XP and Win-98 on for quite some time. I probably haven't touched the thing in a year now, but I don't remember it taking more than about two minutes to boot. Yes, that is probably a dog of a machine the old man has there, but it should not take anywhere near 20 minutes to boot Win-95. My 486 with 16MB RAM didn't take that long.

      --
      This is a hacked account, for which the owner can not be held responsible.
    5. Re:On an old Pentium III laptop... by 91degrees · · Score: 1

      CPU speed is not the bottleneck. Lack of parallelism is.

      I really have no idea what Window 95 does but I presume that for each piece of hardware it will initialise and wait for a response before attempting to initialise the next. Then for any startup scripts, it will load an application, run it, wait for it to terminate and then go onto the next. It's a very naive simple way of doing things that's more tailored to MS-DOS, but Microsoft programmers took a while to get out of that mindset.

    6. Re:On an old Pentium III laptop... by BUL2294 · · Score: 2, Informative

      I call bullshit--unless he's doing some serious work for spyware companies and sending e-mails peddling "Vla*g-ra" -and/or- has a serious hard drive or memory problem. Let's see, Win95 required a 386DX with 4MB RAM--although that setup was painfully slow. Win95 recommended a 486 with 8MB RAM. So, unless you are running a lot of startup apps, Win95 (including Win95B) should boot with 8MB RAM and have a WIN386.SWP of 0 bytes. So, even if he has a PIII/450 with 64MB RAM (even then most laptops came with 128MB RAM), you've got a PC that's easily 50x more powerful than Win95's minimum requirements and 20x more powerful than the recommended requirements...

      Do him a favor... Install Win95B, Win98, or W2K.

      --
      Windows 3.1x calc: 3.11 - 3.10 = 0.00
    7. Re:On an old Pentium III laptop... by jps25 · · Score: 1

      Interesting.
      I have a PII-400 with Win95 which boots in about 15 seconds, including a 5sec GRUB delay, and shuts down in 1-2 seconds.
      SCSI hdds are nice.

    8. Re:On an old Pentium III laptop... by jonbryce · · Score: 1

      That sort of machine should boot Windows 95 in about 15 seconds. There must be something wrong.

    9. Re:On an old Pentium III laptop... by mikael · · Score: 1

      Seriously, it is. It is an old Compaq Presario, which was brand new around 2000. The LCD display has gone, so it is plugged into an external monitor. AOL is the preferred ISP through a dial-up modem. No anti-virus updates since then.

      The disk drive is perpetually ticking away during those 20 minutes. You can see each application icon appearing one by one, followed by the display refreshing. In the time it takes to throw out the trash, make a coffee and feed the cats, it still will be starting up.

      --
      Vintage computer adverts: http://www.vintageadbrowser.com/computers-and-software-ads
    10. Re:On an old Pentium III laptop... by Anonymous Coward · · Score: 0

      either this is a really really gay attempt at bashing windows or both you and your stepfather are complete idiots when it comes down to computers.

      i've seen standard xp pro load on pii-350s with 128 megs of ram in under 1/10th the time you're claiming in your post.

      my guess is that you're just a bitch.

    11. Re:On an old Pentium III laptop... by rav0 · · Score: 1

      Get Windows XP and quit your bitching.

    12. Re:On an old Pentium III laptop... by Anonymous Coward · · Score: 0

      Try Puppy Linux.

    13. Re:On an old Pentium III laptop... by Perky_Goth · · Score: 1

      That's normal, you have to reinstall the damned thing.

    14. Re:On an old Pentium III laptop... by RalphTheWonderLlama · · Score: 1

      My parents had a Pentium III 1GHz computer with Windows XP until this year and it booted faster than every other computer I have come in contact with. The Tyan server mobo might have had something to do with that though.

      --
      simple, fast homepage with your links: http://www.ngumbi.com/
  14. Linux has made extraordinary strides by Gizzmonic · · Score: 1

    At first glance, it seems like a strange thing to focus on. Boot time? But after you ruminate on it for awhile, you realize that people just assume a long boot time (especially Mac users-LOL).

    Obviously, it shouldn't be something that takes top priority, like support for 3D accelerated graphics cards, but it is something that can enhance everyday use for everyday users! Now, if only they could get the keyboard numpad and the phone numpad to face the same direction!

    --
    (-1, Raw and Uncut is the only way to read)
    1. Re:Linux has made extraordinary strides by Culture20 · · Score: 1

      But after you ruminate on it for awhile, you realize that people just assume a long boot time

      I still get surprised when my gaming rig boots up in 8-9 seconds, and it's using RAID0 on four drives (with frequent off-system backups of saved games). Having an OS ready with a login prompt at five seconds would make it seem blazing fast.

  15. In case Oreilly goes down again... by pwnies · · Score: 4, Informative
    ...here's the text from the oreilly article:

    O'Reilly News recently interviewed Arjan van de Ven about his efforts to improve Linux performance and reduce power consumption. Arjan works for Intel in the Open Source Technology Center. This interview is approximately 30 minutes.

    One of the projects you're probably most known for in the past couple of years is the PowerTOP utility, which I found very fascinating. Looking at some of the gains you've made over the past 18 months, it seems like Linux-based devices are saving a lot more power than they used to. What do you consider the big successes in the past year and a half?

    To be honest we fixed effectively the entire Linux desktop space. It's not--PowerTOP is more--it's not just what we fixed with PowerTOP is not individual pieces. We fixed everything. For me that was a success.

    Is that everything in terms of not just desktop but servers as well?

    Yeah; we fixed not just Evolution. We fixed Firefox; the thing with Firefox was that it wasn't one thing that was broken. Everything had problems and we had to fix all of it. So for me the success was how quickly everything got fixed; it was just amazing.

    In this context you consider fixed--everything is no longer broken in the same way or--?

    Everything is no longer keeping the CPU out of idle basically.

    Do you have a reference machine? I guess I'm asking what's your benchmark for this, a particular software configuration stack or particular type of machine, or are you willing to say it's pretty much every Linux based machine out there?

    I'm looking at several machines--my own laptop but to be honest, what runs on my own laptop is what I care about most. At least that's where I got more battery life, this is where I see the changes. I tend to run a quite rich environment on my laptop but I also look at service. We look at all kinds of machines and we see the same trend everywhere in that all the various pieces of it--never polling or keeping the CPU up. They all got fixed.

    In fixing this, is there a component of education, for example, saying "Instead of doing a busy wait on a select loop or continually polling you should set a kernel timer and wait for that to call you"?

    That's part of it but the biggest thing is that you had no visibility. Just two days ago at IDF I spoke with a developer of the GNOME desktop and he said, yeah; when I saw it happen I fixed it in 10 minutes, but you don't know it's there until you see it from PowerTOP. Adding the visibility turns out to be enough for people to start fixing it. They know how to fix--how to not poll most of the time.

    You can't fix something you can't measure.

    If you don't see that it happens you don't know it happens and you can't fix it.

    Are you getting the same sort of results from other projects you run into?

    GNOME was there but it's almost everybody goes oh yeah; we should have not done that; either they fix it themselves or some--a lot of people give them the fix and in general it's like oh yeah; we shouldn't have done that. Unless you see what's happening you don't know what to fix, so the biggest thing that PowerTOP did was add visibility. We can see under the hood what's going on and then we can fix it. And quite often the fix is very simple.

    It sounds then, maybe I should be able to say that just about everybody is happy to see this. Is that the case?

    Yes; people--all the developers I've worked with--and that's quite a few--they all go oh yeah. Thank you for the fix; we should have no problems in the first place. We didn't know this; it's fixed now. In the beginning I did most of the fixing when PowerTOP was very new and now days the people do it themselves. The developers learn

    1. Re:In case Oreilly goes down again... by Anonymous Coward · · Score: 0

      sarcasm> Wow. That guy isn't full of himself at all /sarcasm>

    2. Re:In case Oreilly goes down again... by Anonymous Coward · · Score: 0

      stop that!

  16. Let's head some comments off by Sits · · Score: 4, Interesting

    This is effectively related to an earlier Slashdot story about the changes Mandriva are making to speed up boot on their distro

    In an attempt to head off the inevitable here's a link straight to the existing
    Interesting but how useful, really? thread (Yes! No! I have a Mac! I use suspend! I use hibernate! Suspend is broken for me! Hibernate is broken for me! Hibernate takes too long with 500Mbytes! Why do Linux people always say change your habits? Etc.)

    What I really want to know is what can be done about usb-storage and pciehp (PCI Express hotplug). I have an EeePC 900 using a kernel with Arjan's fastboot patches and with USB entirely disabled and pciehp turned off the kernel mounts the root filesystem in just over one second. With USB on and pciehp in use it's over 5 seconds....

    Finally here's a link to Arjan's slides from the presentation about 5 second boot in PowerPoint format and a YouTube video of the 5 second boot on an EeePC 901.

    1. Re:Let's head some comments off by sofar · · Score: 4, Informative

      We've sent a patch to Greg KH making USB initialization go in parallel which reduces usb initialization from [N * 0.1] seconds (where N is the number of usb ports in your system to [0.1]. This patch is currently in linux-next afaik.

      I'm wondering why you would even have PCIe HP turned on on an asus 900 :)

    2. Re:Let's head some comments off by Acapulco · · Score: 1

      I know a lot of people would be interested in trying this at home. Could you provide a tutorial for setting this thing up? I bet even a simple one would suffice. I'm already cloning the git repository but after that I have no idea what to do. Is it an image I burn and install as a regular distro or I have to recompile the kernel with some extra stuff?

      It would be really nice to poke and play with it at home ;) Thanks

      --
      Slashdot. Unreadable news to annoy nerds. - wonkey_monkey
    3. Re:Let's head some comments off by javabsp · · Score: 1

      You mean reduces usb initialization _to_ said time, right?

    4. Re:Let's head some comments off by Anonymous Coward · · Score: 0

      The button on my eee 901 seems to "unplug" the PCIe wireless card. This is in Windows XP though, with the ASUS ACPI tools installed.

    5. Re:Let's head some comments off by renoX · · Score: 1

      Thanks for both your work and replying on Slashdot: quite often as discussion are with second hand knowledge the resulting discussions are low quality.

    6. Re:Let's head some comments off by sofar · · Score: 1

      well, it reduces the total -port- initialization time to 0.1 seconds. the subsystem initialization (root port and bus frobbing) still take time as welll (0.2-0.4 seconds afaicr)

  17. Good for "appliance boxes" by russotto · · Score: 4, Interesting

    I'd love for my MythTV box to boot faster. Since it's not silent (though the TV fans are louder, the TV isn't always on either), I leave it turned off, and the long boot time makes it less appliance-like.

    1. Re:Good for "appliance boxes" by Spoke · · Score: 1

      Yep, how many more people would turn off their machines when they weren't using them if it only took 5-10 seconds to boot instead of the minutes it seems to take now?

    2. Re:Good for "appliance boxes" by syousef · · Score: 1

      I'd love for my MythTV box to boot faster. Since it's not silent (though the TV fans are louder, the TV isn't always on either), I leave it turned off, and the long boot time makes it less appliance-like.

      You kids today! My radio's an appliance and it takes 10 minutes for the vacuum tubes to warm up! Now get off my lawn!

      --
      These posts express my own personal views, not those of my employer
    3. Re:Good for "appliance boxes" by Anonymous Coward · · Score: 0

      Umm, my Vista HTPC starts up from it's sleep in 1 second. Why would I shut down it _completely_?

    4. Re:Good for "appliance boxes" by Anonymous Coward · · Score: 0

      You may be already, but how about using a very stripped down OS distro like voyage loading from Compact Flash. All the cruft should already be cleaned out, since voyage is made for embedded devices, but is still Debian based, so you can use apt-get to pull in whatever you want after the fact. Just keep all the config info on your HD.

    5. Re:Good for "appliance boxes" by Anonymous Coward · · Score: 0

      Try suspend to ram, it'll use some power when off in that mode, but does give fast on/off times. It's what I do with my MythTV/desktop box.

  18. ACPI defects by tepples · · Score: 1

    I don't need to dual boot like I did back in say 2002 and comparitively, the amount of time it takes for Linux and X to start up are practically irrelivent. I can imagine laptop users may feel much differently about this, but I thought that was the point of being able to suspend/hibernate.

    Unless you end up stuck with a machine whose suspend/hibernate sequence is defective. On various computers running various operating systems, I've had no video, or no audio, or no network, or no mouse after coming out of sleep.

  19. Re:So is anyone making a distro around these ideas by Anonymous Coward · · Score: 1, Informative

    You don't want something heavy like Ubuntu on that thing.

  20. Boots in 5 seconds... by Thelasko · · Score: 1, Troll

    rooted in 10.

    Speed is great and all, but is it secure?

    --
    One of our competitors trademarked the term "hypothesis". From now on, we will call them "boneheaded ideas".
    1. Re:Boots in 5 seconds... by sofar · · Score: 4, Informative

      it's just a normal linux distro. for the demo we used an auto-login but you can have it start to a password screen as well, so it's just as secure as your base distro is....

  21. Re:Yeah but... by Anonymous Coward · · Score: 2, Insightful

    desktop OSes are so complex that using re-flashable ROM adds a great deal of complexity and cost to the design.

    Flash is almost dirt cheap. $10 buys you more Flash memory than most systems have RAM. Just save the state of a freshly booted OS in Flash and when the computer starts, load just what you need to access flash and handle page faults, then start as if you've already loaded everything into RAM and start copying from Flash to RAM. Whenever a page fault occurs, load that page from Flash next. This way you don't need to wait until everything is copied to RAM.

  22. Re:So is anyone making a distro around these ideas by Aggrajag · · Score: 2, Informative
    You should try one of the distros meant for older computers:

    TinyME (my favorite) which is based on PCLinuxOS which is based on Mandriva
    Vectorlinux based on Slackware

    Mepis based on Debian

    Or just sudo apt-get xubuntu-desktop

  23. Re:So is anyone making a distro around these ideas by snl2587 · · Score: 1

    Have you tried Xubuntu or a different windowing manager? That could be a start.

  24. Folding@Home by Quila · · Score: 0, Troll

    Mine stays on 24/7 because I do Folding@Home. Or should I refrain from using energy that can help find cures for disease because our environmental overlords say that's a bad thing?

    If I don't fold I use less energy. If I don't fold more people will die since cures won't be found. Fewer people equals less CO2. It's a win-win for our environmental overlords if I don't fold. But it's a win for the human race if I do.

    1. Re:Folding@Home by ketilwaa · · Score: 1

      I for one welcome our new environmental overlords, however I had no idea that "they" just want people to die. Silly me thought it was about saving the species and the planet.

    2. Re:Folding@Home by nomadic · · Score: 1

      Mine stays on 24/7 because I do Folding@Home. Or should I refrain from using energy that can help find cures for disease because our environmental overlords say that's a bad thing?

      Good grief, he said you should turn it off when you're not using it. If you're using it for Folding@Home, you're using it. Why on earth would you choose to misinterpret that so badly? Or was that just an opportunity to take a shot at those awful, awful people who think maybe we shouldn't destroy the environment as quickly as we have been?

    3. Re:Folding@Home by Anonymous Coward · · Score: 0

      I for one welcome our new environmental overlords, however I had no idea that "they" just want people to die. Silly me thought it was about saving the species and the planet.

      "Saving the planet"? Are you kidding? The planet is about 6e24 kilograms of rock. It is in no danger. Nothing we are doing has any chance of destroying the planet.

      As for "saving the species", I assume you mean Homo sapiens. The IPCC report says that if we somehow burn all the fossil fuel on the planet, the temperature will go up by 5 degrees Celsius. A five degree rise in temperature is not going to send humans extinct. In fact, we'll probably thrive and flourish.

      But you just keep going on with your global warming fear campaign. Surely somebody will believe you.

    4. Re:Folding@Home by mcgrew · · Score: 1

      Thank you for that. I couldn't have said it better myself.

  25. Re:In case O'Reilly goes down again... by chromatic · · Score: 1

    It's somewhat rude to republish articles without even asking permission.

  26. Possibly. by khasim · · Score: 1

    I'm running a few Ubuntu boxes and I just "apt-get install powertop" and fired it up.

    It found a few items on one of the older boxes and one item on the newer boxes.

    So I followed the simple directions "press U to enable USB sleep" or something like that and now the app says that my boxes are waking from idle 5 times a second.

    Whether that is good or not ... I have not noticed any increase in performance. But it seems to be applicable to my generic Ubuntu systems.

  27. FTFA "The question is 'make boot fast'." by Anonymous Coward · · Score: 0

    English no understand?!

  28. Re:Yeah but... by R2.0 · · Score: 1

    "do I really want to waste all those hours writing demo code for the 120 people who are likely to ever see it?"

    You'd be in good company if the number and statistics of projects on SourceForge is any indication.

    --
    "As God is my witness, I thought turkeys could fly." A. Carlson
  29. This reminds me of Chokanji / B-TRON by nawcom · · Score: 1
  30. Important details I'm not seeing by techno-vampire · · Score: 4, Interesting

    Note that nowhere in the article is there any mention of the processor, its speed or the number of cores. There's also not one word about how much RAM the machine has. With enough RAM, you can load your entire system into a RAMdisk and even if you don't have SSM access time becomes (effectively) zero. Also, of course, a 2Ghz quad core machine is going to boot faster than a 1 Ghz single core. I'm not saying they're cheating or anything, but these specs are something you need in order to evaluate what they've done, and they're not telling us.

    --
    Good, inexpensive web hosting
    1. Re:Important details I'm not seeing by Anonymous Coward · · Score: 0

      They did the 5 second boot on off-the-shelf "netbook" computers ... an eeePC and an Asus IIRC. So, no they didn't have blindingly fast cpus or boatloads of RAM. They did have SSD as the boot disk.

    2. Re:Important details I'm not seeing by sofar · · Score: 4, Informative

      The 5-second demo video is of an asus eee pc 901, however the same image boots on an acer aspire 1 also in exactly 5 seconds.

      These systems have 512mb of memory, a slow consumer-grade SSD (we used a 4gb partition) and a 1.6GHz atom processor (single core, HT enabled).

      this is a _slow_ system compared to any desktop-grade system currently on the shelves.

    3. Re:Important details I'm not seeing by sofar · · Score: 3, Informative

      and we used the 'stock' SSDs in these systems. from the bootcharts you can see that our SSDs top out at 25-30mb/sec throughput on read, far below what most regular hard discs or server-grade ssd's can do.

    4. Re:Important details I'm not seeing by techno-vampire · · Score: 1

      Asked and answered. Thank you.

      --
      Good, inexpensive web hosting
    5. Re:Important details I'm not seeing by Rockoon · · Score: 1

      ..and by "slow consumer grade SSD" you mean one that seeks in less than 1ms (probably 0.1ms) *cough*

      Those high end 15,000 RPM HD's, the fastest in the business, take an eternity to spin up compared to the instant readyness of low end SSD's.

      SSD's are ideal for bragging about boot times, so I am quite suprised that some people have the delusion that HD's will offer comperable boot performance. No way in hell. The laws of physics and all that.

      --
      "His name was James Damore."
    6. Re:Important details I'm not seeing by renoX · · Score: 1

      RTFA, Arjan himself say that with an HDD, the boot takes about 10s which is still *way better* than what we have currently..

    7. Re:Important details I'm not seeing by neuromanc3r · · Score: 1

      Actually the eee 901 has 1gb of RAM, not 512 mb

      Sorry for nitpicking.

    8. Re:Important details I'm not seeing by sofar · · Score: 1

      "slow consumer grade" as in "not one made specifically for high-throughput" :)

      seek times on all the existing SSDs are pretty much the same, but throughput is extremely varying.

      The used SSDs top out at 30mb/sec throughput (read!), while there are currently SSDs in the market that do over 200mb/sec throughput (read).

    9. Re:Important details I'm not seeing by Rockoon · · Score: 1

      Certainly there are high end SSD's. But that is completely moot. You cannot relate HD to SSD performance so naively.

      The point being that even a 30mb/sec SSD will be ready immediately after power-on, while a convention HD takes many *seconds* to spin up to full RPM, and only then lets the OS continue POST.

      POST times on systems with HD's is often 10 or more seconds. If he says he can fully boot in 10 seconds on a HD then he has selected a HD that can fully spin up in under a second, which is anything but normal. Such a drive would be 3600 RPM (or a rare slower drive) with an abnormally large power consumption profile.

      Note that 3600 RPM drives do not read any faster than these low end SSD's. Also, I have my doubts that any consumer level 3600 RPM drive exists that can spin up in under a second.

      I dont doubt the original authors abilities to optimize the boot process, I just doubt his knowledge of the technical limitations of HD's.

      --
      "His name was James Damore."
    10. Re:Important details I'm not seeing by Anonymous Coward · · Score: 0

      They did say it is an Asus EeePC, so that should give you a pretty good idea of what the hardware is.

  31. Re:In case O'Reilly goes down again... by Creepy+Crawler · · Score: 1

    Its ok. He asked me.

    I said it was OK.

    <hint><hint><nudge><nudge>

    --
  32. Get a new harddrive by KalvinB · · Score: 1

    I find that if a PC is dragging its feet it's either a memory or harddrive problem. I was doing some development on a 1.7Ghz system with a really old 40GB drive and it took forever to get the program loaded. I popped in a brand new harddrive and the program loads in a few seconds. The problem was largely getting information from the disk.

    If you decide to just get rid of the laptop, get an external enclosure and use the drive as a backup drive for any other system.

    If you've got less than 128MB of ram you may want to upgrade. Win95 doesn't need it but you apps might. Not enough physical ram can lead to increased drive usage which results in your drive starting to perform poorly.

    Or, you could just be a good stepchild and spring for the $200-$400 for a new computer (either parts or prebuilt) for your stepdad for Christmas.

  33. PRINT LINK by Anonymous Coward · · Score: 0

    I like this print layout soo much better!

    http://broadcast.oreilly.com/print/33520.html

  34. Because. by dfm3 · · Score: 1

    Okay, so I kid. But when your have to wait every morning for your bogged-down workstation to load all sorts of services and client side junk that IT installs on their XP boxes, you get tired of it very quickly. The system is so sluggish and unresponsive for 3-4 minutes after login that I can usually brew a cup of coffee before clicking on the start button actually has any effect. That's 3-4 minutes during which I could be reading Slashdot, er, I mean doing something productive.

    There is absolutely no reason why a 3-year-old computer should take 6 minutes from BIOS to the point where I can actually click on a menu item in Firefox and get a response that is not delayed 5+ seconds. I eventually got so annoyed that I partitioned the drive and installed Ubuntu. Just don't tell anyone...

    1. Re:Because. by TheLink · · Score: 1

      Actually if you partitioned the drive and installed XP without all the client side junk that IT installs, I bet it would be very responsive as well.

      My XP install definitely does not take 6 minutes to be usable. Maybe about a minute from power on. After login it's usable within seconds. No AV, no other crap.

      If you don't play games, but still need windows for various work reasons, you could try Windows in a virtual machine on Linux. There are many advantages of doing that. I was doing that at my previous workplace.

      --
    2. Re:Because. by networkBoy · · Score: 1

      yes, but here at least, an unpatched rogue XP install will get you a writeup of the unpleasant sort. I too have a dual boot system, XP for IT centric stuff, Linux, when I don't want IM, Mail, IT crap etc. My boss know and loves it (had to let him in on it else he'd wonder why I'm always off-line.)
      -nB

      --
      whois gawk date unzip strip find touch finger mount join nice man top fsck grep eject more yes exit umount sleep dump
  35. "Pretty Quick"? Drug of Choice? by fm6 · · Score: 1

    My Vista system has 4 GB, and still takes a painfully long time to boot. I don't know what magic your system uses, but I doubt that it's fast compared even to a non-optimized Linux box.

    To speed up startup time, I hibernate my system instead of shutting it down when I'm not using it. But even that's painfully slow — because of that 4GB memory that needs to be restored.

    Vista introduces something called hybrid mode, which is like sleeping, only safer, because there's also a hibernation image, so the state of your system isn't lost if there's a power failure. Not practical with laptops, alas.

    1. Re:"Pretty Quick"? Drug of Choice? by DiegoBravo · · Score: 4, Informative

      There is no such thing as end-user-OS-boot-time. It depends a lot on device drivers and system background utilities. For example, some piece of hardware AND some release version of its driver maybe causing your trouble... especially if that hardware is removed and the driver probes a lot of time just to be sure. Same for the AV software doing weird things in order to "secure" the system *before* user interaction... At least in the hardware side, this apply for Linux too.

    2. Re:"Pretty Quick"? Drug of Choice? by fm6 · · Score: 1

      Good point, especially about the firewall. Anyone know of firewall startup benchmarks?

  36. Huh? by Sits · · Score: 2, Informative

    I've administrated network authenticated openSUSE machines and they definitely benefited from booting faster (compared to older versions of openSUSE) - after all the sooner the kernel finishes the sooner you can start waiting for that DHCP lease...The key is that the moment someone says they want to run NIS/LDAP/NFS you just say "start everything that doesn't depend on the network while you wait for the network to come up". In your case NIS/NFS/autofs/xdm DO need the network so they have to wait until that DHCP lease is acquired. No functionality need be lost but the dependencies/order of certain events need to be maintained (this is what tools like Upstart are about).

    Strangely enough in one of the article's comments you'll find that Arjan isn't advocating a parallel boot:

    Parallel boot is the wrong thing; it ends up meaning that you're not really doing the critical path in sequential order; but let the system get distracted from that.

    Asynchronous boot (where you let the critical path go sequential, and non-critical pieces asynchronous) is the right answer; the article has a graph about this. And Asynchronous boot you can do just fine with SysVinit.... no magic about that.

    Ultimately I doubt people are advocating all of this work for your typical network workstation. For starters such systems don't tend to be using solid state disks with unattended login...

    1. Re:Huh? by Anonymous Coward · · Score: 0

      Yeah, if /var/run is tmpfs you can begin network/DHCP initalization before root is writable.

  37. Is X the right tool for the job? by 91degrees · · Score: 1

    I have to wonder about all the video stuff. Why can't you set the video mode in the kernel? Is X really the best solution? It always struck me as a little heavyweight for what it is (as far as I can see, a windowing system is essentially a reentrant API for drawing text and overlapping boxes). For most peoples needs I'm sure you could trim it down a lot and maintain all of the functionality that 99% of users expect.

    Another thing I'm curious about is whether initrd might make sense if running using disks rather than flash.

    1. Re:Is X the right tool for the job? by TeknoHog · · Score: 1

      I have to wonder about all the video stuff. Why can't you set the video mode in the kernel? Is X really the best solution? It always struck me as a little heavyweight for what it is (as far as I can see, a windowing system is essentially a reentrant API for drawing text and overlapping boxes). For most peoples needs I'm sure you could trim it down a lot and maintain all of the functionality that 99% of users expect.

      I think kernel modesetting is being developed right now, though I don't have any links handy.

      As for the necessity of X, I've used MPlayer without X to watch DivX-quality videos on lower-end systems, such as a 233-MHz G3 and a 400-MHz K6. MPlayer has lots of non-X drivers, and in many cases it can use hardware video scaling (Xvideo equivalent) as well. There isn't much difference in CPU load once you have X running, but of course the overhead of maintaining and starting X is considerable.

      What you've described sounds a lot like DirectFB, but I don't really have experience on that one.

      --
      Escher was the first MC and Giger invented the HR department.
  38. Re:So is anyone making a distro around these ideas by element-o.p. · · Score: 1

    Exactly. I haven't used any of the Ubuntu variants (yet) so YMMV, but I have Slack running on a 700MHz Celeron desktop at home. KDE and Gnome were very slow, so I installed BlackBox and have been very happy ever since.

    --
    MCSE? No, sir...I don't do Windows. Yes, I am an idealist. What's your point?
  39. No really here's the link this time... by Sits · · Score: 1

    Not quite sure what happened in my previous post but here's the link to the Interesting but how useful, really? thread (Yes! No! I have a Mac! etc) from the Mandriva story.

    Um now letsee er how to make up for the snafu... Here's a link to Moblin project download page that is going to integrate some of this work that the Intel engineers like the now legendary Auke Kok have been working on.

  40. What about USB booting? by Sits · · Score: 1

    When you're booting off a USB device you often seem to need scripts in initrd to keep retrying to mount the rootfs until it appears...

    1. Re:What about USB booting? by sofar · · Score: 1

      how common is booting from USB devices? you'd probably fall in the 5% of odd cases where you accept an initrd anyway. Still no need to force the other 95% to use initrds....!

  41. Re:Yeah but... by RHSC · · Score: 1

    that seems like a lot of time-consuming legwork to do something the operating system would normally do by itself in under a minute

  42. If you really... by SlashDev · · Score: 1

    must spend so much time and effrot researching on reducing the boot process on any OS, you must have some serious issue with your box, and you should be looking at that instead. For Windows, I can understand, as rebooting is very common when installing certain software and drivers, but for Linux? I've updated hundreds of Linux boxes without the need for a reboot.

    --

    TOP DSLR Cameras Reviews of the top DSLRs
    1. Re:If you really... by chromatic · · Score: 2, Insightful

      I've updated hundreds of Linux boxes without the need for a reboot.

      Linux runs many embedded devices; some of them may wish to boot quickly.

    2. Re:If you really... by Grishnakh · · Score: 1

      Linux isn't just used for servers, believe it or not. Here's some places where fast booting is useful:

      1) Desktops. Some people (and companies) like to turn off desktop computers at night to save power, especially now that everyone is concerned with energy efficiency. Many desktop computers don't seem to do suspend or hibernation very well thanks to broken ACPI implementations, so shutting down becomes mandatory.

      2) Embedded systems. Many Linux-running embedded systems need to be able to shut down and start up very quickly. If you have a PC in your car, for instance, you don't want it to take 5 minutes starting up every time you start your car. Ask Tom-Tom about this.

  43. Powertop is less about performance... by Sits · · Score: 1

    ...and more about battery life. Less things waking up (or arranging to wake up at the same time) means your computer sleeps for longer and the longer it sleeps deeply the less power it uses.

  44. Re:So is anyone making a distro around these ideas by Tubal-Cain · · Score: 1

    Personally, I've sometimes found XFCE to be slightly slower than Gnome or KDE.

  45. Back to the future! by $criptah · · Score: 1

    Years ago I spent quite some time to reduce booting time. I was not able to get anywhere close to 5 seconds (damn old PIIIs), but I was able to shave off a considerable fraction of time by doing everything the old way: Custom kernel. Actually, things were much easier in FreeBSD where I could edit the configuration file as opposed to jumping through multiple primitive interfaces provided by Kernel. I gave up my hobby because finally I started getting paid enough to buy faster hardware. Plus, my girlfriend was not to keen on spending time watching me recompile kernel.

    Here is a thought: Compile kernels specific for the users at your company and increase productivity. Otherwise, guys like me will continue enjoying 20 minute boots while we drink coffee :)

    1. Re:Back to the future! by techno-vampire · · Score: 1
      Otherwise, guys like me will continue enjoying 20 minute boots while we drink coffee :)

      As long as it's on the company's dime, why should you care? If they'd rather pay all their developers to sit and watch their computers boot than pay somebody in IT to compile a custom kernel, test it and roll it out, that's their problem, not yours. You know what they say, "Penny wise and pound foolish."

      --
      Good, inexpensive web hosting
  46. Re:Yeah but... by Anonymous Coward · · Score: 0

    That depends on the application. A desktop PC can probably take 30 seconds for booting up and not be annoying, but a digital satellite receiver should be instant-on. Notebooks should also boot quickly. Instantly resuming from cold-boot or last-state hibernation could do the trick without wasting battery life on volatile memory. As embedded systems become more powerful, finding ways to instantly start complex systems becomes more important.

  47. So now we have 25MB kernel patches? by babaloo · · Score: 1

    Since one of the main ideas is to put everything + kitchen sink drivers into the kernel that means that a patch to one of the 800 drivers that I don't need is a giant patch of the kernel. I'll wait a few extra seconds.

    1. Re:So now we have 25MB kernel patches? by sofar · · Score: 1

      one of the main ideas is to put everything + kitchen sink drivers into the kernel

      who says we have to?

  48. Wow! That was a fast reply... by Sits · · Score: 1

    The USB parallel initialization work sounds fantastic (and thanks for replying on Slashdot - we don't see many big shot devs here)!

    As for pciehp, you can't disable then enable the wireless card and expect ath5k not to lose its marbles unless you boot with pciehp_force=1.

    With regard to initrd, I assume having support for it configured into the kernel doesn't slow down the boot. Rather it's the actual use of it that does right?

    I'll be interested to see just how close to 1 second for the kernel this system gets with devices enabled (as mentioned its currently at 5). Just for reference here's a big snippet of its dmesg:

    [ 0.000999] Memory: 1026236k/1039872k available (2576k kernel code, 12968k re
    served, 927k data, 236k init, 130568k highmem)
    [ 0.000999] virtual kernel memory layout:
    [ 0.000999] fixmap : 0xfffac000 - 0xfffff000 ( 332 kB)
    [ 0.000999] pkmap : 0xff800000 - 0xffc00000 (4096 kB)
    [ 0.000999] vmalloc : 0xf7ffe000 - 0xff7fe000 ( 120 MB)
    [ 0.000999] lowmem : 0xc0000000 - 0xf77fe000 ( 887 MB)
    [ 0.000999] .init : 0xc046e000 - 0xc04a9000 ( 236 kB)
    [ 0.000999] .data : 0xc0384150 - 0xc046bdd0 ( 927 kB)
    [ 0.000999] .text : 0xc0100000 - 0xc0384150 (2576 kB)
    [ 0.000999] Checking if this processor honours the WP bit even in supervisor mode...Ok.
    [ 0.000999] SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.001016] Calibrating delay loop (skipped), value calculated using timer frequency.. 1800.21 BogoMIPS (lpj=900106)
    [ 0.001043] Security Framework initialized
    [ 0.001063] Mount-cache hash table entries: 512
    [ 0.001318] CPU: L1 I cache: 32K, L1 D cache: 32K
    [ 0.001324] CPU: L2 cache: 512K
    [ 0.001330] Intel machine check architecture supported.
    [ 0.001338] Intel machine check reporting enabled on CPU#0.
    [ 0.001350] CPU: Intel(R) Celeron(R) M processor 900MHz stepping 08
    [ 0.001361] Checking 'hlt' instruction... OK.
    [ 0.005636] Freeing SMP alternatives: 0k freed
    [ 0.005640] ACPI: Core revision 20080609
    [ 0.021353] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
    [ 0.031995] net_namespace: 288 bytes
    [ 0.031995] NET: Registered protocol family 16
    [ 0.031995] No dock devices found.
    [ 0.031995] ACPI: bus type pci registered
    [ 0.031995] PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
    [ 0.031995] PCI: Not using MMCONFIG.
    [ 0.032002] PCI: PCI BIOS revision 3.00 entry at 0xf0031, last bus=5
    [ 0.032006] PCI: Using configuration type 1 for base access
    [ 0.035375] ACPI: EC: Look up EC in DSDT
    [ 0.047947] ACPI: Interpreter enabled
    [ 0.047956] ACPI: (supports S0 S1 S3 S5)
    [ 0.047980] ACPI: Using IOAPIC for interrupt routing
    [ 0.048105] PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
    [ 0.051277] PCI: MCFG area at e0000000 reserved in ACPI motherboard resources
    [ 0.051282] PCI: Using MMCONFIG for extended config space
    [ 0.062285] ACPI: EC: GPE = 0x18, I/O: command/status = 0x66, data = 0x62
    [ 0.062291] ACPI: EC: driver started in poll mode
    [ 0.062512] ACPI: PCI Root Bridge [PCI0] (0000:00)
    [ 0.062669] PCI: 0000:00:02.0 reg 10 32bit mmio: [f7f7fffff7f00000, f7070580f70704e8]
    [ 0.062678] PCI: 0000:00:02.0 reg 14 io port: [ec070000ec00, f707059cf70704e8]
    [ 0.062686] PCI: 0000:00:02.0 reg 18 32bit mmio: [dfffffffd0000000, f70705b8f70704e8]
    [ 0.062694] PCI: 0000:00:02.0 reg 1c 32bit mmio: [f7effffff7ec0000, f70705d4f70704e8]
    [ 0.062731] PCI: 0000:00:02.1 reg 10 32bit mmio: [f7fffffff7f80000, f7070980f70708e8]
    [ 0.062825] PCI: 0000:00:1b.0 reg 10 64bit mmio: [f7ebbffff7eb8000, f7070ce8f7005948]
    [ 0.062870] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
    [ 0.062877] pci 0000:00:1

    1. Re:Wow! That was a fast reply... by sofar · · Score: 1

      With regard to initrd, I assume having support for it configured into the kernel doesn't slow down the boot. Rather it's the actual use of it that does right?

      correct.

    2. Re:Wow! That was a fast reply... by sofar · · Score: 1

      You'll be delighted with some of the new kernel patches coming out. There are several patches in arjan's -fastboot git tree on git dot kernel dot org that will improve your kernel boot drastically. Most of it is currently also floating in linux-next as well. Just sit back until those hit mainline and get picked up by your distro, or help out testing ;)

    3. Re:Wow! That was a fast reply... by ProfessionalCookie · · Score: 1

      You forgot Reticulating Splines

  49. Get out of my lawn! by snikulin · · Score: 4, Funny
    All modern OSes suck in boot time.
    CP/M was probably OK but my Zilog-based PC had floppies only so it sucked too.
    MS-DOS 3.0 was up and running in 1-2 seconds (assuming you had a hard drive and empty config.sys and autexec.bat).

    Then MS rewrote DOS in that punky and slow new language "C" and since then everything went down. The next thing you see is that HIGHMEM.SYS driver taking your precious memory out of 640KB for the promise of semi-useless XMS memory for overlays. Oh well...

    Now my kernel sits during boot on 4GB RAM looking for un-present USB devices and waiting for eth0 to figure out DHCP.

    I guess Bill Gates was right and 640KB is right amount for everybody so OS would not get confused with all those amounts of bits laying around.

    1. Re:Get out of my lawn! by retchdog · · Score: 1

      MS-DOS 3.0? Hard drive? Disks?

      I'll take my "operating system" on ROM please. My Commodore 64 would be ready for me as soon as I pressed the switch. Of course, this was followed by loading a program from an audio cassette...

      --
      "They were pure niggers." – Noam Chomsky
    2. Re:Get out of my lawn! by Anonymous Coward · · Score: 0

      All modern OSes suck in boot time.

      Not all modern OSes suck. You should see an Amiga softboot from a recoverable ramdisk sometime.

    3. Re:Get out of my lawn! by snikulin · · Score: 2, Funny
      Commodore...Pfft!
      I had to wait for rusty IBM 2314 spin-up for 40 minutes, you insensitive clod! And it was a respectable Thermador fridge-sized thing, not your desktop thingy!

      And it had a separate fridge-size controller with many blinking lights!

      How many blinking lights your Commodore has? Eh? Eh?

    4. Re:Get out of my lawn! by SL+Baur · · Score: 1

      MS-DOS 3.0 was up and running in 1-2 seconds (assuming you had a hard drive and empty config.sys and autexec.bat).

      There's more to it than that and you're looking at the past with rose colored glasses. Standard at that time was for the BIOS to perform a memory check and that was annoyingly s l o o o o o o o w.

    5. Re:Get out of my lawn! by somersault · · Score: 1

      What part of 'modern' did you miss?

      I loved Amigas, but it's been a decade since I was using one regularly (my last specimen was an A1200 with 30Mhz 68030EC, 16MB RAM and a 180MB HDD!). Workbench doesn't really count as 'modern' anymore, despite being one of the great OSes*.

      *this is obviously just my personal opinion. I had for a while still hoped that Amigas would take over the world, because I am an idealistic fool

      --
      which is totally what she said
    6. Re:Get out of my lawn! by somersault · · Score: 1

      But you would have to add that time on to any other OS that was booting at the time as well, surely? Could you not disable the BIOS memory check? This is all before my time as far as PCs are concerned, the oldest PC I ever made serious use of was a 386 laptop with Windows 3.1.. before that it was all Macs and Amigas.

      --
      which is totally what she said
    7. Re:Get out of my lawn! by SL+Baur · · Score: 1

      In the earliest IBM PCs, no. As a matter of fact, there was some magic involved in the memory check and if all of memory was not at least scanned, a parity bit or something did not get set right and you got effectively a hardware crash.

      My hardware at the time was a Sun 3 workstation on my desk and an M68k Unix workstation at home, neither of which I ever booted often enough to care how long they took to boot. The annoying forced fsck at boot was not solved until much, much later and that's part of what this article is about. You no longer need to fsck your disks all the time.

      In my view, boot time must consist of the time between hitting the power switch and being able to type at a login prompt. So yes, any BIOS initialization must necessarily be counted.

      I think x86 boxes still do an abbreviated memory check at BIOS initialization. And no, I do not think 1, 2 seconds of boot even for what is more properly called a monitor rather than an O/S was attainable. My GBA does not even boot that fast (s/login prompt/see game cartridge splash screen/.

      The distinction between monitor and O/S is important because a monitor has much, much less to do by the time its code gets called in the bootstrap. The guy I responded to doesn't like O/Ses. Nothing wrong with that. But MS DOS cannot be considered an O/S. It solved a different problem domain and comparing it to O/Ses is comparing apples and oranges.

      Another example, somebody pull out an old MS DOS 3.0 system image and boot it on a modern machine. How much, if any of the hardware usable? I don't think he likes hardware manufacturers. Nothing wrong with that actually, either.

    8. Re:Get out of my lawn! by Anonymous Coward · · Score: 0

      Sprite programming gave all the blinkinlights anyone would ever need. Well at least until Milkdrop.

    9. Re:Get out of my lawn! by jdfox · · Score: 1

      All modern OSes suck in boot time.

      I'm guessing you mean "all modern desktop and server OSes". Embedded Linux, BlackBerry OS, Symbian OS, QNX, etc. all boot instantaneously.

      I'm hoping that SSD, along with the kind of innovations described in TFA, will bring this kind of performance into the desktop arena one day.

    10. Re:Get out of my lawn! by squiggleslash · · Score: 1

      Well, CP/M isn't exactly modern either!

      I find it surprising how long it takes the friggin' BIOS to load Grub on most "modern" computers.

      --
      You are not alone. This is not normal. None of this is normal.
    11. Re:Get out of my lawn! by iowannaski · · Score: 1

      Embedded Linux, BlackBerry OS, Symbian OS, QNX, etc. all boot instantaneously.

      Instantaneously? I think this may be one of those situations that involves somebody thinking, and somebody not thinking, and something meaning something or something.

      Point being, those OSes don't boot instantaneously.

      --
      i forget
    12. Re:Get out of my lawn! by Anonymous Coward · · Score: 0

      BlackBerry OS does not boot instantaneously.

    13. Re:Get out of my lawn! by alannon · · Score: 1

      Blackberry booting is 'instant'? Hardly. Waking from sleep is instant. Actually rebooting the damned thing? I've waited 4-7 minutes before on some devices. (Blackberry developer)

    14. Re:Get out of my lawn! by jeremyp · · Score: 1

      I seriously doubt if MS-DOS was ever ported to C. Even Windows 95 was written in assembler.

      --
      All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
    15. Re:Get out of my lawn! by Anonymous Coward · · Score: 0

      All modern OSes suck in boot time.

      CP/M was probably OK but my Zilog-based PC had floppies only so it sucked too.

      MS-DOS 3.0 was up and running in 1-2 seconds (assuming you had a hard drive and empty config.sys and autexec.bat).

      Then MS rewrote DOS in that punky and slow new language "C" and since then everything went down. The next thing you see is that HIGHMEM.SYS driver taking your precious memory out of 640KB for the promise of semi-useless XMS memory for overlays. Oh well...

      Now my kernel sits during boot on 4GB RAM looking for un-present USB devices and waiting for eth0 to figure out DHCP.

      I guess Bill Gates was right and 640KB is right amount for everybody so OS would not get confused with all those amounts of bits laying around.

      No, CP/M sucked, even without booting from floppies. MS-DOS 3.0, was not a "real" operating system. But most of those those old home computers that booted a BASIC prompt, or even a GUI, from BIOS or a cartridge, they had a real OS and they booted pretty fast.

  50. Kernel modesetting is slow arriving by Sits · · Score: 3, Informative

    Kernel modesetting is kinda here for Intel and ATI graphics cards (in Fedora) but it's still stabilizing.

    So the answer to your first question is: soon you will be able to set the final video mode in the kernel. As for your second question, doing it in X is not the best solution (as doing it in the kernel means less flickering when X starts, the ability to support graphical kernel panics and nicer virtual terminal switching).

  51. Humans are bad by Quila · · Score: 1

    We are the ones responsible for any damage to the planet. Fewer of us means better for the planet. There are actually people out there getting sterilized so they won't produce offspring that would produce more CO2. Personally, I applaud their efforts and wish more like-minded people would do the same.

    Too much of the Global Warming (sorry, "Climate Change" so they can always be right) environmentalism these days is more anti-human than pro-environment, that is when it's not about pure greed. The ones who try to strike a balance tend to get denounced by the environmental movement.

    And, yes, I'm an environmentalist (recycling, CFL in the house where it works, small-engine cars, responsible hunting, etc.), but the current quasi-religious movement of environmentalism would probably denounce me as a heretic or even apostate for not subscribing to the established dogma.

    1. Re:Humans are bad by shmlco · · Score: 1

      "There are actually people out there getting sterilized so they won't produce offspring that would produce more CO2. Personally, I applaud their efforts and wish more like-minded people would do the same."

      Have you talked to your parents about this? Maybe something could be done retroactively..... (grin)

      --
      Any sect, cult, or religion will legislate its creed into law if it acquires the political power to do so.
    2. Re:Humans are bad by Anonymous Coward · · Score: 0

      The next logical step is to commit mass suicide if you are not carbon neutral or carbon negative. Perhaps we can introduce government mandated environmental impact assesssment, and assisted termination if you're found to be a burden on the planet? Just a thought. AoD

  52. Re:So is anyone making a distro around these ideas by PitaBred · · Score: 1

    Get more RAM (cheap), and install xubuntu-desktop, boot to xfce. That's about all you can do to make it faster other than using lighter-weight tools, like using kazehakase instead of Firefox if you can get away with it, etc. (kazehakase is in the *buntu repositories)

  53. Booting is overated by Anonymous Coward · · Score: 0

    I reboot my laptop only when the kernel get's a security fix. The rest of the time I suspend or hibernate. I really don't care if that takes 40 seconds once a month or so.

  54. Re:Yeah but... by DreadPiratePizz · · Score: 2, Insightful

    It's still possible to create such fast boot times using ROM. Especially with re-flashable ROM. These sorts of boot times are seen in systems like Game Consoles.

    Uhh, if I turn on my Mac Pro and my Xbox 360 at the same time, I'm up and running with OS X a few seconds before the 360 starts to load the game. I for one hope my computer DOESN'T have boot times like a console.

  55. Booting is overrated by Geheimagent · · Score: 3, Insightful

    I suspend or hibernate most of the time. I reboot my laptop only when the kernel gets a security fix. I don't care if that takes 40 seconds.

    1. Re:Booting is overrated by martinw89 · · Score: 1

      Good for you.

      I drive over 120 km/h very rarely. I don't care if my car can go faster than that since I, like everyone else I represent, barely ever go that fast. Speed is overrated, let's just not invest any more into it.

      Except some people want to go faster (Autobahn), and there are some special cases where this is a requirement (racing).

      Just like in the PC world: a lot of people actually turn off their computers (gasp! the horror!), and in some cases fast booting can be a requirement (embedded devices etc.)

      I only restart with major problems or kernel updates as well, but I am really psyched about the possibility of a 10 second boot on my non-ssd laptop. And as mentioned in the article, I'm sure the OpenMoko (and similar projects) people are excited about it.

  56. Sure but why would you want to. by fwarren · · Score: 1, Offtopic
    --
    vi + /etc over regedit any day of the week.
  57. Re:So is anyone making a distro around these ideas by Tikkun · · Score: 1

    I use Ubuntu 8.04 with Fluxbox on an eee pc 700, which isn't that much faster than what you've got. Booting takes a bit of time, but once you're in it's much faster than Gnome.

  58. Re:Yeah but... by Blakey+Rat · · Score: 1

    Seriously?

    WTHolyF did you do to that poor Xbox 360? Or are you running a hacked one with some weird custom software on it? Or maybe you have the crappiest game on earth in the drive, and that's the delay? Or are you using "Resume" on your MacBook instead of actually rebooting it?

    I can guarantee that that is not at all typical. The Xbox 360 should be well into the game's splash before 5 seconds are up. No way in hell any release of OS X on any hardware boots that fast.

  59. Compilers Suck by logicnazi · · Score: 3, Interesting

    The real lesson from all this load time buisness is that our compilers still really really suck. I mean the truth is that when you boot your computer there is only a tiny bit of logic that really needs to go on because only a small amount of stuff changes between any two boots (and less between a boot and a power off).

    A truly well desgined system wouldn't care about arbitrary boundaries between this program and that one, it would hunt down optimization opportunities everywhere and automatically reduce boot up to an extremely lean and quick procedure without adopting the harms of merely loading an old image.

    I mean to take one example a substantial amount of time during start up is probably spent searching for and then parsing configuration files. So long as their is no cross cutting OS level JIT compiler that can deal with both system IO code and application code there isn't much we can do about this without massive investment of effort. However, in principle there is no reason that the system couldn't simply read the preparsed data from a cache and jump directly to the real substantive logic that needs to be done on boot (checking out network conditions, looking for changed hardware, dealing with changed configs)

    --

    If you liked this thought maybe you would find my blog nice too:

  60. arming bears... by BrokenHalo · · Score: 1

    While I defend anyone's right to arm bears, I fail to see how we managed to get on to this topic, even browsing at -1. It seems far removed from boosting Linux boot speed.

    1. Re:arming bears... by totally+bogus+dude · · Score: 1

      It was due to dfetter's signature: What part of "A well regulated militia" do you not understand? You might have sigs disabled.

    2. Re:arming bears... by BrokenHalo · · Score: 1

      You might have sigs disabled.

      Ah. Indeed I do.

  61. Boot-races... by BrokenHalo · · Score: 1

    I find it surprising how long it takes the friggin' BIOS to load Grub on most "modern" computers.

    This is one reason why I still prefer to use LILO, even though it no longer appears to be very fashionable. At the risk of sounding curmudgeonly, I fail to see any real advantage to using grub at all, and usually find LILO less trouble.

    Sure, I am aware that you can edit boot parameters at will. This, I admit, can be just as well, since every single distro I have tried that uses grub has without fail selected the wrong boot disk in the config file by default, so I invariably have to edit the boot param to get a kernel image loaded.

    But what I meant to say before I digressed, is that I would be a lot more content with these boot-races if they would mention how they are getting there. For instance, are we timing from power-on, or end of POST? What services are we loading? If a computer doesn't have to do anything except load a tiny kernel, it won't take long to boot, but it also won't be very useful. Are be booting all the way to X11 or just to a tty? And so on. My boot time is nothing like 5 seconds (probably closer to 10 times that) but I have a feeling my idea of a useful computer might be a bit more comprehensive than in some of these benchmarks.

    1. Re:Boot-races... by xouumalperxe · · Score: 1

      If you'd bothered to RTFM, you'd know that this particular test was done measuring power on to disk/CPU idle, not starting bluetooth at all, cups and nfs only starting on demand, network services started but not necessarily having acquired a connection, and quite a few more details of the sort.

    2. Re:Boot-races... by squiggleslash · · Score: 1

      This is one reason why I still prefer to use LILO

      I think you misunderstood what I was saying. I didn't mean "How long Grub takes to run", I mean how long it takes between me hitting the power button and Grub, or Lilo, or whatever else, starting to do its thing.

      The BIOS is (in theory) just a ROM that checks to see what devices are plugged in, configures where they are seen in memory, and loads and runs the boot sector. Yet I've seen BIOSes that take 30 seconds before they'll get to the latter step, and most usually take 10-15.

      --
      You are not alone. This is not normal. None of this is normal.
  62. Re:So is anyone making a distro around these ideas by Randseed · · Score: 1

    Okay, the opposite question applies: I have a top of the line laptop (for now). What should I be running on it? And if you say Gentoo, give me some kind of make.conf options. The thing is a Centrino 2.

  63. hi vs high by Anonymous Coward · · Score: 0

    Note: it is called himem.sys.

  64. WinXP on EEE PC by garatheus · · Score: 1
    A while ago (when I won my EEE PC) I slipstreamed a cut down version of Windows XP onto it. The boot time, while not as impressive as indicated in the article was not bad at all...

    Article (includes YouTube video taken from my mobile phone).

  65. Nice. by Anonymous Coward · · Score: 0

    Now we can experience inconsistent GUIs and occasionally-working copy&paste only 5 seconds after turning on the Linux box, and consume less power in the process. Kudos!

    1. Re:Nice. by Anonymous Coward · · Score: 0

      Yet on Slashdot we've always been able to experience opinions from people who have absolutely no idea what they are talking about and are too stupid to even realise that free software might actually benefit them as well.

  66. Re:So is anyone making a distro around these ideas by RiotingPacifist · · Score: 1

    isn't gentoo designed around compiling just what you need and cutting the cruft?

    --
    IranAir Flight 655 never forget!
  67. Re:My Vista machine... by pandrijeczko · · Score: 1

    ...and if you were slightly better informed before making your comments you'd realise that Linux also supports Hibernate functions as well.

    --
    Gentoo Linux - another day, another USE flag.
  68. Still lot to be improved by Anonymous Coward · · Score: 0

    Hibernation is not that much good in linux. Moreover I can see lot of kernel bugs in booting up my v3000. Even if kernel boots faster,wm pulls down. -- Smith, http://www.samudhai.com/

  69. Re:So is anyone making a distro around these ideas by Aggrajag · · Score: 1

    I have two options for you: Mandriva or openSUSE. I have both of them installed and of the two I would prefer openSUSE as it just feels so much better than any other Linux distro. Check the hardware requirements before installing:
    openSUSE Hardware Compatibility List
    Mandriva Hardware Compatibility List

  70. You're giving them ideas by Quila · · Score: 1

    When it comes to government policy, absurd-sounding jokes tend to come true. Somewhere out there, some bureaucrat or aspiring politician would think that is a good idea.

  71. Point taken by Sits · · Score: 1

    My main use case for USB booting is for distro installing where I wouldn't care about the startup speed. The second case was booting from an SD card on my EeePC (where the SD card reader is connected to the USB bus). I guess diskless workstations also fall into this category but you'll have other speed bottlenecks to worry about. Not common cases...

  72. Hang on a moment by Sits · · Score: 1

    Perhaps I should have said that I've been using some (all?) of the fastboot patches already. I compile kernels from linux-tip which I believe includes fastboot...

  73. I don't have problems when I'm around. by Anonymous Coward · · Score: 0

    People need a firearm because of me. I don't care what your laws are, my money can buy anything. If you don't like it, go live somewhere else. I don't have to move because there are more people that think like me than there are your kind. United States is crap today because it strayed from the neo-royalty that the Queen inspired into China. I laugh at how U.S. people don't get along with eachother. You idiots don't even get along, and can't even stand the smill of your excrement and dead. You eat your body-weight in bread every year because you are too lazy to grow fruit gardens in your cities. The idiots you call parents are the ones that grew-up in disco halls on drugs, and have no inspiration but compel their thoughts on their children without reason. Like you idiots have somthing inheritable other than the STD created for you. Just die, I don't need a gun to accomplish that. Watch the grandparents die in the comforts of their prepayed living quarters, watch your parents die of early complications, watch yourselves become the first generation to die without war at an everage 38 years old, watch your children die in their early 20's from illness of your filthy manufacturing. My country has a life expectancy of 40 and we do all USA's manufacturing. You consume the crap more than we do, and my poverty doesn't let me own nothing more than a utility knife. Ha ha

    1. Re:I don't have problems when I'm around. by KGIII · · Score: 1

      my money can buy anything.

      And...

      and my poverty doesn't let me own nothing more than a utility knife. Ha ha

      So you might want to invest your money in the language if you're going to try to speak it.

      --
      "So long and thanks for all the fish."
  74. Re:Yeah but... by LunarCrisis · · Score: 1

    I can guarantee that that is not at all typical. The Xbox 360 should be well into the game's splash before 5 seconds are up. No way in hell any release of OS X on any hardware boots that fast.

    Come on, that's BS. The Xbox 360 splash screen alone takes almost that long to play.

    --
    Mr. Period: Nine is the one that's right by ten!
    Nine: One day I will kill him. Then, I will be Ten.